Jump to content

User:FlightTime Public/vector.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by FlightTime Public (talk | contribs) at 15:10, 4 November 2010 (trying new script). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
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>