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

Content deleted Content added
m Archiving 1 discussion(s) from Wikipedia:User scripts/Requests) (bot
m Replaced deprecated <source> tags with <syntaxhighlight>
 
(12 intermediate revisions by 4 users not shown)
Line 27:
 
 
[[Category:Wikipedia scripts| ]]
[[Category:Non-talk pages that are automatically signed]]
 
Line 77 ⟶ 76:
::::{{re|Jürgen Eissink}} It will work only if "Live updates" button on watchlist is selected. (there seems to be no preferences option to have it selected automatically - it has to be selected every time you open your watchlist, but if you wish I can tweak the script to have it selected every time the watchlist is opened). When the watchlist undergoes a live update (done by the mediawiki software, not by this script), the script just updates the page' HTML title prefixing it with a "(1)" or "(2)" or so on. This number is removed when the window comes into focus (i.e, when you switch over to the tab from another, or if you click anywhere within the window if you were already on it).
 
::::To install it across all wikis, add <sourcesyntaxhighlight lang=js>mw.loader.load('//en.wikipedia.org/w/index.php?title=User:SD0001/watchlist-update-title.js&action=raw&ctype=text/javascript');</sourcesyntaxhighlight> on your [[m:Special:Mypage/global.js|global.js page on meta]]. Or to your [[Special:Mypage/common.js|common.js locally]] for use on a specific wiki. I'd suggest doing this rather than copy-pasting the code as you've done so that any updates/improvements I may make will become available to you automatically. [[User:SD0001|SD0001]] ([[User talk:SD0001|talk]]) 03:24, 19 July 2019 (UTC)
 
:::::Okay, that makes sense and now it seems to be working, although so far I've seen updates marked (1) when there were more pages added. So the count seems to be the update and not the number of pages updated, which I'd prefer. A small issue is that when pressing 'Mark all changes as seen' that the counter again appears and will only go away after refreshing the page, which is counterproductive to the initial purpose. I'll keep testing a bit, and while improvements would be welcomed, I thank you for the code! [[User:Jürgen Eissink|Jürgen Eissink]] ([[User talk:Jürgen Eissink|talk]]) 11:40, 19 July 2019 (UTC).
Line 184 ⟶ 183:
Is there a script that removes empty parameters in the cite web template like "df=" that is pretty much always empty? --[[User:Mazewaxie|<strong><span style="color: #606060;">Mazewaxie</span></strong>]] ([[User talk:Mazewaxie|<span style=" color: #606060;">talk</span>]] • [[Special:CentralAuth/Mazewaxie|<span style="color: #606060;">contribs</span>]]) 13:28, 26 August 2019 (UTC)
 
: <sourcesyntaxhighlight lang="javascript">t = t.replace(/\|\s*(?:df|mf|dmy|mdy)\s*\=\s*(?=[\|\}])/g, "");</sourcesyntaxhighlight>
: where <code>t</code> is the wikitext, which you've hopefully obtained in some previous step.
: Note that this whacks any parameter with one of the four names above (without regard to template name or amount of spacing), just as long as it's blank.
Line 210 ⟶ 209:
 
:The basic version would look like this:
:<sourcesyntaxhighlight lang=js>
var PREDATORY_HREFS_RGX = /academicjournals\.com|academicjournals\.net|academicjournals\.org|academicpub\.org|academicresearchjournals\.org|aiac\.org\.au|aicit\.org|alliedacademies\.org|ashdin\.com|aspbs\.com|avensonline\.org|biomedres\.info|biopublisher\.ca|bowenpublishing\.com|ccsenet\.org|cennser\.org|clinmedjournals\.org|cluteinstitute\.com|cpinet\.info|cscanada\.net|davidpublisher\.org|etpub\.com|eujournal\.org|growingscience\.com|hanspub\.org|hoajonline\.com|hrmars\.com|iacsit\.org|iamure\.com|\.idosi\.org|igi-global\.com|iises\.net|imedpub\.com|informaticsjournals\.com|innspub\.net|intechopen\.com|intechweb\.org|interesjournals\.org|ispacs\.com|ispub\.com|julypress\.com|juniperpublishers\.com|kowsarpub\.com|kspjournals\.org|m-hikari\.com|macrothink\.org|mathewsopenaccess\.com|mecs-press\.org|oapublishinglondon\.com|oatext\.com|omicsonline\.org|ospcindia\.org|researchleap\.com|sapub\.org|scholink\.org|scialert\.net|scidoc\.org|sciencedomain\.org|sciencedomains\.org|sciedu\.ca|sciencepg\.com|sciencepub\.net|sciencepubco\.com|sciencepublication\.org|sciencepublishinggroup\.com|scipg\.net|scipress\.com|scirp\.org|scopemed\.com|sersc\.org|sphinxsai\.com|\.ssjournals\.com|thesai\.org|waset\.org|witpress\.com|worldwidejournals\.com|zantworldpress\.com/i;
 
Line 234 ⟶ 233:
}
});
</syntaxhighlight>
</source>
:Hopefully someone else can do the rest and provide customisability you ask for.
:You should definitely simplify the massive regex (for instance, make the .com part common for all .com domains) for better performance. [[User:SD0001|SD0001]] ([[User talk:SD0001|talk]]) 12:43, 6 February 2020 (UTC)
Line 244 ⟶ 243:
:::::::Good to know. Didn't know about /i, but that will be useful. As for removing doi.org, that's desired to pickup "Journal of crap 10.4172/asdf10354" that might not make use of templates. false positives are far and few between, although normally I might add a final <code>...\/</code> at the end to ensure it matches a <code>10.4172/</code> and not just <code>10.4172</code>. Clearly "<code>(PRED_DOIS_RGX.test(this.href))</code>" needs tweaking to look outside hrefs, but to what, I don't yet know. &#32;<span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|t]] · [[Special:Contributions/Headbomb|c]] · [[WP:PHYS|p]] · [[WP:WBOOKS|b]]}</span> 17:21, 6 February 2020 (UTC)
::::::::{{re|Headbomb}} You can check whole reference texts (anything within &lt;ref> tags) by using code like:
::::::::<sourcesyntaxhighlight lang=js>
$('span.reference-text').each(function() {
if (DOI_RGX.test(this.textContent)) {
$(this).css(CSSRULE);
}
}); </sourcesyntaxhighlight> [[User:SD0001|SD0001]] ([[User talk:SD0001|talk]]) 17:47, 6 February 2020 (UTC)
{{unindent}} {{Re|SD0001}} Well, I don't want this to be restricted to ref tags either. I want to find those wherever on the page they may be. &#32;<span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|t]] · [[Special:Contributions/Headbomb|c]] · [[WP:PHYS|p]] · [[WP:WBOOKS|b]]}</span> 17:56, 6 February 2020 (UTC)
::{{done}} Also, if something could only be detected/highlighted in specific namespaces, that would be good. For instance the current <code>var WIKI_HREFS_RGX</code> should really only be highlighted in main/draft spaces. &#32;<span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|t]] · [[Special:Contributions/Headbomb|c]] · [[WP:PHYS|p]] · [[WP:WBOOKS|b]]}</span> 23:27, 6 February 2020 (UTC)
Line 324 ⟶ 323:
:I now recall that the PROD template itself is supposed to indicate if the article has already been at AfD.
:In recent days I have had to decline PRODs due to the article having been PRODded before (this is often difficult or impossible to spot in the history) and one where the article had previously been undeleted. --[[User:kingboyk|kingboyk]] ([[User talk:Kingboyk|talk]]) 13:19, 14 February 2020 (UTC)
 
{{Clear}}
== Unreviewed featured articles ==
::: See [[Wikipedia:Unreviewed featured articles]], [[Template:Article history]], and [[Wikipedia:Featured article review]] (FAR)
 
It would be grand if someone were able to generate a list of current FAs ordered (oldest to newest) by the date of their last review (FAC or FAR), and including their mainpage date if they have run [[WP:TFA]]. {{pb}} This will help in making sure that dated FAs are reviewed at FAR, and that FAs that have not yet run on the mainpage could be prioritized.
 
* Current FAs are found at [[:Category:Featured articles]]
* Date of last review is found on the article talk page, in the <nowiki>{{Article history}}</nowiki> template, searching on the actionNdate for the highest N where actionN containes either FAC or FAR.
** Return for the highest N containing FAC or FAR (whichever is latest) the date and link found in |actionNdate= and |actionNlink=
* Mainpage date is found in the article history template on the article talk page as |maindate=
* The list, tabulated from oldest date of last review to newest, would be placed at [[WP:URFA]], looking like:
{| class="wikitable sortable"
|-
! Date last<br /> FAC or FAR
! TFA date
! Article
! Most recent FAC or FAR
! Notes
|-
|2006-11-02 || 2020-03-03 ||[[Tourette syndrome]] || [[Wikipedia:Featured article candidates/Tourette syndrome]] ||
|-
|2020-09-26|| 2008-04-26 ||[[Manzanar]] || [[Wikipedia:Featured article review/Manzanar/archive1]] ||
|-
|}
The notes field would be left blank for reviewers to fill in: for example, we would put on Tourette syndrome that it was completely overhauled for 2020 TFA.{{pb}} If it makes for less work, it's not really necessary to have FAs that passed FAC after 2017-01-01 ... the idea is to look at the very old FAs. {{pb}} Thanks! [[User:SandyGeorgia|'''Sandy'''<span style="color: green;">Georgia</span>]] ([[User talk:SandyGeorgia|Talk]]) 21:53, 9 November 2020 (UTC)
:{{re|SandyGeorgia}} {{done}} I put it at [[User:SDZeroBot/Featured articles]]. Hopefully met all your requirements :D – [[User:SD0001|<span style="font-weight: bold; color: green">SD0001</span>]] ([[User talk:SD0001|talk]]) 21:20, 20 November 2020 (UTC)
:: Totally awesome ... I am checking through it now and will get back to you. [[User:SandyGeorgia|'''Sandy'''<span style="color: green;">Georgia</span>]] ([[User talk:SandyGeorgia|Talk]]) 21:42, 20 November 2020 (UTC)
 
[[User:SD0001]] One query (I can adjust this manually unless you tell me it indicates an underlying problem in the script):
# [[Cretan War (205–200 BC)]] returned no last FAC/FAR date
And that is the only issue I uncover. I checked a couple of FAs that have convoluted histories of being featured, de-featured, and re-featured, and this looks perfect. {{pb}} Would you mind moving the list to [[Wikipedia:Unreviewed featured articles/2020]] ?? {{pb}} Thank you for the amazing work; I must seek out the perfect barnstar! [[User:SandyGeorgia|'''Sandy'''<span style="color: green;">Georgia</span>]] ([[User talk:SandyGeorgia|Talk]]) 22:06, 20 November 2020 (UTC)
:{{u|SandyGeorgia}}, Indeed that indicated an underlying problem: the script wasn't configured to deal with "actionN" where N was a 2 digit number. Fixed it and re-run. Also moved it to project space. – [[User:SD0001|<span style="font-weight: bold; color: green">SD0001</span>]] ([[User talk:SD0001|talk]]) 22:51, 20 November 2020 (UTC)
:: Awesome, we are all set if anyone wants to archive this. [[User:SandyGeorgia|'''Sandy'''<span style="color: green;">Georgia</span>]] ([[User talk:SandyGeorgia|Talk]]) 23:35, 20 November 2020 (UTC)
 
{{Clear}}
== Good article reassessment script ==
 
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>
 
== A script to help build an "open tasks" list of things you'd like to monitor ==
 
Sometimes, when I throw out an idea on a more obscure talk page, there's no one around to see it and it gets lost (or, at a super busy talk page, there are too many competing discussions and it gets buried). When I make a post I fear this might happen to, I often add the page to my watchlist so I can follow up on it or send out invites if needed later, but this isn't fully optimal, since for obscure pages I might never get reminded to follow up if there's no other activity, and for busy pages it clogs up my watchlist. I'd love to have a userscript that I could use to easily build up a list of such discussions on a subpage of my user page.
I envision it working by allowing you to go into a mode on any page where you can click on a section, and it'll add a link to that discussion on your subpage. On the subpage itself, it'd allow you to easily move tasks between the open/active category and a "done" category for completed matters and a "abandoned" category for failed/not-worth-the-effort matters. Does anything like that exist, and if not would anyone be interested in taking this on? (I'm hoping this proposal doesn't itself become one of those things I forget about.) [[User:Sdkb|Sdkb]] ([[User talk:Sdkb|talk]]) 00:22, 29 March 2020 (UTC)
:{{re|Sdkb}} Check out the scripts in [[WP:User scripts/List#Todo lists]]. I think ToDoLister does most of those things. [[User:SD0001|SD0001]] ([[User talk:SD0001|talk]]) 08:51, 31 March 2020 (UTC)
 
== A script to handle file renaming requests ==
 
A script to handle file renaming [[:CAT:RENAME|requests]], which will do following this:
* Rename the file
* Remove the {{tl|Rename media}} template.
* Update file links
Similar to [[commons:MediaWiki:Gadget-AjaxQuickDelete.js]]. -- [[User:CptViraj|<b style="color:black">CptViraj</b>]] ([[User talk:CptViraj|📧]]) 13:58, 2 March 2020 (UTC)
 
: {{ping|CptViraj}} Very exciting! I might be able to do this. I'll start working on it some time. Regards, <span style="font-family:cursive;color:blue">—[[User:Guywan|guywan]] ([[User talk:Guywan|talk]] • [[Special:Contributions/Guywan|contribs]])</span> 23:59, 20 March 2020 (UTC)
:: Ye thankyou. Regards! -- [[User:CptViraj|<b style="color:black">CptViraj</b>]] ([[User talk:CptViraj|📧]]) 03:33, 21 March 2020 (UTC)
:::I do lots of file moving, this script would be terrific. - <span style="font-family:Trebuchet MS">[[User:FlightTime Phone|<span style="color:#800000">'''FlightTime Phone'''</span>]] <small>([[User talk:FlightTime Phone|<span style="color:#FFD700">'''open channel'''</span>]])</small></span> 16:09, 24 March 2020 (UTC)
 
: {{ping|CptViraj|FlightTime}} Unveiling [[User:Guywan/Scripts/FileMoverHelper.js|FileMoverHelper]]. While on '''File:''' pages, it creates a link in the '''More''' portlet (if you use the Vector skin) called '''FMH'''. Click on that link to get started. I recommend checking the results the first few times and letting me know if something goes horribly terribly wrong. Best of luck. <span style="font-family:cursive;color:blue">—[[User:Guywan|guywan]] ([[User talk:Guywan|talk]] • [[Special:Contributions/Guywan|contribs]])</span> 23:05, 2 April 2020 (UTC)
::{{re|Guywan}} I moved [[:File:Trails of Cold Steel IV Japanese Cover.png]] to [[:File:Trails of Cold Steel IV Cover Art.png]] but the script didn't update the file link at [[:The Legend of Heroes: Trails of Cold Steel IV]]. And if possible can we have custom reason option too? Thankyou! -- [[User:CptViraj|<b style="color:black">CptViraj</b>]] ([[User talk:CptViraj|📧]]) 03:48, 3 April 2020 (UTC)
:::{{ping|CptViraj}} Should be fixed. You will now be prompted for a move reason. <span style="font-family:cursive;color:blue">—[[User:Guywan|guywan]] ([[User talk:Guywan|talk]] • [[Special:Contributions/Guywan|contribs]])</span> 15:26, 3 April 2020 (UTC)
::::{{Re|Guywan}} [[:File:Flash Comics (Feb 1948) cover art.png]] didn't update file link this time too. Custom reason is working fine. -- [[User:CptViraj|<b style="color:black">CptViraj</b>]] ([[User talk:CptViraj|📧]]) 16:05, 3 April 2020 (UTC)
:::::{{ping|CptViraj}} ''Now'' it should be fixed, hopefully. <span style="font-family:cursive;color:blue">—[[User:Guywan|guywan]] ([[User talk:Guywan|talk]] • [[Special:Contributions/Guywan|contribs]])</span> 18:42, 3 April 2020 (UTC)
 
== HarvErrors.js ==
{{HarvErrors}}
There is a open discussion at [[Help_talk:Citation_Style_1/Archive 69#Cite book Harv warning]] which involves the HarvErrors.js script. The original script is at [[User:Ucucha/HarvErrors.js]]; patched versions of the script are available at [[User:Svick/HarvErrors.js]] and [[User:David Eppstein/HarvErrors.js]]. Nonetheless, its usefulness (both the original and the patched versions) is deemed less than it used to be before the "{{para|ref}}harv " default was applied to cs1 cite templates a few days ago. <s>'''This is not an actual request yet''' - please discuss at [[Help_talk:Citation_Style_1/Archive 69#Cite book Harv warning]] and not here (to keep discussions in one place), until it becomes clear whether a coherently formulated script request would actually make sense in order to address the situation.</s> --[[User:Francis Schonken|Francis Schonken]] ([[User talk:Francis Schonken|talk]]) 07:12, 21 April 2020 (UTC)
:{{Re|Francis Schonken}} The discussion about how to make a new script based on HarvErrors.js should be held ''here'', not at [[Help talk:CS1]] btw, because ''here'' is where you can explain what you would like the script to behave like. &#32;<span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|t]] · [[Special:Contributions/Headbomb|c]] · [[WP:PHYS|p]] · [[WP:WBOOKS|b]]}</span> 10:28, 21 April 2020 (UTC)
::Is an actual script request now (see below), so struck the recommendation to have preliminary talks elsewhere, which no longer applies. --[[User:Francis Schonken|Francis Schonken]] ([[User talk:Francis Schonken|talk]]) 04:50, 22 April 2020 (UTC)
Some discussion relating to this occurred at [[Wikipedia:Village_pump_(technical)#Change_to_CS1_(cite_xxx)_templates_is_showing_warning_messages_to_some_editors_using_custom_scripts|the technical Village Pump]]; the portion of the discussion relating to the development of a user script is being redirected here. '''<span style="background:#B1810B; padding:2px; border-style:solid; border-width:1px">[[User:Kees08|<span style=color:#FFFFFF;">Kees08</span>]][[User talk:Kees08|<span style=color:#FFFFFF;"> (Talk)</span>]]</span>''' 01:58, 22 April 2020 (UTC)
:{{u|Kees08}}, we need a script that did what [[User:Ucucha/HarvErrors.js]] did before the recent change that made ref=harv the default for {{tl|cite book}} etc. We need three things:
::(a) a warning when we use a short cite (sfn/harvnb) without a corresponding long one;
::(b) a warning when we use a long one as a source (i.e. with ref=harv) without a corresponding short one; and
::(c) no warning when the template is in Selected works, Bibliography, or Further reading without ref=harv.
:We had that functionality before the change. We need to be able to move these citation templates smoothly from sourcing sections (with ref=harv) to non-sourcing sections (ref=none). Is it possible to write a script that does this? The scripts suggested by Trappist and others don't achieve this. [[User:SlimVirgin|SarahSV]] <small><sup>[[User_talk:SlimVirgin|(talk)]]</sup></small> 03:53, 22 April 2020 (UTC)
::Currently, the Harverrors script does (a) with a red error message (not a warning; the two are different, and we should use words carefully when asking a programmer to create a script); does (b) with a brown warning message; and does (c) if the full citation includes {{para|ref|none}} as a parameter. Those three things have always been true for Harverrors in combination with {{tl|Citation}}, which is a Citation Style 2 template, and for {{tl|cite book}} and the other Citation Style 1 templates when they included {{para|mode|cs2}}. The recent change is that the brown warning described in (b) has been activated for {{tl|cite book}} and the other Citation Style 1 templates, even if they do not explicitly use {{para|ref|harv}}, due to a change in the CS1 templates. To be clear, the Harverrors script has not changed.
::
::I don't know of a way that (c) could be achieved without using {{para|ref|none}}, but there are a lot of clever script writers out there. Depending on the section name will not work, because section names are used inconsistently. At the GA [[James Francis Dwyer]], for example, the section for full citations that are linked from short citations is called "Bibliography". – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 04:11, 22 April 2020 (UTC)
:::Or, a script that adds "{{para|ref|none}}" to {{tl|citation}} and/or cite templates that don't have a "{{para|ref|harv}}", and/or in selected sections to all such such templates, after which clean-up of all the lists (i.e. "Cited works", "Further reading", "External links" etc) can proceed with assistance of the original HarvErrors.js script (that is the one showing "errors" as well as "warnings"). --[[User:Francis Schonken|Francis Schonken]] ([[User talk:Francis Schonken|talk]]) 04:50, 22 April 2020 (UTC)
{{od}}c) cannot be achieved as requested because {{para|ref|harv}} is equivalent to {{para|ref}}, which is how {{tl|citation}} worked. The solution to that is to add {{para|ref|none}} to those {{tl|cite book}} and other templates, just like is done with {{tl|citation}}. That said
*If the warning in the ''Selected works'', ''Bibliography'', ''Further reading'', ''External links'' sections are not helpful, those sections could suppress the warnings messages entirely (blacklist approach)
*Alternatively, the warnings could be enabled only in specific sections (e.g. ''Works cited'') instead (whitelist approach)
*Even section names vary, it would be easy to add variations
This would cover both CS1 and CS2 templates. [[Help talk:CS1#Mode marker?]] would allow to differentiate CS1 from CS2 templates if that was desired however. &#32;<span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|t]] · [[Special:Contributions/Headbomb|c]] · [[WP:PHYS|p]] · [[WP:WBOOKS|b]]}</span> 05:35, 22 April 2020 (UTC)
 
{{tq|1=We need to be able to move these citation templates smoothly from sourcing sections (with ref=harv) to non-sourcing sections (ref=none). Is it possible to write a script that does this?}}
 
Moving text from one section of an article to another can be done in edit-mode but that is a whole different script and operating environment from the post-rendered environment of [[User:Ucucha/HarvErrors.js]] and similar scripts. If this functionality is desired (moving text from place to place in an article) that functionality deserves its own request on this page so that this request isn't muddled with unrelated discussion.
 
At {{slink|1=User_talk:Trappist_the_monk#Ref=harv}}, I suggested a fourth requirement:
:(d) no warnings at long-cite templates when the article has no short-cite templates
My fork of User:Ucucha/HarvErrors.js accomplishes this by muting the warning messages when there are no short-cites in the article.
 
—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk|talk]]) 13:50, 22 April 2020 (UTC)
 
:First, I'm a little confused about (c) "we had that functionality before the change"; is that an assertion that the Ucucha script suppresses (or suppressed before the recent change) warnings in those sections? I never noticed that, and I don't see those exclusions in the JS. I suppose it could be added, but I don't have the skilz. In any case, there are many inventive section names in footers containing citations that I've seen over the years. Not everyone has always hewn to the recommended section structure.
 
:Second, I think the proposal to move text between sections is fraught with danger. There are many patterns of which section or sometimes multiple sections a CS1/2 reference finds itself in, especially in very old articles, which aren't particularly disciplined in their observance of the recommended section purpose and order. I think the bot would need a very clear understanding of the semantics. But I'll wait for that separate discussion and, I hope, a full specification. [[User:DavidBrooks|David Brooks]] ([[User talk:DavidBrooks|talk]]) 15:34, 22 April 2020 (UTC)
::{{RE|DavidBrooks}} "we had that functionality before the change" is a misconception, that functionality was never there. Also, bots shouldn't be doing anything here as far putting {{para|ref|none}} at this point (although there could be a case made for such a task when the criteria for when {{para|ref|none}} should be used is clarified), but doing this by script (again, with human-review) would likely be fine. Bots moving citations and references will also never fly, although it's possible that someone can design a script for this. This would be tricky, but is theoretically possible. &#32;<span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|t]] · [[Special:Contributions/Headbomb|c]] · [[WP:PHYS|p]] · [[WP:WBOOKS|b]]}</span> 15:40, 22 April 2020 (UTC)
::{{u|DavidBrooks}}, we certainly did have that functionality before the change. I relied every day on all three of the points I mentioned above. [[User:SlimVirgin|SarahSV]] <small><sup>[[User_talk:SlimVirgin|(talk)]]</sup></small> 17:52, 27 April 2020 (UTC)
:::You did not, you have a misconception about what the script what doing. &#32;<span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|t]] · [[Special:Contributions/Headbomb|c]] · [[WP:PHYS|p]] · [[WP:WBOOKS|b]]}</span> 18:08, 27 April 2020 (UTC)
::::The script told me (a) when I used a short cite (sfn/harvnb) without a corresponding long one; and (b) when I used a long one (with ref=harv) without a corresponding short one. It also (c) gave me no warning/error message when I used a citation template in Selected works, Bibliography, or Further reading without ref=harv. Now there is no script that offers (a), (b), and (c). [[User:SlimVirgin|SarahSV]] <small><sup>[[User_talk:SlimVirgin|(talk)]]</sup></small> 18:41, 27 April 2020 (UTC)
:::::b) and c) are simply incorrect. [[User:Ucucha/HarvErrors.js]] had {{tl|citation}} threw warnings those warnings time since immemorial without having explicit {{para|ref|harv}} set, including in the Further reading section. Now the CS1 templates (such as {{tl|cite book}}) are treated on the same footing as {{tl|citation}}. &#32;<span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|t]] · [[Special:Contributions/Headbomb|c]] · [[WP:PHYS|p]] · [[WP:WBOOKS|b]]}</span> 19:21, 27 April 2020 (UTC)
:::{{ping|Trappist the monk}} anyway your script could ignore specific sections from throwing warnings? &#32;<span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|t]] · [[Special:Contributions/Headbomb|c]] · [[WP:PHYS|p]] · [[WP:WBOOKS|b]]}</span> 14:43, 24 April 2020 (UTC)
::::No idea. My knowledge of javascript is minimal at best. I suppose a script can be made smart enough to some how look for {{tag|span|attribs=class="mw-headline" id="Further_reading"|o}} and then ignore everything in that section until it encountered the next {{tag|h{{var|n}}|o}} tag. I don't know how to do that and, frankly, little desire to learn enough js to make an attempt.
::::—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk|talk]]) 15:10, 24 April 2020 (UTC)
:::::{{ping|SD0001}} you're good with JS, any ideas here? &#32;<span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|t]] · [[Special:Contributions/Headbomb|c]] · [[WP:PHYS|p]] · [[WP:WBOOKS|b]]}</span> 15:11, 24 April 2020 (UTC)
::::::I am not sure what's being requested here as I know next to nothing about CS1/2. Didn't read most of the above, but regarding [[user:Trappist the monk|Trappist the monk]]'s last comment, it's easy to ignore stuff in a Further reading section using the jQuery. For example, if you're looking for elements with class citation (<code>.citation</code>), <code>var sectionCites = $('#Further_reading').parent().nextUntil('h2').find('.citation').get();</code> gets you all cites in the section. If <code>CITES</code> is the array of all cites on the page, <code>CITES.filter(function(x) { return sectionCites.indexOf(x) === -1; })</code> is the array of all cites not in that section. [[User:SD0001|SD0001]] ([[User talk:SD0001|talk]]) 21:15, 25 April 2020 (UTC)
:::::::@[[User:SD0001|SD0001]]: Thanks for that. The <code>var sectionCites = ...</code> appears to do what you say it does. But, there's always a but ... But, I don't know how to use the <code>CITES.filter(function(x) { return sectionCites.indexOf(x) === -1; })</code>. I have a [[User:Trappist the monk/sandbox2|sandbox]] that has seven cs1|2 templates. Four of those are in §Further reading. By concatenating <code>sectionSites.length</code> to the end of the script's normal output I can see that <code>sectionSites</code> contains four elements.
:::::::
:::::::In the code, <code>cites</code> is the the array of all cites on the page so this should make <code>filtercites</code> an array of the three elements in <code>cites</code> that are not in <code>sectionSites</code>:
::::::::{{code|lang=js|1=var filtercites = cites.filter(function(x) { return sectionCites.indexOf(x) === -1; });}}
:::::::Alas, it doesn't; <code>filtercites.length</code> returns 7. What am I doing wrong?
:::::::
:::::::The code is at [[User:Trappist the monk/common.js]] and the sandbox is at [[User:Trappist the monk/sandbox2]].
:::::::—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk|talk]]) 11:14, 26 April 2020 (UTC)
::::::::{{re|Trappist the monk}} <code>cites</code> is not an array, it's a jQuery collection. To convert it to an array, use the <code>.get()</code> method. So
::::::::{{code|lang=js|1=var filtercites = cites.get().filter(function(x) { return sectionCites.indexOf(x) === -1; });}}
::::::::will work. [[User:SD0001|SD0001]] ([[User talk:SD0001|talk]]) 12:40, 27 April 2020 (UTC)
:::::::::@[[User:SD0001|SD0001]]: Ding ding ding! That works, thank you.
:::::::::—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk|talk]]) 16:32, 27 April 2020 (UTC)
::::::Given the promiscuous usage of footer headings that we can see in articles old and new, I'm really uncomfortable about assuming semantics for any particular section heading. It's very common to see Further Reading contain external supplementary text, citations used in the article, or both. External Links is often used as a synonym. There are creative heading names like "Notes and References" or "Footnotes". And, of course, it's ''very'' common to have citations in the same section as the reflist. If anything, this feels like a call to arms to standardize the semantics of the footer sections of all 6 million articles and enforce it going forwards (with appropriate changes to various guidelines/policies). Sounds like a good idea, but a big one. [[User:DavidBrooks|David Brooks]] ([[User talk:DavidBrooks|talk]]) 23:23, 25 April 2020 (UTC)
{{od}}
They vary a lot, yes, but here the idea would be to identify sections that where the warnings are more likely than not to be pointless for editors that would like focus on more pertinent warnings, even if they miss the occasional one. For example, ''Further reading'', ''External links'', ''Selected works'', ''Publications'', ''List of publications'' etc... are very likely to not be the intended targets of SFNs, so the script could ignore those which are deemed safe/safe-ish to ignore. This could be done two ways, conceptually
*a) Centrally, by importing the script with default sections that are ignored
*b) Locally, by allowing something like "<code>IgnoreWarningSections = {Further reading, External links, Selected Works}</code>", etc... to be loaded in a .js or .css page, where a user could customize the list to their liking.
&#32;<span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|t]] · [[Special:Contributions/Headbomb|c]] · [[WP:PHYS|p]] · [[WP:WBOOKS|b]]}</span> 23:30, 25 April 2020 (UTC)
:I understand that we agree in principle, but I've found that ''Further Reading'' is not uncommon as a place where people put sfn'ed citations. As I think I implied, it's my recollection that footer names and semantics are a guideline, not a policy. And even if it were a policy, it's rarely observed, or corrected by gnomes. [[User:DavidBrooks|David Brooks]] ([[User talk:DavidBrooks|talk]]) 23:37, 25 April 2020 (UTC)
::Well, also remember that this would be an optional script. So if there's a centralized default, it would be up to you to decide if you're ok with that behaviour. And if it's customizable, then you can have your own judgment of what you'd want to ignore or not. &#32;<span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|t]] · [[Special:Contributions/Headbomb|c]] · [[WP:PHYS|p]] · [[WP:WBOOKS|b]]}</span> 23:56, 25 April 2020 (UTC)
:I'm done hacking on my variant of the script. It ignores the content of §Further reading as long as that section is a level 2 section (<code><nowiki>==Further reading==</nowiki></code>) but it also looks for linked citations in that section and emits an error message when it finds them. My thanks to Editor SD0001 for the help.
:—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk|talk]]) 16:49, 27 April 2020 (UTC)
::{{Re|SlimVirgin}} try [[User:Trappist the monk/HarvErrors.js]] now. It should reduce warnings to only those articles that make use of short footnotes, and ignore those from the further reading section. I'm sure {{ping|Trappist the monk}} would also be willing to extend the behaviour to others sections too, like ''External links'', where it makes sense to assume those warnings are unwanted. &#32;<span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|t]] · [[Special:Contributions/Headbomb|c]] · [[WP:PHYS|p]] · [[WP:WBOOKS|b]]}</span> 19:29, 27 April 2020 (UTC)
:::I'm still concerned that, by making these distinctions concrete, we are backing into a requirement to apply stricter semantics to these footer sections (so-called [[MOS:APPENDIX|Appendices]]). That, in itself, deserves an open discussion. The content and use of footer sections does not exhibit unanimity, perhaps because of editors making invaid deductions from existing samples, perhaps just because of inadequate thought on the meaning of the terms, perhaps because of pure cargo-cultishness. For example, "External Links" and "Further Reading" seem to be interchangeable in practice (by which I mean two editors could use the two terms to mean the same type of thing), as do "External Links" and "Sources". Not to mention that all of these are often replaced by boxes pointing to Wikisource copies. To be sure, this is all called out in [[MOS:LAYOUT]], but that's just guideline, not policy, and is pretty loose; see for example the wording of [[Wikipedia:Manual of Style/Layout#Notes and references|Notes and references]]. I think it would be a fantastic project to normalize and harden all this stuff, and in particular I think that is a pre-requisite of what's being done here. [[User:DavidBrooks|David Brooks]] ([[User talk:DavidBrooks|talk]]) 22:21, 27 April 2020 (UTC)
::::Hence the optional nature of these scripts. &#32;<span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|t]] · [[Special:Contributions/Headbomb|c]] · [[WP:PHYS|p]] · [[WP:WBOOKS|b]]}</span> 22:26, 27 April 2020 (UTC)
{{od}}Trappist, Headbomb and David, the thing is: we need what we had. We had the flexibility of adding ref=harv or not adding it. Together with the script, that allowed us to move citations around, with and without the warnings/error messages as needed. Are you now having to decide in advance the names of sections so you can try to mimic that functionality? [[User:SlimVirgin|SarahSV]] <small><sup>[[User_talk:SlimVirgin|(talk)]]</sup></small> 02:11, 28 April 2020 (UTC)
:Repeating myself from above, in different words that may register this time: the Harverrors script does (a) with a red error message; does (b) with a brown warning message; and does (c) if the full citation includes {{para|ref|none}} as a parameter. The only change in your workflow should be ''adding'' {{para|ref|none}} as appropriate instead of the previous step of ''excluding'' {{para|ref|harv}}. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 03:52, 28 April 2020 (UTC)
::Please allow me to repeat myself too in the hope that this registers. This isn't about one person or the small group of people who have complained. It's about a significantly larger group (I assume hundreds) who are now seeing large and very ugly brown warnings after every single citation in their Selected works section that might have taken them hours or even days to compose—and in other articles that they didn't edit, making the sections harder to read—and don't know why. [[User:SlimVirgin|SarahSV]] <small><sup>[[User_talk:SlimVirgin|(talk)]]</sup></small> 03:58, 28 April 2020 (UTC)
I installed Trappist's script. It does (a) and (b) above (warns if there's a short cite without a corresponding long one and vice versa). But it's doing it where there's no need. For example, in [[Auschwitz]] this citation is generating a warning:
 
:<pre>{{cite news |last1=Astor |first1=Maggie |title=Holocaust Is Fading From Memory, Survey Finds |url=https://www.nytimes.com/2018/04/12/us/holocaust-education.html |work=The New York Times |date=12 April 2018 |archiveurl=https://archive.today/20180418071414/https://www.nytimes.com/2018/04/12/us/holocaust-education.html |archivedate=18 April 2018|url-status = live}}</pre>
 
It is doing some of (c): not warning about citations without ref=harv. It doesn't generate a warning in Further reading or Selected works, but it's generating one in External links. [[User:SlimVirgin|SarahSV]] <small><sup>[[User_talk:SlimVirgin|(talk)]]</sup></small> 03:14, 28 April 2020 (UTC)
::That's no different than if you used
:::<pre>{{citation |last1=Astor |first1=Maggie |title=Holocaust Is Fading From Memory, Survey Finds |url=https://www.nytimes.com/2018/04/12/us/holocaust-education.html |work=The New York Times |date=12 April 2018 |archiveurl=https://archive.today/20180418071414/https://www.nytimes.com/2018/04/12/us/holocaust-education.html |archivedate=18 April 2018|url-status = live}}</pre>
::And, as with {{tl|citation}}, {{para|ref|none}} will suppress those warnings if they are not needed. &#32;<span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|t]] · [[Special:Contributions/Headbomb|c]] · [[WP:PHYS|p]] · [[WP:WBOOKS|b]]}</span> 12:29, 28 April 2020 (UTC)
Correction: it does generate a warning when the headings are Selected works, Bibliography, Sources, and Citations. "Further reading" is the only one that prevents it. [[User:SlimVirgin|SarahSV]] <small><sup>[[User_talk:SlimVirgin|(talk)]]</sup></small> 06:29, 28 April 2020 (UTC)
:::So identify which sections should not emit those warnings. ''Bibliography'', ''Sources'' and ''Citations'' should likely emit them, given those are pretty synonymous with ''References'', but the warnings in ''External links'', ''Further reading'' (currently the only one ignored), ''Selected works'', ''List of publications'', and ''Publications'' are probably not very useful. Are there others? &#32;<span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|t]] · [[Special:Contributions/Headbomb|c]] · [[WP:PHYS|p]] · [[WP:WBOOKS|b]]}</span> 12:29, 28 April 2020 (UTC)
::::Just a quick note here that Trappist's script now excludes both ''External links'' and ''Further reading'' sections by default. &#32;<span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|t]] · [[Special:Contributions/Headbomb|c]] · [[WP:PHYS|p]] · [[WP:WBOOKS|b]]}</span> 19:37, 29 April 2020 (UTC)
===Problem===
:Moved from [[Help talk:CS1#Problem]] &#32;<span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|t]] · [[Special:Contributions/Headbomb|c]] · [[WP:PHYS|p]] · [[WP:WBOOKS|b]]}</span> 12:55, 4 May 2020 (UTC)
The new script, User:Smith609/citations.js, is showing an error message for the second long citations in bundles. See the [https://en.wikipedia.org/w/index.php?title=Female_genital_mutilation&oldid=954555011#References References section of FGM], footnotes 170, 260, 262, 263. I can remove them with ref=none, but why is that happening? [[User:SlimVirgin|SarahSV]] <small><sup>[[User_talk:SlimVirgin|(talk)]]</sup></small> 02:38, 4 May 2020 (UTC)
:[[User:Smith609/citations.js]] is not a new script; it was created in February 2011 with occasional changes; the last of which was in October 2019.
:
:Looking at [[User:SlimVirgin/common.js]], I think that you are talking about the messages emitted by [[User:trappist the monk/HarvErrors.js]]. Were you to switch to [[User:Ucucha/HarvErrors.js]], you would see the same messages except that they would be larger.
:
:Why the warning message? Each cs1|2 template creates an anchor ID. Take for example this bundle of [[Female_genital_mutilation#cite_note-200|Wilkerson 1988 and Donaldson James 2012]]. That bundle uses {{tlx|pb}} to separate the two cs1|2 templates. At the html level, the basic bundle (with a lot of stuff stripped out for clarity), looks like this:
::<syntaxhighlight lang="html">
<li id="cite_note-200">
<span class="reference-text">
<cite id="CITEREFWilkerson1988" class="citation news">Wilkerson, Isabel...</cite>
<div class="paragraphbreak" style="margin-top:0.5em"></div>
<p>
<cite id="CITEREFDonaldson_James2012" class="citation news">Donaldson James, Susan...</cite>
</p>
</span>
</li></syntaxhighlight>
:User:Ucucha/HarvErrors.js and derivative scripts expect to find an anchor ID (<code>CITEREFWilkerson1988</code> for the first citation in the bundle) inside two parent elements, where the outer parent has an <code>id="cite_note..."</code> attribute. When these two conditions are met, the script does not emit a warning message. For the second citation (anchor ID <code>CITEREFDonaldson_James2012</code>), the two conditions are not met because the outer parent element ({{tag|span|params=class="reference-text"}}) does not have an <code>id="cite_note..."</code> attribute. When the two conditions are not met, the script emits the nothing-pointing-here warning.
:
:Remember, you did ask {{tq|why is that happening?}}
:—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk|talk]]) 03:52, 4 May 2020 (UTC)
::Sorry, I posted the wrong script. Thanks for correcting it. Can something be done about it? Lots of people bundle citations. [[User:SlimVirgin|SarahSV]] <small><sup>[[User_talk:SlimVirgin|(talk)]]</sup></small> 05:18, 4 May 2020 (UTC)
:::You did say that you {{tq|1=can remove them with ref=none}}; is that not doing something about it?
:::—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk|talk]]) 12:43, 4 May 2020 (UTC)
 
== Script Request for Specific Editors ==
 
Hello, a few of us in the spoken and video guild are looking for a script that would have a manual push button to be able to the following for us:
 
#Remove references
#Remove the {}[] and all content within said brackets (exceptions are infoboxes, tables, and photos as they should not be touched)
#Any Wikipedia markup (i.e., bold, italic) without affecting the contents between the apostrophes
#Not allowed to save to the main article; however, by clicking submit, it would keep it to the respective user's sandbox with the same title and appending "-Script and full date as MMDDYY" to it. (This is meant to protect the article)
#Should only be allowed to run by those in the respective guilds (list of participants), and those that need access like admin, stewards, programmers, etc. Regular editors should not have access to run this script as to what it does. (If possible and not conducive to the WP at large)
 
I look forward to any discussion on this and to answer any questions you may have. I would also like to assist in testing prior to it being released to ensure it does what I am asking for.
 
I appreciate all the hard work you do.
 
Thanks,
[[User:Galendalia|Galendalia]] <sub>CVU Member</sub> \ <sup>[[User talk:Galendalia|Chat Me Up]]</sup> 18:41, 6 May 2020 (UTC)
:{{u|Galendalia}}, removing all {{((}} and {{))}} and all content between them would also remove {{tl|convert}}, but don't you still need to see it and other inline templates? <span class="nowrap">– [[User:BrandonXLF|<span style="color:blue;">Brandon</span><span style="color:green;">XLF</span>]] ([[User talk:BrandonXLF|talk]])</span> 19:01, 6 May 2020 (UTC)
::{{ping|BrandonXLF}} - we basically need to create a text only version with minimal interfaces that would be like reading a book. I think the <nowiki>{{tl|convert}},</nowiki> could be made an exception if possible. We do still go through all the articles we have and edit them, this is just looking to save time especially on our longer articles. Thanks [[User:Galendalia|Galendalia]] <sub>CVU Member</sub> \ <sup>[[User talk:Galendalia|Chat Me Up]]</sup> 19:07, 6 May 2020 (UTC)
 
== Section watchlist ==
 
Is there a user script to watchlist sections? I remember reading about one months ago, but I can't recall anything else about it. If not, I was thinking of making one. (Likely architecture: Toolforge job to read from the firehose and use an in-memory hashmap lookup to "deliver" edits to specific sections to users' inboxes, and then a small JSON API to fetch new edits and show them in a new panel on the Wikipedia end.) [[User:Enterprisey|Enterprisey]]&nbsp;([[User talk:Enterprisey|talk!]]) 07:06, 14 May 2020 (UTC)
 
== Button help - English refs >> Czech refs ==
 
Hey Guys, I need a simple button in the code editor in the "Advanced" tab for replace English Citation Templates to Czech Citation Templates.
For example, from english
<pre>
{{cite web
|title=
|url=
|date=
|access-date=
|publisher=
|language=
}}
</pre>
To czech language
<pre>
{{Citace elektronické monografie
| titul =
| url =
| datum vydání =
| datum přístupu =
| vydavatel =
| jazyk =
}}
</pre>
Can anyone help me with this? Thanks--[[User:MrJaroslavik|MrJaroslavik]] ([[User talk:MrJaroslavik|talk]]) 17:10, 14 May 2020 (UTC)
:{{u|MrJaroslavik}}, do you have a list of Czech parameters and their corresponding English parameter? <span class="nowrap">– [[User:BrandonXLF|<span style="color:blue;">Brandon</span><span style="color:green;">XLF</span>]] ([[User talk:BrandonXLF|talk]])</span> 19:10, 14 May 2020 (UTC)
::{{u|BrandonXLF}} Yeah, i will send it here. --[[User:MrJaroslavik|MrJaroslavik]] ([[User talk:MrJaroslavik|talk]]) 19:15, 14 May 2020 (UTC)
:::{{u|BrandonXLF}} Here
<pre>
{{cite web=Citace elektronické monografie
|url=url
|title=titul
|last=příjmení
|first=jméno
|author-link=odkaz na autora
|series=edice
|publisher=vydavatel
|___location=místo
|pages=strany
|language=jazyk
|type=typ vydání
|doi=doi
|isbn=isbn
|id=id
|access-date=datum přístupu
|url-status=
|archive-url=url archivu
|archive-date= datum archivace
}}
</pre>
--[[User:MrJaroslavik|MrJaroslavik]] ([[User talk:MrJaroslavik|talk]]) 19:37, 14 May 2020 (UTC)
:I have more at [[:User:Jonesey95/AutoEd/unnamed.js]] (do a Find for "Czech"). – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 22:13, 14 May 2020 (UTC)
 
== Link ISBN direct to WorldCat ==
 
Hi, is there a script in existence that, when an {{tl|ISBN}} is linked within a CS1 citation, will link directly to the [[WorldCat]] search/address instead of [[Special:BookSources]]? <span style="background:#F3F3F3; padding:3px 9px 4px">[[User talk:Czar|<span style='font:bold small-caps 1.2em sans-serif;color:#871E8D'>czar</span>]]</span> 15:18, 25 May 2020 (UTC)
 
== Navbox user script ==
 
I frequently go through the hassle of filling in navboxes, using subgroups etc. I expected there to be a user script to fill them in but I wasn't able to find one. It would certainly be very useful! — Yours, [[ User:Berrely |<span style="color:black;">'''''Berrely'''''</span>]]&nbsp;•&nbsp;[[User talk:Berrely|<sup>Talk</sup>]]∕[[Special:Contributions/Berrely|<sub>Contribs</sub>]] 19:46, 28 May 2020 (UTC)
 
== OneClickArchiver for lists ==
 
Scripts listed in [[Wikipedia:One click archiving]] implement archiving of whole <nowiki>==sections==</nowiki>. To make archiving of entries at [[Wikipedia:Community bulletin board]] easier, it would be nice to have a OneClickArchiver for <code>* Unordered lists</code>. {{small|Pinging {{u|Sm8900}}, who might be interested in such a script.}} —⁠[[User:Andrybak|andrybak]] ([[User talk:Andrybak|talk]]) 00:33, 3 June 2020 (UTC)