User:Marrio/monobook.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
![]() | The accompanying .css page for this skin can be added at User:Marrio/monobook.css. |
// [[User:Outriggr/metadatatest.js]] <nowiki>
importScript('User:Outriggr/metadatatest.js');
assessmentMyTemplateCode = ["{{WPBiography|class=|importance=}}", "{{WPOlympics|class=|importance=}}", "{{TemplateC|class=|importance=}}"];
assessmentDefaultProject = "WPBiography";
// </nowiki>
//PLEASE READ [[User:Milk's Favorite Cookie/comments]] before using this.
//ONLY USE THIS FOR YOUR OWN COMMENTS - NOT ANYONE ELSE'S...
function refbuttons() {
if (mwCustomEditButtons) {
var time = new Date();
var curday = time.getDate();
var curmonth = time.getMonth()+1;
var nowyear = time.getYear()+1900;
var nowday = curday.toString();
if (curday <10) { nowday = "0"+nowday;}
var nowmonth = curmonth.toString();
if (curmonth <10) { nowmonth = "0"+nowmonth;}
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "/media/wikipedia/commons/b/bc/Featured_article_star.svg",
"speedTip": "Resolved Comments",
"tagOpen": "{{resolved comments|User=Marrio|Content=",
"tagClose": "}}",
"sampleText": ""};
}
}
$(refbuttons);