Jump to content

User talk:Ohconfucius

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Queen's Pier Edinburgh Place Ferry Pier Ao Man-long Shaoguan incident July 2009 Ürümqi riots Question Time British National Party controversy Akmal Shaikh 2010 Nobel Peace Prize Danny Williams (politician) Amina Bokhary controversy Linn Isobarik Quad Electrostatic Loudspeaker Rega Planar 3 JBL Paragon Invader (artist) Olympus scandal Demerara rebellion of 1823 Yamaha NS-10 LS3/5A Naim NAIT Knife attack on Kevin Lau Roksan Xerxes Kacey Wong Causeway Bay Books disappearances Gui Minhai

DEFENDER OF HONG KONG
This user is a native of Hong Kong.
This user is a citizen of the United Kingdom.
This user lives in France.
This user has been on Wikipedia for 18 years, 10 months and 11 days.
Another styletip ...


Dashes in article titles

When naming an article, don't use a hyphen as a substitute for an en dash that properly belongs in the title, for example in Eye–hand span. To aid searching and linking, provide a redirect from the corresponding article title with hyphens in place of en dashes, as in Eye-hand span.


Add this to your user page by typing in {{Styletips}}

Date script not working

[edit]

This is the one. What happened? Kailash29792 (talk) 10:34, 10 June 2022 (UTC)[reply]

Brian Kan

[edit]

Thanks for the intervention. 124.217.188.240 (talk) 12:59, 28 June 2022 (UTC)[reply]

Regarding changes on article Massin Kevin Labidi

[edit]

Hi Ohconfucius, thank you for your contribution to this article. Can you please let me know if there is an issue of having Netherlands flag on this article? Dineee90 (talk) 22:10, 17 July 2022 (UTC)[reply]

dashes.js is suddenly broken

[edit]

Something you changed in the last couple days may have broken the dashes.js script. I minus sign no longer appears at the page top... just "auto ed." There talk about it at User talk:Ohconfucius/dashes.js. Thanks. Fyunck(click) (talk) 07:15, 19 August 2022 (UTC)[reply]

I'm seeing the same thing... use this amazing script all the time! Hope it can be fixed. —Joeyconnick (talk) 22:00, 19 August 2022 (UTC)[reply]
Now fixed. Many thanks to User:William Avery for the workaround proposed. -- Ohc revolution of our times 11:26, 20 August 2022 (UTC)[reply]
Still broken for me using Chrome. Microsoft Edge is also broken. Used shift-reload to reset the cache and it didn't work. No "-" at the page top, only "an auto ed" that brings up "AutoEd/core.js: autoEdFunctions is undefined". Fyunck(click) (talk) 20:29, 20 August 2022 (UTC)[reply]
The fix I applied was to User:Ohconfucius/dashes.js and not to the original script, which you have loaded. You need to ensure that my updated version is being imported in your common file. -- Ohc revolution of our times 22:10, 20 August 2022 (UTC)[reply]

Wikipedia screenshot licensing

[edit]

Hello! I see that you uploaded File:Update screenshot for activating MOSNUM dates.png to Wikipedia. However, the GFDL has been phased out for new uploads on enwiki. To clarify the license of the image, would you be able to add {{Wikipedia-screenshot}} to the file description page? Thanks! HouseBlastertalk 21:20, 26 September 2022 (UTC)[reply]

MOSNUM Script

[edit]

Hi. Thanks for the script! Are changes like [[1979 Canadian Open|1979]] to 1979, and [[1974 Canadian Open|1974]] to 1974, from Special:Diff/1112468928 an intended effect of the script? There are loads of these types of link in snooker articles. Regards, BennyOnTheLoose (talk) 08:40, 28 September 2022 (UTC)[reply]

Script exception

[edit]

Hi. Could you add an exception to the dash script so it wont break the {{Israel populations|Tel Aviv - Yafo}} template? Thanks. –Daveout(talk) 23:53, 28 September 2022 (UTC)[reply]

ArbCom 2022 Elections voter message

[edit]

Hello! Voting in the 2022 Arbitration Committee elections is now open until 23:59 (UTC) on Monday, 12 December 2022. All eligible users are allowed to vote. Users with alternate accounts may only vote once.

The Arbitration Committee is the panel of editors responsible for conducting the Wikipedia arbitration process. It has the authority to impose binding solutions to disputes between editors, primarily for serious conduct disputes the community has been unable to resolve. This includes the authority to impose site bans, topic bans, editing restrictions, and other measures needed to maintain our editing environment. The arbitration policy describes the Committee's roles and responsibilities in greater detail.

If you wish to participate in the 2022 election, please review the candidates and submit your choices on the voting page. If you no longer wish to receive these messages, you may add {{NoACEMM}} to your user talk page. MediaWiki message delivery (talk) 00:23, 29 November 2022 (UTC)[reply]

monomyn issue in script

[edit]

Hi Ohconfucius, it doesn't fit grammatically in a lot of cases: [1] Tony (talk) 04:59, 3 December 2022 (UTC)[reply]

Notice

The file File:Snoopy mural.jpg has been proposed for deletion because of the following concern:

No Freedom of panorama in France. Underlying artwork would be still copyrighted

While all constructive contributions to Wikipedia are appreciated, pages may be deleted for any of several reasons.

You may prevent the proposed deletion by removing the {{proposed deletion/dated files}} notice, but please explain why in your edit summary or on the file's talk page.

Please consider addressing the issues raised. Removing {{proposed deletion/dated files}} will stop the proposed deletion process, but other deletion processes exist. In particular, the speedy deletion process can result in deletion without discussion, and files for discussion allows discussion to reach consensus for deletion. Salavat (talk) 07:32, 3 December 2022 (UTC)[reply]

File:Snoopy mural.jpg listed for discussion

[edit]

A file that you uploaded or altered, File:Snoopy mural.jpg, has been listed at Wikipedia:Files for discussion. Please see the discussion to see why it has been listed (you may have to search for the title of the image to find its entry). Feel free to add your opinion on the matter below the nomination. Thank you. Salavat (talk) 16:23, 3 December 2022 (UTC)[reply]

Happy New Year, Ohconfucius!

[edit]

   Send New Year cheer by adding {{subst:Happy New Year fireworks}} to user talk pages.

Moops T 20:28, 1 January 2023 (UTC)[reply]

Where should I ask for help on using MOSNUM_dates script?

[edit]

Hello,

I've come across the use of the script User:Ohconfucius/script/MOSNUM_dates

I'd appreciate a pointer as to where I can ask for help in using the script bearing in mind that I've no idea how to use scripts to edit Wikipedia - I have had a look at the MOSNUM_dates page and just run into a brick wall (there are too many terms used of which I have negligible or less understanding).

In particular, I'd like to learn how to use the script to force the use of yyyy-mm-dd in access and archive dates in article citations (in line with Wikipedia:Manual of Style/Dates and numbers#Consistency).

(I did read that "Users are invited to manually add |cs1-dates= parameter to {{Use dmy dates}} or {{Use mdy dates}} causing applicable dates to be rendered in 2024-11-10 YMD format" but I can't work out what that means.)

Thank you.

Michael F 1967 (talk) 02:11, 27 January 2023 (UTC)[reply]

Issue with dashes script

[edit]

Hi Ohconfucius! This edit to Vicenza (made by Kj cheetham) broke the comment in the reference, so I have reverted it. Could you please tweak the script to avoid this in the future? Thanks! GoingBatty (talk) 19:13, 28 January 2023 (UTC)[reply]

Good spot, I hadn't noticed that when I skimmed over the proposed changes! -Kj cheetham (talk) 19:39, 28 January 2023 (UTC)[reply]

Orphaned non-free image File:Zhang hongbao.gif

[edit]
⚠

Thanks for uploading File:Zhang hongbao.gif. The image description page currently specifies that the image is non-free and may only be used on Wikipedia under a claim of fair use. However, the image is currently not used in any articles on Wikipedia. If the image was previously in an article, please go to the article and see why it was removed. You may add it back if you think that that will be useful. However, please note that images for which a replacement could be created are not acceptable for use on Wikipedia (see our policy for non-free media).

Note that any non-free images not used in any articles will be deleted after seven days, as described in section F5 of the criteria for speedy deletion. Thank you. --B-bot (talk) 02:34, 22 March 2023 (UTC)[reply]

American English script false positive

[edit]

Hi! It's been a while. Are you still maintaining the ENGVAR conversion scripts? I just got a false positive with the name Schelling when converting to American English. Test it on Schelling's model of segregation. Cheers, MClay1 (talk) 13:08, 5 April 2023 (UTC)[reply]

CS1 error on Geoffrey Hinton

[edit]

Hello, I'm Qwerfjkl (bot). I have automatically detected that this edit performed by you, on the page Geoffrey Hinton, may have introduced referencing errors. They are as follows:

  • A "bare URL and missing title" error. References show this error when they do not have a title. Please edit the article to add the appropriate title parameter to the reference. (Fix | Ask for help)

Please check this page and fix the errors highlighted. If you think this is a false positive, you can report it to my operator. Thanks, Qwerfjkl (bot) (talk) 11:08, 8 May 2023 (UTC)[reply]

Updates to an info box on the PCCW page

[edit]

Hi Ohconfucius. I disclosed a conflict of interest and proposed an infobox for the Lenovo PCCW Solutions sub-section of the PCCW page. You can see my requests here. I saw that you were one of the largest contributors to the page and was hoping you might be willing to take a look at my request. Let me know. Best regards. StuartGill (talk) 17:10, 11 May 2023 (UTC)[reply]

Flag script

[edit]

Hi! I've been trying to get rid of the flag overload in this page, and thought the FLAG –> COUNTRY option would do that for me. But it doesn't – am I doing it wrong, or is there a glitch with the script? Or is the page perhaps too large? Regards, Justlettersandnumbers (talk) 09:33, 30 July 2023 (UTC)[reply]

@Justlettersandnumbers: I had the same problem. See User talk:Ohconfucius/script#Is the flagcruft script working?. – Pbrks (t • c) 21:06, 11 October 2023 (UTC)[reply]

Sentence spacing

[edit]

Hi -- would you be willing to disable the part of your general formatting script that turns two spaces between sentences into a single space? I've had to revert this several times on various articles when other editors have edited articles I'm the primary editor for, and then re-add the other useful parts of the edit. It's a cosmetic edit that has no effect on the displayed article, and it's something that is always intentional on the part of the editor who wrote the article -- who is usually the person who's going to go on and do further work on it. I know this has come up before, and I don't know if you have a reason for not removing this functionality, or just haven't got around to it, but I would really appreciate it if you could cut this. Thanks. Mike Christie (talk - contribs - library) 02:12, 14 August 2023 (UTC)[reply]

Just reverted another of these: this edit appears to have been done with your script. Would you please remove this functionality? Mike Christie (talk - contribs - library) 16:47, 17 August 2023 (UTC)[reply]
Just saw that you fixed this. Thank you! I really appreciate it and I know there are others who feel the same way. Mike Christie (talk - contribs - library) 21:00, 22 August 2023 (UTC)[reply]
You're very welcome. Happy editing! Regards, -- Ohc revolution of our times 19:13, 24 August 2023 (UTC)[reply]

Hello, I'm Qwerfjkl (bot). I have automatically detected that this edit performed by you, on the page 2023 Singaporean presidential election, may have introduced referencing errors. They are as follows:

  • A "bare URL and missing title" error. References show this error when they do not have a title. Please edit the article to add the appropriate title parameter to the reference. (Fix | Ask for help)

Please check this page and fix the errors highlighted. If you think this is a false positive, you can report it to my operator. Thanks, Qwerfjkl (bot) (talk) 15:50, 9 September 2023 (UTC)[reply]

MOSNUM and MOS:ORDER

[edit]

(continued from User Talk:GiantSnowman) I'll see if I can suggest something but as I said my plate is full for the next couple of weeks. If we just pay attention to Short Description I think that would handle the majority of the cases; templates in the {{For}} class may be harder. David Brooks (talk) 14:06, 15 September 2023 (UTC)[reply]

I just remembered this offer, and it was actually ridiculously easy to fix. The necessary tweak was already coded, on line 845 in Step 3. So at User:DavidBrooks/script/MOSNUM dates.js, I inserted a new line 835 (removing the semicolon on line 834). @GiantSnowman:, do you want to try loading my version instead to see if it works for you? David Brooks (talk) 05:28, 22 November 2023 (UTC)[reply]
First, I apologize for the implied criticism in "ridiculously easy". I feel like I spent most of my career poking at the dusty corners of other peoples' code. Second, I'll dig around the script API to see if I can place the Use... templates in the right place according to MOS:ORDER, but don't hold your breath. David Brooks (talk) 15:37, 22 November 2023 (UTC)[reply]
How does one add the code again please? I'm not that tech savvy... GiantSnowman 18:23, 22 November 2023 (UTC)[reply]
@GiantSnowman: Edit User:GiantSnowman/common.js, and on line 6 replace User:Ohconfucius with User:DavidBrooks. Follow the "bypass your browser's cache" instructions. If it looks good and Ohconfucius adopts the tweak, undo that edit because I'll probably be playing with my copy. David Brooks (talk) 23:44, 22 November 2023 (UTC)[reply]
Oh, and I discovered while implementing this quick fix: the code to put the SD first is executed when the script finds a "Use..." template already in place. In other words, even with the official version, clicking the "DATES to..." link twice will do the trick. And a Happy Thanksgiving to those who celebrate this and are checking WP today! David Brooks (talk) 16:37, 23 November 2023 (UTC)[reply]
Thanks, I have done that - as a semi-Canadian I celebrated a few weeks ago... GiantSnowman 15:21, 24 November 2023 (UTC)[reply]
The new script does not work in a situation where {{good article}} is present, see this which I have now manually corrected. GiantSnowman 15:28, 24 November 2023 (UTC)[reply]
It was only intended as a quick fix for when the Use... template is prepended to a Short Description that was previously on the first line, which I think was the source of most of the complaints. In the cited case, the SD was previously on line 2 (the fix would have exhibited the same behavior with any hatnote or other text that appeared before the SD). I'm thinking through a more complex fix that would place the Use... template in the "right" order, but my JS coding has corroded so it'll take time. David Brooks (talk) 16:27, 24 November 2023 (UTC)[reply]

Heads-up: in a few hours I'll upload an update to my version (I didn't want to spring it without warning). It will try to put any new Use... template towards the end of the head templates, where it belongs; its analysis is pragmatic without semantic analysis (that's a job for AWB) but seems mostly right. As a bonus, it will move Short Description to the top if possible. There is a potential edge case where it might break syntax, but I've never seen it in practice. There is a possibility of a full-line comment put in the wrong place, which I could probably fix. Otherwise, once I upload it, Ohconfucius and GiantSnowman, and anyone else who's listening, please let me know of any problems. David Brooks (talk) 15:43, 28 November 2023 (UTC)[reply]

Will do - thanks for all your work on this. GiantSnowman 18:56, 28 November 2023 (UTC)[reply]
Yes, many thanks indeed. I've now copied it over to my production and test scripts. Simple though the change may have been, it would have taken me a month of Sundays . Regards,
Sorry to mislead; when I said "in a few hours" I didn't expect visitors who have just left :-). I've uploaded the version I described just now; it is significantly different from the version you have. @GiantSnowman: can you give it a try? David Brooks (talk) 00:35, 29 November 2023 (UTC)[reply]
Because of focusing on Use..., I only just noticed that script-assisted EngVarB additions also put it on the first line. Not sure when I'll have time to look at that, but the "proper" fix would likely be to factor out the new code and add it to your utils. David Brooks (talk) 16:57, 29 November 2023 (UTC)[reply]
Do I need additional code in my common.js? GiantSnowman 17:41, 29 November 2023 (UTC)[reply]
@GiantSnowman: No, but it won't do any harm to purge it as before. David Brooks (talk) 17:54, 29 November 2023 (UTC)[reply]
I just noticed/realized that the existing code will be thrown off by a {{Multiple Issues}} box near the top. No great harm, but the Use... template will appear on the line before that box, probably violating MOS:ORDER. I'll look into a safe fix, although I recognize this is going far beyond the original charge to only worry about Short Description. David Brooks (talk) 01:44, 1 December 2023 (UTC)[reply]
Error located at here - where it doesn't add the tag. GiantSnowman 19:35, 1 December 2023 (UTC)[reply]
@GiantSnowman: Thanks. I had made a last-minute change that resulted in it not working when there were no template calls before the text body started; my bad. Fixed (purge again). David Brooks (talk) 21:17, 1 December 2023 (UTC)[reply]
Grand, thanks. GiantSnowman 21:53, 1 December 2023 (UTC)[reply]

I uploaded a new version with logic to handle a Multiple Issues block. I can think of three unusual cases where it will still put the Use... template in the wrong place, and plan to fix one that I came across in testing random articles. @GiantSnowman: Enjoy. David Brooks (talk) 19:09, 9 December 2023 (UTC)[reply]

Lovely, thanks. GiantSnowman 16:19, 10 December 2023 (UTC)[reply]
One more change uploaded. It addresses a rare piece of syntax, but I hope it didn't cause regressions. As usual, purge the cache for User:DavidBrooks/script/MOSNUM dates.js.
Ohconfucius, I could do the same with EngvarB if you want. But it would make sense to not duplicate the format inclusion logic; I could put it in MOSNUM_utils.js, but that doesn't seem logical. Or, as EngvarB doesn't seem to be used much, just use the original simple one-line fix for putting Short Desc on top? David Brooks (talk) 22:00, 13 December 2023 (UTC)[reply]
The updated script has had enough testing now (I made a last-minute tweak to cover a possible case I have never seen, nor am likely to, but I tested it anyway). Would you be so kind as to copy User:DavidBrooks/script/MOSNUM dates.js and then inform GiantSnowman, who is still actively using mine. Thanks. David Brooks (talk) 17:44, 2 January 2024 (UTC)[reply]
Just let me know what I need to do and when! GiantSnowman 18:24, 2 January 2024 (UTC)[reply]

New message from Aaron Liu

[edit]
Hello, Ohconfucius. You have new messages at User talk:Ohconfucius/dashes.js.
Message added 23:34, 18 September 2023 (UTC). You can remove this notice at any time by removing the {{Talkback}} or {{Tb}} template.

Aaron Liu (talk) 23:34, 18 September 2023 (UTC)[reply]

Please add Use British English to articles instead of EngvarB

[edit]

EngvarB is only supposed to be used when an article's English variant cannot be identified but clearly does not use American or Canadian English. It's in the documentation. IPs are people too 🇺🇸🦅 20:16, 10 October 2023 (UTC)[reply]

Nomination of Elizabeth, Lady Thurles for deletion

[edit]

Dear Ohconfucius, you contributed to the article Elizabeth, Lady Thurles. I wondered whether the subject is notable and opened an discussion in that respect.

Nomination of Page name for deletion

[edit]
A discussion is taking place as to whether the article Page name is suitable for inclusion in Wikipedia according to Wikipedia's policies and guidelines or whether it should be deleted.

The article will be discussed at Wikipedia:Articles for deletion/Page name until a consensus is reached, and anyone, including you, is welcome to contribute to the discussion. The nomination will explain the policies and guidelines which are of concern. The discussion focuses on high-quality evidence and our policies and guidelines.

Users may edit the article during the discussion, including to improve the article to address concerns raised in the discussion. However, do not remove the article-for-deletion notice from the top of the article until the discussion has finished.

Johannes Schade (talk) 09:58, 18 October 2023 (UTC)[reply]

[edit]

Hi. Facebook, Google, Twitter, and YouTube are not OVERLINKs. Please remove them from your script. Thank you. InfiniteNexus (talk) 17:29, 19 November 2023 (UTC)[reply]

  • User:InfiniteNexus: I beg to disagree. It would depend on the article, for sure. But when navigating, one often sees at least one of these links appearing on a substantial number of articles, particularly in the references section. That indicates serious overlinking to me. -- Ohc revolution of our times 21:50, 21 November 2023 (UTC)[reply]
    Things that have been introduced in recent history are rarely considered overlinks unless they are so ubiquitous that even those in rural parts of the world would likely have heard of it, for example the Internet. But if you disagree, can you at least give users the ability to "opt out" of certain words? InfiniteNexus (talk) 01:18, 24 November 2023 (UTC)[reply]
    Also came here to raise concerns about YouTube, Facebook, etc being considered OVERLINK. May I ask what you mean by in the references section? ~ F4U (talkthey/it) 18:14, 5 December 2023 (UTC)[reply]
    I once again ask that you give users the ability to have a list of terms to "opt-out" of, if you are unwilling to remove them from the script outright. I have noticed more and more links that do not really qualify as overlinks. InfiniteNexus (talk) 01:52, 8 December 2023 (UTC)[reply]
  • I don't agree that they're reasonable links. Anyone in the world using the English WP is going to know what they are. Tony (talk) 08:56, 8 December 2023 (UTC)[reply]
    But they aren't universal concepts. This is essentially recentism. But since there is disagreement, I have already proposed a compromise to allow users to opt-out of certain phrases that they do not consider OVERLINKs. Does that sound reasonable to you? InfiniteNexus (talk) 22:51, 8 December 2023 (UTC)[reply]
    Well, no. First prove that such links attract more than a nano-scopic number of hits. No one wants to read a sea of blue in WP articles. Our job as editors is to ration linking to the most likely hits. Tony (talk) 00:35, 9 December 2023 (UTC)[reply]
    "Nano-scopic"?? These articles are consistently at the top of Wikipedia:WikiProject Technology/Popular pages. To reiterate, things that have been introduced in recent history rarely qualify as overlinks. An overlink is something that is understood near-universally, even in the farthest corners of the world. Things like sky, ocean, morning, humor, purple, knife, friendship, circle. Proper nouns that are overlinks are typically countries, cities, languages, and (some) celestial bodies. Never companies or people (, and definitely not websites. InfiniteNexus (talk) 17:50, 9 December 2023 (UTC)[reply]
    Actually, there's even a list of proper nouns considered overlinks at WP:OL: countries, geographic features, locations, languages, nationalities, ethnicities or descent, and religions. Notice how it doesn't include websites, no matter how high they are ranked on Alexa. InfiniteNexus (talk) 17:51, 9 December 2023 (UTC)[reply]
    Thanks for reminding me that website is potentially überlinked. Of course there will always be a few articles where links you are seeking to ringfence are "useful", but most people would have heard of the GAFAM enough to warrant not linking in 53k articles. I don't think an opt-out would be appropriate. Many would be links to reference sections,, such as Adrian Lamo, Billy Bob Thornton, Columba or Duke Nukem 3D. Furthermore, I would challenge anyone to justify how such a link is germane in articles such as Dana Rohrabacher (and I'm only on the first page of links to Facebook).

    The same would apply to links to say United States of America, Canada or India, which may be "interesting" . The count of 602 here would seem a lot more reasonable; I dare say most are likely to be germane in this last case. -- Ohc revolution of our times 21:14, 10 December 2023 (UTC)[reply]
  • Yah, and don't forget, Nexus, that the one in 10 million readers of an article who do want to check out the article on Facebook, etc, can simply spend five seconds typing it into the search box. We don't cater for uber-lazy readers. Tony (talk) 04:04, 11 December 2023 (UTC)[reply]

ArbCom 2023 Elections voter message

[edit]

Hello! Voting in the 2023 Arbitration Committee elections is now open until 23:59 (UTC) on Monday, 11 December 2023. All eligible users are allowed to vote. Users with alternate accounts may only vote once.

The Arbitration Committee is the panel of editors responsible for conducting the Wikipedia arbitration process. It has the authority to impose binding solutions to disputes between editors, primarily for serious conduct disputes the community has been unable to resolve. This includes the authority to impose site bans, topic bans, editing restrictions, and other measures needed to maintain our editing environment. The arbitration policy describes the Committee's roles and responsibilities in greater detail.

If you wish to participate in the 2023 election, please review the candidates and submit your choices on the voting page. If you no longer wish to receive these messages, you may add {{NoACEMM}} to your user talk page. MediaWiki message delivery (talk) 00:24, 28 November 2023 (UTC)[reply]

New user of scripts

[edit]

Hi Ohconfucius, User:MaxBokstf has left me a note saying he'd like to use] the scripts. Can you help? Tony (talk) 01:03, 9 December 2023 (UTC)[reply]

Precious anniversary

[edit]
Precious
Nine years!

--Gerda Arendt (talk) 09:24, 18 December 2023 (UTC)[reply]

Orphaned non-free image File:HMS Tamar Emblem.jpg

[edit]
⚠

Thanks for uploading File:HMS Tamar Emblem.jpg. The image description page currently specifies that the image is non-free and may only be used on Wikipedia under a claim of fair use. However, the image is currently not used in any articles on Wikipedia. If the image was previously in an article, please go to the article and see why it was removed. You may add it back if you think that that will be useful. However, please note that images for which a replacement could be created are not acceptable for use on Wikipedia (see our policy for non-free media).

Note that any non-free images not used in any articles will be deleted after seven days, as described in section F5 of the criteria for speedy deletion. Thank you. --B-bot (talk) 18:20, 29 December 2023 (UTC)[reply]

Fixed scripts

[edit]

Hi: I don't know if you saw above, but I am comfortable with User:DavidBrooks/script/MOSNUM dates.js if you want to copy it. Some users, especially GiantSnowman, have been checking it out.

I also did a simpler change to User:DavidBrooks/script/EngvarB.js, just to keep Short Description on the top using the same technique as my first version of the MOSNUM script. It seems fine. David Brooks (talk) 22:08, 12 January 2024 (UTC)[reply]

Yep, the new script works fine, no issues that I can recall. GiantSnowman 10:35, 13 January 2024 (UTC)[reply]

Sources updates

[edit]

Hi, I have another (smaller) list of maintenance requests:

User:Ohconfucius/script/Sources/Request for Change (RFC)

Thanks as always,
Eric Dawnseeker2000 01:44, 12 February 2024 (UTC)[reply]

Disputed non-free use rationale for File:HK 60 anniv stamps.png

[edit]

Thank you for uploading File:HK 60 anniv stamps.png. However, there is a concern that the rationale provided for using this file on Wikipedia may not meet the criteria required by Wikipedia:Non-free content. This can be corrected by going to the file description page and adding or clarifying the reason why the file qualifies under this policy. Adding and completing one of the templates available from Wikipedia:Non-free use rationale guideline is an easy way to ensure that your file is in compliance with Wikipedia policy. Please be aware that a non-free use rationale is not the same as an image copyright tag; descriptions for files used under the non-free content policy require both a copyright tag and a non-free use rationale.

If it is determined that the file does not qualify under the non-free content policy, it might be deleted by an administrator seven days after the file was tagged in accordance with section F7 of the criteria for speedy deletion. If you have any questions, please ask them at the media copyright questions page. Thank you. Vanjagenije (talk) 23:08, 14 March 2024 (UTC)[reply]

"Pull request"

[edit]

I've noticed that the dashes.js script does not work when syntax highlighting is enabled. This appears to be because a single textarea element is not used in the editor when syntax highlighting is enabled. The script assumes that there is a single textarea (wpTextbox1).

What I did to fix this is to disable syntax highlighting before editing the source, and then re-enable syntax highlighting afterwards. (I haven't tried it with dashes.js, but it does work on a test script I made. Also I'm not sure mw-editbutton-code-mirror is the correct id to use, but you get the point).

const highlightButton = $("#mw-editbutton-codemirror").find("a");
const highlight = highlightButton.attr('aria-pressed');
if (highlight === "true") {
	// Disable syntax highlighting
	highlightButton[0].click();
}

...

if (highlight=== "true") {
	// Re-enable syntax highlighting
	highlightButton[0].click();
}

Panamitsu (talk) 01:41, 7 April 2024 (UTC)[reply]

Fix Sources error message

[edit]

Hi Ohconfucius, On any article when I try and use the Fix Sources script it now brings up the following error message:
Thanks, Kind Regards, –Davey2010Talk 15:58, 8 May 2024 (UTC)[reply]

Thanks, I have fixed the bugs. Regards,  Ohc revolution of our times 08:46, 13 May 2024 (UTC)[reply]

Scripts down

[edit]

Hi, I've contacted the two users who've been editing in my vector space over the past week: User_talk:Amorymeltzer#My_scripts_don't_work_any_more and User_talk:Ladsgroup#My_scripts_don't_work_any_more. Tony (talk) 08:01, 26 May 2024 (UTC)[reply]

Issues with the Engvar script being reported elsewhere

[edit]

Hello, @Ohconfucius:! I see you've been active again and fixing the bugs reported here. Would you be able to look at the bugs reported here as well? Some are pretty old. Thank you for sharing and maintaining these scripts; I've found them immensely useful! — voidxor 00:46, 31 May 2024 (UTC)[reply]

User:Ohconfucius/dashes.js spaces after pipes in CS1 templates

[edit]

Hi Ohconfucius, I recently notes some edits using your script that have been removing spaces before pipes in CS1 templates. For example, this diff made (among others) the following change:

cite journal |last1=Clement X |first1=Pope |title=Bull
+
cite journal|last1=Clement X|first1=Pope|title=Bull

Having spaces before pipes is the recommendation from {{Cite web}}, and I find that by removing the spaces, we often end up with a long set of parameters with no spaces that causes the line to bunch up in the source editor (especially if a url parameter is near other one-word parameters). Could this be revisited/updated? I don't necessarily consider this a "bug" but happy to submit it to bug reports if you'd prefer. Thanks, Consigned (talk) 07:52, 17 June 2024 (UTC)[reply]

Regarding EngvarB.js

[edit]

Hi, it is regarding some issues with the EngvarB.js script. What I've noticed is that amongst (xyx) gets rendered as among(xyx) and whilst (xyx) as while(xyx), that is no spaces. And judgement becomes ejudgs. Please have a look. Thanks. - Fylindfotberserk (talk) 13:02, 19 June 2024 (UTC)[reply]

You're absolutely right, thanks for picking those up. I've fixed the script.  Ohc revolution of our times 17:41, 20 June 2024 (UTC)[reply]
Most welcome . - Fylindfotberserk (talk) 12:37, 24 June 2024 (UTC)[reply]

Hello!

[edit]

Hello @Ohconfucius, I would like to have your opinion at Chairperson#Requested move 16 June 2024. PadFoot2008 04:11, 25 June 2024 (UTC)[reply]

[edit]

Hello, the subject line basically says it all here; these links are commonly generated by the Visual Editor. For example, in this edit, the script correctly deleted a standard link to "journalist" but in my subsequent edit, I had to delete one manually that was in the form [[Journalist|journalists]]. Graham87 (talk) 04:03, 11 July 2024 (UTC)[reply]

Deletion discussion about Dave Smalley (bassist)

[edit]

Hello Ohconfucius, and thank you for your contributions to Wikipedia.

While your contributions are appreciated, I wanted to let you know that I've started a discussion about whether an article that you created, Dave Smalley (bassist), should be deleted, as I am not sure that it is suitable for inclusion in Wikipedia in its current form. Your comments are welcome at Wikipedia:Articles for deletion/Dave Smalley (bassist).

Deletion discussions usually run for seven days and are not votes. Our guide about effectively contributing to such discussions is worth a read. The most common issue in these discussions is notability, but it's not the only aspect that may be discussed; read the nomination and any other comments carefully before you contribute to the discussion. Last but not least, you are highly encouraged to continue improving the article; just be sure not to remove the tag about the deletion nomination from the top.

If you have any questions, please leave a comment here and prepend it with {{Re|Wasianpower}}. And don't forget to sign your reply with ~~~~ . Thanks!

(Message delivered via the Page Curation tool, on behalf of the reviewer.)

🌸wasianpower🌸 (talkcontribs) 19:10, 30 August 2024 (UTC)[reply]

A barnstar for you!

[edit]
The Citation Barnstar
Your script (sources.js) is too powerful, it improves citations a lot Electrou (formerly Susbush) (talk) 13:03, 9 October 2024 (UTC)[reply]
Much appreciated!  Ohc revolution of our times 22:50, 3 November 2024 (UTC)[reply]