MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
m
Trying again to disable code for "Complete list"... will wait longer to see the change take effect
m (Undo)
m (Trying again to disable code for "Complete list"... will wait longer to see the change take effect)
Line 24: Line 24:
  * Maintainers: [[User:AzaToth]], [[User:R. Koot]], [[User:Alex Smotrov]]
  * Maintainers: [[User:AzaToth]], [[User:R. Koot]], [[User:Alex Smotrov]]
  */
  */
if ( mw.config.get( 'wgPageName' ) === 'Main_Page' || mw.config.get( 'wgPageName' ) === 'Talk:Main_Page' ) {
/* if ( mw.config.get( 'wgPageName' ) === 'Main_Page' || mw.config.get( 'wgPageName' ) === 'Talk:Main_Page' ) { */
     $( function () {
/*     $( function () { */
         mw.util.addPortletLink( 'p-lang', '//meta.wikimedia.org/wiki/List_of_Wikipedias',
/*         mw.util.addPortletLink( 'p-lang', '//meta.wikimedia.org/wiki/List_of_Wikipedias', */
             'Complete list', 'interwiki-completelist', 'Complete list of Wikipedias' );
             'Complete list', 'interwiki-completelist', 'Complete list of Wikipedias' ); */
     } );
/*     } ); */
}
/* } */


/**
/**

Navigation menu