User talk:Qwertyytrewqqwerty/DisamAssist
Anchors
[edit]This tool needs fixes for #Anchors.
See e.g. [1]. The Hash is attached to the description, not the link. By now, we have a number of incomplete redirects due to such edits. :-( --94.216.95.226 (talk) 23:31, 30 July 2014 (UTC)
- Still an issue six years later. http://en.wiki.x.io/w/index.php?title=General_Roman_Calendar_of_1954&diff=prev&oldid=975510606 --R'n'B (call me Russ) 22:59, 28 August 2020 (UTC)
- Yes, it needs to be reinstated manually using "Different target" – if appropriate. The anchor is normally wanted after a page move but it is right to remove it in many other circumstances. Certes (talk) 23:09, 28 August 2020 (UTC)
Bug report
[edit]Just wanted to let you know the tool went wrong on this edit. You may want to look into it. Rgds, --Midas02 (talk) 06:51, 28 November 2014 (UTC)
- I just noticed this too. Looks like adding the dn tag inside a reference doesn't play nicely. wia (talk) 18:36, 5 March 2015 (UTC)
- Ah, never mind. AnomieBOT comes along and fixes it. Cool! wia (talk) 20:14, 5 March 2015 (UTC)
Removing the draft pages from the disambig tool
[edit]Hello, would it be possible not to show "draft" pages when using the disambig tool? I find it not very useful having to disambiguate them, as most of them will usually not make it to the live article status. Thanks, --Midas02 (talk) 16:44, 30 June 2015 (UTC)
- Since Qwertyytrewqqwerty has gone missing, both from this Wikipedia as well as his native Spanish one, I've created my own copy of DisamAssist which you'll find at User:Midas02/DisamAssist.js. Differences are: 1) it doesn't try to disambiguate draft pages and 2) the context box at the top of the screen is showing 33% more text to make disambiguating easier. --Midas02 (talk) 01:52, 7 September 2015 (UTC)
Hi, As I understood, referece,Private within table information from Draft Portea - Home Health Care, was marked by Qwertyytrewqqwerty as ambiguos, draft can not move faster to wikipedia article. Tihonata (talk) 20:26, 11 December 2017 (UTC)
Warning: Label 'subst' on iusc statement.
[edit]Why is this happening when I try to add the script to my commons.js? : Warning: Label 'subst' on iusc statement. NikolaiHo☎️ 00:32, 15 December 2017 (UTC)
Loading on commons page
[edit]Tried to load {{subst:iusc|User:Qwertyytrewqqwerty/DisamAssist.js}} and got an error warning [Warning: Label 'subst' on iusc statement] tried again without squiggle brackets, got the same warning and gave up. Any ideas? Keith-264 (talk) 10:12, 15 January 2018 (UTC)
Inappropriate redirect creation
[edit]Not sure how exactly this happened, but in this edit, DisamAssist automatically created a redirect from Reviewing (disambiguation) to Reviewing, which is erroneous considering that the target is not a disambiguation page. I think it might be connected to the disambiguation page Wikipedia:Reviewing, in which case DisamAssist is failing to recognise different namespaces. –72 (talk) 23:50, 9 March 2018 (UTC)
- Hi. Reviewing (disambiguation) had already been deleted when I saw your message, so I can't see the edit. It's been a long time since I wrote DisamAssist, and I've just returned to wiki stuff after a four-year break, but apparently I'm using 'wgTitle' instead of 'wgPageName' for some reason. I'll look at it. Qwerty | ytrewq | qwerty 12:01, 10 March 2018 (UTC).
- Fixed (hopefully). Qwerty | ytrewq | qwerty 12:28, 10 March 2018 (UTC).
I've just had some similar strange edits using DisamAssist which, according to User:Bkonrad created redirects such as Unconditional love (disambiguation) (disambiguation), English College (disambiguation) (disambiguation), Mohammad Ali (disambiguation) (disambiguation), John Adams (disambiguation) (disambiguation). I've just had a similar issue with Trevor Johnson (disambiguation) and Trevor Johnson (which I've tried to fix). I'm not sure if I am clicking a wrong button or something or whether something has changed in the code. I've been using it for ages without any problems (really useful) but sems to be giving errors in the last 24-48 hours.— Rod talk 19:59, 13 March 2018 (UTC)
- Dumb mistake on my part, sorry for the inconvenience. It should be fixed now. Please tell me if it misbehaves again. Qwerty | ytrewq | qwerty 13:13, 15 March 2018 (UTC).
Adding portlet IDs
[edit]@Qwertyytrewqqwerty: Would you consider adding portlet IDs to the core code? Perhaps something like this:
mw.util.addPortletLink( 'p-cactions', '#', txt.startMain, "ca-disammain" )
mw.util.addPortletLink( 'p-cactions', '#', txt.startSame, "ca-disamdab" )
mw.util.addPortletLink( 'p-cactions', '#', txt.start, "ca-disamlinks" )
Would allow users to reference them to move, rename, etc. Happy to post this on esWiki if you prefer. ~ Amory (u • t • c) 18:57, 28 March 2018 (UTC)
@Amorymeltzer: Done. Thank you for your suggestion. Qwerty | ytrewq | qwerty 20:44, 28 March 2018 (UTC).
As always, use caution with a tool
[edit]A situation was discovered where using this tool created a distressing goof, both because the tool got quite confused, and because the result was not checked. And the result was this ====>
Awhile back someone added information to dab page PES at PES#Pes_(anatomy), regarding various manifestations of foot deformities. Let me quote the first few lines of those changes below:
- Pes (anatomy), Latin for "foot" (body part), thus used in anatomy to mean "foot" (or analogous body part)
Note that the first 'real' link in the text at that point is Pes (anatomy).
Now the same editor changed the redirect for talipes from club foot to PES#Pes_(anatomy). And thus changed the eventual target of the talipes link in article William John Little.
Recently someone using this tool to kill all dabs dead 'resolved' talipes to Pes_(anatomy). This meant the text "... complicated by severe talipes." became "... complicated by severe talipes."
The author of this tool ought to decide whether any corrections *can* be made to its code. The text at PES#Pes_(anatomy) was confusing. I'm not sure anything can be done to cope with all possibilities as constructed by diverse editors.
So the real fix is that every editor using this tool must remember to check each result, just as you should using any semiautomated tool. Otherwise you may receive the dreaded "Hamster Halt" for unchecked tool edits. Shenme (talk) 19:41, 26 April 2018 (UTC)
In use template
[edit]@Qwertyytrewqqwerty: Is there any way to warn the user if an {{in use}} template is present on a page? Minor edits like dab correction shouldn't be made while "in use" is up. Thanks, Pi.1415926535 (talk) 20:58, 19 October 2018 (UTC)
Mini Usage Guide?
[edit]It seems to me that the DisamAssist should have a little User Manual or further description.
The way it works is a bit unusual: it saves edits automatically but buffers the last two so you can Undo them. When you finish and click Close, it saves the last two; the others have already been saved. (There's also a limit of one save per 5 seconds so, if you click fast, a queue of more than two can form.) If you stop and restart later, any pages you've skipped will be presented again before moving on to the later ones that you've not seen yet. You shouldn't see pages you fixed again, but you will see pages you decided not to fix. ~ User:Certes
The above was quoted from a discussion at Talk:Open_source. ~ JasonCarswell (talk) 10:49, 19 November 2018 (UTC)
- Good idea, done. Plus a screenshot. :) Quiddity (talk) 02:25, 25 November 2018 (UTC)
Fix usage guide
[edit]Currently the usage guide is wrong; following the guide won't load the script because it is not hosted in English Wikipedia. --Franklin Yu (talk) 05:09, 29 May 2019 (UTC)
Repetitive revision description
[edit]http://en.wiki.x.io/w/index.php?title=Lempel%E2%80%93Ziv%E2%80%93Markov_chain_algorithm&diff=next&oldid=917071704 shows a long revision comment with much repetition. ISTM that duplicates could be grouped and counted, e.g. 'link changed to XZ Utils × 13'. ― Ralph Corderoy (talk) 08:56, 29 September 2019 (UTC)
Intentional link to DAB button issue
[edit]When using the button for Intentional link to DAB it will add an additional (disambiguation) to the wikilink which I believe is not supposed to happen... can this be fixed? Example: 1 Ⓩⓟⓟⓘⓧ Talk 18:03, 30 March 2020 (UTC)
Confusing (to me) edit summary
[edit]In edits like these [2][3], the tool says that it is "disambiguating links" when it is really just adding a notice that disambiguation is needed. Surely it should only say that it is "disambiguating" when the ambiguity is actually reduced. XOR'easter (talk) 03:57, 1 July 2020 (UTC)
How on Earth did I manage this?
[edit]I certainly don't recall what button I could have clicked to create these three redirects:
I was working on the three associated pages, none of which have (disambiguation) in their names. Could that have had something to do with it? Zeke, the Mad Horrorist (Speak quickly) (Follow my trail) 23:56, 21 October 2020 (UTC)
- And I just made another one: ZDT (disambiguation) Zeke, the Mad Horrorist (Speak quickly) (Follow my trail) 23:58, 21 October 2020 (UTC)
- Okay, I think I've figured it out. It only happens on pages that do not have (disambiguation) in the title, AND where I actually click Close to make the DisamAssist dialog box go away. I guess these redirects aren't really hurting anything, but still, are they really necessary? Zeke, the Mad Horrorist (Speak quickly) (Follow my trail) 00:23, 22 October 2020 (UTC)
- @Zeke, the Mad Horrorist: Yes, they're useful for marking intentional links to disambiguation pages. For example, dab Conservation might list Conservation Board (disambiguation) – it's a PTM and I wouldn't add it myself, but it's not unreasonable. We don't actually need the redirect until someone links to it, but the [Intentional link to DAB] button in DisamAssist will create such a link, so DisamAssist creates its target just in case. Certes (talk) 11:06, 22 October 2020 (UTC)
- Okay, that's fine by me. Thank you for clearing that up. Zeke, the Mad Horrorist (Speak quickly) (Follow my trail) 00:49, 23 October 2020 (UTC)
- @Zeke, the Mad Horrorist: Yes, they're useful for marking intentional links to disambiguation pages. For example, dab Conservation might list Conservation Board (disambiguation) – it's a PTM and I wouldn't add it myself, but it's not unreasonable. We don't actually need the redirect until someone links to it, but the [Intentional link to DAB] button in DisamAssist will create such a link, so DisamAssist creates its target just in case. Certes (talk) 11:06, 22 October 2020 (UTC)
- Okay, I think I've figured it out. It only happens on pages that do not have (disambiguation) in the title, AND where I actually click Close to make the DisamAssist dialog box go away. I guess these redirects aren't really hurting anything, but still, are they really necessary? Zeke, the Mad Horrorist (Speak quickly) (Follow my trail) 00:23, 22 October 2020 (UTC)
It doesn't activate for me
[edit]I installed it months ago but it doesn't activate for me (it is not under More menu). Any idea why? User:Piotrus/common.js Piotr Konieczny aka Prokonsul Piotrus| reply here 05:46, 28 May 2021 (UTC)
- @Piotrus: You may not be on a disambiguation page. Have you tried it on Mercury? It takes a moment to load: the More menu may lack the option for about a second depending on your hardware. Certes (talk) 09:45, 28 May 2021 (UTC)
- My bad. I keep forgetting it works only there. Is there a way to quickly disambiguate things when on a regular page? I see disambigs colored in orange but it's cumbersome to fix them "manually". Piotr Konieczny aka Prokonsul Piotrus| reply here 11:34, 28 May 2021 (UTC)
- DisamAssist helps us fix incoming links to the current page, but orange links are outgoing from the current page. Click the orange link to reach the dab, then run DisamAssist from there to fix the link from the original page and any others with a similar problem. Alternatively, you can use Dab solver to help fix all orange links from one page to various dabs. Certes (talk) 14:49, 28 May 2021 (UTC)
- My bad. I keep forgetting it works only there. Is there a way to quickly disambiguate things when on a regular page? I see disambigs colored in orange but it's cumbersome to fix them "manually". Piotr Konieczny aka Prokonsul Piotrus| reply here 11:34, 28 May 2021 (UTC)
(←) This info should be put on the main page as instructions; I thought it worked the opposite way like Piotrus. Rgrds. --Bison X (talk) 13:51, 26 December 2021 (UTC)
- I'm reluctant to edit a page in another user's namespace. It does say that
This tool adds a new option to the "More" menu (in Vector skin) when visiting disambiguation pages
, but you're not the only editors to miss that, so it might benefit from bold neon highlighting. Certes (talk) 14:28, 26 December 2021 (UTC)
Remove redirect pages from terms?
[edit]Is there a way to remove redirect pages (such as Yousif Muhammed) from the terms? Often times, there will be dozens of redirect pages pointing to a specific disambiguation page (such as Yusuf Muhammad (disambiguation)), and having to skip all of them is tiresome. On a related note, is there also a way to remove intentional links to the disambiguation page? Yusuf Muhammad (disambiguation) is already linked as such at Muhammad (name), and having it as an entry is also redundant. Nehme1499 08:45, 25 March 2022 (UTC)
- That would be a useful feature but shouldn't be the default. If someone moves Anne X. Ample to Anne X. Ample (artist) and creates a dab at the base name, we do want to retarget Anne X. Ample (painter) to the moved page. By the way, redirects shouldn't be piped: a change like this would prevent that. Certes (talk) 11:16, 25 March 2022 (UTC)
Double (disambiguation)
[edit]Hello, when trying (such as here) to disambiguate links to Dr. Jekyll and Mr. Hyde (disambiguation), DisamAssist seems to think that the dab page is Dr. Jekyll and Mr. Hyde (disambiguation) (disambiguation). Any idea what might be causing this? HouseBlastertalk 03:11, 25 July 2022 (UTC)
Keeps making me log out
[edit]Whenever I use DisamAssist, it logs me out very quickly. Is there something I can do to make DisamAssist not do this? Mucube (talk · contribs) 01:08, 15 December 2022 (UTC)
Using it in a DAB page for a page that does not point to said DAB page?
[edit]Since WP:DABCONCEPT exist, could this script also be used to them? For example, using it on the article Apostle with the script allowing to click on the different links of Apostle (disambiguation) while having the links incoming from Apostle. Veverve (talk) 16:00, 28 January 2023 (UTC)
- @Veverve: Does loading Apostle (disambiguation) and selecting "More → Disambiguate links to primary topic" do what you want? Certes (talk) 19:28, 28 January 2023 (UTC)
- @Certes: yes, it does, thanks! Veverve (talk) 07:22, 29 January 2023 (UTC)
Mobile?
[edit]Does it works for mobile phone Android Tousif ❯❯❯ Talk 02:11, 3 April 2023 (UTC)
DisamAssist reverted my edit?!
[edit]Hey there, I know Qwertyytrewqqwerty has not been on Wikipedia in a while, and this tool no longer has active service, but in this edit DisamAssist somehow removed a {{Cleanup}} tag I had placed earlier with Twinkle. I'm not sure what caused it to do this, but it may be worth investigating. —TechnoSquirrel69 (sigh) 20:24, 10 June 2023 (UTC)
- @TechnoSquirrel69: I'm not sure whether the DisamAssist software is actively maintained but the tool is certainly in active service. DisamAssist caches updates – that's why Undo works – and it's possible to change the page manually while the DisamAssist edit is pending. MediaWiki warns us of edit conflicts but only when the edits are by different users. There's a proposal to change that in a recent discussion which I can't find (Village Pump archives?) and in Phabricator (T175745). Certes (talk) 22:35, 10 June 2023 (UTC)
- @Certes: Yeah, what I meant was to say that DisamAssist wasn't being maintained; I misspoke. The information about edit conflicts with oneself is interesting, and certainly could explain what happened if I was editing that article while the tool was open. —TechnoSquirrel69 (sigh) 23:05, 10 June 2023 (UTC)
- Speaking of edit conflicts, I just had an edit conflict with you, Certes, and somehow managed to accidentally duplicate the content of this page. I believe that's my cue to do some reading about this! (lol) —TechnoSquirrel69 (sigh) 23:11, 10 June 2023 (UTC)
Creation of automatic redirects code modification
[edit]Is it possible to change L-57 of the code? (per Wikipedia:Categorizing redirects#How to categorize a redirect) From
redirectToDisam: '#REDIRECT [[$1]] {{R to disambiguation page}}',
to
redirectToDisam: '#REDIRECT [[$1]]\n\n{{Redirect category shell|\n{{R to disambiguation page}}\n}}',
—CX Zoom[he/him] (let's talk • {C•X}) 11:44, 2 July 2023 (UTC)
- The other change I'd make for redirects is in function replaceLink (core L-645). If changing the target of a redirect page from A to B, the "wikilink" after #REDIRECT should become [[B]] rather than [[B|A]]. (Example code.) Certes (talk) 10:54, 6 August 2023 (UTC)
- Can we ask interface admins at WP:IAN to take a look? —CX Zoom[he/him] (let's talk • {C•X}) 20:18, 8 August 2023 (UTC)
itwiki
[edit]Hi, I adapted the accessory to itwiki. I was wondering if it would be possible for the accessory to only correct disambiguations without creating pages. Thank you. GryffindorD (talk) 23:02, 5 August 2023 (UTC)
- @GryffindorD: You can set
intentionalLinkOption: false
in your configuration script on itwiki. For English Wikipedia, that would be User:Qwertyytrewqqwerty/DisamAssist.js#L-62. Certes (talk) 10:44, 6 August 2023 (UTC)- @Certes Thank you so much! :D GryffindorD (talk) 11:48, 6 August 2023 (UTC)
Set index articles
[edit]I'm not sure if this is intentional, but the 'disambiguate links' doesn't show on set index articles, such as Curaçao national football team results. Is there any way to fix this? Thanks. '''[[User:CanonNi]]''' (talk • contribs) 12:18, 24 August 2024 (UTC)
New to DisamAssist
[edit]Hi. I am new to DisamAssist and I was wondering where I would find it when it comes to handling disambiguated links that I would find on a page. --Rtkat3 (talk) 15:43, 10 September 2024 (UTC)