Content deleted Content added
Year2000Prob (talk | contribs) mNo edit summary |
Year2000Prob (talk | contribs) No edit summary |
||
Line 39:
// End importScript function. Copy below this line at your own risk.
var whichsite
"http://en.wikipedia.org": "wp",
switch (wgServer) {▼
};▼
importScript.namespaces = {"#default": "http://{{{lang|en}}}.wikipedia.org/w/index.php?title={{{src}}}&action=raw&ctype=text/{{{isCSS|css|javascript}}}"};
Line 50 ⟶ 49:
var Y2P = new Object();
importScript({src: "User:Year2000Prob/Y2P.MediaWiki.js", onload: function() {
window._onload = window.onload;
Y2P.AddPortletItem({▼
window.onload = function() {
text: "Chat channels",▼
if (typeof window._onload == "function") window._onload.apply(this, arguments);
▲ Y2P.AddPortletItem({
id: "n-ircchannels",▼
▲ text: "Chat channels",
overwrite: (whichsite == "wp" ? null : "n-wikilink3"),▼
▲ id: "n-ircchannels",
})({▼
▲ overwrite: (whichsite == "wp" ? null : "n-wikilink3"),
text: "Is this page valid XHTML?",▼
addTo: (whichsite == "wp" ? "p-interaction" : null)
url: "http://validator.w3.org/check?uri=" + encodeURIComponent(___location),▼
▲ text: "Is this page valid XHTML?",
addTo: "footer"▼
▲ url: "http://validator.w3.org/check?uri=" + encodeURIComponent(___location),
})();▼
if (wgNamespaceNumber != -1) Y2P.AddPortletItem({▼
url: wgScript + "?title=" + wgPageName + "&action=purge",▼
▲ if (wgNamespaceNumber != -1) Y2P.AddPortletItem({
▲ id: "ca-purge",
▲ url: wgScript + "?title=" + wgPageName + "&action=purge",
})();▼
if (whichsite == "hrfw") Y2P.AddPortletItem({▼
▲ })();
url: "http://alert.clamburger.org/",▼
▲ if (whichsite == "hrfw") Y2P.AddPortletItem({
▲ id: "n-alertbutton",
▲ url: "http://alert.clamburger.org/",
})();▼
if (whichsite != "wp") Y2P.AddPortletItem({▼
before: "n-usersguide"
▲ })();
url: "http://www.clamburger.org/wuw/",▼
▲ if (whichsite != "wp") Y2P.AddPortletItem({
▲ id: "n-wikilink1.5",
▲ url: "http://www.clamburger.org/wuw/",
id: "n-wikilink1.5",
before: "n-wikilink2"
▲ })();
Y2P.ChangeActions({
"nstab-main": "boring fanstuff",
"nstab-user": "stupid parson",
"nstab-project": "don't leave without reading this",
"nstab-template": "it's just a skeleton, crapface",
"nstab-reviews": "be an infamous critic",
"talk": "yap yap yap",
"edit": "vandalise this page",
"viewsource": "can't touch this",
"history": "in 1788, australia was born...",
"move": "got a better commando name?",
"watch": "stalk",
"watching": "adding to list of stalked people...",
"unwatch": "stop stalking",
"unwatching": "removing from list of stalked people...",
"purge": "do not press this"
});
▲ };
}})({src: "http://code.jquery.com/jquery-latest.pack.js", onload: function() {
$(function() {
|