User:Path slopu/scripts/VPpanel.js

This is the current revision of this page, as edited by Jon (WMF) (talk | contribs) at 00:55, 20 January 2021 (maintenance: more info). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
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.
// This tool provides a link to Village pump in side panel
// By Path slopu, 2019
// Modified by Guywan 

function villagePumpLinks() {
  mw.util.addPortletLink("p-tb", "https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(policy)", "Policy", "tb-Policy","Go to Village pump (Policy)");
  mw.util.addPortletLink("p-tb", "https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)", "Technical", "tb-Technical","Go to Village pump (Technical)");
  mw.util.addPortletLink("p-tb", "https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(proposals)", "Proposals", "tb-Proposals","Go to Village pump (Proposals)");
  mw.util.addPortletLink("p-tb", "https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(idea_lab)", "IdeaLab", "tb-IdeaLab","Go to Village pump (Idea lab)");
  mw.util.addPortletLink("p-tb", "https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(miscellaneous)", "Miscellaneous", "tb-Miscellaneous","Go to Village pump (Miscellaneous)");
}

$(villagePumpLinks);