MediaWiki:Common.js: Verskil tussen weergawes
Content deleted Content added
kopieer vanaf Wikipedia |
No edit summary |
||
Lyn 185:
}
▲ function LinkFA()
▲ if ( document.getElementById( "p-lang" ) ) {
for ( var i = 0; i < InterwikiLinks.length; i++ ) {
▲ var InterwikiLinks = document.getElementById( "p-lang" ).getElementsByTagName( "li" );
if ( document.getElementById( InterwikiLinks[i].className + "-fa" ) ) {
▲ }
}▼
▲ }
▲ addOnloadHook( LinkFA );
/*
Déplacement des [modifier]
--------------------------
Correction des titres qui s'affichent mal en raison de limitations dues à MediaWiki.
Line 239 ⟶ 235:
}
addOnloadHook(setModifySectionStyle);
/**
* MainPage-tab
* On the main page (and its associated namespaces and actions (Talk, edit, history etc.) this script will put "Main Page" instead of "Article" or "Page" in the first tab
▲ *
* @source: http://www.mediawiki.org/wiki/Snippets/Main_Page_tab
* @rev: 2
*/
jQuery( document ).ready( function( $ ) {
var title = mw.config.get( 'wgTitle' );
var hasMainPageTab = (title == 'Tuisblad'); // Title of the main page
if ( hasMainPageTab ){
$( '#ca-nstab-main a' ).text( title );
▲ }
} );
|