User:FlightTime Public/vector.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 is at User:FlightTime Public/vector.css. |
importScript('User:Ohconfucius/MOSNUM dates.js'); //[[User:Ohconfucius/MOSNUM dates.js]]
importScript('User:Ohconfucius/Common Terms.js'); //[[User:Ohconfucius/Common Terms.js]]
importScript('User:Tim Song/afchelper4.js');
importScript('User:Anomie/util.js');
importScript('User:Anomie/linkclassifier.js'); // Linkback: [[User:Anomie/linkclassifier.js]]
importScript('User:Ioeth/friendly.js');
importScript('User:Dr pda/prosesize.js'); //[[User:Dr pda/prosesize.js]]
importScript("User:GregU/dashes.js");
importScript('User:AzaToth/twinkle.js');
// Adds a link to the acc tool
//
addOnloadHook(function () {
addPortletLink( "p-personal",
"http://toolserver.org/~acc/acc.php",
"Acc tool", "pt-acctool", "Link to acc tool",
"A", document.getElementById("pt-logout"));
});
// <pre>
/*************
*** TemplateScript
*** by [[m:user:Pathoschild]] <http://meta.wikimedia.org/wiki/User:Pathoschild/Scripts/TemplateScript>
*** - adds a menu of user-defined, form-specific templates
*************/
importScriptURI('http://meta.wikimedia.org/w/index.php?title=User:Pathoschild/Scripts/TemplateScript.js&action=raw&ctype=text/javascript');
// define templates
function define_templates() {
// syntax (see documentation): new_template('type','name','text','optional 1','optional 2','optional 3');
new_template('edit','header','{{header\n | title =\n | author =\n | section =\n | previous =\n | next =\n | notes =\n}}');
new_template('edit','author','{{author\n |name =\n |last_initial =\n |dates =\n |description =\n |image =\n |wikipedia_link =\n |wikiquote_link =\n |commons_link =\n}}');
new_template('edit','featured talk','{{featured talk\n | month = {{subst:CURRENTMONTH}}\n | year = {{subst:CURRENTYEAR}}\n | archive = {{subst:CURRENTYEAR}}/{{subst:CURRENTMONTH}}\n}}');
new_template('edit','textinfo','{{textinfo\n| edition =\n| source =\n| contributors =\n| progress =\n| notes =\n| proofreaders =\n}}');
new_template('protect','featured','[[WS:FT|Featured text]] (see the [[WS:PP|protection policy]])');
new_template('move','standardised','[[WS:STYLE|Standardised]]');
new_template('delete','Copyvio discussion','[[WS:COPYVIO|Possible copyright violation]]');
new_template('delete','Proposed','[[WS:DEL|Proposed deletion]]');
new_template('delete','G1 no meaningful content','[[WS:CSD|Criteria for speedy deletion]] G1 ("No meaningful content or history.")');
new_template('delete','G2 recreation','[[WS:CSD|Criteria for speedy deletion]] G2 ("Reposted content previously deleted...")');
new_template('delete','G3 banned user','[[WS:CSD|Criteria for speedy deletion]] G3 ("content created and edited solely by a banned user after they were banned...")');
new_template('delete','G4 redundant','[[WS:CSD|Criteria for speedy deletion]] G4 ("Two versions of the same text on different pages...")');
new_template('delete','G5 beyond scope','[[WS:CSD|Criteria for speedy deletion]] G5 ("...clearly lies outside the [[WS:WWI|scope of Wikisource]]...")');
new_template('delete','G6 copyvio','[[WS:CSD|Criteria for speedy deletion]] G6 ("...clear and proven copyright violation...")');
new_template('delete','G6 re-copyvio','[[WS:CSD|Criteria for speedy deletion]] G6 ("...content previously deleted as a copyright violation...")');
new_template('delete','G6 copyvio author','[[WS:CSD|Criteria for speedy deletion]] G6 ("...author pages for authors whose works are all copyrighted...")');
new_template('delete','G7 author\'s request','[[WS:CSD|Criteria for speedy deletion]] G7 ("Deletion per request of the author...")');
new_template('delete','A1 transwikied','[[WS:CSD|Criteria for speedy deletion]] A1 ("Articles [[m:transwiki|transwikied]] to another project...")');
new_template('delete','A1 transwikied (commons)','[[WS:CSD|Criteria for speedy deletion]] A1 ("...images uploaded to the [[commons:|Wikimedia commons]] with the original contributor noted...")');
new_template('delete','A2 non-notable','[[WS:CSD|Criteria for speedy deletion]] A2 ("...not significantly peer-reviewed or previously published in a significant edition or forum.")');
new_template('delete','A3 no authorship info','[[WS:CSD|Criteria for speedy deletion]] A3 ("Works without authorship information...")');
new_template('delete','M1 trivial','[[WS:CSD|Criteria for speedy deletion]] M1 ("...deletion as part of a page move or history merge, as long as the action requiring the deletion is uncontroversial.")');
new_template('delete','M2 redirect (new)','[[WS:CSD|Criteria for speedy deletion]] M2 ("Unneeded redirects from page titles created within the last week...")');
new_template('delete','M2 redirect (old)','[[WS:CSD|Criteria for speedy deletion]] M2 ("...[unneeded] redirects tagged with {{subst:dated soft redirect|"[[new title]]"}} for at least two months.")');
new_template('delete','M2 redirect (broken)','[[WS:CSD|Criteria for speedy deletion]] M2 ("...Redirects to inexistant pages...)"');
new_template('delete','M3 redirect (article to other ns)','[[WS:CSD|Criteria for speedy deletion]] M3 ("Internamespace redirects from the article namespace to any other namespace.")');
new_template('delete','M4 talk page','[[WS:CSD|Criteria for speedy deletion]] M4 ("Unneeded talk: a discussion page for deleted or inexistant content.")');
}
/* Load script */
addOnloadHook(function() {templatescript(define_templates())});
// </pre>