MediaWiki:Gadget-Contributors.js: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
k +legacy code wrapper |
kTidak ada ringkasan suntingan |
||
Baris 2:
function addContributorsPortletLink() {
if ( mw.config.get('wgNamespaceNumber') != -1 ) {
var sServer = 'wikipedia';
switch ( mw.config.get('wgServer') ) {
case 'http://id.wikibooks.org':
sServer = 'wikibooks';
Baris 22:
'wikilang=id&wikifam=.' + sServer + '.org&grouped=on&order=-rev_timestamp&' +
'max=100&format=html&page=' +
( mw.config.get('wgCanonicalNamespace') !== "" ? mw.config.get('wgCanonicalNamespace') + ':' : "") + wgTitle;
mw.util.addPortletLink( 'p-tb', sLink, sText, 't-contrib-ext',
'Daftar kontributor halaman ini' );
|