This article will address the topic of
User:Patrick87/common.js, which has aroused growing interest in recent times. From different perspectives and approaches, this topic has generated debates and reflections in various areas, such as society, culture, politics, economics and science. Its implications, its evolution over time and its relevance today will be explored, with the aim of offering a comprehensive and detailed vision of
User:Patrick87/common.js. Its different dimensions will be examined, analyzing its consequences, its influence on the global level and its future projection. Through a deep and exhaustive analysis, the aim is to contribute to the understanding and knowledge of
User:Patrick87/common.js, thus enriching the debate and reflection around this topic of undoubted importance.
// ########## load global.js from dewiki for cross wiki usage ##########
mw.loader.load('//de.wikipedia.org/w/index.php?title=User:Patrick87/global.js&action=raw&ctype=text/javascript');
// ########## only for enwiki ##########
// Change "Upload file" link from ] to ]
var d = document.getElementById("t-upload");
d.innerHTML = d.innerHTML.replace("wiki/Wikipedia:File_Upload_Wizard", "wiki/Special:Upload");
// Add preview button to upload form and preload with information template
if (mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Upload') {
importScript("User:Patrick87/UploadForm.js");
}
// markAdmins (original source ])
importScript('User:Patrick87/markAdmins.js');
markcomadmins = true; // zusätzlich: Commons-Admins besonders hervorheben
markwdadmins = true; // zusätzlich: Wikidata-Admins besonders hervorheben
mw.hook('BeforePageDisplay').remove('ext.visualEditor.viewPageTarget.init');
mw.user.options.set('visualeditor-enable',0);