In this article, we will delve into the fascinating world of
User:TheTVExpert/scriptDocumentationTabs.js. From its origins to its evolution over time, we will explore every facet of
User:TheTVExpert/scriptDocumentationTabs.js and its impact on society. Through various perspectives and detailed analysis, we will try to shed light on this topic that is so relevant today.
User:TheTVExpert/scriptDocumentationTabs.js has been the subject of intense debate and controversy, and it is our goal to provide a comprehensive view that invites reflection and debate. Without a doubt,
User:TheTVExpert/scriptDocumentationTabs.js is a topic that deserves to be addressed seriously and meticulously, and we are sure that this article will be of great interest to all our readers.
$(document).ready(function (){
if(mw.config.get('wgCanonicalNamespace')==='User' && mw.config.get('wgAction') !== 'history' && !document.getElementById("wikiPreview")) {
var page = mw.config.get('wgPageName');
var js = page.substr(page.length - 3);
if(js==".js") {
page = page.slice(0,-3);
new mw.Api().get( {
action: "query",
titles: ,
} ).then( function( ret ) {
$.each( ret.query.pages, function() {
if ( this.missing !== "" ) {
var list = document.createElement("LI");
var link = document.createElement("A");
link.innerHTML = "Documentation";
link.href = "https://wiki386.com/en/" + page;
link.title = "View documentation";
list.appendChild(link);
var talk = document.getElementById("ca-talk");
talk.parentNode.insertBefore(list, talk.nextSibling);
}
} );
}, function( error ) {
} );
} else {
page = page + ".js";
new mw.Api().get( {
action: "query",
titles: ,
} ).then( function( ret ) {
$.each( ret.query.pages, function() {
if ( this.missing !== "" ) {
var list = document.createElement("LI");
var link = document.createElement("A");
link.innerHTML = "Script";
link.href = "https://wiki386.com/en/" + page;
link.title = "View script";
list.appendChild(link);
var talk = document.getElementById("ca-talk");
talk.parentNode.insertBefore(list, talk.nextSibling);
}
} );
}, function( error ) {
} );
}
}
});