In this article, we will explore the fascinating world of
User:MusikAnimal/xtools.js, addressing different aspects related to this person/topic/date. From his impact on society to his relevance in popular culture, through his most notable achievements and the challenges he has faced throughout his career. In addition, we will analyze his influence in specific areas such as technology, politics, art, science, among others. Through this article, we seek to provide a comprehensive and enriching vision of
User:MusikAnimal/xtools.js, inviting the reader to reflect and deepen their knowledge of this exciting topic.
$(function () {
if (mw.config.get('wgArticleId') === 0 || // no deleted articles, no special pages
mw.config.get('wgCurRevisionId') !== mw.config.get('wgRevisionId') || // only current revision
mw.config.get('wgAction') !== 'view') { // only when viewing a page, not editing
return;
}
var markup = "<div id='xtools' style='font-size:84%; line-height:1.2em;" +
"width:auto;'><span id='xtools_result'>.</span></div>";
$(markup).insertBefore('#contentSub');
var loadinganimation = window.setInterval(function () {
if ($('#xtools_result').html() === '. ') {
$('#xtools_result').html(' . ');
} else if ($('#xtools_result').html() === ' . ') {
$('#xtools_result').html(' .');
} else {
$('#xtools_result').html('. ');
}
}, 300);
$.get(
'//xtools.wmflabs.org/api/articleinfo/' +
mw.config.get('wgServerName') + '/' +
mw.config.get('wgPageName') + '?format=html' +
'&uselang=' + mw.config.get('wgContentLanguage')
).done(function (result) {
$('#xtools_result').html(result);
clearInterval(loadinganimation);
});
});