User:Unitfortesting/afch-rewrite.js/tpl-preferences.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. |
![]() | Documentation for this user script can be added at User:Unitfortesting/afch-rewrite.js/tpl-preferences. |
/* Uploaded from https://github.com/WPAFC/afch-rewrite, commit: 413aefc7a5d19d887f3d4f7d1dfec1dca6cd56d6 (master) */
//<nowiki>
<!-- preferences -->
<div class="afch afch-form afch-preferences">
<div class="details centered">
<strong>AFCH v{{version}} / {{versionName}}</strong>
<div>User-Agent: {{userAgent}}</div>
</div>
<div id="autoOpenWrapper">
<label for="autoOpen" class="afch-label">Automatically open the review panel on AfC submissions</label>
<input type="checkbox" id="autoOpen" class="afch-input" {{#autoOpen}}checked{{/autoOpen}} />
</div>
<div id="launchLinkPositionWrapper">
<label for="launchLinkPosition" class="afch-label">Location of "Review (AFCH)" link</label>
<select id="launchLinkPosition" class="afch-input">
<option value="p-cactions">Triangle dropdown next to the "Edit" and "History" links</option>
<option value="p-tb">"Tools" section on the lefthand side of the page</option>
</select>
</div>
<div id="logCsdWrapper">
<label for="logCsd" class="afch-label">Log speedy deletion nominations</label>
<input type="checkbox" id="logCsd" class="afch-input" {{#logCsd}}checked{{/logCsd}} />
</div>
</div>
<!-- /preferences -->
//</nowiki>