Jump to content

User:Hasteur/common.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Hasteur (talk | contribs) at 21:03, 13 March 2014 (Fix). 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.
mw.loader.load('//www.wikidata.org/w/index.php?title=User:Yair_rand/checksitelinks.js&action=raw&ctype=text/javascript');
//importScript('User:Theo\'s Little Bot/afch/afchelper.js') // [[User:Theo's Little Bot/afch/afchelper.js]]
importScript('User:Technical 13/SandBox/help-helper-tools.js')
importScript('User:Equazcion/OneClickArchiver.js'); // Backlink: [[User:Equazcion/OneClickArchiver.js]]


function MoveToDraft() {
	new_title = pageTitle.replace('Wikipedia_talk:Articles_for_creation/','');
	new_title = new_title.replace('Wikipedia:Articles_for_creation/','');
	full_title = 'Draft:'+new_title
	url = 'https://en.wikipedia.org/w/index.php?title=Index.php&title=Special:MovePage/'+
		pageTitle+'&wpNewTitle='+full_title+'&wpReason=Move+to+new+location'
	window.location.href=url;
}