User:JJPMaster/Scripts/SuppressRedirect.js

This is an old revision of this page, as edited by JJPMaster (talk | contribs) at 01:41, 27 November 2024. 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.
$(() => {
	$("#bodyContent").append(`
	<div id="suppressRedirectDialog">
		Why do you want to suppress this redirect?
		<select name="criterion" id="PMRcriterion">
			<option selected="selected">Select the criterion</option>
			<option>Reverting page move vandalism ([[WP:PMRC#1]])</option>
			<option>Moving pages within a requester's own userspace to another ___location if a desire for deletion is expressed ([[WP:PMRC#2]])</option>
			<option>Moving pages from a title unambiguously created in error or in the incorrect namespace ([[WP:PMRC#3]])</option>
			<option>Round-robin page move ([[WP:PMRC#4]]</option>
			<option>File shadows Wikimedia Commons file ([[WP:PMRC#5]])</option>
			<option>Moving from mainspace to other namespace ([[WP:PMRC#6]])</option>
			<option>Moving recently created page from implausible title ([[WP:PMRC#7]])</option>
			<option>Moving editnotice to subpage of [[Template:Editnotices]] ([[WP:PMRC#8]])</option>
			<option>Redirect would meet a criterion for speedy deletion ([[WP:PMRC#9]])</option>
	    </select>
    </div>
	`);
	$("suppressRedirectDialog").dialog()
});