Jump to content

User talk:BrandonXLF/Archives/2023

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


The Signpost: 1 January 2023

@BrandonXLF: edit replaced deadlink template with cite web template. 404 url. code copy pasted from Adam Hurrey. please look into issue. <_> jindam, vani (talk) 14:35, 5 January 2023 (UTC)

@Jindam vani: I cleaned up that article after seeing your note here. —¿philoserf? (talk) 01:15, 9 January 2023 (UTC)

i have been warned for using referenceexpander, violating WP:CITEVAR

@BrandonXLF: User:Alansohn warned me twice: warning 1 and warn2 for edit1 and edit2. User:StarryGrandma on helpdesk confirmed my violatons. just to 100% sure, i again run on Absecon, New Jersey, see see diff. if possible look into violation of WP:DATEVAR also. <_> jindam, vani (talk) 00:17, 7 January 2023 (UTC)

Thank you for the heads up. —¿philoserf? (talk) 21:56, 8 January 2023 (UTC)

ReferenceExpander errors

Hi there! Philoserf ran ReferenceExpanded on Iraq War troop surge of 2007 in this edit, which caused several errors, including adding it to Category:CS1 errors: dates. Could the two of you please fix the remaining issues in the article, and fix the bugs in the script? Thanks! GoingBatty (talk) 20:48, 8 January 2023 (UTC)

Thanks. I will take a look. I hope that was before I learned about its edge cases issues. —¿philoserf? (talk) 21:55, 8 January 2023 (UTC)
@GoingBatty: Cleaned that one up. —¿philoserf? (talk) 01:17, 9 January 2023 (UTC)
@Philoserf: Thanks - I did some cleanup work too. Looks like ReferenceExpander was 3 for 16 when creating correct citations in this edit. There are several citation creation/fixing tools, and all of them need manual review and fixes for each edit. GoingBatty (talk) 04:41, 9 January 2023 (UTC)

Onlaens bisnas

hi don noken uoutiub ok 175.157.110.193 (talk) 08:12, 10 January 2023 (UTC)

Suggestion on HotDefaultSort

Hi BrandonXLF! Thank you for creating the HotDefaultSort, I'm using this script on zhwiki, it really helps me a lot. I wonder if it's possible to mark the edits I made with HotDefaultSort as minor edits? Thank again. (Sorry for my poor English) BlackShadowG (talk) 14:12, 10 January 2023 (UTC)

Floatside

Hi BrandonXLF, it looks like there is a funky variable thing happening here, altering how the text "cache" appears here. It's a GREAT script! If I don't see the right wiki logo, I don't save! :) All the best! — WILDSTARTALK 18:11, 12 January 2023 (UTC)

More ReferenceExpander errors

Hi again! In this edit, ReferenceExpander added times and days of the week in the |date= fields, adding the article to Category:CS1 errors: dates. Could you please tweak your tool so it doesn't happen again?

@Philoserf: Please check articles after you run ReferenceExpander (and reFill) and fix any mistakes that these tools introduce. Thanks! GoingBatty (talk) 04:31, 14 January 2023 (UTC)

I have been. Alas, I still miss some. Please let me know if the wins are not greater than the failures. I watch every article I edit and return to repair what I miss. There are, in some articles, high double digit references improved. Each time I see an issue I add that to my internal algorithm post run. —¿philoserf? (talk) 04:41, 14 January 2023 (UTC)
@Philoserf: - Looking quickly at your last 10-12 ReferenceExpander edits, I see problems in about half of them:
Thanks! GoingBatty (talk) 05:49, 14 January 2023 (UTC)
I got most of those or reverted. We may have a difference of opinion about what is a good conversion, what should be kept, and other aspects of reference/citation quality. I'll keep that in mind as I work. —¿philoserf? (talk) 17:36, 14 January 2023 (UTC)

The Signpost: 16 January 2023

Hi. Please write a similar script for piped links (making piped links green). Thanks. --Mann Mann (talk) 07:53, 16 January 2023 (UTC)

Requested fix for QuickEdit

Hi, @BrandonXLF! A recent change in VisualEditor is causing VisualEditor to fire errors whenever saving a page with a section heading if QuickEdit is installed. I've filed a pull request on GitHub awaiting your review (and sync to User:BrandonXLF/QuickEdit.js) to get it fixed. Please find the time to take a look. Thank you! Chlod (say hi!) 15:50, 22 January 2023 (UTC)

Help with user script

Hello BrandonXLF, I wanted to ask if you could help me with a new user script I created, see User:Phlsph7/UnfoldedNumberedTOC(Vector2022).js. It's my first user script and thought it might be a good idea to have a more experienced script editor have a look at it before I make regular editors aware of it. I wrote it in response to various criticisms leveled against how the table of contents is handled in the new Vector 2022 skin. I saw that you also created a script modifying how the old TOC is displayed some time back, so you might be a good fit to review this one. But if you are not available, I would also be happy if you could point me in another direction where I might be able to get some feedback. Phlsph7 (talk) 12:05, 25 January 2023 (UTC)

@Phlsph7 The script looks good to me. For readability, you might want to consider putting all your css in a multiline template literal. BrandonXLF (talk) 17:33, 25 January 2023 (UTC)
Thanks for the feedback! I tried using template literals initially, see [1]. But I got an error message about es5 incompatibility. Template literals work in my browser in the console in general so maybe the error has something to do with Wikipedia's script loader, I'm not sure.
Are there common ways to make other editors aware of specific user scripts? I saw that scripts can be added to Wikipedia:User_scripts/List and I was thinking about mentioning this script in the discussion about Vector 2022 TOC. But apart from that, I wouldn't really know. Phlsph7 (talk) 17:56, 25 January 2023 (UTC)
@Phlsph7 The incompatibility notice just means it won't work with older browsers like Internet Explorer. If you want the script to work for people using those browsers you should avoid template literals. You can see what browsers work with template literals here.
Instead of template literals, you could add multiple string together and put them on separate lines like this:
var css = '.vector-toc-text {' +
    'padding: 2px 0 !important;' +
    '...'
But there's nothing wrong with the way you are currently doing it apart from readability.
I generally just add my scripts to the user script list, my userpage, and any relevant discussions. I would say that by far the most important place to add your script is the user script list.BrandonXLF (talk) 18:06, 25 January 2023 (UTC)
Ah ok, I just tried it again with template literals and it's working now. I probably mistook the warning for an error message. I think I'll just get started with the user script list and I'll see if I can find some relevant discussions where it could be mentioned. Thanks again for the help! Phlsph7 (talk) 18:27, 25 January 2023 (UTC)

The Signpost: 4 February 2023

Autoref error: unable to load mediawiki:citiod-template-type-map.json

When i try to add url on as:আহোম বিবাহ পৰম্পৰা it shows "unable to load mediawiki:citiod-template-type-map.json. make sure it exists." -Gunyam (talk) 23:58, 16 February 2023 (UTC)

The tool requires that the wiki it's being used on has a MediaWiki:Citoid-template-type-map.json. as:MediaWiki:Citoid-template-type-map.json doesn't exist. BrandonXLF (talk) 05:40, 17 February 2023 (UTC)

The Signpost: 20 February 2023

The Signpost: 9 March 2023

The Signpost: 20 March 2023

A discussion is taking place as to whether the article Windows NT Setup process before Windows Vista 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/Windows NT Setup process before Windows Vista 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.

Fram (talk) 14:09, 21 March 2023 (UTC)

hi brandon

me meta...i will see you soon 172.243.120.249 (talk) 08:52, 29 March 2023 (UTC)

The Signpost: 03 April 2023

The Signpost: 26 April 2023

The Signpost: 8 May 2023

Orphaned non-free image File:Pure Life logo.png

⚠

Thanks for uploading File:Pure Life logo.png. 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:28, 18 May 2023 (UTC)

An abundance of caution

I mentioned you by name in the open AN thread about a cleanup effort related to the inappropriate use of a script you maintain, Wikipedia:Administrators' noticeboard#Help cleaning up bot-mangled citations. I'm not 100% familiar with the noticeboard rules, so although the thread was already there and I didn't start it, I'm dropping a TP notify just in case. Blessings, Folly Mox (talk) 03:46, 20 May 2023 (UTC)

The Signpost: 22 May 2023

User:BrandonXLF/ReferenceExpander, a page which you created or substantially contributed to, has been nominated for deletion. Your opinions on the matter are welcome; you may participate in the discussion by adding your comments at Wikipedia:Miscellany for deletion/User:BrandonXLF/ReferenceExpander and please be sure to sign your comments with four tildes (~~~~). You are free to edit the content of User:BrandonXLF/ReferenceExpander during the discussion but should not remove the miscellany for deletion template from the top of the page; such a removal will not end the deletion discussion. Thank you. — SamX [talk · contribs] 20:03, 27 May 2023 (UTC)

A friendly request: Could you please disable ReferenceExpander until the issues are sorted out? I really do appreciate your willingness to develop scripts for technically challenged editors like myself, but I'm worried that editors might continue to carelessly use the script and damage more citations. I obviously can't speak for them, but it sounds like Folly Mox might have some ideas for how to improve the script, or at least limit its potential to damage existing citations.

While I'm here, I'd like to apologize for the way I phrased the MFD nomination. Calling the citations a huge mess was unkind and needlessly harsh. — SamX [talk · contribs] 04:05, 30 May 2023 (UTC)

The Signpost: 5 June 2023

The Signpost: 19 June 2023

Typo in FFUHelper

Line 252: positing --> posting. Snowmanonahoe (talk · contribs · typos) 01:28, 21 June 2023 (UTC)

Id

Add Alatsitus (talk) 21:53, 27 June 2023 (UTC)

Json me Alatsitus (talk) 21:54, 27 June 2023 (UTC)

The Signpost: 3 July 2023

The Signpost: 17 July 2023

scripts

about this script i want to know why i can't use it, it generates an error i can't after i added the script, Return to my page. The script is here שאול לרנר (talk) 14:28, 25 July 2023 (UTC)

The Signpost: 1 August 2023

Ciao

Ok 93.34.113.53 (talk) 05:41, 13 August 2023 (UTC)

The Signpost: 15 August 2023

The first thing

The new Mitchell 64.188.186.15 (talk) 23:58, 20 August 2023 (UTC)

@BrandonXLF 2600:1700:A560:4880:F459:9AAB:19B6:47AF (talk) 05:44, 22 August 2023 (UTC)

The Signpost: 31 August 2023

The Signpost: 16 September 2023

Restorer edit summaries

Would it be possible to add a real-time custom edit summary feature (similar to that of the mobileUndo script) to the Restorer script? Thanks, Andumé (talk) 17:35, 24 September 2023 (UTC)

The Signpost: 3 October 2023

Hi BrandonXLF,

I've been using your Link Count tool for some years now and it has been proven to be instrumental for my activities here. I use it in my software to resolve a biography article's 'notability'. However, there's one issue that interferes with that: the tool also counts wiki links stated in a template in an article as incoming links to that article. Example: Kudrat Singh: [the link count] = 680! Reason: the template in the article accounts for almost all the links making Kudrat much more important in my app than he actually is. Is this a feature or a bug? And if the latter: can/will it be fixed? Cheers, Mill 1 (talk) 08:35, 15 October 2023 (UTC)

It's a feature. Use search if you want to get direct links, e.g. linksto:"Kudrat Singh" insource:"Kudrat Singh" or linksto:"Kudrat Singh" insource:/\[\[Kudrat[ _]Singh[\|\]]/. Nardog (talk) 09:01, 15 October 2023 (UTC)
Thank you for your reply. However, my web application uses the api to resolve the link counts:
https://linkcount.toolforge.org/api/?page=Kudrat_Singh&namespaces=0&project=en.wikipedia.org
If possible, how should I change the request in order to get the direct links only? Regards, Mill 1 (talk) 09:10, 15 October 2023 (UTC)
That's not possible with Link Count. "Direct" in Link Count means "not through a redirect", not "not through a transclusion", which is not retrievable without parsing the source page by page. You should try mw:API:Search. Nardog (talk) 09:21, 15 October 2023 (UTC)
Ah, ok. Thank you Nardog, I'll look into it. Mill 1 (talk) 09:25, 15 October 2023 (UTC)
For future reference: this mw:API:Search solution works:
https://en.wikipedia.org/w/api.php?action=query&format=json&list=search&srnamespace=0&srlimit=1&utf8=1&formatversion=2&srprop=size&srsearch=linksto%3A%22Kudrat+Singh%22+insource%3A%22Kudrat+Singh%22
Thanks again, Mill 1 (talk) 10:08, 15 October 2023 (UTC)

HP

You may be interested in this new discussion: Talk:HP Inc.#Merge request Chifonr (talk) 18:21, 22 October 2023 (UTC)

The Signpost: 23 October 2023

The Signpost: 6 November 2023

A barnstar for you!

The Technical Barnstar
Thank you for ListSorter. I just used it for the first time today, and it saved me a whole bunch of time! Levivich (talk) 04:54, 6 November 2023 (UTC)

Toggle sidebar: Timeless version

It would be great if that script could work on Timeless as well. On my desktop, I don't need it, however, on my phone I use Wikipedia in landscape mode (PKB user) and MinervaNeue is really annoying. So I would like to use Timeless on my phone as well. The only issue is that in Timeless on my phone, the menus overlap the content (especially the left side menu), so an option to toggle the sidebars would really come in handy. Timeless is my favorite skin. :) Monda (talk) 21:33, 7 November 2023 (UTC)

The Signpost: 20 November 2023

Desblokiar

Liberar 2806:267:1408:95EC:3BB3:C579:CE4D:D14C (talk) 20:51, 20 November 2023 (UTC)

ArbCom 2023 Elections voter message

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:45, 28 November 2023 (UTC)

The Signpost: 4 December 2023

The Signpost: 24 December 2023

Nomination for deletion of Template:Daylight saving offset/process

Template:Daylight saving offset/process has been nominated for deletion. You are invited to comment on the discussion at the entry on the Templates for discussion page. – Jonesey95 (talk) 00:11, 26 December 2023 (UTC)

Scripts++ Newsletter – Issue 23