OBJECTIVE: The discussion here concerns any discussion involving the development of the Engvar script. These were originally posted to my talk page but are preserved here as a record of its evolution.
Postings concerning the script but involving minor bug reports – ones that do not result in significant upgrade – will be included if I believe they may be useful for future reference.
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
G'day! Just a quick note: it appears that your script does not recognise "urbanized" when converting to the -ise spelling. Would you be able to correct this? Cheers, Hayden120 ( talk) 11:37, 19 July 2010 (UTC)
Suggestion I suggest that you make the script ignore text within category names to keep this from happening (scroll to the bottom, of course.) — Justin (koavf)❤ T☮ C☺ M☯ 15:26, 24 July 2010 (UTC)
It makes the changes and tags the article, but I don't get the "difs" so that I can see what changes took place and edit if necessary. Radiopathy •talk• 01:16, 30 July 2010 (UTC)
Hi!!!
I was looking at your script and I think you could simplify it a lot if you use an array to store the "substitution rules". I did this in another script I use at pt.wikisource for OCR corrections and it seems that the same principle apply here. You could use something like this for the rules:
var table = {
'aluminum': '$1aluminium',
'artifact': '$1artefact',
...
};
and then do a loop through it:
for (var word in table) {
regex_function1(word, tableword]);
}
The regex_function1
would be created with the code which is currently used explicitly in each row of your code. For example:
function regex_function1(w1, w2) {
var regex1 = new RegExp('([^\\w\\d\\-\\/])' + w1, 'g')
txt.value=txt.value.replace(regex1, w2);
}
What do you think?
By the way, did you notice my previous comment?
Have a nice week! Helder ( talk) 13:56, 2 August 2010 (UTC)
(<.+?>[^<]+?)
, ([^<]+?<\/.+?>)
, (\[Category:[^\]]*?)
, etc... (which appears in lots of lines) to outside your table and put it only inside a loop (or a function). This could make the code more understandable and easy to update... =) (note that I did this for ([^\\w\\d\\-\\/])
in the example above). This is another reason why I use more than one table...
Helder (
talk) 21:48, 5 August 2010 (UTC)It missed "color" here and "flavored" here. Radiopathy •talk• 02:55, 5 August 2010 (UTC)
Rye Toe! I tried it on Flavored liquor (I didn't save it, of course) and it got every instance. Radiopathy •talk• 04:46, 5 August 2010 (UTC)
I couldn't get it to do Mother's Little Helper again, but it worked great on 'lemon-flavored' at Lemonade. Radiopathy •talk• 04:57, 5 August 2010 (UTC)
Hi, what's your intention with
Category:Use British English? It is categorized as a cleanup category (i.e. category of pages that have some kind of a problem that should be fixed), but from the descriptions it seems to me that it should just list articles written in British English. Also, it says that {{
EngvarB}}
will add an article to that category, but that's not the the case (at least currently).
Svick (
talk) 08:43, 21 August 2010 (UTC)
Thanks, I've just created Category:Use dmy dates -- Ohconfucius ¡digame! 15:37, 23 August 2010 (UTC)
Hi!!!
How is everything?
You probably will like to know that at fr.wikisource they have a script (fr:s:
oldwikisource:MediaWiki:Modernisation.js) which is used for modernization of texts written in old dialects. The script allow the reader to click in a menu in the sidebar to see the modernized version of text, based on a table of "old word" : "new word" pairs available at
fr:s:Wikisource:Dictionnaire.
You can test it acessing, for example, the page fr:s:La Cigale et la Fourmi and clicking at "Texte modernisé" in the sidebar (then the text of the page will change accordingly to the dictionary - but since there is an image in the beginning of the page, it may be a good idea to see the page in full screen mode to notice the changes happening ;-) ).
I found this when I proposed a similar feature (from MediaWiki) at multilingual wikisource: Using LanguageConverter syntax at Wikisources.
Best regards =) Helder ( talk) 22:08, 31 August 2010 (UTC)
Hi!
I think you may like to test this script (together with this css). The script will add a menu at the top of pages and let you change the spellings from/to Britsh/American English based in lists of words (which currently are at Dictionary/en-US and /en-GB), editable by anyone.
You can see what happens in the dictionary pages, for example, or accessing articles where there are words in the lists (like Belgium and others). I don't know much of English, so the tables were just an adaptation of this table and may need revision by native English speakers ;-) Helder ( talk) 16:32, 27 September 2010 (UTC)
I noticed this amongst my scripts, but I have no idea what it is. Radiopathy •talk• 03:16, 29 September 2010 (UTC)
Look at this! It actually looked this way in the article, too! Radiopathy •talk• 19:44, 5 October 2010 (UTC)
The ENGVAR script is 'unwatching' pages that I run it on! Radiopathy •talk• 14:15, 13 November 2010 (UTC)
BTW, I've been informed elsewhere that the Mediawiki software occasionally drops watchlisted items. -- Ohconfucius ¡digame! 14:27, 13 November 2010 (UTC)
Hello. I was testing your EngvarB script for the first time on Humour and something surprising happened. I'm not sure if I'm doing something wrong but nothing was changed except those two instances of "surprise". Please help! Thank you. McLerristarr | Mclay1 05:41, 15 November 2010 (UTC)
Also, I was wondering where I could find a complete list of the changes as I'm not particularly good at reading code. Thanks. McLerristarr | Mclay1 06:05, 15 November 2010 (UTC)
One more thing, I recently created the page Wikipedia:Manual of Style (spelling)/Words ending with "-ise" or "-ize" and I was wondering if you could tell me if I've missed any exceptions. Thanks. McLerristarr | Mclay1 06:07, 15 November 2010 (UTC)
I was in the process of creating a proper and comprehensive test page, but I got sidetracked. The closest I have to one is at the bottom of my script documentation here. More anon. -- Ohconfucius ¡digame! 06:18, 15 November 2010 (UTC)
I tried it using Safari and it worked but it did not correct "humor" in the first sentence of Humour. It also wanted to add the EngvarB template even though it already had one. By the way, wouldn't it be best if it added {{ Use British English}} instead? That way it avoids the redirect that bots and AWB will waste time correcting and it may be of benefit to unaware editors. McLerristarr | Mclay1 07:49, 15 November 2010 (UTC)
I hate to be a pain but it's correcting words in URLs and file names. Try it on Airplane! – it's a good one for testing. McLerristarr | Mclay1 03:15, 16 November 2010 (UTC)
After trying for the last hour or so, I haven't yet managed to cure the problem of the changes to 'image=airplane!.jpg'. I may have to go deeper into the code. I haven't yet tried to cure the problem of {{rottentomatoes|airplane}} although I'm tempted to say that latter one is probably better dealt with by capitalisation. -- Ohconfucius ¡digame! 05:00, 16 November 2010 (UTC)
I think I've now resolved that particular issue, as well as instances within {{ sic}}, and as image parameters within infoboxes. -- Ohconfucius ¡digame! 07:05, 16 November 2010 (UTC)
You may wish to see this. I have no idea what it did, but apparently the script now removes non-existant musical notes. McLerristarr | Mclay1 15:29, 16 November 2010 (UTC)
I'm not sure I agree on changing "aeroplane" and "airplane" to "aircraft". Aircraft is a much broader term that also includes zeppelins and the like. Fixed-wing aircraft is the compromise but that sounds awkward in general text, but so does just "aircraft". "They travelled by aircraft to America", "He caught an aircraft at noon" etc. If a page is written entirely in British English, I see no reason why "aeroplane" can't be used. McLerristarr | Mclay1 12:28, 15 November 2010 (UTC)
Instead of adding {{ EngvarB}} or {{ EngvarOx}}, should the script add {{ Use British English}} or {{ Use British (Oxford) English}} instead? GoingBatty ( talk) 02:38, 16 November 2010 (UTC)
Hey, I was using the Oxford script on The Hobbit and it wanted to covert a few words ending in "-ise" to "-ize" which should end in "-ise" in Oxford English. Is there a way around this problem? I noticed you mentioned it in the script documentation. If it's just a matter of listing all the exceptions, then Wikipedia:Manual of Style (spelling)/Words ending with "-ise" or "-ize"#Words never ending with "-ize" maybe of some help, otherwise sorry for telling you about something you already know. McLerristarr | Mclay1 01:47, 17 November 2010 (UTC)
I've created two more sub-categories: Category:All Wikipedia articles written in British English and Category:All Wikipedia articles written in British (Oxford) English. I've updated the templates and progress boxes. The categories do not have many items in them yet according to my Wikipedia, could be to do something to do with the cache or it could be Wikipedia being slow. Eventually though, every article tagged with one of the templates will be added to the respective category as well as the dated category. McLerristarr | Mclay1 05:34, 17 November 2010 (UTC)
The British English script currently changes "cleanup" to "clean-up" in {{ Cleanup}} and as a parameter of {{ Multiple issues}}. Could this be avoided? McLerristarr | Mclay1 07:31, 22 November 2010 (UTC)
Hey, just a few things I've discovered through using your great script. Currently, the Oxford script is incorrectly changing "arise" but is not changing "bastardise", "philosophise", "standardise" or "synthesise". Both scripts do not correct "aging" ("ageing"), "counterclockwise" ("anticlockwise" – make sure Oxford doesn't catch the ending), "breathalyze" ("breathalyse"), "cataloged" ("catalogued"), "cataloging" ("cataloguing"), "encyclopedia" ("encyclopaedia"), "encyclopedic" ("encyclopaedic" – but not in maintenance templates), "aerie" ("eyrie"), "gotten" ("got"), "licorice" ("liquorice"), "louver" ("louvre"), "math" ("maths"), "molt" ("moult"), "mollusk" ("mollusc"), "ocher" ("ochre"), "omelette" ("omelet"), "phony" ("phoney") and "specialty" ("speciality"). They're the main ones but not all of them. I've complied a (currently incomplete) list of British and American terms and spellings at User:Mclay1/Britishisms. It's useful for testing the scripts, although not all the list items can be corrected due to ambiguity. In some cases, an American spelling is more common in British English (e.g. "gramme"/"gram") or vice versa but in those cases I've only listed one spelling. Feel free to add to or correct the list if you want. McLerristarr | Mclay1 16:18, 22 November 2010 (UTC)
changing "arise" but is not changing "bastardise", "philosophise", "standardise" or "synthesise". Both scripts do not correct "aging" ("ageing"), "counterclockwise" ("anticlockwise" – make sure Oxford doesn't catch the ending), "breathalyze" ("breathalyse"), "cataloged" ("catalogued"), "cataloging" ("cataloguing"), "encyclopedia" ("encyclopaedia"), "encyclopedic" ("encyclopaedic" – but not in maintenance templates), "aerie" ("eyrie"), "gotten" ("got"), "licorice" ("liquorice"), "louver" ("louvre"), "math" ("maths"), "molt" ("moult"), "mollusk" ("mollusc"), "ocher" ("ochre"), "omelet" ("omelette"), "phony" ("phoney") and "specialty" ("speciality").
I figured that words like "math", "phony" and "gotten" are vernacular and likely to be used only in quotes, and conversion risks creating false positives; "Licorice" appears to be an acceptable British spelling, so I will not treat this. -- Ohconfucius ¡digame! 17:34, 22 November 2010 (UTC)
I originally (maybe improperly) posted this question on User talk:Ohconfucius/EngvarB but didn't receive an answer. Instead of adding {{ EngvarB}} or {{ EngvarOx}}, should the script add {{ Use British English}} or {{ Use British (Oxford) English}} instead to avoid template redirects? GoingBatty ( talk) 03:21, 1 December 2010 (UTC)
I fixed some bugs in your script, per your request. Hopefully it is now working as you desire. By the way, it looks like you have hard-coded the date in the script. Would you like to make this automatic based on the current month and year? Hopefully I didn't make a mess of anything. Thanks! Plastikspork ―Œ(talk) 01:42, 7 December 2010 (UTC)
It doesn't matter so much if it inserts EngvarB or EngvarOx, but I would like it not to keep reinserting tags when they already exist; also it is undesirable to have (both) contradictory tags on the same article. Thanks in advance for your help. -- Ohconfucius ¡digame! 02:49, 7 December 2010 (UTC)
I have a side question: for some reason, some (and only some) of my script buttons -particularly the British English buttons (which are in their own little 'Script' section in the sidebar along with 'Custom regex'), and some others - disappear intermittently, although the script remains callable through a hook (Ohc_ENGVARplus) I placed in my vector file. I wouldn't say this is 'normal' or expected, but have you noticed similar behaviour? Could it perhaps be due to an error in the script somewhere? Ohconfucius ¡digame! 04:25, 7 December 2010 (UTC)
Hello! Sorry for delay in answering your comment. If I understood correctly what was said above, the script is already working as desired. Is it needed anything else?
I have a suggestion about
this edit: it seems possible to simplify the code using for example {{Use British English|{{subst:DATE}}}}
(see for example
Template:Clarify). The result would be
this.
Helder 18:34, 7 December 2010 (UTC)
I have noticed that scripts do sometimes work even when there are syntax errors, and have a query/problem OF intermittent faulty loading (above) which is leading me to suspect there may be a bug in one of my scripts. What ways do you use to test? Someone suggested I tried using Firefly to test/debug the code, but I don't find it very intuitive to use, so I didn't bother. -- Ohconfucius ¡digame! 01:38, 8 December 2010 (UTC)
Hello, this new scripting all seems to be working fine for me. Can you please edit the Oxford script to prevent it from changing "paradise" to "paradize"? McLerristarr | Mclay1 07:03, 7 December 2010 (UTC)
When tagging something Oxford English, could you provide your reasons? I'm not sure a Canadian-Native American born musician who had his big break backing a very American singer and thereafter spent most of his time in the States deserves the privilege! --John ( User:Jwy/ talk) 13:19, 21 December 2010 (UTC)
from Plastikspork's talk page Hi Plastikspork,
I could once again do with your expert help in adding functionalities to my Engvar script, the test version of which is here. I am attempting to add functionality for Canadian English, consisting of two additional functions. I have separately tested the two modules, and find that they work as intended. I lost the sidebar buttons since going to the latest version. The current version lacks the menu buttons, but still can be called. Note that function insert_Engvar(v1) has not yet been updated for the Canadian code. Cheers, -- Ohconfucius ¡digame! 03:13, 23 December 2010 (UTC)
Haven't tried a full modification to the script yet, but to implement Australian English tagging, a good approach seems to be in updating function rmflinks() to add a regexTool line for Australia, which would call with a new "A" (Australian) parameter (SetEnglish("A")). The SetEnglish() function would add a case like this:
case 'A': Ohc_ENGVARprotectwords(); Ohc_ENGVARSimple(); zwords(); Ohc_ENGVARAedit_summary(); break;
Then add a case in function insert_Engvar(v) under the switch (v):
case 'A': // Replace British/British (Oxford)/Canadian with Australian txt = txt.replace( reB, ''); txt = txt.replace( reOx, ''); txt = txt.replace( reC, ''); // Prepend Australian template if not already tagged if( txt.search(reB) == -1 ) { txt = '\r\n' + txt; } break;
(You will likely need to add a "reA" for Aus Eng, and txt.replace that in the other cases)
Also note the call to a new edit summary function for Australia:
function Ohc_ENGVARAedit_summary(){ //Add a tag to the summary box setoptions(minor='true'); setreason('[[WP:ENGVAR|all Australian spelling]] by [[WP:EngvarB|script]]', 'append'); // doaction('diff'); }
That involves a few updates, but shouldn't be excessively complicated to expand to add an Australian update, which could initially just call the British spelling fixes until some Aus-specific spelling differences emerge.
Dl2000 (
talk) 20:57, 11 September 2011 (UTC)
Seems it's adding BrEng tags on top of AusEng's Dl2000 ( talk) 00:15, 29 October 2011 (UTC)
function insert_Engvar(v){ // Add a template to the article identifying English variant var box = document.editform.wpTextbox1; var txt = box.value; // Build a string with "Month YYYY" var dateobj=new Date(); var month=new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"); var datestr= month[dateobj.getMonth()] + ' ' + dateobj.getFullYear(); // Matches Use Australian English or EngvarA var reA = new RegExp('{{[_ ]*(?:[Uu]se[_ ]+Australian[_ ]+English|[Ee]ngvarA)[_ ]*(?:|\\|[ ]*date[ ]*=[^{}\\|]*)[ ]*}}', 'gi'); // Matches Use British English or EngvarB var reB = new RegExp('{{[_ ]*(?:[Uu]se[_ ]+British[_ ]+English|[Ee]ngvarB)[_ ]*(?:|\\|[ ]*date[ ]*=[^{}\\|]*)[ ]*}}', 'gi'); // Matches Use British (Oxford) English or EngvarOx var reOx = new RegExp('{{[_ ]*(?:[Uu]se[_ ]+British[_ ]+\\(Oxford\\)[_ ]+English|[Ee]ngvarOx)[_ ]*(?:|\\|[ ]*date[ ]*=[^{}\\|]*)[ ]*}}', 'gi'); // Matches Use Canadian English or EngvarC var reC = new RegExp('{{[_ ]*(?:[Uu]se[_ ]+Canadian[_ ]+English|[Ee]ngvarC)[_ ]*(?:|\\|[ ]*date[ ]*=[^{}\\|]*)[ ]*}}', 'gi'); switch (v) { case 'A': // Replace existing variants with Australian txt = txt.replace( reOx, '{{Use Australian English|date=' + datestr + '}}'); txt = txt.replace( reB, '{{Use Australian English|date=' + datestr + '}}'); txt = txt.replace( reC, '{{Use Australian English|date=' + datestr + '}}'); // Prepend Australian template if not already tagged if( txt.search(reA) == -1 ) { txt = '{{Use Australian English|date=' + datestr + '}}\r\n' + txt; } break; case 'Ox': // Replace with British (Oxford) txt = txt.replace( reA, '{{Use British (Oxford) English|date=' + datestr + '}}'); txt = txt.replace( reB, '{{Use British (Oxford) English|date=' + datestr + '}}'); txt = txt.replace( reC, '{{Use British (Oxford) English|date=' + datestr + '}}'); // Prepend British (Oxford) template if not already tagged if( txt.search(reOx) == -1 ) { txt = '{{Use British (Oxford) English|date=' + datestr + '}}\r\n' + txt; } break; case 'B': // Replace with British txt = txt.replace( reA, '{{Use British English|date=' + datestr + '}}'); txt = txt.replace( reOx, '{{Use British English|date=' + datestr + '}}'); txt = txt.replace( reC, '{{Use British English|date=' + datestr + '}}'); // Prepend British template if not already tagged if( txt.search(reB) == -1 ) { txt = '{{Use British English|date=' + datestr + '}}\r\n' + txt; } break; case 'C': // Replace with Canadian txt = txt.replace( reA, '{{Use British English|date=' + datestr + '}}'); txt = txt.replace( reB, '{{Use Canadian English|date=' + datestr + '}}'); txt = txt.replace( reOx, '{{Use Canadian English|date=' + datestr + '}}'); // Prepend Canadian template if not already tagged if( txt.search(reC) == -1 ) { txt = '{{Use Canadian English|date=' + datestr + '}}\r\n' + txt; } break; } box.value = txt; }
Dl2000 ( talk) 03:52, 29 October 2011 (UTC)
// type - the full word of the English variant type to be tagged to function Dl2_EngTag(type) { var txt=document.editform.wpTextbox1; // If there's an existing tag, prompt to override langvars = new Array("American", "Australian", "British (Oxford)", "British", "Canadian", "Indian", "Irish", "Pakistani" ); var curryyyymm = Dl2_CurrMY(); for (i = 0; i < langvars.length; i++) { var rxTemp = new RegExp('{{[_ ]*(?:[Uu]se[_ ]+' + langvars[i] + '[_ ]+English|[Ee]ngvarB)[_ ]*(?:|\\|[ ]*date[ ]*=[^{}\\|]*)[ ]*}}', 'gi'); if ((langvars[i] != type) && (txt.value.search(rxTemp) >= 0)) { if (confirm(langvars[i] + ' English tag already exists - override?')) { var newtag='{{Use ' + type + ' English|date='+curryyyymm+'}}'; txt.value=txt.value.replace(rxTemp, newtag); } else { return; } } } // add tag if not already present (or changed above) var rxpdd = new RegExp("{{Use " + type + " English", "gi"); var dflagfound = txt.value.search(rxpdd); if (dflagfound == -1) { txt.value='{{Use ' + type + ' English|date='+curryyyymm+'}}\r\n'+txt.value; } }
EngvarB (Oxford) is correcting annex to annexe. However international standards (ISO/IEC) [3] written in British Oxford English use the annex spelling, furthermore the Oxford dictionary [4] suggests both are correct. However annexe is listed as chiefly British, I suggest we always use annex per MOS:COMMONALITY. Lmatt ( talk) 20:20, 2 January 2012 (UTC)
I thought this was part of MOS. If it works as a subpage of Ohconfucius, why complain? It just seems "unusual." Student7 ( talk) 16:26, 11 January 2014 (UTC)
The policy mentions ise vs ize compromises. I would think that a list of "words to avoid" might be in order. Americans/Canadians should be careful about using the word "napkin" for example, meaning an article of hygiene in British, but they should use "serviette" (or whatever) instead.
British should really avoid using words with an unnecessary "st" at the end, like "amongst," "whilst," for example. These sound "funny/humorous" to an American (and probably Canadian) ear. It's hard to take the article seriously after encountering these words. "Among" and "while" are equally valid and don't put off an American audience. When I've tried to get editors to change in the past, they became quite annoyed! Even though this would improve readability. I'm sure there are many other words on all sides. Student7 ( talk) 16:26, 11 January 2014 (UTC)
My understanding is that if you run the tool in its default mode without providing specific guidance, it will apply the non-Oxford ("-ise") spelling convention. Is that correct? — BarrelProof ( talk) 18:40, 3 May 2014 (UTC)
The script isn't picking up the word 'tire'. A minor thing, but I thought I'd make mention. RGloucester — ☎ 16:44, 8 May 2014 (UTC)
Seems your script is making incorrect changes - Mlpearc ( open channel) 17:21, 4 November 2016 (UTC)
Is there a way to avoid changes like these "timeline" changes here ? - Mlpearc ( open channel) 17:41, 19 March 2017 (UTC)
I've created templates and categories for Commonwealth English, to address the ENGVAR need to account for "EngvarB" stuff that is not specifically British, Australian, or another major dialect for which dialect-specific style guides and a codified, formal written register exist. This is to both forestall creation of junk like "Use Trinidadian English" or "Use Zimbabwean English" templates, and to provide a merge-and-redirect target for various existing templates we do not actually need.
So, please add Commonwealth English to the list your scripting and documentation account for. — SMcCandlish ☏ ¢ 😼 19:11, 22 June 2018 (UTC)
"Overrule" should not be changed to "Over-rule" Hawkeye7 (discuss) 14:01, 30 July 2019 (UTC)
Is improvization proper spelling in any form of English? See this edit. A cursory look online did not show it as an American v British English variation. Kees08 (Talk) 14:38, 25 December 2019 (UTC)
Thanks for this script! I've found it very useful. I noticed however the following in the documentation, added here [5]:
according to the EU style guide for publications, British English is the official code of English to be employed for the European Union. This appears to imply that the relevant code for en.WP articles about the EU and its member states ought to be in British English.
This is a reasonable opinion, but doesn't reflect the Manual of Style and long-standing consensus at Wikipedia talk:Manual of Style. British English should be used for institutions of the EU, but not necessarily for articles about member states etc. I'm concerned that people installing this script might take it as an instruction that it should be used in this way, and be misled to believe that this is the accepted Wikipedia custom. Consensus has been consistently to the contrary: MOS:TIES applies only to majority Engish-speaking nations such as Ireland. Maybe removing those two sentences would be a good idea. Thanks for considering this... -- IamNotU ( talk) 14:21, 22 August 2020 (UTC)
The action of prepending an instance of {{ EngvarB}}, when there are already certain other leading items, conflicts with MOS:ORDER (as here where it demoted the {{ short description}}). I fixed that instance. David Brooks ( talk) 18:44, 2 November 2022 (UTC)
Thank you for this marvelous tool! I was reading an article and saw "baulk" and thought it was a typo, but, after running it down, it appears that Brits write "baulk", while we Americans write "balk". Maybe this could be added to the script? Thanks, again! - Bryan Rutherford ( talk) 12:34, 14 March 2023 (UTC)
See
this edit, in which I clicked the AMERICAN link and made no manual changes. For some reason, your script removed |sp=us
from the {{
Convert}} templates, which resulted in "kilometers" then rendering as "kilometres". Surely this is a bug, right? —
void
xor 17:46, 22 March 2023 (UTC)
See this edit, in which I clicked the AMERICAN link and made no manual changes. Your script is misspelling " derailment" as " deraillment", and ditto in the plural form. It's still spelled "derailment" in American English.
Is anybody still watching this talk page? The bug reports are piling up. — void xor 18:30, 23 May 2023 (UTC)
Is this script still using the deleted {{EngvarU}} listed in the last paragraph of the documentation in the Scope section as one of the parameters, or does the documentation need to be updated? Huggums537 ( talk) 03:44, 13 June 2023 (UTC)
Why does this script change {{ Use British English}} to {{ EngvarB}}, as seen here? XAM2175 (T) 21:52, 18 June 2023 (UTC)
When using "analyses" as the plural of "analysis," your script changes it to "analyzes" when selecting American English. Rusty4321 talk contribs 15:52, 7 January 2024 (UTC)
Good day Ohconfucius, I was wondering, when using the script for EngvarA, is there a way for the script to not change anything inside [[Foobar]] the brackets, most times it's a name or title with a "S" it obviously changes it to "Z". - FlightTime ( open channel) 20:24, 7 January 2024 (UTC)
OBJECTIVE: The discussion here concerns any discussion involving the development of the Engvar script. These were originally posted to my talk page but are preserved here as a record of its evolution.
Postings concerning the script but involving minor bug reports – ones that do not result in significant upgrade – will be included if I believe they may be useful for future reference.
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
G'day! Just a quick note: it appears that your script does not recognise "urbanized" when converting to the -ise spelling. Would you be able to correct this? Cheers, Hayden120 ( talk) 11:37, 19 July 2010 (UTC)
Suggestion I suggest that you make the script ignore text within category names to keep this from happening (scroll to the bottom, of course.) — Justin (koavf)❤ T☮ C☺ M☯ 15:26, 24 July 2010 (UTC)
It makes the changes and tags the article, but I don't get the "difs" so that I can see what changes took place and edit if necessary. Radiopathy •talk• 01:16, 30 July 2010 (UTC)
Hi!!!
I was looking at your script and I think you could simplify it a lot if you use an array to store the "substitution rules". I did this in another script I use at pt.wikisource for OCR corrections and it seems that the same principle apply here. You could use something like this for the rules:
var table = {
'aluminum': '$1aluminium',
'artifact': '$1artefact',
...
};
and then do a loop through it:
for (var word in table) {
regex_function1(word, tableword]);
}
The regex_function1
would be created with the code which is currently used explicitly in each row of your code. For example:
function regex_function1(w1, w2) {
var regex1 = new RegExp('([^\\w\\d\\-\\/])' + w1, 'g')
txt.value=txt.value.replace(regex1, w2);
}
What do you think?
By the way, did you notice my previous comment?
Have a nice week! Helder ( talk) 13:56, 2 August 2010 (UTC)
(<.+?>[^<]+?)
, ([^<]+?<\/.+?>)
, (\[Category:[^\]]*?)
, etc... (which appears in lots of lines) to outside your table and put it only inside a loop (or a function). This could make the code more understandable and easy to update... =) (note that I did this for ([^\\w\\d\\-\\/])
in the example above). This is another reason why I use more than one table...
Helder (
talk) 21:48, 5 August 2010 (UTC)It missed "color" here and "flavored" here. Radiopathy •talk• 02:55, 5 August 2010 (UTC)
Rye Toe! I tried it on Flavored liquor (I didn't save it, of course) and it got every instance. Radiopathy •talk• 04:46, 5 August 2010 (UTC)
I couldn't get it to do Mother's Little Helper again, but it worked great on 'lemon-flavored' at Lemonade. Radiopathy •talk• 04:57, 5 August 2010 (UTC)
Hi, what's your intention with
Category:Use British English? It is categorized as a cleanup category (i.e. category of pages that have some kind of a problem that should be fixed), but from the descriptions it seems to me that it should just list articles written in British English. Also, it says that {{
EngvarB}}
will add an article to that category, but that's not the the case (at least currently).
Svick (
talk) 08:43, 21 August 2010 (UTC)
Thanks, I've just created Category:Use dmy dates -- Ohconfucius ¡digame! 15:37, 23 August 2010 (UTC)
Hi!!!
How is everything?
You probably will like to know that at fr.wikisource they have a script (fr:s:
oldwikisource:MediaWiki:Modernisation.js) which is used for modernization of texts written in old dialects. The script allow the reader to click in a menu in the sidebar to see the modernized version of text, based on a table of "old word" : "new word" pairs available at
fr:s:Wikisource:Dictionnaire.
You can test it acessing, for example, the page fr:s:La Cigale et la Fourmi and clicking at "Texte modernisé" in the sidebar (then the text of the page will change accordingly to the dictionary - but since there is an image in the beginning of the page, it may be a good idea to see the page in full screen mode to notice the changes happening ;-) ).
I found this when I proposed a similar feature (from MediaWiki) at multilingual wikisource: Using LanguageConverter syntax at Wikisources.
Best regards =) Helder ( talk) 22:08, 31 August 2010 (UTC)
Hi!
I think you may like to test this script (together with this css). The script will add a menu at the top of pages and let you change the spellings from/to Britsh/American English based in lists of words (which currently are at Dictionary/en-US and /en-GB), editable by anyone.
You can see what happens in the dictionary pages, for example, or accessing articles where there are words in the lists (like Belgium and others). I don't know much of English, so the tables were just an adaptation of this table and may need revision by native English speakers ;-) Helder ( talk) 16:32, 27 September 2010 (UTC)
I noticed this amongst my scripts, but I have no idea what it is. Radiopathy •talk• 03:16, 29 September 2010 (UTC)
Look at this! It actually looked this way in the article, too! Radiopathy •talk• 19:44, 5 October 2010 (UTC)
The ENGVAR script is 'unwatching' pages that I run it on! Radiopathy •talk• 14:15, 13 November 2010 (UTC)
BTW, I've been informed elsewhere that the Mediawiki software occasionally drops watchlisted items. -- Ohconfucius ¡digame! 14:27, 13 November 2010 (UTC)
Hello. I was testing your EngvarB script for the first time on Humour and something surprising happened. I'm not sure if I'm doing something wrong but nothing was changed except those two instances of "surprise". Please help! Thank you. McLerristarr | Mclay1 05:41, 15 November 2010 (UTC)
Also, I was wondering where I could find a complete list of the changes as I'm not particularly good at reading code. Thanks. McLerristarr | Mclay1 06:05, 15 November 2010 (UTC)
One more thing, I recently created the page Wikipedia:Manual of Style (spelling)/Words ending with "-ise" or "-ize" and I was wondering if you could tell me if I've missed any exceptions. Thanks. McLerristarr | Mclay1 06:07, 15 November 2010 (UTC)
I was in the process of creating a proper and comprehensive test page, but I got sidetracked. The closest I have to one is at the bottom of my script documentation here. More anon. -- Ohconfucius ¡digame! 06:18, 15 November 2010 (UTC)
I tried it using Safari and it worked but it did not correct "humor" in the first sentence of Humour. It also wanted to add the EngvarB template even though it already had one. By the way, wouldn't it be best if it added {{ Use British English}} instead? That way it avoids the redirect that bots and AWB will waste time correcting and it may be of benefit to unaware editors. McLerristarr | Mclay1 07:49, 15 November 2010 (UTC)
I hate to be a pain but it's correcting words in URLs and file names. Try it on Airplane! – it's a good one for testing. McLerristarr | Mclay1 03:15, 16 November 2010 (UTC)
After trying for the last hour or so, I haven't yet managed to cure the problem of the changes to 'image=airplane!.jpg'. I may have to go deeper into the code. I haven't yet tried to cure the problem of {{rottentomatoes|airplane}} although I'm tempted to say that latter one is probably better dealt with by capitalisation. -- Ohconfucius ¡digame! 05:00, 16 November 2010 (UTC)
I think I've now resolved that particular issue, as well as instances within {{ sic}}, and as image parameters within infoboxes. -- Ohconfucius ¡digame! 07:05, 16 November 2010 (UTC)
You may wish to see this. I have no idea what it did, but apparently the script now removes non-existant musical notes. McLerristarr | Mclay1 15:29, 16 November 2010 (UTC)
I'm not sure I agree on changing "aeroplane" and "airplane" to "aircraft". Aircraft is a much broader term that also includes zeppelins and the like. Fixed-wing aircraft is the compromise but that sounds awkward in general text, but so does just "aircraft". "They travelled by aircraft to America", "He caught an aircraft at noon" etc. If a page is written entirely in British English, I see no reason why "aeroplane" can't be used. McLerristarr | Mclay1 12:28, 15 November 2010 (UTC)
Instead of adding {{ EngvarB}} or {{ EngvarOx}}, should the script add {{ Use British English}} or {{ Use British (Oxford) English}} instead? GoingBatty ( talk) 02:38, 16 November 2010 (UTC)
Hey, I was using the Oxford script on The Hobbit and it wanted to covert a few words ending in "-ise" to "-ize" which should end in "-ise" in Oxford English. Is there a way around this problem? I noticed you mentioned it in the script documentation. If it's just a matter of listing all the exceptions, then Wikipedia:Manual of Style (spelling)/Words ending with "-ise" or "-ize"#Words never ending with "-ize" maybe of some help, otherwise sorry for telling you about something you already know. McLerristarr | Mclay1 01:47, 17 November 2010 (UTC)
I've created two more sub-categories: Category:All Wikipedia articles written in British English and Category:All Wikipedia articles written in British (Oxford) English. I've updated the templates and progress boxes. The categories do not have many items in them yet according to my Wikipedia, could be to do something to do with the cache or it could be Wikipedia being slow. Eventually though, every article tagged with one of the templates will be added to the respective category as well as the dated category. McLerristarr | Mclay1 05:34, 17 November 2010 (UTC)
The British English script currently changes "cleanup" to "clean-up" in {{ Cleanup}} and as a parameter of {{ Multiple issues}}. Could this be avoided? McLerristarr | Mclay1 07:31, 22 November 2010 (UTC)
Hey, just a few things I've discovered through using your great script. Currently, the Oxford script is incorrectly changing "arise" but is not changing "bastardise", "philosophise", "standardise" or "synthesise". Both scripts do not correct "aging" ("ageing"), "counterclockwise" ("anticlockwise" – make sure Oxford doesn't catch the ending), "breathalyze" ("breathalyse"), "cataloged" ("catalogued"), "cataloging" ("cataloguing"), "encyclopedia" ("encyclopaedia"), "encyclopedic" ("encyclopaedic" – but not in maintenance templates), "aerie" ("eyrie"), "gotten" ("got"), "licorice" ("liquorice"), "louver" ("louvre"), "math" ("maths"), "molt" ("moult"), "mollusk" ("mollusc"), "ocher" ("ochre"), "omelette" ("omelet"), "phony" ("phoney") and "specialty" ("speciality"). They're the main ones but not all of them. I've complied a (currently incomplete) list of British and American terms and spellings at User:Mclay1/Britishisms. It's useful for testing the scripts, although not all the list items can be corrected due to ambiguity. In some cases, an American spelling is more common in British English (e.g. "gramme"/"gram") or vice versa but in those cases I've only listed one spelling. Feel free to add to or correct the list if you want. McLerristarr | Mclay1 16:18, 22 November 2010 (UTC)
changing "arise" but is not changing "bastardise", "philosophise", "standardise" or "synthesise". Both scripts do not correct "aging" ("ageing"), "counterclockwise" ("anticlockwise" – make sure Oxford doesn't catch the ending), "breathalyze" ("breathalyse"), "cataloged" ("catalogued"), "cataloging" ("cataloguing"), "encyclopedia" ("encyclopaedia"), "encyclopedic" ("encyclopaedic" – but not in maintenance templates), "aerie" ("eyrie"), "gotten" ("got"), "licorice" ("liquorice"), "louver" ("louvre"), "math" ("maths"), "molt" ("moult"), "mollusk" ("mollusc"), "ocher" ("ochre"), "omelet" ("omelette"), "phony" ("phoney") and "specialty" ("speciality").
I figured that words like "math", "phony" and "gotten" are vernacular and likely to be used only in quotes, and conversion risks creating false positives; "Licorice" appears to be an acceptable British spelling, so I will not treat this. -- Ohconfucius ¡digame! 17:34, 22 November 2010 (UTC)
I originally (maybe improperly) posted this question on User talk:Ohconfucius/EngvarB but didn't receive an answer. Instead of adding {{ EngvarB}} or {{ EngvarOx}}, should the script add {{ Use British English}} or {{ Use British (Oxford) English}} instead to avoid template redirects? GoingBatty ( talk) 03:21, 1 December 2010 (UTC)
I fixed some bugs in your script, per your request. Hopefully it is now working as you desire. By the way, it looks like you have hard-coded the date in the script. Would you like to make this automatic based on the current month and year? Hopefully I didn't make a mess of anything. Thanks! Plastikspork ―Œ(talk) 01:42, 7 December 2010 (UTC)
It doesn't matter so much if it inserts EngvarB or EngvarOx, but I would like it not to keep reinserting tags when they already exist; also it is undesirable to have (both) contradictory tags on the same article. Thanks in advance for your help. -- Ohconfucius ¡digame! 02:49, 7 December 2010 (UTC)
I have a side question: for some reason, some (and only some) of my script buttons -particularly the British English buttons (which are in their own little 'Script' section in the sidebar along with 'Custom regex'), and some others - disappear intermittently, although the script remains callable through a hook (Ohc_ENGVARplus) I placed in my vector file. I wouldn't say this is 'normal' or expected, but have you noticed similar behaviour? Could it perhaps be due to an error in the script somewhere? Ohconfucius ¡digame! 04:25, 7 December 2010 (UTC)
Hello! Sorry for delay in answering your comment. If I understood correctly what was said above, the script is already working as desired. Is it needed anything else?
I have a suggestion about
this edit: it seems possible to simplify the code using for example {{Use British English|{{subst:DATE}}}}
(see for example
Template:Clarify). The result would be
this.
Helder 18:34, 7 December 2010 (UTC)
I have noticed that scripts do sometimes work even when there are syntax errors, and have a query/problem OF intermittent faulty loading (above) which is leading me to suspect there may be a bug in one of my scripts. What ways do you use to test? Someone suggested I tried using Firefly to test/debug the code, but I don't find it very intuitive to use, so I didn't bother. -- Ohconfucius ¡digame! 01:38, 8 December 2010 (UTC)
Hello, this new scripting all seems to be working fine for me. Can you please edit the Oxford script to prevent it from changing "paradise" to "paradize"? McLerristarr | Mclay1 07:03, 7 December 2010 (UTC)
When tagging something Oxford English, could you provide your reasons? I'm not sure a Canadian-Native American born musician who had his big break backing a very American singer and thereafter spent most of his time in the States deserves the privilege! --John ( User:Jwy/ talk) 13:19, 21 December 2010 (UTC)
from Plastikspork's talk page Hi Plastikspork,
I could once again do with your expert help in adding functionalities to my Engvar script, the test version of which is here. I am attempting to add functionality for Canadian English, consisting of two additional functions. I have separately tested the two modules, and find that they work as intended. I lost the sidebar buttons since going to the latest version. The current version lacks the menu buttons, but still can be called. Note that function insert_Engvar(v1) has not yet been updated for the Canadian code. Cheers, -- Ohconfucius ¡digame! 03:13, 23 December 2010 (UTC)
Haven't tried a full modification to the script yet, but to implement Australian English tagging, a good approach seems to be in updating function rmflinks() to add a regexTool line for Australia, which would call with a new "A" (Australian) parameter (SetEnglish("A")). The SetEnglish() function would add a case like this:
case 'A': Ohc_ENGVARprotectwords(); Ohc_ENGVARSimple(); zwords(); Ohc_ENGVARAedit_summary(); break;
Then add a case in function insert_Engvar(v) under the switch (v):
case 'A': // Replace British/British (Oxford)/Canadian with Australian txt = txt.replace( reB, ''); txt = txt.replace( reOx, ''); txt = txt.replace( reC, ''); // Prepend Australian template if not already tagged if( txt.search(reB) == -1 ) { txt = '\r\n' + txt; } break;
(You will likely need to add a "reA" for Aus Eng, and txt.replace that in the other cases)
Also note the call to a new edit summary function for Australia:
function Ohc_ENGVARAedit_summary(){ //Add a tag to the summary box setoptions(minor='true'); setreason('[[WP:ENGVAR|all Australian spelling]] by [[WP:EngvarB|script]]', 'append'); // doaction('diff'); }
That involves a few updates, but shouldn't be excessively complicated to expand to add an Australian update, which could initially just call the British spelling fixes until some Aus-specific spelling differences emerge.
Dl2000 (
talk) 20:57, 11 September 2011 (UTC)
Seems it's adding BrEng tags on top of AusEng's Dl2000 ( talk) 00:15, 29 October 2011 (UTC)
function insert_Engvar(v){ // Add a template to the article identifying English variant var box = document.editform.wpTextbox1; var txt = box.value; // Build a string with "Month YYYY" var dateobj=new Date(); var month=new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"); var datestr= month[dateobj.getMonth()] + ' ' + dateobj.getFullYear(); // Matches Use Australian English or EngvarA var reA = new RegExp('{{[_ ]*(?:[Uu]se[_ ]+Australian[_ ]+English|[Ee]ngvarA)[_ ]*(?:|\\|[ ]*date[ ]*=[^{}\\|]*)[ ]*}}', 'gi'); // Matches Use British English or EngvarB var reB = new RegExp('{{[_ ]*(?:[Uu]se[_ ]+British[_ ]+English|[Ee]ngvarB)[_ ]*(?:|\\|[ ]*date[ ]*=[^{}\\|]*)[ ]*}}', 'gi'); // Matches Use British (Oxford) English or EngvarOx var reOx = new RegExp('{{[_ ]*(?:[Uu]se[_ ]+British[_ ]+\\(Oxford\\)[_ ]+English|[Ee]ngvarOx)[_ ]*(?:|\\|[ ]*date[ ]*=[^{}\\|]*)[ ]*}}', 'gi'); // Matches Use Canadian English or EngvarC var reC = new RegExp('{{[_ ]*(?:[Uu]se[_ ]+Canadian[_ ]+English|[Ee]ngvarC)[_ ]*(?:|\\|[ ]*date[ ]*=[^{}\\|]*)[ ]*}}', 'gi'); switch (v) { case 'A': // Replace existing variants with Australian txt = txt.replace( reOx, '{{Use Australian English|date=' + datestr + '}}'); txt = txt.replace( reB, '{{Use Australian English|date=' + datestr + '}}'); txt = txt.replace( reC, '{{Use Australian English|date=' + datestr + '}}'); // Prepend Australian template if not already tagged if( txt.search(reA) == -1 ) { txt = '{{Use Australian English|date=' + datestr + '}}\r\n' + txt; } break; case 'Ox': // Replace with British (Oxford) txt = txt.replace( reA, '{{Use British (Oxford) English|date=' + datestr + '}}'); txt = txt.replace( reB, '{{Use British (Oxford) English|date=' + datestr + '}}'); txt = txt.replace( reC, '{{Use British (Oxford) English|date=' + datestr + '}}'); // Prepend British (Oxford) template if not already tagged if( txt.search(reOx) == -1 ) { txt = '{{Use British (Oxford) English|date=' + datestr + '}}\r\n' + txt; } break; case 'B': // Replace with British txt = txt.replace( reA, '{{Use British English|date=' + datestr + '}}'); txt = txt.replace( reOx, '{{Use British English|date=' + datestr + '}}'); txt = txt.replace( reC, '{{Use British English|date=' + datestr + '}}'); // Prepend British template if not already tagged if( txt.search(reB) == -1 ) { txt = '{{Use British English|date=' + datestr + '}}\r\n' + txt; } break; case 'C': // Replace with Canadian txt = txt.replace( reA, '{{Use British English|date=' + datestr + '}}'); txt = txt.replace( reB, '{{Use Canadian English|date=' + datestr + '}}'); txt = txt.replace( reOx, '{{Use Canadian English|date=' + datestr + '}}'); // Prepend Canadian template if not already tagged if( txt.search(reC) == -1 ) { txt = '{{Use Canadian English|date=' + datestr + '}}\r\n' + txt; } break; } box.value = txt; }
Dl2000 ( talk) 03:52, 29 October 2011 (UTC)
// type - the full word of the English variant type to be tagged to function Dl2_EngTag(type) { var txt=document.editform.wpTextbox1; // If there's an existing tag, prompt to override langvars = new Array("American", "Australian", "British (Oxford)", "British", "Canadian", "Indian", "Irish", "Pakistani" ); var curryyyymm = Dl2_CurrMY(); for (i = 0; i < langvars.length; i++) { var rxTemp = new RegExp('{{[_ ]*(?:[Uu]se[_ ]+' + langvars[i] + '[_ ]+English|[Ee]ngvarB)[_ ]*(?:|\\|[ ]*date[ ]*=[^{}\\|]*)[ ]*}}', 'gi'); if ((langvars[i] != type) && (txt.value.search(rxTemp) >= 0)) { if (confirm(langvars[i] + ' English tag already exists - override?')) { var newtag='{{Use ' + type + ' English|date='+curryyyymm+'}}'; txt.value=txt.value.replace(rxTemp, newtag); } else { return; } } } // add tag if not already present (or changed above) var rxpdd = new RegExp("{{Use " + type + " English", "gi"); var dflagfound = txt.value.search(rxpdd); if (dflagfound == -1) { txt.value='{{Use ' + type + ' English|date='+curryyyymm+'}}\r\n'+txt.value; } }
EngvarB (Oxford) is correcting annex to annexe. However international standards (ISO/IEC) [3] written in British Oxford English use the annex spelling, furthermore the Oxford dictionary [4] suggests both are correct. However annexe is listed as chiefly British, I suggest we always use annex per MOS:COMMONALITY. Lmatt ( talk) 20:20, 2 January 2012 (UTC)
I thought this was part of MOS. If it works as a subpage of Ohconfucius, why complain? It just seems "unusual." Student7 ( talk) 16:26, 11 January 2014 (UTC)
The policy mentions ise vs ize compromises. I would think that a list of "words to avoid" might be in order. Americans/Canadians should be careful about using the word "napkin" for example, meaning an article of hygiene in British, but they should use "serviette" (or whatever) instead.
British should really avoid using words with an unnecessary "st" at the end, like "amongst," "whilst," for example. These sound "funny/humorous" to an American (and probably Canadian) ear. It's hard to take the article seriously after encountering these words. "Among" and "while" are equally valid and don't put off an American audience. When I've tried to get editors to change in the past, they became quite annoyed! Even though this would improve readability. I'm sure there are many other words on all sides. Student7 ( talk) 16:26, 11 January 2014 (UTC)
My understanding is that if you run the tool in its default mode without providing specific guidance, it will apply the non-Oxford ("-ise") spelling convention. Is that correct? — BarrelProof ( talk) 18:40, 3 May 2014 (UTC)
The script isn't picking up the word 'tire'. A minor thing, but I thought I'd make mention. RGloucester — ☎ 16:44, 8 May 2014 (UTC)
Seems your script is making incorrect changes - Mlpearc ( open channel) 17:21, 4 November 2016 (UTC)
Is there a way to avoid changes like these "timeline" changes here ? - Mlpearc ( open channel) 17:41, 19 March 2017 (UTC)
I've created templates and categories for Commonwealth English, to address the ENGVAR need to account for "EngvarB" stuff that is not specifically British, Australian, or another major dialect for which dialect-specific style guides and a codified, formal written register exist. This is to both forestall creation of junk like "Use Trinidadian English" or "Use Zimbabwean English" templates, and to provide a merge-and-redirect target for various existing templates we do not actually need.
So, please add Commonwealth English to the list your scripting and documentation account for. — SMcCandlish ☏ ¢ 😼 19:11, 22 June 2018 (UTC)
"Overrule" should not be changed to "Over-rule" Hawkeye7 (discuss) 14:01, 30 July 2019 (UTC)
Is improvization proper spelling in any form of English? See this edit. A cursory look online did not show it as an American v British English variation. Kees08 (Talk) 14:38, 25 December 2019 (UTC)
Thanks for this script! I've found it very useful. I noticed however the following in the documentation, added here [5]:
according to the EU style guide for publications, British English is the official code of English to be employed for the European Union. This appears to imply that the relevant code for en.WP articles about the EU and its member states ought to be in British English.
This is a reasonable opinion, but doesn't reflect the Manual of Style and long-standing consensus at Wikipedia talk:Manual of Style. British English should be used for institutions of the EU, but not necessarily for articles about member states etc. I'm concerned that people installing this script might take it as an instruction that it should be used in this way, and be misled to believe that this is the accepted Wikipedia custom. Consensus has been consistently to the contrary: MOS:TIES applies only to majority Engish-speaking nations such as Ireland. Maybe removing those two sentences would be a good idea. Thanks for considering this... -- IamNotU ( talk) 14:21, 22 August 2020 (UTC)
The action of prepending an instance of {{ EngvarB}}, when there are already certain other leading items, conflicts with MOS:ORDER (as here where it demoted the {{ short description}}). I fixed that instance. David Brooks ( talk) 18:44, 2 November 2022 (UTC)
Thank you for this marvelous tool! I was reading an article and saw "baulk" and thought it was a typo, but, after running it down, it appears that Brits write "baulk", while we Americans write "balk". Maybe this could be added to the script? Thanks, again! - Bryan Rutherford ( talk) 12:34, 14 March 2023 (UTC)
See
this edit, in which I clicked the AMERICAN link and made no manual changes. For some reason, your script removed |sp=us
from the {{
Convert}} templates, which resulted in "kilometers" then rendering as "kilometres". Surely this is a bug, right? —
void
xor 17:46, 22 March 2023 (UTC)
See this edit, in which I clicked the AMERICAN link and made no manual changes. Your script is misspelling " derailment" as " deraillment", and ditto in the plural form. It's still spelled "derailment" in American English.
Is anybody still watching this talk page? The bug reports are piling up. — void xor 18:30, 23 May 2023 (UTC)
Is this script still using the deleted {{EngvarU}} listed in the last paragraph of the documentation in the Scope section as one of the parameters, or does the documentation need to be updated? Huggums537 ( talk) 03:44, 13 June 2023 (UTC)
Why does this script change {{ Use British English}} to {{ EngvarB}}, as seen here? XAM2175 (T) 21:52, 18 June 2023 (UTC)
When using "analyses" as the plural of "analysis," your script changes it to "analyzes" when selecting American English. Rusty4321 talk contribs 15:52, 7 January 2024 (UTC)
Good day Ohconfucius, I was wondering, when using the script for EngvarA, is there a way for the script to not change anything inside [[Foobar]] the brackets, most times it's a name or title with a "S" it obviously changes it to "Z". - FlightTime ( open channel) 20:24, 7 January 2024 (UTC)