In this article, we want to address the topic of
User:Patrick87/common.js, a topic that has gained relevance in recent times.
User:Patrick87/common.js has captured the attention of many people due to its impact on different aspects of society. From its influence on popular culture to its importance in the academic and scientific field,
User:Patrick87/common.js has generated debates and discussions that leave no one indifferent. Throughout this article, we will explore different perspectives and approaches on
User:Patrick87/common.js, with the aim of offering a complete and objective vision of this topic that is so relevant today.
// ########## 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);