MediaWiki:Common.js: Malsamoj inter versioj

two languages based on Wikidata importScript( 'User:Underlying_lk/reasonator.js' );
(korekto laŭ la germana paĝo)
(two languages based on Wikidata importScript( 'User:Underlying_lk/reasonator.js' );)
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() {
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");
}
}
})();