Aller au contenu

MediaWiki:Common.js

Èn årtike di Wikisource.

Note : après aveur schapé l’ pådje, vos l’ divoz rafrister, po pleur vey les candjmints dins vosse betchteu waibe.

  • Firefox / Safari : tchôkîz so Shift tot clitchant so Rafrister, ou co fjhoz Ctrl-F5 ou Ctrl-R (⌘-R so on Mac)
  • Google Chrome : tchôkîz so Ctrl-Shift-R (⌘-Shift-R so on Mac)
  • Internet Explorer / Edje : tchôkîz so Ctrl tot clitchant so Rafrister, ou co fjhoz Ctrl-F5
  • Konqueror : clitchîz so Rafrister ou tchôkîz so F5
  • Opera : alez dins Menu → Parametes (Opera → Preferinces so on Mac), pus dins Confidance et såvrité → Vudîz les dnêyes d’ vizitaedje → Imådjes et fitchîs metous el muchete.
$.when($.ready).done(function(){
	/* Moster l' tite po les pådjes d' omonimeye des oteurs */
	if (mw.config.get('wgNamespaceNumber') === 100 
	&&  $('.info-omonimeye').length ){
		$('.firstHeading').show();
	}
	
	/* Ni nén mostrer « Oteur: » divins les hårdêyes des categoreyes po ls oteurs */
	if (mw.config.get('wgPageName').search('Categoreye:Oteurs') !==-1 
	||  mw.config.get('wgPageName').search('Categoreye:Otoresses') !==-1){
		$('#mw-pages a').each(function(){
			var txt = $(this).text();
			txt = txt.replace('Oteur:', '');
			$(this).text(txt);
		});
	}
	
	// Modele:Depô
	if (mw.config.get('wgNamespaceNumber') === 0){
		$( '#pr_index' ).each( function () {
			var vudeP = $( this ).parent();
			var sourdant = $( this );
			$( '#ca-nstab-main' ).after(
				$( '<li>' ).attr( 'id', 'ca-index' ).append( sourdant )
			);
			sourdant.show();
			vudeP.remove();
		} );
	}
	
	// Tos les espåces di lomaedje
	importScript('MediaWiki:ToggleBox.js');
});