Wikipedia:User scripts/Requests/Archive 3: Difference between revisions
Content deleted Content added
add archive template to top |
Added threads from Wikipedia:User_scripts/Requests |
||
Line 70:
:{{u|Hddty.}}, would [[WP:POPUPS]] work? That way, you can hover over their signature and see both of these things. [[User:Enterprisey|Enterprisey]] ([[User talk:Enterprisey|talk!]]) 09:50, 18 November 2018 (UTC)
::{{re|Enterprisey}} Thanks, I didn't know that. [[User:Hddty.|Hddty.]] ([[User talk:Hddty.|talk]]) 02:37, 19 November 2018 (UTC)
== Minimise sections ==
This is needed for desktop mode, since it is already there in mobile mode. This way, I can hide the plot section to avoid unintentionally reading [[Spoiler (media)|spoilers]]. --<span style="white-space:nowrap;font-family: Papyrus">[[User:Kailash29792|<b style="color: black;">Kailash29792</b>]] [[User talk:Kailash29792|<span style="color: black;">(talk)</span>]] </span> 09:23, 27 April 2018 (UTC)
:{{ping|Kailash29792}} does [[User:BethNaught/hideSectionDesktop.js]] help? It does not auto-collapse the sections (although it could be so modified) but you can use it to hide a plot section. [[User:BethNaught|BethNaught]] ([[User talk:BethNaught|talk]]) 11:06, 12 July 2018 (UTC)
::So I just copy it onto my [[User:Kailash29792/skin.js|skin.js]] page and that's it? Because that's just what I've done now. --<span style="white-space:nowrap;font-family: Papyrus">[[User:Kailash29792|<b style="color: black;">Kailash29792</b>]] [[User talk:Kailash29792|<span style="color: black;">(talk)</span>]] </span> 11:11, 12 July 2018 (UTC)
::Now I put it on my [[User:Kailash29792/common.js|common.js]] page, and voila! Thank you very much {{U|BethNaught}}. It now doesn't have to be on the skin page, does it? --<span style="white-space:nowrap;font-family: Papyrus">[[User:Kailash29792|<b style="color: black;">Kailash29792</b>]] [[User talk:Kailash29792|<span style="color: black;">(talk)</span>]] </span> 11:20, 12 July 2018 (UTC)
:::No, it doesn't. [[User:BethNaught|BethNaught]] ([[User talk:BethNaught|talk]]) 11:34, 12 July 2018 (UTC)
== AutoRollbacker ==
A script that would rollback automatically a persistent vandal until an admin blocks him. To prevent abuse, maybe the script would work only if the user is reported to AIV. <span style="text-shadow:#396 0.2em 0.2em 0.5em; class=texhtml">[[User:L293D|<b style="color:#060">L293D</b>]] ([[User talk:L293D#top|<b style="color:#000">☎</b>]] • [[Special:Contributions/L293D|<b style="color:#000">✎</b>]])</span> 18:35, 6 May 2018 (UTC)
:I've always wanted a script that puts the number of new edits made by a user at the beginning of the tab title (in the browser window), so that I can look over new ones as they come in. Maybe this is a more general solution. [[User:Enterprisey|Enterprisey]] ([[User talk:Enterprisey|talk!]]) 09:51, 18 November 2018 (UTC)
:{{u|L293D}}, [[User:Bellezzasolo/Scripts/meganuke.js]] might do the trick. <u style="font:1.1em/1em Arial Black">[[User:Flooded with them hundreds|<u style="color:#7f2ed1">Flooded </u>]]<u style="color:#bfa6d8"><small>with them </small></u>[[User_talk:Flooded with them hundreds|<u style="color:#7f2ed1">'''hundreds'''</u>]]</u> 10:46, 24 November 2018 (UTC)
== Auto Copyvio check for unreviewed pages (for new page reviewers) ==
A script that automatically pops up a small box whenever you navigate to an unreviewed main-space page (ideally pinned to the bottom right side of the window and scrolls with the page to stay out of the way of the reviewer, similar to the Page Curation tools), in which it runs a search in [https://tools.wmflabs.org/copyvios/?lang=en&project=wikipedia&title= Earwig's copyvio detector]. This box would be grey at first (while the search is running), but would then display the confidence % result of the copyvio report and change colour to Green/Yellow/Red (depending on the confidence %). Clicking on the box would either A) 'expand' it in a window without navigating away from the page, allowing the reviewer to click on the box to expand the copyvio report, or click it again to minimise it and display only the colour coded confidence% result (ideally), or B) link to the full copyvio report page and open it in a new tab (probably much easier, but it would be better not to have to navigate away form the page).
Option to have it be not automatic would be nice (instead only launching it manually like most other scripts). It should also be able to be launched manually on articles that are already marked as 'reviewed', but this should be by default ''not'' automatic. And it should also be configurable for manual or automatic use on AfC drafts (probably default as automatic). — '''''<small>[[User:Insertcleverphrasehere|Insertcleverphrasehere]] <sup>([[User talk:Insertcleverphrasehere|or here]])</sup></small>''''' 22:41, 19 October 2018 (UTC)
Please ping me if responding to this request. Cheers! — '''''<small>[[User:Insertcleverphrasehere|Insertcleverphrasehere]] <sup>([[User talk:Insertcleverphrasehere|or here]])</sup></small>''''' 11:39, 16 October 2018 (UTC)
:{{U|Insertcleverphrasehere}}, I created a script at [[User:FR30799386/copyvio-check.js]] which basically displays the cpvio percentage within the info menu of the NPP toolset. — <span class="texhtml">'''''[[User:FR30799386|f]][[User talk:FR30799386#top|r]]'' [[Special:Contributions/FR30799386|<sup style="color:grey;">❄</sup>]]'''</span><!--{{subst:User:FR30799386/sign}}--> 09:52, 2 January 2019 (UTC)
::I like it! This will be really useful, thanks. Any chance yu could put together a brief info page for the script? It would be good to know; Does it start calculating when the page is opened, or only after you click the info button? (it seems from testing to be when the page opens, which is great). — '''''<small>[[User:Insertcleverphrasehere|Insertcleverphrasehere]] <sup>([[User talk:Insertcleverphrasehere|or here]])</sup><small><small><sub>([[WP:NPP|click me!)]]</sub></small></small></small>''''' 10:04, 2 January 2019 (UTC)
:::Just created a [[User:FR30799386/copyvio-check|info page]]. The search starts when the menu of icons get fully loaded{{p}}. — <span class="texhtml">'''''[[User:FR30799386|f]][[User talk:FR30799386#top|r]]'' [[Special:Contributions/FR30799386|<sup style="color:grey;">❄</sup>]]'''</span><!--{{subst:User:FR30799386/sign}}--> 11:03, 2 January 2019 (UTC)
==Wanted:Show WikiData Q number on Wiki Articles==
I'd like to see the WikiData Q number for a given article (I know its available by clicking on the Wiki link in the sidebar.) The primary reason is to speed up using the WikiData Mix-n-Match process. I often end up using an external search engine to identify the correct Wiki article, but then I have to click again to get the Q number that I need to make the association. (It would be extra nice if it worked on more than 1 language Wiki ;-) Thanks. [[User:Dcheney|Dcheney]] ([[User talk:Dcheney|talk]]) 05:29, 3 December 2018 (UTC)
:{{ping|Dcheney}} I've written something that adds the Q number to the title (similar to those on wikidata). To install on all wikis add <code>mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Danski454/wikidata_Qnum.js&action=raw&ctype=text/javascript' );</code> to your [[meta:Special:MyPage/global.js|global.js]]. [[User:Danski454|Danski454]] ([[User talk:Danski454|talk]]) 18:20, 3 December 2018 (UTC)
::Perfect! Thank you, especially for the fast response! --[[User:Dcheney|Dcheney]] ([[User talk:Dcheney|talk]]) 22:51, 3 December 2018 (UTC)
==Undo move==
Clicking the Undo button for a move on a history page goes to {{small|"The edit appears to have already been undone. You may have attempted to undo a page move, protection action or import action; these cannot be undone this way."}} I need a script that could make the Undo button on a history page work like the Revert button in the [https://en.wikipedia.org/wiki/Special:Log?type=move&user=&page=&wpdate=&tagfilter= Move log] (clicking it goes to the [[Special:MovePage]] to undo the move.) <u style="font:1.1em/1em Arial Black">[[User:Flooded with them hundreds|<u style="color:#7f2ed1">Flooded </u>]]<u style="color:#bfa6d8"><small>with them </small></u>[[User_talk:Flooded with them hundreds|<u style="color:#7f2ed1">'''hundreds'''</u>]]</u> 14:41, 19 December 2018 (UTC)
:{{ping|Flooded with them hundreds}} I've written [[User:Danski454/undo-move|this]]. [[User:Danski454|Danski454]] ([[User talk:Danski454|talk]]) 18:16, 19 December 2018 (UTC)
::Incredible! Great work, it works smoothly. Thanks! <u style="font:1.1em/1em Arial Black">[[User:Flooded with them hundreds|<u style="color:#7f2ed1">Flooded </u>]]<u style="color:#bfa6d8"><small>with them </small></u>[[User_talk:Flooded with them hundreds|<u style="color:#7f2ed1">'''hundreds'''</u>]]</u> 11:18, 20 December 2018 (UTC)
|