User:ԱշոտՏՆՂ/global.js: Difference between revisions
Content deleted Content added
Tag: Undo |
No edit summary |
||
Line 28: | Line 28: | ||
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:ԱշոտՏՆՂ/hide-vector-sidebar.js&action=raw&ctype=text/javascript'); |
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:ԱշոտՏՆՂ/hide-vector-sidebar.js&action=raw&ctype=text/javascript'); |
||
mw.loader.load('http://localhost: |
mw.loader.load('http://localhost:28008/dev.js?n=2'); |
||
//* by [[User:Ianezz]] ([[Commons:Village_pump/Archive/2009Sep#CSS_placement_of_categories]]), based on [[:wikinews:Help:User_style#Moving_categories_to_top]] |
//* by [[User:Ianezz]] ([[Commons:Village_pump/Archive/2009Sep#CSS_placement_of_categories]]), based on [[:wikinews:Help:User_style#Moving_categories_to_top]] |
||
$(function () { |
$(function () { |
Revision as of 07:49, 30 April 2024
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hedonil/XTools/XTools.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Js/ajaxPreview.js&action=raw&ctype=text/javascript');
window.articleTranslatorConf = {
'homeWiki': 'hy'
};
$.when( mw.loader.using( 'mediawiki.util' ), $.ready ).then( function () {
var iHaveBotIn = ['hy.wikipedia.org', 'hy.wiktionary.org', 'hy.wikiquote.org', 'hyw.wikipedia.org', 'www.wikidata.org'];
if ( iHaveBotIn.includes(mw.config.get('wgServerName')) ) {
mw.util.addPortletLink( 'p-personal', mw.util.getUrl( 'Special:Contributions/ԱշբոտՏՆՂ' ), 'Բոտի ներդրում', 'pt-mybotcontris', 'Տեսնել բոտի ներդրումները', 'o', '#pt-mycontris' );
}
} );
/*
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Ebraminio/ArticleTranslator.js&action=raw&ctype=text/javascript");
function sortinter(x) {
for (var i = x.length-1; i >=0; i--) {
$("#p-lang .body ul li:eq(0)").before($(".interwiki-" + x[i]).show());
}
}
setTimeout(function(){
if(mw.iwList && mw.iwList.constructor == Array) {
sortinter(mw.iwList);
} else {
sortinter(['hy', 'hyw', 'en', 'ru', 'simple', 'de']);
}
}, 1500);
*/
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:ԱշոտՏՆՂ/hide-vector-sidebar.js&action=raw&ctype=text/javascript');
mw.loader.load('http://localhost:28008/dev.js?n=2');
//* by [[User:Ianezz]] ([[Commons:Village_pump/Archive/2009Sep#CSS_placement_of_categories]]), based on [[:wikinews:Help:User_style#Moving_categories_to_top]]
$(function () {
if (mw.config.get('wgNamespaceNumber') !== -1) {
var bc = document.getElementById('bodyContent') || document.getElementById('mw-content-text');
var catlinks = document.getElementById('catlinks');
// Note no catlinks on mobile Minerva skin
if (bc && catlinks) bc.insertBefore(catlinks, bc.childNodes[0]);
}
});
mw.loader.load( '//meta.wikimedia.org/w/index.php?title=User:Jon_Harald_Søby/diffedit.js&action=raw&ctype=text/javascript' );
mw.loader.load( '//de.wikipedia.org/w/index.php?title=Benutzer:TMg/autoFormatter.js&action=raw&ctype=text/javascript' );