„Melding:Gadget-purodha-name-conflict.js“: Munur á milli breytinga
Efni eytt Efni bætt við
m Tók aftur breytingar Snaevar (spjall), breytt til síðustu útgáfu Jóna Þórunn |
|||
Lína 1:
(function(mw, $){
if (wgNamespaceNumber
/* Add a link to one of the portlet menus on the page */▼
mw.util.addPortletLink(▼
▲ /* Add a link to one of the portlet menus on the page */
/* id of the target portlet ("p-cactions", "p-personal", "p-navigation" or "p-tb") */▼
▲ addPortletLink(
"p-tb",
▲ /* id of the target portlet ("p-cactions", "p-personal", "p-navigation" or "p-tb") */
"http://tools.wikimedia.de/~purodha/sample/dbswithuser.php?uselang=en&usr=" +
/* link text (will be automatically lowercased by CSS for p-cactions in Monobook) */▼
▲ "http://tools.wikimedia.de/~purodha/sample/dbswithuser.php?uselang=en&usr=" + encodeURI(user),
"Nafnatól Purodha",▼
▲ /* link text (will be automatically lowercased by CSS for p-cactions in Monobook) */
/* id of the new item, should be unique and preferably have the appropriate prefix ("ca-", "pt-", "n-" or "t-") */▼
▲ "Nafnatól Purodha",
"t-purodha-globalname",
▲ /* id of the new item, should be unique and preferably have the appropriate prefix ("ca-", "pt-", "n-" or "t-") */
/* text to show when hovering over the link, without accesskey suffix */▼
"Nafnaverkfæri Purodha til að leita að notandanafni á öllum verkefnum",▼
▲ /* text to show when hovering over the link, without accesskey suffix */
/* accesskey to activate this link (one character, try to avoid conflicts) */▼
▲ "Nafnaverkfæri Purodha til að leita að notandanafni á öllum verkefnum",
null,▼
▲ /* accesskey to activate this link (one character, try to avoid conflicts) */
/* the DOM node before which the new item should be added, should be another item in the same list */▼
▲ null,
null
▲ /* the DOM node before which the new item should be added, should be another item in the same list */
});
})(mediaWiki, jQuery);
|