![]() | This user is a native of Hong Kong. |
![]() | This user is a citizen of the United Kingdom. |
![]() | This user lives in France. |
![]() |
...
![]() Currency symbols
In articles that are not specific to a country, express amounts of money in either US dollars, euros, or pounds sterling (choose one only). Don't link the names or symbols of currencies that are commonly known to English speakers ($, £, €), unless there's a particular reason to do so.
Add this to your user page by typing in {{Styletips}} |
![]() |
OHC BUG CENTRALBefore posting your bug report below, it may be helpful to read the relevant script documentation to understand if the script is functioning according to the design objectives and criteria. If you disagree with these criteria (i.e. if this is not a technical issue), please raise the issue on my talk page, not here If you have non-specific problems, such as if the script has worked for you but fails to function temporarily, please first refresh your browser cache to load the latest script to your browser. If the problem persists, then let me know on my talk page. If the problem involves the treatment or processing of dates and date strings, please address your report to Wikipedia:Date formattings/script/MOSNUM dates/bugs Scripts may conflict with other customisations on your computer configuration or user settings. If a script has never worked for you, please indicate your OS and browser with version numbers, if not IE8.
|
Hello. I noticed
this edit which, among other things, changed a lot of |work=
and its aliases to |publisher=
. I disagree with that usage of |publisher=
and I've yet to find a guideline or other community consensus supporting it. When I asked the editor for such a guideline or community consensus, they ignored me. When I asked again 5 days later, they told me to contact the script owner and stay off their talk page (!). They appear to believe that everything in any script has community consensus; I don't think that's true.
So here I am. Can you point me to that guideline or other community consensus? ― Mandruss ☎ 15:38, 29 January 2017 (UTC)
Ping Ohconfucius. ― Mandruss ☎ 18:11, 1 February 2017 (UTC)
|publisher=
and |work=
primarily in accordance with
WP:CS1. Attention is also paid to proper italicisation
WP:ITALICS in the case of sources cited. For traditional media such as
The Guardian, there is general consensus to italicise names, so there are generally few problems. For New Media, names are only italicised where there is consensus on WP to do so, such as
Digital Spy and
Pitchfork; there is no consensus to italicise many other websites despite their being generators of original content, such as
BBC News Online. This Italicisation is taking place on WP on a case to case basis. Furthermore, confusion was created when those working on citation templates decided to add |website=
as an alias to |work=
, creating widespread italicisation of domain names although this was certainly not the intent. I had considered use of italicisation toggles within |publisher=
, but I could not see the point, particularly as many websites with original content (e.g. BBC News Online) are both media source and publisher. The script strips these toggles from within |work=
and |publisher=
alike. The script's actions to italicise are not set into stone and a wide range of media are italicised (or not) according to the consensus-driven naming conventions. If there are any examples of media that you believe consensus exists to be italicised that are not acted on appropriately by the script, please let me know so that I can adjust it accordingly, Regards, --
Ohc
¡digame! 12:59, 2 February 2017 (UTC)work=''BBC News''
, whereas BBC Sport sources are still being changed to publisher=BBC Sport
(which is
fine). This seems to create inconsistencies within articles that cite both. I would have expected both to use |publisher=
but I may have missed a discussion somewhere. Thanks,
Nzd
(talk) 09:54, 6 September 2018 (UTC)Hi, your recent edit to Royal_Hamadryad_Hospital introduced citation errors, which I have fixed. The problem was that you changed the "via=" parameter of {{ Cite news}} (which is a valid parameter) into "work=". This left two conflicting values for "work=", which showed as a red error when the page was edited. Is this a problem with your script? Verbcatcher ( talk) 05:20, 16 June 2017 (UTC)
Hi, in 3 occasions in this diff, the change to board of directors joined the last word with the next one. I checked the script, but I'm not good at it, so I can't tell what is causing this. Cheers. Hoverfish Talk 10:05, 12 August 2017 (UTC)
When I try to run your Fix SOURCES script on
Solar eclipse of August 21, 2017, it wants to change [[Time (magazine)|Time]]
to ''[[Time]]''
. Could you please fix your script? Thanks!
GoingBatty (
talk) 16:23, 21 August 2017 (UTC)
Hi, the sources script recommends changing |work=11v11.com |publisher=AFS Enterprises to just |publisher=11v11.com. I believe the former is correct. Thanks, Mattythewhite ( talk) 15:56, 20 September 2017 (UTC)
|work=
renders the content in italics, while domain names such as 11v11.com and most websites are not meant to be italicised (see
WP:CS1,
WP:ITAL). So while it may be true that AFS Enterprises is indeed the publisher of the website, it is usually unnecessary to use the |publisher=
field. Therefore, unlike for websites such as
DigitalSpy where there is consensus to italicise, the script puts web domain names incorrectly italicised through use of |work=
into the |publisher=
field, and the remaining publisher is deleted. --
Ohc on the move (
talk) 13:08, 9 October 2017 (UTC)
|publisher=
is usually only excluded if the publisher's name is similar to the name of the work. Also, do you know whether the sources script is functional at present? It hasn't appeared in my tools for the past few days. Might it be related to your recent edits to the script?
Mattythewhite (
talk) 21:25, 9 October 2017 (UTC)
Hi, the "Fix SOURCES" option has recently disappeared from my tools. Mattythewhite ( talk) 22:42, 7 October 2017 (UTC)
Per WP:COMMONNAME, you shouldn't be replacing |publisher=IMDb
in {{
Cite web}} with |publisher=Internet Movie Database
Andy Dingley (
talk) 00:03, 15 October 2017 (UTC)
If you use the Fix SOURCES script on a page with a film infobox ( template:Infobox film) it removes the |language = English. Not sure how this could be fixed on a technical level though unless you can somehow exclude the script from running in film infobox as that often contains citations. Emir of Wikipedia ( talk) 12:16, 3 November 2017 (UTC)
|language=english
need never be used because default language referred to in en.wp is always English unless stated otherwise. --
Ohconfucius (on the move) (
talk) 13:03, 3 November 2017 (UTC)The script has inadvertently changed the length of the large dashes in some tables. E.g. from line 150 - this page. Iggy ( talk) 18:19, 12 November 2017 (UTC)
This edit incorrectly removed capitalisation of proper nouns Ultra Tune, Australia, Ultra (group). I've fixed it, but please check your script. Mitch Ames ( talk) 00:54, 21 January 2018 (UTC)
I have made this which changed the 'four second-half goals' to 'four-second-half goals' which Struway2, by their knowledge, says 'no' to that as the user identifies it as incorrect. Is there some way to alter this so that the type of mistake won't repeatedly happen in the future, Iggy ( Swan) 19:31, 21 February 2018 (UTC)
Hi Ohconfucius. I previously asked you late last year to fix this issue in your script that changes dashes, which are generally em dashes in discography sections, to en dashes. It is inconsistent (not all dashes are changed to en dashes) and is an entirely unnecessary change. Can you please do something that makes your script leave the chart position dashes alone? Every article I see with en dashes inconsistently implemented in the discography section, I look back through the history and it's been your script run on the page. Thank you. Ss 112 19:09, 29 March 2018 (UTC)
@ Ss112 and Ohconfucius: Was this ever resolved? It seems there may have been a misunderstanding by others in the discussion of the problem above. Emdashes are, indeed, reasonably and widely used in our discog tables as fillers to indicate an N/A value instead of just leaving a cell ambiguously blank, e.g.:
| Foo || —|| 2 ||— || — ||—||3
Whether they are spaced or not in the wikicode is a matter of personal preference of the editor, and does not affect the rendering. If the script is changing these uses to endashes, especially if it does so inconsistently (only when spaced), that is definitely wrong, and shouldn't require an RfC to say so. The script should just not touch instances of an emdash that is used as the sole content of a table cell. —[ AlanM1( talk)]— 10:58, 3 May 2019 (UTC)
diff] Tony (talk) 15:52, 22 May 2018 (UTC)
Thanks for the useful scripts, which I installed recently.
In this diff, general formatting seems to have removed two URLs in references for no reason that I can think of. (A general problem I have is also shown here, where variant capitalizations of wikilinks are removed. I think this text should be left alone.) Regards, Outriggr ( talk) 18:47, 31 May 2018 (UTC)
Regex editor has replaced EngvarB; any ideas on how to put it back? Auto-Ed too. Regards Keith-264 ( talk) 15:55, 30 September 2018 (UTC)
Here, the title of the newspaper article was "Atlantic Flight Echo"; the script incorrectly changed to title= to work=. DferDaisy ( talk) 16:03, 25 October 2018 (UTC)
I would like to request an update to the edit summary left when using this script.
De-link common terms ([[User:Ohconfucius/script/Common Terms.js|by script]]) per [[MOS:OVERLINK]]
or something similar. Thank you, - FlightTime ( open channel) 16:45, 29 November 2018 (UTC)
Hi - for some days/week+ ever time I access any page of wikipedia I get an error "Javascript Error https://en.wikipedia.org/?title=User:Ohconfucius/script/formatgeneral.js&action=raw&ctype=text/javascript at line 50: SyntaxError: Parser error" and I have no idea why. My monobook.js page does not reference your work that I can find. I'd appeaciate any suggestions. Smkolins 20:44, 11 December 2018 (UTC)
Here the script changed |publisher=
to |work=
, but the alias of this, |magazine=
, was already present. This caused a duplicate parameter error.
DferDaisy (
talk) 17:23, 13 January 2019 (UTC)
Hi. Apparently, formatgeneral.js strips "www." prefixes from URLs, but there is nothing (AFAIK) that guarantees that www.foo.com and foo.com point to the same host, though it is usually the case. However, it's not unreasonable or unheard of for the plain domain name to point to a VPN endpoint or some other kind of server than the public facing www host.
An example is
www
Excelled is another instance where the double-L is used even in American English.--- Coffeeand crumbs 20:58, 9 March 2019 (UTC)
Hi Ohconfucius, I hope you are well.
Recently, there's been some discussion on the suitibility of flags for only indicating nationality on snooker articles (see Talk:2019 World Snooker Championship#flagicons). It's quite an easy move to change these from {{ flagicon}} to {{ flag}}, however, I would preferably want to change these items to {{ flagathlete}}. Would you know of an easy way to move these flags from something that looked like:
to
Mark Williams (
WAL)
Any help would be appreciated. I understand it could be done manually, but it would be a lot of pages this should cover. Best Wishes, Lee Vilenski ( talk • contribs) 16:55, 1 May 2019 (UTC)
Original content: {{flagicon|COUNTRY}} [[Player link|player name]] New content: {{flagathlete|[[Player link|player name]]|COUNTRY}}
Is there a way for the script to automatically see anything between [[]] brackets and move it being the first parameter in the template? If this isn't well explained (most likely), let me know. Thanks for your help with all of this! Best Wishes, Lee Vilenski ( talk • contribs) 06:48, 21 May 2019 (UTC)
@ Ohconfucius (or other kind talk watcher): I tried installing formatgeneral per the instructions by putting
importScript('User:Ohconfucius/script/formatgeneral.js'); // [[User:Ohconfucius/script/formatgeneral.js]]
in my
User:AlanM1/common.js and eventually commenting out everything else. When I go to
Corrientes Province and click the Edit tab, my (Firefox 65 x64 on Win10) dev console gets the following:
- JQMIGRATE: Migrate is installed with logging active, version 3.0.1 load.php:319:202
- This page is using the deprecated ResourceLoader module "jquery.throttle-debounce". Please use OO.ui.throttle/debounce instead. See
https://phabricator.wikimedia.org/T213426 load.php:787:253
- This page is using the deprecated ResourceLoader module "jquery.tipsy". load.php:788:358
- Content Security Policy: The page’s settings observed the loading of a resource at
https://tools-static.wmflabs.org/meta/scripts/pathoschild.templatescript.js (“script-src”). A CSP report is being sent.
- This page is using the deprecated ResourceLoader module "jquery.ui.position". load.php:57:291
- This page is using the deprecated ResourceLoader module "jquery.ui.widget". load.php:88:942
- This page is using the deprecated ResourceLoader module "jquery.ui.core". Please use OOUI instead. load.php:11:84
- Content Security Policy: The page’s settings observed the loading of a resource at
https://tools-static.wmflabs.org/meta/scripts/pathoschild.util.js (“script-src”). A CSP report is being sent.
- Content Security Policy: The page’s settings observed the loading of a resource at
https://tools-static.wmflabs.org/meta/scripts/pathoschild.regexeditor.js (“script-src”). A CSP report is being sent.
- This page is using the deprecated ResourceLoader module "schema.EditAttemptStep". See
https://phabricator.wikimedia.org/T205744 for migration info. load.php:1:88
The sidebar (correctly) gets the General Formatting link (to javascript:Ohc_run_formatgeneral()
) in the Tools group and the Regex editor link (to
https://en.wikipedia.org/?title=User_talk:Ohconfucius/script&action=edit§ion=new#
) in a new TemplateScript group. When I click on the General Formatting link, the console gets:
ReferenceError: regex is not defined[Learn More] index.php:682:2 ohc_change_type https://en.wikipedia.org/?title=User:Ohconfucius/script/formatgeneral.js&action=raw&ctype=text/javascript:682 Ohc_formatgeneral https://en.wikipedia.org/?title=User:Ohconfucius/script/formatgeneral.js&action=raw&ctype=text/javascript:823 Ohc_run_formatgeneral https://en.wikipedia.org/?title=User:Ohconfucius/script/formatgeneral.js&action=raw&ctype=text/javascript:834 <anonymous> javascript:Ohc_run_formatgeneral():1
As mentioned above, my common.js is completely commented out with the exception of the importScript() of formatgeneral.js. I also tried using:
mw.loader.load( '/?action=raw&ctype=text/javascript&title=User:Ohconfucius/script/formatgeneral.js' );
which I use for other scripts, with the same results.
Wikipedia:Village pump (technical)/Archive 170#Script issues seems to have something to do with the CSP, but was talking about reporting only, not blocking, so maybe is not related to this problem. Does regex() need to be imported from somewhere that I've missed somehow? (As is probably evident, I don't know much about js or the mw environment
) —[
AlanM1(
talk)]— 04:36, 3 May 2019 (UTC)
Willful and Skillful become Wilful and Skilful -- Ohc ¡digame! 15:50, 12 May 2019 (UTC)
Minor bit, but in User:Ohconfucius/script/Sources.js, "Fast Company" does not need "(magazine)" appended to it any longer. Cheers, and thanks for such great tools! — Huntster ( t @ c) 06:57, 29 June 2019 (UTC)
Done --
Ohc
revolution of our times 21:19, 12 October 2022 (UTC)
I've been running the general formatting script against Featured articles before I promote them for a long time (thanks!). I don't usually encounter reverts from nominators but recently Spinningspark reverted my edit as "pointless" because, in this case, the only fix performed was removing redundant spaces from the wikitext. Is this action truly pointless? Or is there some best practice behind it? I assumed it had something to do with general tidiness... as a front end developer, for example, I like my markup to be properly spaced and indented even if it makes no difference on the rendered page. -- Laser brain (talk) 23:30, 25 August 2019 (UTC)
Hi Ohconfucius, I recently installed your sources script! I really like it, but it seems to have an issue with generating errors on adding italics to the work parameter for cite web. Is this an issue thrown up by the recent changes to CS1, or is this purposeful? See this diff adding to <ref name="X7144">. Thanks for your help Best Wishes, Lee Vilenski ( talk • contribs) 09:08, 9 September 2019 (UTC)
The "flagcruft" script you maintain has removed flags for the United States and New Jersey from the infobox in this edit. MOS:INFOBOXFLAG explicitly states that "Human geographic articles – for example settlements and administrative subdivisions – may have flags of the country and first-level administrative subdivision in infoboxes." The script should ensure that these articles are excluded from the script in question.
I'm also unsure why one of your scripts is imposing the word "Retrieved" (rather than "Accessed") in references, when it appears that there is no requirement for such wording. Alansohn ( talk) 13:41, 16 September 2019 (UTC)
Hello. Editors using a script seem to have been replacing text by {{subst: lc:text}} within reference titles, e.g. Kevin Mawae and Shahid Afridi. (The words should normally use lower case, though perhaps not in quoted titles.) Please can you check whether this still happens? I'm happy to tidy up the existing cases but will leave them for now in case you want to collect more evidence. Thanks, Certes ( talk) 11:24, 11 October 2019 (UTC)
Hi Ohconfucius! Your script changes "San Diego Union-Tribune" to "U-T San Diego" because the newspaper changed it name. However, since the newspaper changed its name back to " The San Diego Union-Tribune" in 2015, could you please disable this rule? Thanks! GoingBatty ( talk) 23:44, 3 November 2019 (UTC)
Hi @
Ohconfucius:! When I run your Fix SOURCES script on
Karen Gillan, it wants to change [[Empireonline.com]]
to [[Empire]]
. If it has to change the link at all, could you please change it to [[Empire (film magazine)|Empire]]
instead? Thanks!
GoingBatty (
talk) 00:18, 2 December 2019 (UTC)
Thanks so much for this useful script, @ Ohconfucius:! The citation template documentation says that the publisher parameter should be omitted "where the publisher's name is substantially the same as the name of the work". So, when the script merges the "work" and "publisher" parameters, the "work" parameter should be kept and "publisher" discarded. I believe this would also largely correct the issue that @ Mandruss: raised above. Qono ( talk) 16:04, 11 December 2019 (UTC)
Hi Ohconfucius, per our discussion here, these are my suggestions of words/concepts to add to your Common Terms tool. Thanks for being receptive, sorry there are so many! Feel free to disregard whichever ones you disagree with. I typically applied your tool first to a particular article, then looked for linked words that seemed fairly common and added them here.
Many of these were things I pulled from children's television articles, where overlinking is problematic. Many of the compound ones like "bank robber" or "art school" are pretty clear through context. Columbidae is kind of a weird one, because while the word is unfamiliar, it's a standard pigeon, which is common, but it's usually used in a piped link like [[Columbidae|pigeon]]. Not sure how you handle that.
Extended content
|
---|
airhead alligator anchor arena art school baboon baldness bank robber baron bat bazaar bedroom bible bibles bike shop black cat blender Brazil brothel bologna cab driver camel carpenter carpentry caviar caveman cavewoman cheetah Chinese accent chef cheerleader cigarette college fund [[Columbidae|pigeons]] - Everybody knows what a pigeon is. comic book cowboy crocodile dinosaur divorce dodgeball donkey donkeys driver's license drugs duck Earth eel elephant elopement English English language executive officer fisherman flapping flirtation fried egg glove box goldfish goose gorilla hairstylist Halloween handbook handgun helmet helmets hermit crab horror film ice imp instructor inauguration infidelity jackal janitor jellyfish jew jewish karate life support lizard magic Magic (illusion) marijuana mechanic mercenary mermaid Mexican monkey monocle motel myth nanny nerd North Pole nude ostrich owl parody personal assistant petals piety pilot Pilot (aircraft) pineapple pirate poaching premature birth price gouging puppy rape rapes rat raven real estate real estate broker real eastate agent recycling rhyme robot rose Santa Claus satire sexual intercourse sexuality shark skull skunk slapstick social media South Pole speech squirrel stereotype submarine superhero tar teacher teachers' union Texas tiara therapist torture triplet Turkey (bird) turkey underwater diving unicorn virgin vulture walking stick water balloon web series widescreen zebra zombie |
Thanks! And let me know whether or not this is a huge pain in the ass, so I can gauge whether or not I should ever bother you again with this.
Regards,
Cyphoidbomb (
talk) 19:46, 14 December 2019 (UTC)
Common Terms.js seem to be failing to load for me. EngvarB.js, formatgeneral.js and MOSNUM dates.js seem to be loading OK Though. Any ideas? Walter Görlitz ( talk) 18:45, 10 February 2020 (UTC)
Hi! I just installed your script. At Richard Kermode ( permanent link) I ran it, using the option to switch to American English, when this happened: in the History section, it tried to switch the word "ailments" to "aillments"; that is not a spelling anyone uses. This was replicated when I try running it on reloading, it repeats. DemonDays64 ( talk) 16:19, 25 January 2020 (UTC) (please ping on reply)
Line 721 SyntaxError: Invalid regular expression: unmatched parentheses
regex(/\{\{linktext ?(?:\|lang=zh(?:-han[st]|) ?)\|([^\}aáàâäǎăāãåąæéèėêëěĕēẽęẹioóòôöǒŏōõǫọőøœuü,]+)\|([^\}]+)\|([^\}]+))\}\}/gi, '$1$2$3$4'); //linktext 4 parameters
Senator2029 “Talk” 11:27, 13 February 2020 (UTC)
Recently the script has not been changing to the "Show Changes" screen after making the changes and has not been filling in an edit summary. - FlightTime ( open channel) 16:23, 16 February 2020 (UTC)
Using the American setting on EngvarB, it changes "appalled" to "appaled", which is a misspelling. – Thjarkur (talk) 11:04, 2 March 2020 (UTC)
This edit changed some instances of Scottish National Party to Scottish National party, and some instances of British National Party to British National party. Both should end with Party, not party. EddieHugh ( talk) 11:30, 15 March 2020 (UTC)
The script is changing Serial Mom to Serial mother. Can it be fixed to where it ignores Wiki-links as link, regardless of what variance, links should not be changed. - FlightTime ( open channel) 18:26, 22 March 2020 (UTC)
Hi! This is a cool script. However, I am confused about one thing; what option should be used on pages with Template:Use British English? There are options for American, Commonwealth, Oxford British, and Canadian spellings, but why not for British? The usage guidance for Template:Use British English mentions this script but this script does not have a "normal" British option. Can I switch an article to use British English with this or another script? DemonDays64 ( talk) 21:44, 24 March 2020 (UTC)
COMMONWEALTH
button in the sidebar, it will change the spelling of certain words to standard
British spelling and tag the article with {{
EngvarB}} at the top. Some editors may choose to place a different template, such as {{
Use British English}} or any of the code variants. However, such alternative tagging is not a practice that I endorse in any way except American, British Oxford and Canadian – all 3 of these later codes have their own script buttons to reflect the noticeably different spellings. I hope you enjoy using the script. Do let me know if you find any bugs or have ideas for improving it. Best regards, --
Ohc
¡digame! 23:04, 24 March 2020 (UTC)Hi again! I have the script User:Ohconfucius/EngvarB. It is quite powerful and impressive (and it is not slow on Firefox), but there is one very odd thing about it: the buttons for it show up three times in the left bar. Below Tools, where the buttons for your other scripts show up, and below Languages, there are three headers like the other sections, all labeled "scripts". Each has the same buttons repeated to run the script: "Flip imperial units", "Flip international units", "AMERICAN", "COMMONWEALTH", "BRITISH (Oxford)" and "CANADIAN". I am in the Vector skin on Firefox for Mac.
This is my current common.js file.
Can this be fixed to not make duplicate links/sections in the UI? Thanks! DemonDays64 ( talk) 05:19, 25 March 2020 (UTC) (please ping on reply)
Here's one more bug report for User:Ohconfucius/script/EngvarB.js. If there is a term that the script's dictionary does not allow in British English, such as "movie theater", it will be switched to the British term when I run it. However, it can lead to some weird stuff: an example of this is here. If I run the script to switch to EngvarB (with the "COMMONWEALTH" button), it makes this change:
The pandemic has impacted the film industry. Across the world and to varying degrees, cinemas and
movie theaterscinemas have been closed, festivals have been cancelled or postponed, and film releases have been moved to future dates. As cinemas andmovie theaterscinemas closed, the global box office dropped by billions of dollars, while streaming became more popular and the stock of Netflix rose; the stock of film exhibitors dropped dramatically.
Can something be changed in the script to detect situations similar to this and not edit that part? I know it would be pretty hard, but if implemented this would be quite useful. Thanks! DemonDays64 ( talk) 00:51, 27 March 2020 (UTC)
Hi! I just ran EngvarB on Calvin Coolidge, and noticed two things that it clearly did wrong in American English.
The script changed "vice president" (and variations) to be hyphenated rather than just having a space. This is how it would be in British English, according to vice president, but it is not right in American English.
The script additionally did something weird where it changed "demagogue" to demagog". This is not a normal spelling (it does have a Wiktionary entry as a variant, but I have never seen it) in any variation of English. This is not a spelling that I have ever seen in any writing, and it should not be changed to this. Please update the regex so that it does not do this for this word.
Thanks, DemonDays64 ( talk) 17:30, 1 April 2020 (UTC) (please ping on reply)
Hi again! I just ran WP:EngvarB to convert to American and it changed the word "excelled" to "exceled", which is not a correct spelling. Could you please fix that? Thanks! DemonDays64 ( talk) 20:07, 15 April 2020 (UTC)
I have another error report for EngvarB. When changing to American on a page, the script changed the name "Denise" to "Denize" (in a link [[Denise Joy]]
). This should not happen. Thanks,
DemonDays64 (
talk) 13:18, 17 April 2020 (UTC) (please
ping on reply)
It'd be great if you add the center to centre conversion so that these don't have to be handled separately. This also applies to words like centered (centred), epicenter (epicentre), etc. I know there are some issues with CSS using US English only, but this could probably be caught with a check for the :
and ;
patterns before and after the word, respectively. Cheers.
Getsnoopy (
talk) 01:51, 26 April 2020 (UTC)
Hello ohconfucius, This is James... I want to point out that my middle name is not Gordon. I actually have no middle name. Could you possibly make a correction? — Preceding unsigned comment added by 82.42.23.60 ( talk) 19:03, 7 May 2020 (UTC)
The preferred variant is aesthetic (and derivatives) in both US and Canadian English, but the scripts converts them to esthetic. Getsnoopy ( talk) 18:38, 18 May 2020 (UTC)
The term is two words in every variant of English except for US English, so the script should handle this. Could this be added in? Cheers. Getsnoopy ( talk) 18:41, 18 May 2020 (UTC)
Hi, I have recently installed the "Formatgeneral@ script. I have cleared the cache, as advised. Still, the script is not working after I hit the general formatting b tton in the left toolbar. Am I missing something here? Thanks in advance. Santoshdts[TalkToMe] 15:03, 19 May 2020 (UTC) — Preceding unsigned comment added by Santoshdts ( talk • contribs)
Currently, sulfur is replaced with sulphur (strangely, even when selecting "American English"), etc. All the chemical names should be standardized to IUPAC names regardless of the variant as per MOS:ARTCON. Getsnoopy ( talk) 17:02, 31 May 2020 (UTC)
This seems like a bug. Getsnoopy ( talk) 22:42, 3 June 2020 (UTC)
In fact, this is related to the bug above where chemical/element names should not be localized. They should actually be changed to the canonical name. Getsnoopy ( talk) 03:56, 4 June 2020 (UTC)
It seems like the script doesn't handle this word pair, so adding it in would be great. Cheers. Getsnoopy ( talk) 22:24, 10 June 2020 (UTC)
It seems like there's been a regression with the Oxford spelling mode. Center does not become centre, archaeology becomes archeology, arise becomes arize, aluminium becomes aluminum, ageing becomes aging, and the color
CSS property becomes colour
inside style
attribues. You can test this by running the script on the
Portugal article. I took a look at the code, and I think some of these issues have to do with Oxford being run as Canadian with some modifications. I think running it the other way would generate fewer false positives/negatives.
Getsnoopy (
talk) 07:31, 12 June 2020 (UTC)
@ Ohconfucius: hi! ENGVARB changes "arising" to "arizing" for American English; this is not correct and should not happen. Can you stop it from doing that? Thanks a bunch, DemonDays64 ( talk) 15:13, 15 June 2020 (UTC) (please ping on reply)
With
this edit, your script converted various |via=
to |work=
when |work=
aliases (|newspaper=
, |journal=
, |website=
, etc) were already present in the cs1|2 template. Doing so causes errors like this:
{{cite news |title=Title |newspaper=Newspaper |work=Newspaper}}
Please fix your script so that other editors do not have to clean up the mess that your script leaves behind.
— Trappist the monk ( talk) 13:06, 17 June 2020 (UTC)
Hi Ohconfucius! When I run your Sources script on
David Samson (lawyer), it accidentally combines two "Associated Press" references together. Could you please let me know when you've fixed the script? Thanks! (I'm not
watching this page – please use {{
ping|GoingBatty}}
on reply)
GoingBatty (
talk) 17:20, 20 June 2020 (UTC)
Hi again! When I run your Sources script on
Merida (Brave), it will change |work=EW.com
and |publisher=EW.com
to |work=Entertainment Weekly
. Could you please adjust your script so it will also change |magazine=EW.com
to |work=Entertainment Weekly
in the same article? Thanks! (I'm not
watching this page – please use {{
ping|GoingBatty}}
on reply)
GoingBatty (
talk) 17:55, 21 June 2020 (UTC)
Hi Ohconfucius! When I run the Sources script against
MoMA PS1, the script wants to change |magazine=
New York Magazine
to |magazine=
New York
. Could you please change the script so it will change the reference to |magazine=[[New York (magazine)|New York]]
instead? Thanks!
GoingBatty (
talk) 23:12, 27 June 2020 (UTC)
Hi Ohconfucius! When I use your Fix SOURCES script on
Cameo (website), why does it change |website=Fast Company
to |publisher=Fast Company
? Shouldn't
Fast Company be italicized? Thanks!
GoingBatty (
talk) 14:40, 18 July 2020 (UTC)
Hi OC- Thanks for the script to de-link common terms. I've been using it for a week or so, and have been happy with it. The past few days, I seem to be noticing a change in its behavior. It seems to be passing over links that I'm sure it's meant to de-link. My seems are vague, I know, as is my impression from being new to the tool. One example would be this article (version as of this writing), in which [[Delaware]] appears at least twice, and is not de-linked when I implement the tool. Note: I canceled the edit when I decided to contact you.
Side question: Are these tools also from this script: Delink ALL countries, Unlink US states, Remove ALL links? I ask because I also added Evad37's "duplinks-alt" at the same time (though I don't believe it is functioning for me), and also because when I clicked Unlink US states after clicking Delink COMMON terms, I noticed no further de-linking. Thanks in advance for any thoughts. System info: latest FF on latest Windows 10. Eric talk 16:32, 26 July 2020 (UTC)
Delink ALL countries
, Unlink US states
, Remove ALL links
are indeed functions of the script. I wrote them to deal with very specific problematics – usually applying it to sections of articles. For example, I have occasionally used it to zap all the links in a given section and relink only a small number of terms. --
Ohc
¡digame! 18:25, 27 July 2020 (UTC)
all states
just now, and confirmed via show changes
that it works fine for me. So just to be sure I understand, would you expect common terms
to eliminate the link on the first instance of "Delaware" that occurs after the infobox, but not on later instances?
Eric
talk 19:53, 27 July 2020 (UTC)
Unlink US states
button, and all removals are on an "all or nothing" basis. The main script will unlink if it involves a chain link such as [[Harrington, Delaware|Harrington]], [[Delaware]], which will become [[Harrington, Delaware|Harrington]], Delaware. Hope that helps. --
Ohc
¡digame! 20:51, 27 July 2020 (UTC)Hi! The EngvarB script in American mode was changing:
** [[Happy Rockefeller]]
to
** [[Happy Rockefeler]]
Can you prevent it from doing this change please? Thanks! DemonDays64 ( talk) 01:02, 18 August 2020 (UTC)
Tony1's use of your script (I don't know which) has populated
Category:Articles with empty listen template, as in
here,
here, and
here. The script is erroneously "correcting" typos in |filename[n]=
in {{
Listen}}. This should somehow be avoided.
Nardog (
talk) 11:19, 5 September 2020 (UTC)
Hi OhC- I just noticed that I no longer see the tool to de-link common terms. I haven't made any changes to my common.js recently. Not sure if this constitutes a bug report; is there somewhere I should be looking for notices before I post here? Eric talk 10:07, 14 October 2020 (UTC)
Hello, I've become a fairly heavy user of this tool during the last year or so. I started making notes of some inconsistencies and pondered whether I should mention them here. I decided that yes, it's worth bringing it here because this set of scripts will need to be maintained as the encyclopedia evolves. So here are the five items that I've noticed and if it's alright I'd like to keep you posted on what I am sure to keep finding.
Thanks! Dawnseeker2000 13:39, 6 October 2020 (UTC)
Hello, I've followed the instructions to install EngvarB and can see it on my left sidebar, but clicking on one of the functions (e.g. 'COMMONWEALTH') reloads the page but produces no diff changes, other than adding 'EngvarB' to the edit summary box (on pages where there is clearly inconsistent spelling). I've tried with both Firefox and Opera. I'm a bit stumped as to what could be causing this - have I made a mistake installing it? am I missing something in its operation? could it be conflicting with one of my gadgets in preferences? I'm not quite sure where to start troubleshooting, so any advice would be appreciated. Many thanks, Jr8825 • Talk 12:09, 24 October 2020 (UTC)
Hello again. Here are some more items that I've come across. They're mostly adding or removing "the" or other minor formatting to align with our article title.
Thanks again, Dawnseeker2000 18:04, 14 November 2020 (UTC)
Can I suggest you eliminate the removal of double spaces at the end of sentences, or make a version of the script that can be used by editors who prefer double spaces there? As it stands this is the reason I don't use the script. Thanks. Mike Christie ( talk - contribs - library) 13:01, 18 November 2020 (UTC)
I am not sure what you can do about either, but flag them up for information. Gog the Mild ( talk) 15:11, 23 November 2020 (UTC)
Every time I try to use the tool, nothing happens in the edit box and I get "ReferenceError: regex is not defined" in the console. I tried the test version, and had this happen. @ Ohconfucius: 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 ( 𝗍𝗮𝘭𝙠) 14:37, 26 December 2020 (UTC)
Hi Ohconfucius! When I run your Fix SOURCES script on LGBT rights in the United States, I receive a pop-up window stating "ERROR: Cannot read property 'toLowerCase' of undefined". When I click OK, the module seems to run OK, so I'm not sure what this error means. Thanks! GoingBatty ( talk) 18:01, 31 December 2020 (UTC)
Hi Ohconfucius! Could you please consider expanded your Sources script to change |publisher=Publishers Weekly
(as well as misspellings Publisher, Publisher's, Publishers') to |work=Publishers Weekly
? Thanks!
GoingBatty (
talk) 22:44, 10 January 2021 (UTC)
Working from a vector skin on GC v.89 (last version), Windows 10 20H2 (last version), I've noticed that the EngvarB script buttons only show in debug mode, although they don't seem to be working in that case. They just appear. Otherwise, they're completely missing, even after clearing the cache. No relevant js error was found. Assem Khidhr ( talk) 01:05, 30 March 2021 (UTC)
Hey there, I found a small bug caused by the parameter |published= with your source fixing script. It changes it to publisher= which I would expect to happen in a citation but not the Infobox template. I was editing the page The Devil All the Time at the time it occurred, not sure if it is just an issue on that page. -- Lightlowemon ( talk) 03:33, 18 April 2021 (UTC)
The sources script changes sometimes changes valid links to a redirect. I encountered two while testing it today:
Though there might be more. Regards, IceWelder [ ✉] 22:37, 24 April 2021 (UTC)
|publisher=
field from a {{cite magazine}}
in just in one case, which is also odd.
IceWelder [
✉] 08:07, 12 May 2021 (UTC)
Hi Ohconfucius! When I run your Sources script on
The Fat Boys, it wants to change |website=vibe.com
to |website=Vibe (magazine)
. Could you please fix this so it either adds |website=Vibe
or |website=
Vibe
? Thanks!
GoingBatty (
talk) 16:04, 10 May 2021 (UTC)
I happened upon an edit of yours to 2016–17 Real Madrid CF season, apparently done by script, which introduced multiple errors:
{{cite news |title=...}}
→ |title=...}}
(
2016–17 Real Madrid CF season#Pre-season and friendlies).I've fixed the article, but you may want to keep an eye on that. – Rummskartoffel 11:34, 19 June 2021 (UTC)
Error here - notice that the University of Chicago Legal Forum is a journal but the script is turning it into a publisher. Is there a way I could fix this when running the script, or a way to deny it from editing that particular cite? I believe (but don't know) that this is because of your second subscript in your sources script. Urve ( talk) 22:50, 19 June 2021 (UTC)
This Danish newspaper changed its name from Berlingske Tidende to just Berlingske back in 2011, cf. Special:Permalink/1017616335#Move?. Perhaps you would reflect the change in line 728 of User:Ohconfucius/test/Sources subscript1.js? Thanks for all your scripts. Best regards, Sam Sailor 17:53, 23 June 2021 (UTC)
Your script erroneously delinked Australian Open and French Open in the Grand Slam timelines of many tennis player articles where you used it some years ago, e.g. [2] [3] [4]. Please remove the relevant pattern from User:Ohconfucius/script/Common_Terms.js, as links to the tournaments are part of the tennis WikiProject's guidelines for these timelines. Thanks, — Somnifuguist ( talk) 15:31, 29 June 2021 (UTC)
Hello,
You've already heard the debate, let me politely add my name to the request pile (if I didn't already, which I believe I may have a few years ago, but was reminded of again now) to remove the double spaces to single spaces functionality in your script. It's entirely harmless to have double spaces; if there are double spaces, it's because some editor put them there and prefers them in the wikitext. There's no advantage to removing them at all.
On a more minor note, I don't think your script is alone in this, but your script changes "& ndash;" (without the internal space) into a Unicode en-dash. To me, a normal hyphen and the Unicode en-dash look identical in the editor, so spelling it out escape-style is useful. And this is another instance where changing it doesn't actually "help" ; they both display identically when outside the edit box. I will admit to being more unusual in this regard as opposed to the above (where double-space using editors are not uncommon), but I think the same logic applies - the script is "fixing" something that isn't a problem. SnowFire ( talk) 01:33, 15 October 2021 (UTC)
Hello, there is no British English option in this tool. I request you to add British English in this tool. Thank you. Richard Michael William ( talk) 06:37, 30 November 2021 (UTC)
Hi Ohconfucius! Your great SOURCES script sometimes adds {{
Primary source inline}} inside a reference (i.e. before the </ref> tag), as in
this edit. Per
Template:Primary source inline#How to use, could you please adjust your script to add the template AFTER the </ref> tag? I've noticed
BrownHairedGirl has been manually moving the templates. If your script could also add the |date=
parameter, that would be great too. Thanks!
GoingBatty (
talk) 19:12, 28 December 2021 (UTC)
</ref>
tag, so thank you! However, when running the script on the
My Little Pony: A New Generation article, the script wants to add the template where it already exists. Could you please tweak the script so it doesn't duplicate the template? Thanks, and keep up the good work!
GoingBatty (
talk) 00:23, 10 July 2022 (UTC)Hi! Your flagcruft script usually works well for me. Do you have any idea why it might be failing to perform FLAG->COUNTRY changes at Fulbright Program? – I had expected to see "{{Flag|United States}}" changed to "United States" and so on, but no such luck. The most probable explanation is user error, but as I said, it's worked well for me in the past. Any enlightenment welcome. Regards, Justlettersandnumbers ( talk) 18:03, 13 January 2022 (UTC)
Hi Ohconfucius! When I run your Fix SOURCES script on Jimmy John's, it wants to rename the "Entrepreneur" reference to "EntrepreneurA", "EntrepreneurB", "EntrepreneurC" - even though the references are all the same. Could you please help me understand why it does this? Also, it breaks the ref tag on "EntrepreneurC" - could you please fix this? Thanks! GoingBatty ( talk) 17:49, 1 March 2022 (UTC)
<ref name="ref name" />
tag and striping out the citation template (everything that follows in the curly brackets). I'm extremely busy at the moment, so I'll try and address that issue when I have more than a few drive-by minutes. --
Ohc
revolution of our times 15:19, 14 April 2022 (UTC)EngvarB stopped loading for me. I can't find it in the sidebar, or top menu. I primarily use Chrome but I did try Safari, and it doesn't work there either. It is such a useful script, I'm hoping you can find the bug. Thanks in advance, Atsme 💬 📧 23:49, 13 April 2022 (UTC)
Hi, thanks for your clean-up edits like this one. One thing I noticed, however, is that the process can create a lot of unnecessary uppercases when it edits links. In that same edit for example, the source text "a frieze of [[Blind arch|blind arches]], [[Squinch|squinches]] carved" is turned into "a frieze of [[Blind arch]]es, [[Squinch]]es carved", but makes those terms display with uppercases even though they're common nouns (the uppercases appear in their respective article titles). I'm not familiar with how the scripts work (or even if this is the best place to flag it), but just thought I'd bring it up in case there's a reasonable fix that could avoid that in the future. In the meantime it's not a big deal of course, as it can be fixed manually. Thanks either way! R Prazeres ( talk) 17:22, 2 May 2022 (UTC)
Hi Ohconfucius! When I run your Fix SOURCES script on the
Alan García article, it wants to change File:Felipe González recibe al presidente de Perú. Pool Moncloa. 30 de enero de 1987.jpeg
to File:Felipe González recibe al presidente de Perú. Pool Moncloa. 30 January 1987.jpeg
. Could you please tweak your script so it does not try to change filenames? Thanks!
GoingBatty (
talk) 22:06, 19 May 2022 (UTC)
|title=
field from date changes? In the
Tenerife article, the Fix SOURCES script wants to change |title=ATAN Riada del 31 de marzo de 2002
to |title=ATAN Riada del 31 March 2002
. Thanks again!
GoingBatty (
talk) 03:05, 20 May 2022 (UTC)I've asked before and was told small problem, I'll get to it. Please find some time to fix this Thank you very much, love and depend on your scripts. Cheers, - FlightTime ( open channel) 00:05, 26 May 2022 (UTC)
Scripts
headers than before. Simple as it may seem, it involves significant changes to all of my scripts because it relies on an obsolete sceipt utility. I have started working to migrate the scripts to a new one, so the work is in progress and far from complete. --
Ohc
revolution of our times 06:25, 22 June 2022 (UTC)
Hi. I saw some changes were made to the script a few hours ago. Since then the script no longer works for me: When I click "DATES to dmy" nothing happens. Is there anything I need to change on my end? Kind regards, Robby.is.on ( talk) 18:05, 9 June 2022 (UTC)
I have the Common Terms and Sources scripts installed but I've not been able to find either in the sidebar under Tools for the past several days. Please help
Ohconfucius, thanks. ‑‑
Neveselbert (
talk ·
contribs ·
email) 03:39, 11 June 2022 (UTC)
Hi Ohconfucius! When I run your Fix SOURCES script on
Jurassic World: Fallen Kingdom, it wants to change |publisher=[[Complex (magazine)|Complex Media]]
to just |Complex Media]]
, which would break the reference. Could you please tweak your script? Thanks!
GoingBatty (
talk) 23:15, 13 June 2022 (UTC)
|title=''Jurassic World: Fallen Kingdom'' review: This nonsense has gone full ''Sharknado''
to|title=Jurassic World: Fallen Kingdom'' review: This nonsense has gone full ''Sharknado
|title=
parameter if there is no ''
in the middle? Thanks again!
GoingBatty (
talk) 12:57, 14 June 2022 (UTC)
|title=
is a species binomial; per
MOS:SCIENTIFIC, binomials (and trinomials) are italicized. Removing italic markup at beginning and end for these kinds of titles should not be done. For example:
{{cite journal|title=''Ceratotherium simum''|journal=[[Mammalian Species]]|author=Groves, Colin P.|issue=8|pages=1–6|year=1972|doi=10.2307/3503966|jstor=3503966}}
|title=
. Everything else worked well on
Jurassic World: Fallen Kingdom. Thanks!
GoingBatty (
talk) 03:35, 15 June 2022 (UTC)
Hello, running the English variant script does not pick-up "centered" which should become "centred" in British English. Keith D ( talk) 19:10, 15 June 2022 (UTC)
Hi Ohconfucius! I have a suggestion for your "Fix SOURCES" script. Could you please consider having it change |website=issuu.com
to |via=Issuu
(e.g.
this edit)? Thanks, and keep up the good work!
GoingBatty (
talk) 02:17, 19 June 2022 (UTC)
Hi Ohconfucius! As you did above with Issuu, could you please update your wonderful "Fix SOURCES" script to have it change |work=Press Reader
(and similar parameters and variants of
PressReader) to |via=PressReader
(e.g.
this edit)? Thanks, and keep up the good work!
GoingBatty (
talk) 19:11, 25 June 2022 (UTC)
MOS:NEE contradicts your usage of delinking née in commons.js Grimes2 ( talk) 20:17, 11 July 2022 (UTC)
The script is not showing up under Tools in the left margin of Chrome, Safari or Firefox. I've removed several other scripts that I thought might be interfering, and it didn't help. I found the script to be very useful and hope you can help me fix whatever is causing the glitch. Please ping me when you see this request for help. Atsme 💬 📧 21:06, 18 July 2022 (UTC)
Hi!
I was at first surprised that the script User:Ohconfucius/script/Common Terms.js existed. After all, deciding whether to (un)link is always heavily context-dependent. For example, a demographics article will be expected to link any ethnicities discussed (even if they're major[?] ones, like Estonians or Latvians). The article about the president of country X should link to the the country and to the article about presidency in general. The article about fascism should obviously link the word "far right" when defining its topic. The article about activism could do with links for salient terms like "protest" or "boycott"....
But I've never used the script, so presumably there are some mechanisms that ensure its users are nudged to consider the context. Judging from what I've seen today, however, a supposedly experienced editor can still use the script to wreak havoc on a hundred articles before anyone has had the time to notice. So whatever those mechanisms are, it appears that they aren't as watertight as I'd expect them to be. Any ideas? – Uanfala ( talk) 22:50, 24 July 2022 (UTC)
Per {{ cite web}}, "Do not use the publisher parameter for the name of a work (e.g. a website, book, encyclopedia, newspaper, magazine, journal, etc.)". But Rediff.com and Bollywood Hungama are websites; if I use this script, their website parameter changes to publisher. There might be more website victims of this, but I don't know where they are all listed, and if that can be changed. Kailash29792 (talk) 04:07, 18 August 2022 (UTC)
|website=
, it should not be changed to |publisher=
. As for
Rotten Tomatoes, it is a website but owned by
Fandango Media. Hence RT does not come under |publisher=
.
Kailash29792
(talk) 04:32, 22 August 2022 (UTC)I've been aware of this for some time, but I don't really have the know-how to suggest a fix. The problem is with the entry for Stylus Magazine which, on User:Ohconfucius/test/Sources_subscript1.js, is disabled. Today I ran into two articles that the sources script mangles somehow, but I don't know where to look. The two articles that can be run are:
Running the tool changes |
to publisher=
[[Stylus Magazine]]|work=[[Stylus Magazine (magazine)|Stylus Magazine]]
Dawnseeker2000 22:10, 21 August 2022 (UTC)
{{cite web |last=Plagenhoef |first=Scott |url=http://www.stylusmagazine.com/reviews/saint-etienne/finisterre.htm |title=Saint Etienne – Finisterre |publisher=[[Stylus Magazine]] |date=1 September 2003 |accessdate=7 August 2007}}
{{cite magazine |last=Plagenhoef |first=Scott |url=http://www.stylusmagazine.com/reviews/saint-etienne/finisterre.htm |title=Saint Etienne – Finisterre |magazine=[[Stylus Magazine]] |date=1 September 2003 |accessdate=7 August 2007}}
|work=Stylus Magazine
. The two articles where they were creating problems are now converting as suggested. --
Ohc
revolution of our times 21:47, 22 August 2022 (UTC)I noticed that the script changed "semifinals" to "semi-finals". "Semifinals" seem to be an OK spelling, in American English at least. I also note that one of the changes was to a citation's title. The page itself had already been tagged with {{ Use American English}}. — Bagumba ( talk) 12:19, 10 October 2022 (UTC)
Hi Ohconfucius! Could you please help me understand why your Sources script wants to remove italics from The Rutles article? Thanks! GoingBatty ( talk) 03:32, 19 October 2022 (UTC)
((?:[A-Z][a-z]* ){1,3}Television|[KW][A-Z]{3})
) which removes italics from strings like "xxx yyy Television". The intention was for it to target publishers inside citations, but as it's been such a long time since I wrote it that I need some time to work out why it does that for the Rutles. --
Ohc
revolution of our times 20:43, 19 October 2022 (UTC)Hello, the script probably shouldn't do that, like it did in this edit by Philoserf, which came to my attention because of this recent edit. Graham 87 06:15, 3 November 2022 (UTC)
As some coal for burning at home is being banned in England https://www.gov.uk/guidance/selling-coal-for-domestic-use-in-england and presumably is unusual in many other countries nowadays I suspect many young people have never seen coal.
Also now there are so few lead pipes and some countries have banned lead shot they may not have seen lead either.
So perhaps "coal" and "lead" should be removed from your list.
Chidgk1 (
talk) 18:53, 5 November 2022 (UTC)
Based on the documentation page, the ENGVAR script can only add the "engvar" templates, and cannot add country specific templates, such as "Use Nigerian English" or "Use Australian English". Is there a way this could be added? Mako001 (C) (T) 🇺🇦 07:15, 17 December 2022 (UTC)
I saw that Common Terms.js changed a link from basketball to professional basketball in this edit. I'd recommend the script not alter this. It's more likely that a reader would not know the basic sport, e.g. "basketball", while most would have a basic idea of what playing at a professional level involves for sports. This linking should be a manual change, if approporiate, and not automated for all cases. Thanks in advance for your consideration. — Bagumba ( talk) 04:08, 30 December 2022 (UTC)
Hi. When I click on "General formatting", nothing happens. Is something wrong with my User:Mann Mann/common.js? Is formatgeneral not compatible with some other installed scripts? I used this script in the past and it worked without any issue. -- Mann Mann ( talk) 05:14, 4 January 2023 (UTC)
After installing Ohconfucius/script/MOSNUM dates.js, and following instructions at User:Ohconfucius/script/MOSNUM dates, the scripts did not show up on left toolbox area in edit mode. Not sure how to trouble shoot this? Greg Henderson ( talk) 16:18, 18 January 2023 (UTC)
DATES to dmy
button to work as advertised, and I have no explanation as to why you don't see the buttons, except for the possible conflict with AutoEd, which is a long-standing issue. However, as I can activate the script despite it being in your commons.js, that obviously isn't the cause of the problem. --
Ohc
revolution of our times 15:45, 24 January 2023 (UTC)
Hi there. In this edit, I saw that "External links" was modified, replacing {{ basketballstats}} and another link with {{ sports link}}. Some sports WikiPrrojects already have a customized set of standard external links, such as that one for basketball. This is to prevent WP:LINKFARM, while the general {{ sports link}} has too many similar links. Can the script be altered to not replace the project-specific templates, if present? Other similar templates are {{ baseballstats}} and {{ footballstats}} Thanks in advance. — Bagumba ( talk) 11:55, 24 January 2023 (UTC)
In
this edit, The FIX SOURCES tool from my Tools drop-down is replacing |date= with |year= and that is contrary to the cite template documentation. See:
Template:cite journal and
Template:cite web documentation where both say |year=
is discouraged.
"year: Year of source being referenced. The usage of this parameter is discouraged; use the more flexible |date= parameter
..."
Please update the tool. I appreciate your scripts that mitigate our donkey hours. By the way, I can no longer find your MOSNUM-dates script buttons in my skin since WMF recently updated the skin layout and functionality. Cheers! {{u|
WikiWikiWayne}} {
Talk}
21:48, 11 February 2023 (UTC)
{{u|
WikiWikiWayne}} {
Talk}
03:01, 12 February 2023 (UTC){{u|
WikiWikiWayne}} {
Talk}
05:52, 27 February 2023 (UTC)Hi. EngvarB automatically changes "rebelling" to "rebeling" when switching to American English; could you please suppress that? I'm fairly certain "rebelling" is the correct spelling in American English. Thanks! InfiniteNexus ( talk) 01:31, 24 February 2023 (UTC)
I just loaded up the User:Ohconfucius/script/flagcruft script, and it does not seem to be working, at least on my end. When I click on any of the three links, FLAGCRUFT, FLAG->COUNTRY, and FLAGICON->FLAGATHLETE, on the sidebar, nothing happens, and I've tried in three different browsers. Is this an issue affecting only me? – Pbrks ( t • c) 16:00, 20 March 2023 (UTC)
Hi there. I saw this edit unlinking basketball. But just a few days ago, I saw this other edit changing a link from basketball to professional basketball. Incidentally, I had commented before at #Professional sports links, asking not to link to the "professional" page. What is the script's expected behavior now, as it seems inconsistent with these examples? I can imagine non-sports people and in differing parts of the world that might not be so familiar with a sport, basketball or not. Was there a past central discussion on sports w.r.t. overlinking? Thanks. — Bagumba ( talk) 14:28, 4 April 2023 (UTC)
This edit is from 2.5 years ago, so it may be fixed, but I didn't see this type of bug reported anywhere: this edit uncapitalized the last name "Forward" for "Allen Forward" at the start of the article. I think this might be an edge case, considering this guy also did play as a forward. Figured I'd bring it to your attention. Skarmory (talk • contribs) 03:58, 8 May 2023 (UTC)
Thank you for the very useful User:Ohconfucius/script/MOSNUM dates.js. I've noticed that when fixing dates in citations with one parameter per line, it occasionally removes whitespace, specifically the final whitespace character before the | or } which follows (and delimits) the date parameter. To reproduce, edit Dele Giwa and select "DATES to dmy"; it will make no significant changes because I already ran the script to fix it, but it will outdent several " |nextparam=value" lines (removing the space from column 1, which is the final whitespace character after the preceding date). On line 225, it will concatenate two lines where the date is delimited by a } in column one (again removing the final whitespace character after the preceding date, which is a line feed here). I've had a quick look at the code but can't spot an easy fix for this. My first thought was that the RegExp might need flags 'gis' rather than just 'gi', but I doubt that it's as simple as that. This is easy to undo manually but, if it's an easy change, please can you help? Thanks again, Certes ( talk) 19:46, 26 July 2023 (UTC)
When the American English option, I've found two bugs:
1. concealment --> conceallment; incorrect spelling in either form of English
2. adrenaline --> adrenalin; Adrenalin, I believe, is the trademarked name of the chemical known as adrenaline, and isn't a US variation.
3. Rockefeller --> Rockefeler; Rockefeller is a name. Dawkin Verbier ( talk) 06:49, 31 July 2023 (UTC)
I see in this diff by Sunshineisles2 that the script appears to be delinking Twitter when it appears in an external link section. This does not seem like best practice to me, since {{ Twitter}} includes the link. {{u| Sdkb}} talk 18:45, 11 September 2023 (UTC)
Thanks a lot for your scripts, they are hugely useful! One little thing I noticed, however, is that the EngvarB script wants to change "penises" to "penizes" when converting to American or Oxford spelling. However, that's simply a plural and I doubt "peniz" with -z is a word in any variant of English. Another little thing is that "bestseller" is changed to "best-seller" when converting to Oxford or British. However, "bestseller" without hyphen is listed in the OED and I think it should be fine to leave this spelling alone. Gawaon ( talk) 17:24, 5 November 2023 (UTC)
Please merge this script into this one since User:फ़िलप्रो is no longer active. Kailash29792 (talk) 16:13, 18 November 2023 (UTC)
thank very much for this useful tool! "Consider reinstating the infobox links and those in the lead section of some articles where appropriate". If not too much trouble, it would be better to avoid de-linking the lead by default please? you have to keep reinstating the lead manually as a lot of the early links, and only early links, are needed, Tom B ( talk) 09:40, 18 December 2023 (UTC)
I saw in this edit to Pyotr Ilyich Tchaikovsky that the common terms script removed a link to Romantic music (i.e. music of the 19th-century Romantic period). Looking at the regex, it seems to have been caught by:
regex(/\[\[(?:(?:classical|dance|pop|rap|rock|jazz|romantic)(?:\smusic)|rock\s\(music\))\|([^\]]+?)\]\]/gi, '$1');
I don't know if the page Romantic music has changed since the script was written - was the regex intended to capture text like "Engelbert Humperdinck is known for his romantic music"? At any rate, as it was a specific movement rather than a genre it doesn't seem like it should have been matched, which is why I'm raising it here as a bug. Backing up this assumption is the fact that it's not catching references to the specific Classical period ( Classical period (music)), just the general term classical music. Ligaturama ( talk) 09:46, 21 February 2024 (UTC)
This edit using this script converted "March 1" into "March 1 inch (2.5cm)", including adding the convert template. You might wanna investigate this. FunIsOptional ( talk) (use ping please) 11:02, 13 May 2024 (UTC)