Hello, you have come here looking for the meaning of the word
MediaWiki:Gadget-AggregateInterprojectLinks.js. In DICTIOUS you will not only get to know all the dictionary meanings for the word
MediaWiki:Gadget-AggregateInterprojectLinks.js, but we will also tell you about its etymology, its characteristics and you will know how to say
MediaWiki:Gadget-AggregateInterprojectLinks.js in singular and plural. Everything you need to know about the word
MediaWiki:Gadget-AggregateInterprojectLinks.js you have here. The definition of the word
MediaWiki:Gadget-AggregateInterprojectLinks.js will help you to be more precise and correct when speaking or writing your texts. Knowing the definition of
MediaWiki:Gadget-AggregateInterprojectLinks.js, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
/*
** Generates a sidebar list of links to other projects from {{pedia}}, etc.
** <nowiki>
*/
$(function () {
// Broken on Minerva...
if (mw.config.values.skin === "minerva") return;
var spans = $('span.interProject a:first-child').clone();
if (spans.length === 0) return;
// sort alphabetically
function sortbylabel(a, b) {
// get labels
a = $(a).text();
b = $(b).text();
// return sort order
if (a < b) return -1;
if (a > b) return 1;
return 0;
}
spans.sort(sortbylabel);
var isVector2022 = mw.config.get('skin') === 'vector-2022';
var newLinksWrapper = $('<div>', {
'class': 'pBody body vector-menu-content',
'style': 'display:block'
});
if (isVector2022)
newLinksWrapper.addClass('mw-portlet mw-portlet-projects');
$(spans).wrap('<li class="mw-list-item">').parent()
.appendTo($('<ul class="vector-menu-content-list">')).parent()
.appendTo(newLinksWrapper);
var collapsed = mw.cookie.get("vector-nav-p-projects") == "false";
var projectBox = $('<div>', {
addClass: 'vector-menu vector-menu-portal portlet portal ' + (collapsed ? "collapsed" : "expanded"),
id: 'p-projects'
})
.append($(isVector2022
? '<div id="p-projects-label" class="vector-menu-heading">In other projects</div>'
: '<label id="p-projects-label" aria-label="" class="vector-menu-heading"><span class="vector-menu-heading-label">In other projects</span></label>'))
.append(newLinksWrapper);
$('#p-tb').after(projectBox);
});
//</nowiki>