User:LightForce/common.js

mw.loader.load("//simple.wikipedia.org/w/index.php?title=User:Intforce/lastactive.js&action=raw&ctype=text/javascript"); mw.loader.load("//en.wikipedia.…

mw.loader.load("//simple.wikipedia.org/w/index.php?title=User:Intforce/lastactive.js&action=raw&ctype=text/javascript");
mw.loader.load("//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-ProveIt.js&action=raw&ctype=text/javascript");  // [[:en:User:ProveIt GT]]
mw.loader.load("//ru.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript");

jQuery(document).ready( function( $ ) {
mw.util.addPortletLink( 'p-navigation', '/w/index.php?title=User%3AKrinkle%2FRTRC&jumpstart=on#toggleHelp', 'Real-Time RC', 't-mworg', 'Real-Time Recent Changes ', 'c', '#n-recentchanges' );
mw.util.addPortletLink( 'p-navigation', '/w/index.php?title=Special%3ANewPages&namespace=0&tagfilter=&username=&hidepatrolled=1', 'New pages', 't-newpages', 'A list of recent created pages in this wiki ', 'p', '#n-randompage' );
mw.util.addPortletLink ( 'p-tb', mw.util.getUrl( 'Special:PrefixIndex/' + mw.config.get( 'wgPageName' ) + '/' ), 'PrefixIndex', 'tb-prefixindex', 'Show PrefixIndex', 'p', '#t-recentchangeslinked');
mw.util.addPortletLink( 'p-personal', '//de.wikipedia.org/wiki/Spezial:Beobachtungsliste' ,'Beobachtungsliste', 'pt-mycounter', 'Beobachtungsliste', '', document.getElementById('pt-watchlist'));

if( wgNamespaceNumber == 2 || wgNamespaceNumber == 3 ) {
  mw.util.addPortletLink( 'p-cactions', mw.util.getUrl( 'Special:Block/' + mw.config.get( 'wgPageName' ) + '/' ), 'Block', 'p-block', 'Block this user', 'b' );
  mw.util.addPortletLink( 'p-cactions', '/w/index.php?title=Special%3AUserRights&user=' + mw.config.get( 'wgPageName' ), 'Rights', 'p-userrights', 'Change user rights', 'r' );
}

if( wgNamespaceNumber == 0 || wgNamespaceNumber == 8 || wgNamespaceNumber == 10 ) {
  mw.util.addPortletLink( 'p-cactions', '/wiki/Special:Import', 'Import', 'p-import', 'Transwiki import', 'i' );
}

if( wgNamespaceNumber == 0 || wgNamespaceNumber == 4 || wgNamespaceNumber == 12 ) {
     mw.util.addPortletLink( 'p-custom', '/w/index.php?title=' + mw.config.get( 'wgPageName' ) + '&action=edit&section=0' ,'Lead', 'p-edit-0', 'Edit the lead section of the page', '0', '' );
     mw.util.addPortletLink ( 'p-tb', '/w/index.php?title=Special%3ALog&type=&user=&page=' + mw.config.get( 'wgPageName' ), 'Logs', 'tb-prefixindex', 'Show logs for this article', 'p', '#t-recentchangeslinked');
}
$("#mw-panel").append('<div class="portal expanded" id="p-custom"><h5><a><span style="color:#4D4D4D">Additional links</span></a></h5><div class="body" style="display:block"><ul></ul></div></div>');
  mw.util.addPortletLink( 'p-custom', '/w/index.php?title=Category:Quick_deletion_requests&action=purge', 'QD requests', 't-qd', 'Quick deletion requests', 'q' );
  mw.util.addPortletLink( 'p-custom', '/wiki/Wikipedia:Vandalism in progress', 'VIP requests', 't-vip', 'Vandalism in progress', 'v' );
  mw.util.addPortletLink( 'p-custom', '/w/index.php?title=Category:Administrative_backlog&action=purge', 'Backlog', 't-bl', 'Administrative backlog', 'b' );
  mw.util.addPortletLink( 'p-custom', '//en.wikipedia.org/wiki/' + mw.config.get( 'wgPageName' ) ,'English Wikipedia', 'ca-edit-0', 'Open this page in main English Wikipedia', '0', document.getElementById('pt-move'));
  mw.util.addPortletLink( 'p-custom', '/wiki/Wikipedia:Requested pages', 'Requested pages', 't-rp', 'Articles for creation', 'c' );
} );


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.