Wikipedia:User scripts/Requests/Archive 4: Difference between revisions

Content deleted Content added
m Archiving 1 discussion(s) from Wikipedia:User scripts/Requests) (bot
Line 364:
The process to nominate an article for good article reassessment is very time consuming and rather complicated (see the procedure laid out at [[Wikipedia:Good article reassessment]]), and I'd imagine that a script could automate this. Might be better as a [[WP:TW|twinkle]] feature{{em dash}} not sure{{em dash}}but here's my (with no coding experience) idea: an option to nominate it for individual or community reassessment, based upon what is selected the script will create the correct subpage. Then there could be a spot to type in the rationale and ideally the script would notify the original ga nominator and the original reviewer and any wikiprojects tagged on the talk. In my mind this would be like a combination of how twinkle handles XfD's and merge discussions, not sure how hard it would be to do, but as I anticipate nominating a lot of poor quality articles for reassessment soon, it could be very helpful. Best wishes, [[User:Eddie891|Eddie891]] <small>''<sup> [[User talk:Eddie891|Talk]]</sup> <sub>[[Special:Contributions/Eddie891|Work]]</sub>'' </small> 16:31, 19 June 2020 (UTC)
:Noting that this was {{done}} ([[User:SD0001/GAR-helper]]). See [[WT:TW#Good article reassessments]]. [[User:SD0001|SD0001]] ([[User talk:SD0001|talk]]) 09:38, 16 July 2020 (UTC)
 
== Userscript help ==
{{resolved}}
 
I have imported a userscript from [https://meta.wikimedia.org/wiki/User:Bluedeck/source/confirm-logout.js Meta-Wiki] and have it at [[User:FlightTime/confirm-logout.js]]. I've tried to contact the author, but they seem to be inactive. The script asks for a conformation for logout, as seen here [[:File:Logout screenshot.png]]. The script uses RGB color calls, What would be perfect would to change all RGB calls to Hex triplet, if that is not possible then the outcome I'm looking for is as follows:
 
<code>
background: #EEEEEE;
 
border: 2px solid #0000FF; (also the button borders)
 
text: #000
</code>
 
I am trying to match the boxes on my [[User talk:FlightTime|talk page]]
 
Any and all help will be greatly appreciated. Please ping me with comments/results. Thank you for your time, - <span style="font-family:Trebuchet MS">[[User:FlightTime|<span style="color:#800000">'''FlightTime'''</span>]] <small>([[User talk:FlightTime|<span style="color:#FFD700">'''open channel'''</span>]])</small></span> 20:32, 23 February 2020 (UTC)
 
: {{ping|FlightTime}} Make the following changes:
:* <syntaxhighlight lang="js" inline>warning: {text: "rgba(255, 255, 255, 1)", background: "rgba(221, 51, 51, 1)"},</syntaxhighlight> →
:* <syntaxhighlight lang="js" inline>warning: {text: "#000", background: "#EEE"},</syntaxhighlight>
 
:* <syntaxhighlight lang="js" inline>"en_us": "<div style='margin-bottom: 0.5em; '>You clicked on a log-out link. Do you want to continue?</div><div><button>No</button><button onclick='window.___location=\"/wiki/special:logout\"'>Log out</button></div>",</syntaxhighlight> →
:* <syntaxhighlight lang="js" inline>"en_us": "<div style='margin-bottom: 0.5em; border: 2px solid #00F'>You clicked on a log-out link. Do you want to continue?</div><div><button style='border: 2px solid #00F; color: #000'>No</button><button style='border: 2px solid #00F; color: #000' onclick='window.___location=\"/wiki/special:logout\"'>Log out</button></div>",</syntaxhighlight>
: I think these will work. That whole script could do with a bit of cleanup, since you probably aren't using all of it's features. Regards, <span style="font-family:cursive;color:blue">—[[User:Guywan|guywan]] ([[User talk:Guywan|talk]] • [[Special:Contributions/Guywan|contribs]])</span> 00:23, 21 March 2020 (UTC)
::{{re|Guywan}} Wow :) Thank you, I was thinking I wasn't going to get a reply. Let's see if I can do this right (if you'd like I can put the script on a subpage, not sure if the author is maintaining it). Thanx again. Cheers, <!-- Template:Unsigned --><small class="autosigned">—&nbsp;Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:FlightTime|FlightTime]] ([[User talk:FlightTime#top|talk]] • [[Special:Contributions/FlightTime|contribs]]) 00:25, 21 March 2020 (UTC)</small>