Menyang kontèn

MédhiaWiki:Gadget-Contributors.js

Sekang Wikipedia, Ensiklopedia Bebas sing nganggo Basa Banyumasan: dhialek Banyumas, Purbalingga, Tegal lan Purwokerto.

Cathetan: Bare nyimpen preferensi, panjenengan kudu mbusak cache panjlajah web panjenengan kanggo mirsani pangowahan. Mozilla / Firefox / Safari: pencèt Ctrl-Shift-R (Cmd-Shift-R nang Apple Mac); IE: teken Ctrl-F5; Konqueror:: pencet F5; Opera resikana cache miturut menu Tools→Preferences.

//mw.loader.using( 'mediawiki.legacy.ajax' ).done( function () {

function addContributorsPortletLink() {
	if ( mw.config.get('wgNamespaceNumber') != -1 ) {
   		var sServer = 'wikipedia';
   		switch ( mw.config.get('wgServer') ) {
	    case 'http://map-bms.wikibooks.org':
	     	sServer = 'wikibooks';
	     	break;
	    case 'http://map-bms.wiktionary.org':
	     	sServer = 'wiktionary';
	     	break;
	    case 'http://map-bms.wikiquote.org':
	     	sServer = 'wikiquote';
	     	break;
	    case 'http://map-bms.wikisource.org':
	     	sServer = 'wikisource';
	     	break;
	   }
   		var sText = 'Kontributor halaman';
   		var sLink = 'https://tools.wmflabs.org/xtools-articleinfo/?' +
    		'wikilang=map-bms&wikifam=.' + sServer + '.org&grouped=on&order=-rev_timestamp&' +
    		'max=100&format=html&page=' +
    		( mw.config.get('wgCanonicalNamespace') !== "" ? mw.config.get('wgCanonicalNamespace') + ':' : "") + mw.config.get('wgTitle');
		mw.util.addPortletLink( 'p-tb', sLink, sText, 't-contrib-ext', 
    		'Daftar kontributor halaman ini' );
  	}
}
$( addContributorsPortletLink );
//} );