Jump to content

User:LJF2019/common.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by LJF2019 (talk | contribs) at 16:04, 31 January 2017. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hedonil/XTools/XTools.js&action=raw&ctype=text/javascript');
importScript('User:Lupin/recent2.js');
importScript("User:Writ Keeper/Scripts/teahouseUtility.js"); // Gives one-click option to add Teahouse invitation or talkback to a user
importScript("User:Writ Keeper/Scripts/teahouseTalkback.js"); // Adds Talkback reminder when you save an edit at the Teahouse
importScript("User:Writ Keeper/Scripts/teahouseTalkbackLink.js"); // Adds a talkback link to signatures on the Teahouse
importScript("User:Ocaasi/WikiLoveinstallscript.js");// Adds Teahouse Badges to WikiLove
mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );

/* This script adds the Page Curation link to the top toolbar; the link combines the two main Page Curation
   features, namely the Special:NewPagesFeed and the curation toolbar. It is primarily designed to
   assist new page reviewers. Page Curation is a feature-rich purpose-built system to review new pages.
   Be sure to have read and fully understood the instructions at New Pages Patrol. To use the script,
   add the following line to Special:MyPage/common.js:
 
importScript('User:Lourdes/PageCuration.js'); // Linkback: [[User:Lourdes/PageCuration.js]]

*/
 
$( document ).ready( function() {
  mw.util.addPortletLink(
    'p-personal',
    mw.util.wikiGetlink('Special:NewPagesFeed'),
    'Page Curation',
    'pt-pagecuration',
    'View Special:New Pages using the Page Curation tool',
    null,
    '#pt-preferences'
  );
});