MediaWiki:Common.js: Malsamoj inter versioj

restarigis : Revizio de 12:44, 6 Jan. 2014 farita de Tlustulimu
(function(Reasonator) is global)
(restarigis : Revizio de 12:44, 6 Jan. 2014 farita de Tlustulimu)
importScriptURI("//en.wikipedia.org/w/index.php?title=MediaWiki:Wdsearch.js&action=raw&ctype=text/javascript");
}
 
/* bazita sur [[d:User:Underlying_lk/reasonator.js]] */
function(Reasonator) {
if (wgWikibaseItemId) {
// Add portlet link for item
mw.util.addPortletLink("p-tb", '//tools.wmflabs.org/reasonator/?lang=eo&q=' + wgWikibaseItemId +"#", "Reasonator (eo)", "t-reasonator-eo", "Wikidata in pretty");
if (wgUserLanguage === 'eo') {
} else {
mw.util.addPortletLink("p-tb", '//tools.wmflabs.org/reasonator/?lang=' + wgUserLanguage + '&q=' + wgWikibaseItemId +"#", "Reasonator", "t-reasonator", "Wikidata in pretty");
}
}
};