Jump to content

User talk:Dispenser/Dab solver: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
Line 1,479: Line 1,479:
== Chinese (zh) Translation ==
== Chinese (zh) Translation ==


Hi, Dispenser! This is a Chinese Translation ([[w:Simplified Chinese]], to be precise). And on Chinese Wikipedia, <nowiki>{{dn}}</nowiki> used as the vote template Demote Name. --[[User:風中的刀劍|A Sword in the Wind]] ([[User talk:風中的刀劍|talk]]) 11:41, 15 February 2016 (UTC)
Hi, Dispenser! This is a Chinese Translation ([[Simplified Chinese]], to be precise). And on Chinese Wikipedia, <nowiki>{{dn}}</nowiki> used as the vote template Demote Name. --[[User:風中的刀劍|A Sword in the Wind]] ([[User talk:風中的刀劍|talk]]) 11:41, 15 February 2016 (UTC)


<source lang=javascript>
<source lang=javascript>

Revision as of 11:41, 15 February 2016

Dab solver

Very nice tool. I fixed two bad DABs on Disk storage and I'm going to go through other articles I suspect may have incorrect DAB links. Great job. — Becksguy (talk) 06:28, 25 January 2010 (UTC)[reply]

I agree. I am finding it very useful. I quickly fixed some articles with it. Thanks! Regards, —mattisse (Talk) 19:24, 27 January 2010 (UTC)[reply]

Love the tool, makes checking and fixing links so easy. A big thanks from me :) Bjmullan (talk) 09:30, 18 March 2010 (UTC)[reply]

I am sure I wrote it somewhere before, and I will write it again. This is an excellent tool. As stated above, it makes checking and fixing links very easy. Please keep up the good work. ----Steve Quinn (talk) 04:03, 23 July 2010 (UTC)[reply]

Ee Sabdam Innathe Sabdam

WildBot claims there are six dab links on Ee Sabdam Innathe Sabdam, tools:~dispenser/cgi-bin/dab_solver.py/Ee_Sabdam_Innathe_Sabdam says it's clean. Josh Parris 05:32, 28 January 2010 (UTC)[reply]

Replication lag is about 6 hours, I'll see if I can put a notification. — Dispenser 08:44, 28 January 2010 (UTC)[reply]
Perhaps you should be hitting s1-fast instead? Josh Parris 12:39, 28 January 2010 (UTC)[reply]
Using s1-fast requires a more complicated connection setup instead of simply connecting to enwiki-p.db.toolserver.org and currently only enwiki (s1) has one. I have instead added a check to make sure the page revision and the latest one in the database are the same. — Dispenser 03:21, 29 January 2010 (UTC)[reply]
Are the *.fastdb.toolserver.org domains applicable now? Josh Parris 10:04, 23 February 2010 (UTC)[reply]
I was going to wait until more fast servers became available. Currently, cassia (designated for S2) is not working and hyacinth (designated for S3) still needs to be setup. — Dispenser 21:01, 23 February 2010 (UTC)[reply]

After checking clean page on et:wikipedia tools:~dispenser/cgi-bin/dab_solver.py?page=et:Eesti, the tool says that No disambiguation links on Eesti (w:en:Eesti). --WikedKentaur (talk) 08:22, 7 February 2010 (UTC)[reply]

I've fixed this occurrence, but there's one more I'd like to fix in a more eloquent manner. — Dispenser 17:48, 7 February 2010 (UTC)[reply]

Book:Quantum Algebra and Quantum Computers

Fail. Not due to replag. BTW: don't go fixing any of the links, I'm using this book: for testing. Josh Parris 10:04, 23 February 2010 (UTC)[reply]

Fixed. I've added support for custom namespaces and added the books namespace to webpywikipedia this morning. — Dispenser 21:01, 23 February 2010 (UTC)[reply]

Dablinks gave me:

WARNING  : The following tags have been removed in the HTML 5 specifcation:  <small> (9x), <font> (4x)

First, there's a typo: "specifcation" should be "specification". Second, <small> is actually in the HTML5 spec, though its semantics have changed since HTML 4.01, when it was a presentational tag.

Also, can you put a link to the Preferences in the tool itself? I keep forgetting where they are.

CRGreathouse (t | c) 15:19, 3 March 2010 (UTC)[reply]

User:Redrose64 writes of problems with wikitable formatting:

Hi, with this edit you introduced some errors in the table shown under the "Description" heading. First, you added a semicolon after all the rowspan="2" which meant that the attribute's value was unrecognised and therefore ignored. Second, you added font-size:300%; into the style list for three of the four rows, but didn't remove it from all the cells - those cells where it wasn't removed therefore became 900%. I have now fixed, see this diff. --Redrose64 (talk) 16:22, 4 March 2010 (UTC)[reply]

CRGreathouse (t | c) 21:53, 4 March 2010 (UTC)[reply]

Updated HTML fixing code: erroneous <small> deprecation message removed, updated tags and attributes lists, added code to nuke malformed attribute instead of attempting to fix them (align="center";), and fixed moving multiple styles from TD to TR.
The Preferences page is linked in light blue bar at the top of every page, "hidden in plain sight"? — Dispenser 05:36, 8 March 2010 (UTC)[reply]

Recent African origin of modern humans

monogenism redirects to a disambiguation page, yet isn't listed as something requiring disambiguation. Josh Parris 08:37, 8 March 2010 (UTC)[reply]

Its circular linking, Recent African origin of modern humans links to Monogenesis which links back to original page (non-redirect), you can see the full results in non-web interfaces. It is filtering out in the web interface since it is almost always a hatnote, assuming that the disambiguation is formatted correctly. — Dispenser 17:42, 8 March 2010 (UTC)[reply]
Wow, that's... clever. I'm going to leave my code stupid I think. Josh Parris 12:48, 9 March 2010 (UTC)[reply]

Spelling

Your too quick! The server hasn't responsed yet
You're too quick! The server hasn't responded yet
Josh Parris 12:48, 9 March 2010 (UTC)[reply]

Translating to danish

Hallo, really nice tool you have. Especially this dab_solver (the other tools great :-).

You have a link saying: "This tool is not available in your language at the moment — you can help translate it". I would like to translate it to danish, but what exatly do you need to know. The user page, templates and so doesnt work in danish (have not tried on enwiki). Christian75 (talk) 12:45, 10 March 2010 (UTC)[reply]

// Submitting a page, without changing the text
var NoChangesMsg    = 'Text is unchanged, submit?';
// If user opens a dialog before it finishes loading
var NotLoadedTryAgain = "You're too quick!  The server has yet to respond, click again.";
// User leave the tool without saving
// +Typically appears sandwiched between text on a Ok/Cancel dialog
var QuitWithoutSaving = "Navigating away will cause unsaved work to be losted";
// Disambiguation needed/"I don't know" tag (blank to remove)
var dn_template = "{{dn}}";

// Edit Summary
// When adding templates such {{dn}}
var RequestHelpMsg  = 'Help needed: ';
// Link which were removed or unlinked
var RemovedLinksMsg = 'Unlinked: ';
// Links which were fixes
var SolvedLinksMsg  = 'Disambiguated: ';
// Number of links fixes, if above is too long
var SolvedCountMsg  = 'Disambiguated $1 links';
// Summary feedback link when commonfixes is active
var UsingToolMsg    = ' using [[tools:~dispenser/view/Dab_solver|Dab solver]]';

// Interface text
var TabRead     = "Read";
var TabEdit     = "Edit";
var TabHistory  = "History";
var TabClose    = "Close";
var OptRedlinks = "Show redlinks";
var OptForcelink= "Link to disambiguation page";
var OptTaglink  = "I don't know / Tag {{dn}}";
var OptUnlink   = "Unlink";
var OptReset    = "Undo";

// Server messages
// Database revision does not match page revision, usually caused by replication lag
OutOfSync = u'Alert the database is out of date.  See <a href="http://toolserver.org/~bryan/stats/replag/">replication lag</a>.'
// Link was not found in text, usually due to replication lag
LinkNotInText = u'\03{lightred}WARNING\03{default}: [[%s]] not found'
// No links to disambiguated (maybe cause by the above message)
NoLinksInText = u"There were no disambiguation links found in the wikitext"
// Link not included because its transcluded from a template
LinkTranscluded = u'Disambiguation [[%s]] is transcluded from [[%s]]'
// Text removed for brevity and compliance with the Toolserver rules
RemovedText = "%s\n<removed>%d lines hidden (%d characters)</removed>\n%s"
// Rewrite templates link text to allow matching
ReplaceTemplates = [
  r'{{Sort name|(.*?)|(.*?)}}', r'{{sortname|$1|$2|$1 $2}}',
];

These are the strings for translation that I feel are unlikely to change in the near future (you can leave out the comments). Also, I do need to know if/how disambiguation differs and if you have any templates like {{dn}}. — Dispenser 23:42, 10 March 2010 (UTC)[reply]

The non-English namespaces haven't been implemented into the framework yet. Until then I've added a hack to read the namespace when using page.get(). — Dispenser 05:10, 19 March 2010 (UTC)[reply]
I have noticed that :-) I have maked a commercial on the danish "Village pump", and will be back about the translation in a few days. Christian75 (talk) 22:15, 21 March 2010 (UTC)[reply]
Updated translations string set, the dutch translations are currently at da:Bruger:Christian75/Dab solver which I don't (regularly) check. — Dispenser 18:33, 21 July 2010 (UTC)[reply]
The Manual of Style checker can be now configured for multiple languages, though regex is require for writing rules. — Dispenser 02:53, 11 February 2011 (UTC)[reply]

For other translators: I need the disambiguation and the set index categories for the link icons and disambiguation page navigation. Describe how how templates similar to {{dn}} work in your language (if they exist). Let me know if banners need to be hidden or infoboxes need to be floated to the side. Other customizations possible: e.g. the English Wikipedia runs a style checker for WP:Manual of Style (disambiguation pages). — Dispenser 18:33, 21 July 2010 (UTC)[reply]

Sicilian people not found in Sicily

it is not uncommon for people to describe themselves as [[Sicilian people|Sicilian]], before the more national description isn't turning up when http://en.wikipedia.org/w/index.php?title=Sicily&oldid=350239727 is run through dab_solver - because it's recursive. Is there any way that WildBot and dab_solver can indicate that while that's a dab link, it shouldn't go on this page? Could it be that from Sicily, a link to Sicilian people means List of Sicilians? Josh Parris 03:28, 17 March 2010 (UTC)[reply]

This is an issue with the circular link detection method. If the target section was available in the database we could process that, but currently it requires too much overhead. I would suggest creating a redirect (and tagged appropriately) to the section and link it instead from the dab page. These redirects are typically better to link to as they're easier to update when the section name changes. This is part of the reason behind the creation of the rdcheck tool and other unreleased tools. — Dispenser 05:10, 19 March 2010 (UTC)[reply]
Next time this crops up I'll note it in the FAQ Josh Parris 09:39, 21 March 2010 (UTC)[reply]

The hyperlink to the tool from this page isn't working - the parenthesis fail. Josh Parris 09:39, 21 March 2010 (UTC)[reply]

Works for me, might have something to do with the database lag? — Dispenser 21:34, 21 March 2010 (UTC)[reply]
I get a url of http://toolserver.org/~dispenser/cgi-bin/dab_solver.py?page=Phantom__Russian_song#4353123087806513144 and a XSS alert. Josh Parris 11:08, 24 March 2010 (UTC)[reply]

dabsolver for NRHP lists

Hey, the dabsolver tool has been working great for me. Knowing it was available encouraged me to proceed with a ton of new dab page creation for WikiProject NRHP, in which i created multiple hundreds new dab pages that would eventually have been sorely needed, but which could be easily anticipated. And now, going through the NRHP list articles (statewide lists of which are indexed at List of RHPs), is very easy, to revise. This is avoiding lots of future contention as new articles won't be created at ambiguous names.

To let you know of one possible glitch, though: when i apply it to the NRHP list for Iowa, and click on the first highlighted ambiguous link (for Waverly House), i get stuck. I can't scroll down or left and right, to be able to pick a suitable entry. I notice the Waverly dab page itself is one that i have left a bit messy (including blocked out ASCII text between <PRE>...</PRE> brackets, so perhaps that is the problem. But, I think there are valid choices which might be made available above the PRE block. If it is just the PRE block messing things up, that is an unusual circumstance in dab pages, only applying to the 200 i have left messy like that and are included in a cleanup category that i will empty during the next couple weeks. But also I wonder if there is something about header stuff in the Iowa NRHP list article.

Thanks again for the wonderful tool! I am recommending its use, with Firefox browser, to many others. --doncram (talk) 16:15, 31 March 2010 (UTC)[reply]

Its a problem with nested scrollbars. What had happened <pre> content was so wide it forced the vertical scroll bar far right off screen. If you scrolled to see it you could not see the contents that you were scrolling. I've hacked in a max-width so its not so far off to the right. The proper solution is to rewrite the positioner so it makes smarter decisions about placement and the view-port constraints. — Dispenser 22:34, 12 April 2010 (UTC)[reply]

dab solver suggestion

First off, I love your tool! :)

  1. Add the possibility to dab with the definition on Wiktionary. I think this is a better solution than dabbing to the disambig page.
  2. Damn... a workmate distracted me and now I can't remember the other suggestion I had...

- UtherSRG (talk) 15:15, 12 April 2010 (UTC)[reply]

If the disambiguation page has a interwiki box (like {{wiktionary}}) then you can click on the terms and it use the interwiki link. Unfortunately, if the template wasn't given parameters it will fallback to Special:Search/term. — Dispenser 22:34, 12 April 2010 (UTC)[reply]

It would be nice if the wiktionary page could be popped up like the dab... but that's just a wish-suggestion.

New suggestion: Some {{dn}} improvements could be made when a user selects term2 from the popup of term...

  1. When term is post-tagged with {{dn}}, have dab solver not put the {{dn}} inside the newly dabbed link. eg. [[term]]{{dn}} -> [[term2|term]] instead of [[term2|term{{dn}}]]
  2. When a term is tagged with {{dn|term}}, have dab solver replace the tag. eg. {{dn|term}} -> [[term2|term]] instead of {{dn|term2}}

- UtherSRG (talk) 12:08, 5 May 2010 (UTC)[reply]

At some point in the near future I'd like to re-add the mini-browser without it occluding important text. There also the idea of being able to navigate from one disambiguation page to another (e.g. HorganJohn HorganJohn Horgan (academic)) and searching for pages. To address your points, 1. I have added a regex (language specific) to remove {{dn}} (and redirects) from titles and 2. this particular form is now converted. — Dispenser 00:44, 6 May 2010 (UTC)[reply]
Rocking! :D - UtherSRG (talk) 17:07, 15 May 2010 (UTC)[reply]

Got more ideas:

  1. Have Dabsolver read the user's Wiki preference for minor edits.
  2. Have Dabsolver read the user's watchlist and set the "watch this" button based on the page being or not being in the watchlist.

Still loving the tool! - UtherSRG (talk) 17:07, 15 May 2010 (UTC)[reply]

I've added a FAQ to the top since this has come up several times. Basically, user preferences and watchlists are not publicly visible with the exception of gender. — Dispenser 15:16, 16 May 2010 (UTC)[reply]

And more: When tabbing from one dab to the next, currently that next is on the last line of the window. Positioning the dab a few lines above the bottom of the window will give a significant increase in context visability without the user have to do the move emself. - UtherSRG (talk) 07:48, 16 May 2010 (UTC)[reply]

File a bug with your browser vendor for not doing this. I could see a few other scenarios where this behavior would be useful. — Dispenser 15:16, 16 May 2010 (UTC)[reply]

HTC Evo 4G

I'm not entirely sure what the editor is talking about at User talk:Josh Parris#WildBot and citation templates bug, but I think it's about how dab_solver behaved before the dabs were solved. Josh Parris 04:09, 13 April 2010 (UTC)[reply]

Suggestion

Hi! This is a great tool! However, I feel that there is room for improvement and therefore I have some suggestions to make. I see that the save page is currently disabled, probably to force people to preview their changes before saving them. I think that it does more harm than good, as it wastes valuable time for disambiguators.

I'd also like if there's was a way for the tool to check my personal settings to see if I'm already watching the page and not set it to true automatically. It would also be nice to have a way to select the (disambiguation) page itself when that is appropriate.

By the way, is there any tool to fix broken section links that are also tagged by WildBot? --JokerXtreme (talk) 13:00, 17 April 2010 (UTC)[reply]

The Toolserver rules (8) specify that tools cannot ask login information. Because of a MediaWiki security feature, if the save button was enabled it wouldn't work for logged in users, instead landing you on a preview page with an error message. Similarly, being able to look up a user's personal settings is restricted. There is a workaround in Preferences where you can turn off the default behavior of watching pages and provide an edit token to enable the save button.
Now for fixing section links, I believe the right approach is to link to redirects which redirect to the correct sections. With this method we have redirects for users to find information, fixing a single redirect is easier than fixing many articles, and makes it easier to expand a section into an article. So far I have only created rdcheck (try it on BioShock) and have plans of automatically retargeting sections links to redirects in the commonfixes library. — Dispenser 22:47, 17 April 2010 (UTC)[reply]
This would do, thanks :) I assume there are security issues that restrict us from just using SUL for toolserver. Automatically retargeting sections links to redirects? How would it know where specifically it should retarget to? Or it would work kind of like dab solver? --JokerXtreme (talk) 08:11, 18 April 2010 (UTC)[reply]
There are some tidbits on mw:Global session threat assessment, but basically its so no nobody has to worry about phishing. And things like TUSC and ACC tell users to use a different password. On retargetting it would retarget them while they were still working. A more advanced method would be to crawl through the history and see what the new section name is (its somewhat error prone). — Dispenser 21:02, 18 April 2010 (UTC)[reply]
Sounds good :) (also sounds a bit challenging) By the way, how about adding a link in the dab solver to the (disambiguation) page itself, as a possible option to select, instead of having to manually add it. --JokerXtreme (talk) 11:23, 19 April 2010 (UTC)[reply]
You aren't suppose to link to disambiguation pages. It causes problems with automated detection and does not make sense from a link structural point of view. Terms and definitions should be copied to Wiktionary. The disambiguation page could feature a message box "Definitions from Wiktionary ..." (similar in style to {{wi}}). If the Wiktionary community believes that Four-character idiom shouldn’t belong there, then we’ll have to create a glossary namespace and fork Wiktionary. (There are actually links to our four-character idiom disambiguation page on Wiktionary, so things should likely always be linked to Wiktionary.)
Back to point of saving time, I'm experimenting with tools:~dispenser/resources/Enkidu.html which background loads the pages, so you can just hit next to get the next ready page. It's very early, I might just let it die or redesign it to use different mechanisms. I'm be very interested in feedback. — Dispenser 19:37, 2 May 2010 (UTC)[reply]

Dab solver issue

See User talk:Josh Parris#Having trouble with WildBot. - UtherSRG (talk) 23:03, 4 May 2010 (UTC)[reply]

Dab solver error

I got [/home/dispenser/public_html/cgi-bin/tracebacks/tmpHVzwjL.html this error]. - UtherSRG (talk) 08:12, 9 May 2010 (UTC)[reply]

Those are automatically emailed to me ;) Don't know what admins were doing when they got ride of the MySQLdb library, but it's back now. — Dispenser 02:51, 13 May 2010 (UTC)[reply]

Colin S. Smith (pastor)

While it was there, the link on Talk:Colin S. Smith (pastor) took me to http://toolserver.org/~dispenser/cgi-bin/dab_solver.py?page=Colin_S._Smith__pastor#45260134550569875442 -- which didn't work. Page [[Colin S. Smith pastor]] not found it read. Josh Parris 08:44, 16 May 2010 (UTC)[reply]

I think there's something wrong with your browser (extensions/addons/spyware?). It seems to replace (, ) with spaces and adds those weird numbers to the end. The link worked fine for me yesterday. — Dispenser 13:52, 16 May 2010 (UTC)[reply]
Section Talk:Phantom (Russian song) above seems to be the same issue. — Dispenser 15:20, 16 May 2010 (UTC)[reply]

Dab solver running text

When using the Dab solver, I notice that the text runs out horizontally to the right, usually in only one or two lines per article. In other words there is no apparent limit as to how far the text runs to the right. Just thought you might like to know. This is a very useful tool, and I hope we can keep using it here at Wikipedia. ----Steve Quinn (formerly Ti-30X) (talk) 06:41, 25 May 2010 (UTC)[reply]

Could you give an example and your browser with version and where are you seeing the problem the fake text area, the disambiguation menu, or the article minibrowser. I know there's a problem in firefox where it doesn't correctly calculate the width of the inline-block for the text field, but other than that it should wrap correctly. — Dispenser 19:46, 25 May 2010 (UTC)[reply]
This occurs when I I am trying to disambiguate a page, and I guess it is happening related to the disambiguation menu. When I put the article name in the search box entitled "./dab_solver.py -page:" and click on the doo dad to the right, it opens the article with words in red that need to be disambiguated. And to continue...
Right now I have Refractive index opened in the Dab solver. The first line of text (after the text for the image) begins with the first sentence in the section entitled Anisotropy. In the Dab solver the lines runs horizontally, for three sentences, which is an entire paragraph. Here is the entire single line which runs horizontally:
"The refractive index of certain media may be different depending on the polarization and direction of propagation of the light through the medium. This is known as birefringence or anisotropy and is described by the field of crystal optics. In the most general case, the dielectric constant is a rank-2 tensor (a 3 by 3 matrix), which cannot simply be described by refractive indices except for polarizations along principal axes."
I don't know what the word count is, but you can see the problem. Then there are three other seperate lines in the Dab solver that run horizontally. I will just give you the second one here:
"In magneto-optic (gyro-magnetic) and optically active materials, the principal axes are complex (corresponding to elliptical polarizations), and the dielectric tensor is complex-Hermitian (for lossless media); such materials break time-reversal symmetry and are used e.g. to construct Faraday isolators."
I just noticed that the line break to the right is determined by the end of a paragraph, rather than an 80 character limit (or whatever it is supposed to be).
My browser is Internet Explorer 7. Please allow me to point out that this is only a recent problem. I haven't had any problems for the first few months that I used this. Well, please let me know what you think. ----Steve Quinn (formerly Ti-30X) (talk) 02:16, 26 May 2010 (UTC)[reply]
IE7, I only did testing on Firefox, Chrome, and IE8. It looks like I dropped the proprietary word-wrap: break-word; bit sometime during the upgrade to IE8. Anyway, I re-added it a few other bits to make it a bit more usable in IE7. I'd recommend upgrading to another browser, but if you can't switch just install Google Chrome Frame. — Dispenser 05:00, 26 May 2010 (UTC)[reply]

Sometimes the right disambiguation is to delink; this isn't presented as an option. Josh Parris 15:28, 28 May 2010 (UTC)[reply]

I haven't found an appropriate place to put the extra controls in and that the existing method of simply editing the link manually works well enough. I have added a tip to the footer tips list pointing it out though. However, do you have suggestions where to place the following controls: Create a redirects wizard, Wiktionary link, Tag {{dn}}, Undo, and Unlink? — Dispenser 21:45, 31 May 2010 (UTC)[reply]

Dab solver bug

Dab solver is great - really useful. I have, however, found a fault. When dabbing links to Devonport to Devonport, Devon it generates a link to [[Devonport, Devon|Devon]]port instead of [[Devonport, Devon|Devonport]]. DuncanHill (talk) 14:38, 4 June 2010 (UTC)[reply]

Good catch. After reviewed the pipe trick rules and some experimentation I have added a regex for the city, state and corrected the other regexes to avoid simplifying links with a , or ( in them. — Dispenser 19:28, 4 June 2010 (UTC)[reply]
Good stuff - many thanks. DuncanHill (talk) 19:37, 4 June 2010 (UTC)[reply]

2010 Stanley Cup Finals

Hi again, I was trying to dab 2010 Stanley Cup Finals, but the dabsolver got stuck opening the page. I tried several times over a couple of days, and the computer was rebooted a couple of times during this. I have since fixed the dablinks manually (fortunately there were only three), but thought you might like to know in case there is something stopping dabsolver on the page. I'm using Chrome on WinXP. DuncanHill (talk) 11:56, 7 June 2010 (UTC)[reply]

I've found one problem with a variable not defined causing the menu cursor (blue row highlight) not to appear until a link was selected. I've also fixed a long standing problem in Chrome & Internet Explorer where the menu position code would double count the main window scroll offset. Otherwise, the tool worked normally on that page. Are either of these problems the one you encountered? — Dispenser 19:46, 10 June 2010 (UTC)[reply]
It just seemed to "stick" - the text would appear with dablinks highlighted, but I couldn't click on them, and there was no preview button or edit summary field appearing below the window. DuncanHill (talk) 21:04, 10 June 2010 (UTC)[reply]
I was not able to reproduce it when using versions 4.1 or 5.0 of Google Chrome. I suspect that corruption or truncation may have caused it, which also explains why the script didn't initialization since it is right after submit form. It may have been cleared up by ctrl-refreshing the page. — Dispenser 13:16, 12 June 2010 (UTC)[reply]

Changing access dates to "retrieved"

Hi Dispenser, I just used your dab solver for the first time, and it's very helpful. I just wanted to let you know that it made other changes at the same time, changing access dates to "retrieved" and changing the punctuation. [1] Is there a way to make sure it doesn't do this when fixing dabs? SlimVirgin talk|contribs 13:08, 12 June 2010 (UTC)[reply]

It is my understanding there is consensus to use "retrieved" instead of "accessed" as the former is clearer and is widely used. I'm not sure about the punctuation part, it is a simplification to avoid the issue of casing and to keep a consistent format. Additionally, I have added an option in preferences to default commonfixes to on or off. — Dispenser 20:24, 12 June 2010 (UTC)[reply]
I think it is an exaggeration to describe this thread as a consensus, which seems to be the claim that appears at User talk:Dispenser/Reflinks#accessed versus retrieved? While changing "accessed" to "retrieved" might be tolerable in a citation that is malformed anyway, and will require further edits, it is not acceptable for a citation in an edit that is in the same format as all, or most, of the other citation in the article. Jc3s5h (talk) 17:31, 25 October 2011 (UTC)[reply]

OperationalError 1226

This morning I've been getting a lot of "OperationalError(1226, "User 'dispenser' has exceeded the 'max_user_connections' resource (current value: 15)")" errors on dabsolver. I have no idea what it means, just that it stops dabsolver working. DuncanHill (talk) 08:39, 17 June 2010 (UTC)[reply]

There are limits in place on the database servers to prevent the starvation of resources. These include a maximum of concurrent connections (your error), limited number of connections per second, and a connection cannot be kept open for more a minute. In the current implementation, a program to generate the "relatedness" that’s seen in the menus is called once per link (image load). The implementation currently ties up too many connections as the web servers optimize for quick delivery. I am going to try testing some ideas to use less resources. — Dispenser 18:01, 30 June 2010 (UTC)[reply]

Dab Solver

Wow, Dab Solver rocks! Very slick GUI. Absolutely fantastic work. --JaGatalk 22:57, 19 June 2010 (UTC)[reply]

Juju (disambiguation)

Your tool works very well, but I ran across something strange today. When I enter Juju (Siouxsie and the Banshees album), I get "WARNING: Juju (disambiguation) not found", even though that's a valid article. GoingBatty (talk) 02:42, 12 July 2010 (UTC)[reply]

Two problems: 1. The disambiguation page doesn't (directly) link to Juju (Siouxsie and the Banshees album) breaking the circular linking convention, and 2. The page should not have a hatnote as it (or one of its redirects) is not a primary topic. The hatnote template {{otheruses2|Juju}} adds " (disambiguation)" to the link and the tool looks for that string, which is why the warning was thrown. — Dispenser 13:26, 12 July 2010 (UTC)[reply]
I fixed the link on the disambiguation page so it directly links to Juju (Siouxsie and the Banshees album), and that fixed the problem. Thanks! GoingBatty (talk) 23:05, 12 July 2010 (UTC)[reply]

Curious edits with Dab solver

Please assist I don't understand why on this edit Dab solver de-capitalized the first letter of template names and removed links and styling from the publisher field. How is this better? Please respond on my talk. Thanks. —Justin (koavf)TCM01:56, 13 July 2010 (UTC)[reply]

Translating to French

Hello! The Dab solver works just fine for French Wikipedia pages in its current state, however I tried to have a go at a French translation of the interface messages as suggested here. As our language makes a generous use of apostrophes, I backslashed them out of caution, however I'l let you judge if that was the right thing to do as my coding experience is now covered with a thick layer of dust. Hope this is helpful! Place Clichy (talk) 15:02, 20 July 2010 (UTC)[reply]

// Submitting a page, without changing the text
var NoChangesMsg    = 'Le texte n\'a pas été modifié, publier quand même?';
// If user opens a dialog before it finishes loading
var NotLoadedTryAgain = "Vous êtes trop rapide! Le serveur n\'a pas encore fini de répondre, veuillez cliquer à nouveau";

// Edit Summary
// When adding templates such {{dn}}
var RequestHelpMsg  = 'Besoin d\'aide: ';
// Link which were removed or unlinked
var RemovedLinksMsg = 'Lien supprimé: ';
// Links which were fixes
var SolvedLinksMsg  = 'Résolution des liens vers les pages d\'homonymie: ';
// Number of links fixes, if above is too long
var SolvedCountMsg  = 'Résolution de $1 liens vers des pages d\'homonymie';
// Summary feedback link when commonfixes is active
var UsingToolMsg    = ' à l\'aide de [[tools:~dispenser/view/Dab_solver|Dab solver]]';

// Server messages
// Database revision does not match page revision, usually caused by replication lag
OutOfSync = 'Alerte: la base de données n\'est plus à jour. Consulter <a href="http://toolserver.org/~bryan/stats/replag/">le délai de réplication</a>.'
// Link was not found in text, usually due to replication lag, see above
LinkNotInText = '\03{lightred}ALERTE\03{default}: [[%s]] non trouvé'
// Link not included because its transcluded from a template
UNUSED1 = '\03{lightyellow}ALERTE\03{default}: [[%s]] est une inclusion de [[Modèle:%s]]'
// No links to disambiguated (maybe cause by the above message)
NoLinksInText = "Aucun lien vers une page d\'homonymie n'a été trouvé dans l\'article"
I hadn't kept that entry up with new additions. But I've added the translations that you've provided and tried to filled in the missing parts as best as I could. — Dispenser 22:08, 21 July 2010 (UTC)[reply]

Enkidu

I'm having a problem when trying to use Enkidu to load pages into Dab Solver with Internet Explorer 7. I can use Options to enter my user name and can use List manager to load my list of pages. However, when I click the Next button, I get the following Javascript error:

Line: 69
Char: 2
Error: Object doesn't support this property or method
Code: 0
URL: http://toolserver.org/~dispenser/resources/Enkidu.html

I tried clicking on the Help link, but only get a blank page. Any assistance you could provide would be appreciated.

Thanks! GoingBatty (talk) 19:55, 25 July 2010 (UTC)[reply]

It seems that IE is missing an important function .indexOf() for lists. Without this the script can't tell which iframe belongs to which page in the list. The script will, however, work in Firefox and Chrome. I'll include IE in the testing platform, if I ever get around to rewriting it. — Dispenser 04:17, 20 September 2010 (UTC)[reply]

Southeast Region (Little League World Series)

Something in the page Southeast Region (Little League World Series) is making dabsolver stick on "loading". Chrome on WinXP. DuncanHill (talk) 15:12, 1 September 2010 (UTC)[reply]

Unable to reproduce Chrome/5.0.375.127 (same as your's), try hard refreshing with Ctrl-Shift-R. — Dispenser 16:41, 1 September 2010 (UTC)[reply]
Still sticking for me, so dabbed manually. DuncanHill (talk) 16:56, 1 September 2010 (UTC)[reply]

Two dabsolver requests

This is nitpicky but...

  1. When I come across a link that requires more specialized knowledge than I possess to disambiguate, I mark it with {{dn}}. Can dabsolver give me a one-click way to add this tag to links requiring more specialized attention? On pages with lots of them, it would actually save a lot of typing time.
  2. Per WP:INTDABLINK, an intentional link to a disambig page is supposed to be routed through a "foo (disambiguation)" redirect. See the high schools section in AHS for an example. This prevents the pages from showing up in the lists of pages requiring repair. Can dabsolver be set up with one-click options to create piped and unpiped intentional links?

Cheers! bd2412 T 15:12, 16 September 2010 (UTC)[reply]

While I've implemented the basics of your requests, there are some issues:
  1. How should {{dn}} be handled inside templates? Has anyone else figured this out?
  2. Should the program check if "foo (disambiguation)" already exists? Doing so will increase the start up complexity. How should we handle "foo (bar) (disambiguation)"? if we shorten it how do we tell intentional links apart?
The tool needs a redesign of the layout and skin. However, the uptake hasn't been anything that I hoped and I'm not sure if I'll continue making tools for editors. — Dispenser 03:11, 20 September 2010 (UTC)[reply]
Hi Dispenser - I hope you'll continue improving your existing tools, as they work very well. Thanks! GoingBatty (talk) 03:31, 20 September 2010 (UTC)[reply]
Thanks, indeed! Regarding your questions, if a disambig term occurs in a template, I usually try to fix the template. The program should not need to check whether "foo (disambiguation)" already exists, since we had a bot make a "foo (disambiguation)" redirect to every disambig page with links, and it will occasionally be adding new ones as they come about. bd2412 T 16:12, 20 September 2010 (UTC)[reply]

Dab solver working again

Hi, Dab solver is working again, see this thread on the village pump. DuncanHill (talk) 11:43, 22 September 2010 (UTC)[reply]

Feature request - sortname

Hi. If you run dab solver on 2009 Florida Marlins season, you see several "not found" dab links. Those are in {{sortname}} templates. Ideally, you could change {{sortname|Josh|Johnson}} to {{sortname|Josh|Johnson|Josh Johnson (baseball)}}. Any chance? Thank you. Wknight94 talk 02:30, 26 September 2010 (UTC)[reply]

Well you could run the following regular expressions using WikEd or Vector's find and replace. Replace \{\{sortname\|([^{|}]+)\|([^{|}]+)\}\} with {{sortname|$1|$2|$1 $2}}, save, run Dab solver, then simplify the template by replacing \{\{sortname\|([^{|}]+)\|([^{|}]+)\|\1 \2\}\} with {{sortname|$1|$2}}.
Except its cumbersome. So over a three hour journey I eventually figured out we were doing a wacky thing regarding {{dn}}. Realizing I could combine the two and find some nasty bugs related to templates along the way. — Dispenser 21:02, 26 September 2010 (UTC)[reply]
So it looks like it works now. Thank you! Wknight94 talk 23:21, 26 September 2010 (UTC)[reply]
Same issue - 1994–95 Washington Capitals season doesn't work for Jeff Nelson. Maybe because of the capital S in Sortname? Wknight94 talk 20:25, 1 October 2010 (UTC)[reply]
Yes, I've also added the redirects with the space in it. — Dispenser 21:36, 1 October 2010 (UTC)[reply]

Minor typo

You have "Intertionally link to this disambiguation page" instead of "intentionally", when selecting a page title from the pop-up disambiguation list. --McGeddon (talk) 12:16, 27 September 2010 (UTC)[reply]

 FixedDispenser 14:59, 27 September 2010 (UTC)[reply]

Translation to Japanese

Hello! I translated Dab solver into Japanese (User:Was a bee/Dab solver). :D --Was a bee (talk) 06:35, 11 October 2010 (UTC)[reply]

plus Added. I'll examine the text box width issue later. — Dispenser 13:55, 11 October 2010 (UTC)[reply]
Thank you. ^.^ --Was a bee (talk) 19:22, 11 October 2010 (UTC)[reply]

Dabsolver bug

I've been using your Dabsolver tool quite regularly lately and like the improvements you've been making. Recently, however, it seems to be missing some dab-links, and I cannot see why. For example, the page EUROMAT includes links to at least 3 disambiguation pages: VAN, UBA, and DAGV, but dabsolver.py -page:EUROMAT says "There were no disambiguation links found in the wikitext". I'm leaving these links unfixed in hope that it helps you trace the problem. --R'n'B (call me Russ) 20:46, 13 October 2010 (UTC)[reply]

That's not a bug, its a feature! Dablinks (used by Dab solver) ignores disambiguation links with circular linking treating them as primary topic links from a hatnote. While I have code that also checks other aspects (used in dabfix to identify bad hatnotes) the code runs slower and is not language independent. — Dispenser 20:06, 14 October 2010 (UTC)[reply]
I'm having a hard time understanding the value of this feature. Most of these circular links, in my dabsolving experience, are incorrect and need to be either unlinked or retargeted. --R'n'B (call me Russ) 11:31, 22 November 2010 (UTC)[reply]
That's because the other software wont let you disambiguation hatnotes templates ;-) and most new users are perplexed if presented with the option. Anyway, I'm looking to add some sort of force option which should help another user with fixing redirects. A more eloquent solution might be to disable template disambiguation on circular links. — Dispenser 06:21, 23 November 2010 (UTC)[reply]

References

I note that dabsolver, with common fixes "on", can convert bare external links into <ref>references</ref>. However, it does not check to see if the page contains a <references/> or {{reflist}} where the references can appear. I'd suggest adding a check and inserting the {{reflist}} if none exists. --R'n'B (call me Russ) 11:31, 22 November 2010 (UTC)[reply]

 Fixed It was a bug that was introduced in pyrev:7544 and subsequently fixed 7 months later in pyrev:8245. I have since updated to the latest version which include more support for languages. — Dispenser 04:58, 23 November 2010 (UTC)[reply]

Hi, in this diff I clicked on the "intentionally link to disambiguation page" in dabsolver, and got a rather odd result, as you can see. DuncanHill (talk) 18:02, 23 November 2010 (UTC)[reply]

bd2412 gave me the impression that a bot would redirect "foo (disambiguation) (disambiguation)" in #Two dabsolver requests above. And isn't there a rule about not including " (disambiguation)" in the title? Anyway, that code is already tagged with a FIXME, I'll get to it later. — Dispenser 22:18, 23 November 2010 (UTC)[reply]
The bot creates "foo (disambiguation)" to redirect to "foo", where "foo" is a disambiguation page. I don't think it creates "foo (disambiguation) (disambiguation)" because no-one would ever expect such a link to be introduced. Intentional links to dab pages go to "foo (disambiguation)" to make it possible to spot them in the "what links here". DuncanHill (talk) 00:20, 24 November 2010 (UTC)[reply]
I am skeptical that people thought far enough to cover that special case: [2]. (Even if I did without blurting it out) — Dispenser 04:36, 24 November 2010 (UTC)[reply]

Hey, I was thinking, it would be nice to have a link on the Dab Solver GUI to take you to the page in EN wiki. From time to time Dab Solver doesn't find the disambig link, and if I could click from there to go directly to the corresponding wiki page it would make things a little easier. Thanks again for the great tool. --JaGatalk 17:56, 3 December 2010 (UTC)[reply]

+1. R'n'B (call me Russ) 23:16, 3 December 2010 (UTC)[reply]
It is intentional as to discourage using the tool as a substitute for Dablinks. You can get around this by selecting the article title in the input box (triple-click) and dragging it to the search box in Firefox (set to Wikipedia search).
While on the subject, Dablinks has tabs for generators to check groups of pages. "Backlinks" can check inbound links to a disambiguation page and provide a nice Dab solver link to middle click. However, If you're writing about the circular link detection, I am looking to resolve it with a rewrite of Enkidu. — Dispenser 22:29, 5 December 2010 (UTC)[reply]

Feature request: repeat disambigs

Sometimes the same dab page is linked more than once on a page. The script now requires the editor to fix each of these links individually, which is a good default, because you never know how a link is going to be used. However, sometimes, like here, it becomes obvious that all the links to, say, MFC, will need an identical change. It would be nice to have an option in the popup box that lets you change all identical links at once. --R'n'B (call me Russ) 23:20, 3 December 2010 (UTC)[reply]

It is somewhat complicated to implement and likely to be abused by inexperienced users (the target audience). The find and replace dialog (in vector or wikEd) should serve the needs of mass link replacement. However, these are probably issues of overlinking then anything else. That's why I wrote it out of the original specification. — Dispenser 23:06, 4 December 2010 (UTC)[reply]
I may consider adding a recently or popularly used section near the top somewhere. — Dispenser 20:07, 4 February 2011 (UTC)[reply]

Hi, was just dabbing Pig-faced women, and noticed that dabsolver didn't recognise the authorlinks in cite templates used in the "Notes and references" section. Is this a known bug? DuncanHill (talk) 16:07, 4 February 2011 (UTC)[reply]

It also doesn't know which parameters produce links. Here's the high level description:
Get ambiguous links from Dablinks. Find bracket links matching the ambiguous link. If none found, Find template parameters matching the ambiguous link. If none found, check transcluding templates outbound links for the ambiguous. If none found, throw up error message.
The assumption that ambiguous links only appears in one level avoids disambiguating non-link template parameters. It would have worked the second time around. — Dispenser 19:37, 4 February 2011 (UTC)[reply]
OK thanks. DuncanHill (talk) 22:27, 4 February 2011 (UTC)[reply]

Translation de

Hi. In coop with User Schnark following is available:

// Submitting a page, without changing the text
var NoChangesMsg    = 'Der Text ist unverändert. Fortfahren?';
// If user opens a dialog before it finishes loading
var NotLoadedTryAgain = "Du warst schneller als der Server. Versuche es nochmal.";
// User leave the tool without saving
// +Typically appears sandwiched between text on a Ok/Cancel dialog
var QuitWithoutSaving = "Falls du diese Seite jetzt verlässt, gehen ungespeicherte Änderungen verloren.";
// Disambiguation needed/"Ich finde keinen geeigneten Link" tag (blank to remove)
var dn_template = ""; //not used in de

// Edit Summary
// When adding templates such {{dn}}
var RequestHelpMsg  = ''; //not used in de
// Link which were removed or unlinked
var RemovedLinksMsg = 'Entlinkt: ';
// Links which were fixes
var SolvedLinksMsg  = 'Weiterleitung(en) aufgelöst: ';
// Number of links fixes, if above is too long
var SolvedCountMsg  = '$1 Weiterleitungen aufgelöst';
// Summary feedback link when commonfixes is active
var UsingToolMsg    = ' mit Hilfe des [[tools:~dispenser/view/Dab_solver|Dab solvers]]';

// Interface text
var TabRead     = "Lesen";
var TabEdit     = "Bearbeiten";
var TabHistory  = "Versionsgeschichte";
var TabClose    = "Schließen";
var OptRedlinks = "Zeige Rotlinks";
var OptForcelink= "Link auf Begriffsklärungsseite";
var OptTaglink  = ""; //not used in de
var OptUnlink   = "Entlinken";
var OptReset    = "Zurücksetzen";

// Server messages
// Database revision does not match page revision, usually caused by replication lag
OutOfSync = u'Achtung: Die Datenbank ist nicht aktuell. Siehe <a href="http://toolserver.org/~bryan/stats/replag/">replication lag</a>.'
// Link was not found in text, usually due to replication lag
LinkNotInText = u'\03{lightred}Achtung\03{default}: [[%s]] nicht gefunden'
// No links to disambiguated (maybe cause by the above message)
NoLinksInText = u"Keine Links auf Begriffsklärungsseiten im Wikitext gefunden"
// Link not included because its transcluded from a template
LinkTranscluded = u'Die Weiterleitung [[%s]] ist über [[%s]] verlinkt.'
// Text removed for brevity and compliance with the Toolserver rules
RemovedText = "%s\n<removed>%d Zeilen versteckt (%d Zeichen)</removed>\n%s"
// Rewrite templates link text to allow matching
ReplaceTemplates = [
];

Although questions, relating to the german {{de}} template, should show up, you`d better ask User Schnark for details. Gary Dee (talk) 11:52, 11 February 2011 (UTC)[reply]

Could you please change for the german Dab Solver:

// Links which were fixes
var SolvedLinksMsg  = 'BKL(′s) aufgelöst: ';
// Number of links fixes, if above is too long
var SolvedCountMsg  = '$1 BKL(′s) aufgelöst';

as Weiterleitung = Redirect and BKL = Begriffsklärung = disambiguation

-- Gary Dee (talk) 11:48, 12 February 2011 (UTC)[reply]

AddedDispenser 23:24, 27 February 2011 (UTC)[reply]

Hi. I would like to know if the german users are featured in those competition lists at tools:~jason/ch/monthly_list.php ? Gary Dee (talk) 17:23, 11 February 2011 (UTC)[reply]

You'll have to ask User:JaGa to set it up for another wiki. From what I gather it is rather resource intensive running it on S1 (the database cluster devoted to the English Wikipedia). — Dispenser 16:04, 6 October 2011 (UTC)[reply]

Translation sv

// Submitting a page, without changing the text
var NoChangesMsg    = 'Spara sidan utan att ändra texten';
// If user opens a dialog before it finishes loading
var NotLoadedTryAgain = "Du var snabbare än servern. Försök igen.";
// User leave the tool without saving
// +Typically appears sandwiched between text on a Ok/Cancel dialog
var QuitWithoutSaving = "Vill du avsluta utan att spara?";
// Disambiguation needed/"Länkutredning behövs" tag (blank to remove)
var dn_template = ""; //not used in sv
 
// Edit Summary
// When adding templates such {{dn}}
var RequestHelpMsg  = ''; //not used in sv
// Link which were removed or unlinked
var RemovedLinksMsg = 'Avlänkad: ';
// Links which were fixes
var SolvedLinksMsg  = 'Länkuträttad: ';
// Number of links fixes, if above is too long
var SolvedCountMsg  = '$1 Länkuträttat flera länkar';
// Summary feedback link when commonfixes is active
var UsingToolMsg    = ' använt [[tools:~dispenser/view/Dab_solver|Dab solvers]]';
 
// Interface text
var TabRead     = "Läs";
var TabEdit     = "Redigera";
var TabHistory  = "Versionshistorik";
var TabClose    = "Stäng";
var OptRedlinks = "Visa rödalänkar";
var OptForcelink= "Länk till förgreningssida";
var OptTaglink  = ""; //not used in sv
var OptUnlink   = "Avlänka";
var OptReset    = "Återställ";
 
// Server messages
// Database revision does not match page revision, usually caused by replication lag
OutOfSync = u'Achtung: Databasen ändring matchar inte version av sidan, troligen orsakats av <a href="http://toolserver.org/~bryan/stats/replag/">servens fördröjning</a>.'
// Link was not found in text, usually due to replication lag
LinkNotInText = u'\03{lightred}Länken\03{default}: [[%s]] hittades inte'
// No links to disambiguated (maybe cause by the above message)
NoLinksInText = u"Inga länkar till förgreningssidor i wikitexten hittades"
// Link not included because its transcluded from a template
LinkTranscluded = u'Förbindelselänken [[%s]] är [[%s]] avslutad.'
// Text removed for brevity and compliance with the Toolserver rules
RemovedText = "%s\n<removed>%d Tecken (%d bortagna)</removed>\n%s"
// Rewrite templates link text to allow matching
ReplaceTemplates = [
];

-Josve05a (talk) 19:04, 11 February 2011 (UTC)[reply]

I've chanch some words. -Josve05a (talk) 23:04, 16 February 2011 (UTC)[reply]
Added and UpdatedDispenser 23:24, 27 February 2011 (UTC)[reply]

Accessed ---> Retrieved

Please stop this bot from changing accessed to Retrieved. Accessed is allowed under WP:CITE. -- Ssilvers (talk) 17:19, 12 February 2011 (UTC)[reply]

I was the pawn in this - with this edit. Ssilvers says that WikiProject Gilbert and Sullivan has a practice of using "accessed" instead of "retrieved", though I can't find any documentation of that. Was there a reason for including this change in the "minor fixes"? StAnselm (talk) 01:53, 13 February 2011 (UTC)[reply]

Translation sl

// Submitting a page, without changing the text
var NoChangesMsg    = 'Besedilo ni spremenjeno, vseeno potrdim?';
// If user opens a dialog before it finishes loading
var NotLoadedTryAgain = "Bili ste prehitri! Strežnik še ni odgovoril, ponovno kliknite.";
// User leave the tool without saving
// +Typically appears sandwiched between text on a Ok/Cancel dialog
var QuitWithoutSaving = "Odhod s strani bo povzročil izgubo neshranjenega besedila.";
// Disambiguation needed/"I don't know" tag (blank to remove)
var dn_template = ""; // not used

// Edit Summary
// When adding templates such {{dn}}
var RequestHelpMsg  = ''; // not used
// Link which were removed or unlinked
var RemovedLinksMsg = 'Odstranitev povezave: ';
// Links which were fixes
var SolvedLinksMsg  = 'Razločitev: ';
// Number of links fixes, if above is too long
var SolvedCountMsg  = 'Razločitev $1 povezav';
// Summary feedback link when commonfixes is active
var UsingToolMsg    = ' z uporabo [[tools:~dispenser/view/Dab_solver|Dab solverja]]';

// Interface text
var TabRead     = "Preberi";
var TabEdit     = "Uredi";
var TabHistory  = "Zgodovina";
var TabClose    = "Zapri";
var OptRedlinks = "Prikaži rdeče povezave";
var OptForcelink= "Povezava na razločitveno stran";
var OptTaglink  = ""; // not used
var OptUnlink   = "Odstrani povezavo";
var OptReset    = "Razveljavi";

// Server messages
// Database revision does not match page revision, usually caused by replication lag
OutOfSync = u'Opozorilo: baza podatkov je zastarela. Glejte <a href="http://toolserver.org/~bryan/stats/replag/">zakasnitve</a>.'
// Link was not found in text, usually due to replication lag
LinkNotInText = u'\03{lightred}OPOZORILO\03{default}: [[%s]] ne obstaja'
// No links to disambiguated (maybe cause by the above message)
NoLinksInText = u"V tem besedilu ni bilo najdenih povezav na razločitvene strani"
// Link not included because its transcluded from a template
LinkTranscluded = u'Razločitev [[%s]] je vključena iz [[%s]]'
// Text removed for brevity and compliance with the Toolserver rules
RemovedText = "%s\n<removed>%d vrstic skritih (%d znakov)</removed>\n%s"
// Rewrite templates link text to allow matching
ReplaceTemplates = [
  r'{{Sort name|(.*?)|(.*?)}}', r'{{sortname|$1|$2|$1 $2}}',
];

--Sporti (talk) 11:59, 19 February 2011 (UTC)[reply]

Added, thanks! — Dispenser 23:24, 27 February 2011 (UTC)[reply]

Bugs!

I've noticed that sometimes Dab Solver will try to replace my corrections with: <<link:0>> or <<link:1>>, etc...

Also, I've tried numerous times to use the "Edit Token" feature, and every time it return my code as "+\" Maybe you need to update your script with API Help --- query:

 pages:
   -
     ns: 0
     title: Copy the lines below
     missing:
     starttimestamp: |-
       2011-02-20T23:33:54Z
     edittoken: +\

Also, since the edit token isn't working, it is really annoying how the "Show preview/Changes" button open in the same tab, it would be helpful if I could still have open the Dab Solver interface, while I save my changes... — Preceding unsigned comment added by Cit helper (talkcontribs) 23:36, 20 February 2011 (UTC)[reply]

It is helpful to list your browser, Firefox/4.0b12pre, so I don't have to deduce it. Beta releases generally will have weird bug, such as Firefox/4.0b11pre somehow losing element.focus(). As for your issues:
  1. You were warned that the edit was corrupted by code that specifically checked for it.
  2. Your cookie isn't being sent to the wmf server either because Firefox blocked third-party cookie (again haven't tested) or the secure-rewrite option was change (wrong server). I've added an icon to reduce confusion.
  3. There no point to this. Install a bookmarklet instead if you want to move around easily.
Dispenser 02:18, 21 February 2011 (UTC)[reply]

German dab solver

Hi. Since a few days there is an error that appears when disambiguating that says: API error: missingtitle The page you specified doesn't exist. The other problem is that it does not work properly, mean that the application does not show the best choice (red, orange or green). Is there a recent problem with it globally, or is it just the german version ? --Gary Dee (talk) 13:55, 17 February 2011 (UTC)[reply]

I can't remember what problem this was, but its been fixed in the mean time. The only differences other than translations are the English Wikipedia version has integration with Dab Challenge and a regular expression manual of style checker. I've fixed a slew of problem with the ranking program. The program isn't sophisticated as it just counts the number of pages linking to both the referring and target pages. I still need to get in contact with the ruwiki's Connectivity Project, since a graph database is much faster at doing cluster analysis. Text analysis would be great if we found someone to do it and got the run-time down to a few seconds for the average page. — Dispenser 20:57, 6 October 2011 (UTC)[reply]

Template replacement errors

It appears that dab solver has been replacing {{WebCite}} with {{cite web}}. Please check this for yourself and make any needed corrections. Thank you in advance. – Allen4names 14:38, 6 March 2011 (UTC)[reply]

Fixed I was being to generous with the regular expression for matching {{web cite}} (a redirect of {{cite web}}). — Dispenser 15:33, 6 October 2011 (UTC)[reply]

Spaces in titles

It appears Dabsolver is having a problem with articles with spaces in their titles. See List of Finnish municipalities by population for an example: it returns a blank text, but warns that it did not find a link to Lavia or Tammela. In contrast, pages without spaces in their titles, like Satakunta, work fine. I tried replacing the underscores in the URL or the form with plus signs and %20, but that did not help. Ucucha 02:38, 22 March 2011 (UTC)[reply]

It's not a problem with the article titles, as others such as Shareef Abdur-Rahim works just fine. GoingBatty (talk) 16:46, 22 March 2011 (UTC)[reply]
Yes, you're right. Might it be the length of the title? Ucucha 16:51, 22 March 2011 (UTC)[reply]
Nope, as I frequently use it on List of artists who have covered The Beatles - my guess is Dispenser is going to say it's some sort of circular logic issue (see similar issues above). Good luck! GoingBatty (talk) 17:10, 22 March 2011 (UTC)[reply]
Looking at the source code reveals the answer. The page is entirely comprised of calls to Template:Infobox Finnish municipality/population count sequence reverse, as if it were some sort of database. The devs say not to do this. This is where the template detection code as there are no visible links on the template page. — Dispenser 20:07, 6 October 2011 (UTC)[reply]

Translation to Lithuanian (lt)

// Submitting a page, without changing the text
var NoChangesMsg    = 'Tekstas nepakeistas, ar saugoti?';
// If user opens a dialog before it finishes loading
var NotLoadedTryAgain = "Jūs labai greitas!  Serveris dar neatsakė, kartokite.";
// User leave the tool without saving
// +Typically appears sandwiched between text on a Ok/Cancel dialog
var QuitWithoutSaving = "Ar tikrai norite išeiti, dar nėra išsaugoti pakeitimai, juos prarasite";
// Disambiguation needed/"I don't know" tag (blank to remove)
var dn_template = "{{Nuoroda}}";

// Edit Summary
// When adding templates such {{dn}}
var RequestHelpMsg  = 'Reikalinga pagalba: ';
// Link which were removed or unlinked
var RemovedLinksMsg = 'Nuimti nuorodą: ';
// Links which were fixes
var SolvedLinksMsg  = 'Išspręsti ryšiai: ';
// Number of links fixes, if above is too long
var SolvedCountMsg  = 'Įšspręsta $1 nuorodų';
// Summary feedback link when commonfixes is active
var UsingToolMsg    = ' naudojant [[tools:~dispenser/view/Dab_solver|Dab solver]]';

// Interface text
var TabRead     = "Skaityti";
var TabEdit     = "Redaguoti";
var TabHistory  = "Istorija";
var TabClose    = "Uždaryti";
var OptRedlinks = "Parodyti raudonas nuorodas";
var OptForcelink= "Nuoroda į nuorodinį puslapį";
var OptTaglink  = "Nežinau / pažymėti {{Nuoroda}}";
var OptUnlink   = "Panaikinti nuorodą";
var OptReset    = "Atstatyti";

// Server messages
// Database revision does not match page revision, usually caused by replication lag
OutOfSync = u'Perpėjame, duomenys gali būti pasenę.  Žr. <a href="http://toolserver.org/~bryan/stats/replag/">atnaujinimus</a>.'
// Link was not found in text, usually due to replication lag
LinkNotInText = u'\03{lightred}PERSPĖJIMAS\03{default}: [[%s]] nerastas'
// No links to disambiguated (maybe cause by the above message)
NoLinksInText = u"Šiame vikitekste nėra nuorodų į nuorodinius straipsnius"
// Link not included because its transcluded from a template
LinkTranscluded = u'Nevienareikšmiškumas [[%s]] yra įtrauktas iš [[%s]]'
// Text removed for brevity and compliance with the Toolserver rules
RemovedText = "%s\n<removed>%d paslėptos eilutės (%d simbolių)</removed>\n%s"
// Rewrite templates link text to allow matching
ReplaceTemplates = [
  r'{{Sort name|(.*?)|(.*?)}}', r'{{sortname|$1|$2|$1 $2}}',
];

--Vpovilaitis (talk) 11:33, 13 April 2011 (UTC)[reply]

plus AddedDispenser 18:18, 13 April 2011 (UTC)[reply]

Suggestion for transclusions

When using Dab solver on some articles, there are transclusions notes at the bottom of the page. Could you please change this so that the second link would go to http://toolserver.org/~dispenser/cgi-bin/dab_solver.py?page=PAGENAME instead, to make it easier to fix the disambiguations?

For example: When using Dab solver on June 2010, it states "Disambiguation [[Iranians]] is transcluded from [[Portal:Current events/2010 June 26]]" (plus 7 more). It would be great if the second link would go to http://toolserver.org/~dispenser/cgi-bin/dab_solver.py?page=Portal%3ACurrent_events%2F2010_June_26 instead.

Thanks! GoingBatty (talk) 17:07, 28 July 2011 (UTC)[reply]

Added, but it doesn't work with translations. Plus, as I will explain in the next section below that the transclusion system isn't robust. You could have also copy & paste the URL or the bracketed linked text into the page field. — Dispenser 09:26, 6 October 2011 (UTC)[reply]
So link detection works something like this: try matching the dab to all bracketed links, if nothing matched try with all template parameters, if nothing matched query for the link on transcluding templates only return the first result, if nothing matched display notice. The problems: a template transcluded deep enough that the top two fix links will point to one-another, (as below) is the link are hidden with <includeonly> skipping detection, or a template parameter is mistakenly matched when it from a template. So with these fault I consider it more of a bonus feature. (I've worked around the last by always doing the translcusion check if there were no matching bracketed link). — Dispenser 22:21, 9 October 2011 (UTC)[reply]

On List_of_Colorado_fourteeners, Dab solver wanted me to disambiguate the name= parameters for some of the templates, but those are the display names; the actual links are in the first parameter of {{cmt}}. Logan Talk Contributions 14:44, 9 September 2011 (UTC)[reply]

There are several problems in play here. The first being dab solver highlights all template parameters matching the disambiguation link, letting the user figure which ones are the correct ones to change. Often only one appears, making it trivial. On that page, however, there were multiple false highlights before the correct ones at the end. Second, determining which parameter affects output is impossible without page parsing. We have some custom regexes to handle the more common templates, but {{cmt}}’s 25 transclusion hardly justify the effort. — Dispenser 19:25, 6 October 2011 (UTC)[reply]

Can't sign in using credentials in new format

Thanks for your efforts in producing this wonderful tool. I can still make useful edits using Dab solver but I can no longer get (sign in) to work. The output from "Get my credentials" seems to have changed today, to a more verbose format which "Use credentials" does not accept. I realise that the security check may be a peripheral issue that just gets in your way of your real mission, but I'd appreciate any help. Thanks again, Certes (talk) 15:01, 5 October 2011 (UTC)[reply]

Just realised this is probably due to today's WikiMedia 1.18 upgrade. Still a problem, but not your problem - sorry! Certes (talk) 17:29, 5 October 2011 (UTC)[reply]
Fixed They switch the YAML mode to JSON which is technically a subset in rev:86302. It looks scarier, but that's just something we'll have to live with. — Dispenser 05:05, 6 October 2011 (UTC)[reply]

Thank you for the quick response. "Sign in" is now working perfectly. There is one new problem: clicking "Save page" takes me to the Wikipedia edit page with an error message: Your edit has been rejected because your client mangled the punctuation characters in the edit token. The edit has been rejected to prevent corruption of the page text. This sometimes happens when you are using a buggy web-based anonymous proxy service. It's not a serious problem, I just click "Save page" again at the bottom of the edit page and it works, but if it's easy to fix then that would make editing easier. Certes (talk) 13:50, 6 October 2011 (UTC)[reply]

Fixed, tested both methods of saving. — Dispenser 15:24, 6 October 2011 (UTC)[reply]
Looks good to me too; thanks again. For the benefit of anyone else still having problems, I also needed to sign out of Dab solver by deleting my wpEditSession cookie from toolserver.org then sign in again before it worked properly. Certes (talk) 17:29, 6 October 2011 (UTC)[reply]
I should mention (at least somewhere) that I changed the cookie path so only my tools can read them. This was done for privacy and to avoid issues with other Tools hosted on the Toolserver (such as CatScan 2 including cookies in the permalink URL). Your cookies can be viewed in Preferences where you can also wipe them (including Google Analytics's utma/utmb/utmz tracking cookies). Firefox note: popunder, popundr, and setover18 cookies are set by NoScript's Surrogate Scripts. — Dispenser 06:59, 10 November 2011 (UTC)[reply]

Interface in Russian

Hi. I'm translate interface to Russian: ru:User:IGW/Dab Slover ru. In RuWiki format of reference section is == Примечания == {{примечания}} instead of ==References== {{Reflist}} . --IGW (talk) 16:58, 10 October 2011 (UTC)[reply]

AddedDispenser 19:26, 10 October 2011 (UTC)[reply]

Icon legend

Is there a legend for all the dab solver icons? —danhash (talk) 20:15, 1 November 2011 (UTC)[reply]

A legend for which icons? Most icons have a label to the right or below, close/refresh buttons which have tooltips instead. The only odd ball is the relevancy scores which should be initiative in itself with bars filling, the disambiguation splitting arrows icon, set-index pass through arrows, or the looped link. — Dispenser 07:22, 10 November 2011 (UTC)[reply]
The looped link is the main one I had a question about. It was difficult to figure out dab solver getting started with it, and I think it'd be good to document all the icons. —danhash (talk) 14:54, 15 December 2011 (UTC)[reply]
Maybe I'm different, but I see little help in producing itemized lists that are frighteningly common around here with walls of text abound. It's open source and I try to document that as much as possible. It doesn't make sense writing documentation at my glacier speed when I could improve the interface, create a better work flow, or fix bugs. It also can get out of date quickly and isn't as helpful as inline help.
As for the indicators: They're very basic indicators, functioning more as a priority list than any real analysis. The bars indicate number of pages linking to the source (the page being solved) and the target (the link in the list), 1 bar (maroon) for 1 page, 2 bars (amber) for 2 to 8 pages, 3 bars (green) for 8 to 27 pages, and 4 bars (blue) for anything more. Now there's a special case (since the source and target aren't included as possible pages) with the target page linking to the source page, which if completed would be a linking loop. — Dispenser 20:31, 15 December 2011 (UTC)[reply]
Thanks for the reply—that helps a lot :) —danhash (talk) 22:09, 15 December 2011 (UTC)[reply]

Two changes/questions

Can the 'Fix' column be moved to the beginning or between the page name and the dab titles. This would make it easier to select without have to move the cursor across the entire row of data an maybe wind up on a different line? Why does this default to watch the page? If you forget, it makes a mess of your watch list with no easy way to cleanup it up. Vegaswikian (talk) 19:53, 8 December 2011 (UTC)[reply]

The layout was models after JaGa's lists. I would not think there'd be an issue with the guild line everywhere, but I've added row highlighting.
If you've setup a watchlist token, simply sign in again (upper right) with "Import watchlist and settings" checked. You can confirm in the Tool Preferences. Anyway, I don't know how to make this process less fallible since it requires setting up the user's account, do I uncheck the box by default and add in error messages that the token wasn't present? Change the wording? — Dispenser 06:48, 9 December 2011 (UTC)[reply]
The row highlighting helps. Thanks.
Not sure how much playing with the system I want to do. As a general user giving the tool a test drive, I was surprised about the effect on my watchlist. This could scare away many users. Setting the watch page check as the default is a big surprise. I think the default should be off and just let the user check it if they wish. As to adding an error message, I don't know how to answer this. For the general user, there is no error if your token wasn't present. So saying that there is an error is a tad misleading. I think I know where you are coming from a programmers view. So, no great insight from me on what to do there.
Also I find having to do the preview annoying. However, it does reduce the number of edits since I can sometimes cleanup formatting while the whole page is displayed. Vegaswikian (talk) 07:38, 10 December 2011 (UTC)[reply]
Silently unwatching pages is worse, especially with users fixing their favorite pages and then wonder why they're gone from their watchlist. I've gone ahead and added the error message in, its more descriptive mentioning that pages will be added/removed from the watchlist, but unobtrusive unlike the popup before.
You have to sign in every few hour because MediaWiki generates a new edittoken. Nothing I can do about that, but its relatively easy. I've placed note about this in more places. Unfortunately, the more that is write then less is read. — Dispenser 23:04, 10 December 2011 (UTC)[reply]
Ah, I think I see the problem and it is a no win situation. Thanks. Vegaswikian (talk) 23:35, 10 December 2011 (UTC)[reply]

Session problem reported

Hey, I got a "loss of session data" question over at the DPL bot talk page. I'm pretty sure I gave him the right answer, but you may want to check it out as well. Cheers, --JaGatalk 13:38, 18 December 2011 (UTC)[reply]

He wasn't signed into Dab solver. As an experiment, I change the behavior of the save button as I kept hearing "I am not able to save" and similar with the button disabled. The new behavior is to use an anonymous edittoken (+\) if you're signed out and disable save if your signed in without an edittoken. Now I'm hearing "lost session data" and tempted to blame the wording in the MediaWiki error. However, fr and ja disable the save button and label it as "Save (after preview)", but zh (Chinese) removes it completely. I'll probably look into that direction, any thoughts? — Dispenser 04:08, 19 December 2011 (UTC)[reply]
You're way over my head, I'm afraid. Hey, I got some Dab Solver questions over at the DPL bot talkpage, if you could check it out I think the editor would appreciate it. Thanks, --JaGatalk 23:05, 20 December 2011 (UTC)[reply]

Dabsolver's non-disambig edits

I recently got involved in a mini-edit war about the non disambiguation edits made by dabsolver. In short, these don't appear on the edit summary and another editor had no idea why the edits were made (I don't really know either, but they didn't seem to matter to me), so the other editor reverted my dabsolver edit.

The following was posted at User talk:Franamax by Franamax (talk · contribs)

My initial qualm was about resolving a dab to a redlink, which I would question but willing to discuss (maybe a sentence on the dab page or redlink there would be better). Beyond that, I believe I'm OK to revert as "unexplained changes" and let you justify what you're trying to do, here or on article talk. I checked the dabsolver link you gave in your edit summary and nothing I saw there described any (in WP:AWB terms) "genfixes" as part of the task, nor that those changes have community approval. Since you didn't explicitly describe the purpose of those changes, and they formed the more substantive portion of the alterations, my conclusion is that you used a deceptive (rather than inaccurate) edit summary. Please be much more clear on what exactly you feel your technical edits are improving, or link to a task which has prior community approval. What exactly is your task doing, is it described somewhere? I'd rather not scour back through your past edits trying to figure it all out. Franamax (talk) 07:33, 5 January 2012 (UTC)

Could you revise your program to include these in the edit summary? D O N D E groovily Talk to me 15:33, 5 January 2012 (UTC)[reply]

Points/Standing

How come my edits don't seem to affect my points or standing on the Dab Solver page?

Allen (talk) 02:50, 9 January 2012 (UTC)[reply]

Because the links you corrected aren't apart of this month's Dab Challenge. "X points on this page" tells how many points are to be had along with the running totals for the day and month. Follow the links from Dab solver's front page all of which should have points, instead of hunting with Dablinks. — Dispenser 04:15, 9 January 2012 (UTC)[reply]
That link looks right but didn't work for me: try here and pick new or random. Enhancement suggestion: could new be limited to article space pages? Certes (talk) 10:49, 9 January 2012 (UTC)[reply]
Fix the link. You'll find those tool to be faster than Dablinks. There's actually a namespaces URL option, but I haven't come up with a non-hackist way of integrating into the interface. — Dispenser 14:43, 9 January 2012 (UTC)[reply]

Dab solver failure

On my first attempt to use this tool, the message "Sorry! We could not process your edit due to a loss of session data. Please try again. If it still does not work, try logging out and logging back in." was issued repeatedly, every time I tried to save my edit. I did log out and back in but it changed nothing. — O'Dea (talk) 13:34, 27 January 2012 (UTC)[reply]

I think you didn't sign in. You will see a button on the top right telling you to do so.--Ankit MaityTalkContribs 09:06, 7 March 2012 (UTC)[reply]

"the last update completed 898 minutes ago"

Hi Dispenser! I'm happily using Dab Solver's Topic points page to disambiguate articles, but I noticed it says "The list is updated hourly; the last update completed 898 minutes ago." Is that something you can fix? Thanks! GoingBatty (talk) 02:19, 18 February 2012 (UTC)[reply]

Much better now, but not completely solved: "The list is updated hourly; the last update completed 79 minutes ago." GoingBatty (talk) 18:23, 18 February 2012 (UTC)[reply]
I'm guessing those messages are based on my scripts, which are supposed to update hourly, but aren't because of some ongoing Toolserver maintenance. I'm kicking off updates at random intervals while I wait for them to complete their work. --JaGatalk 19:14, 18 February 2012 (UTC)[reply]
Thanks for the info. I now see "The list is updated hourly; the last update completed 5 minutes ago." GoingBatty (talk) 19:25, 18 February 2012 (UTC)[reply]
This appears to be broken again. Just thought I'd let you know. It appears to have been several days since an update --Mblumber (talk) 20:54, 4 May 2012 (UTC)[reply]
As User:JaGa's pointed out, it based on his scripts. It is possible to remove already fixed links, but every time I implemented it the tool run time went from 3 seconds to 30 seconds. Outside <10 seconds usability envelope and further away from the 0.1 second goal. — Dispenser 22:07, 4 May 2012 (UTC)[reply]

Major bug

See this:[3].--Ankit MaityTalkContribs 06:36, 4 March 2012 (UTC)[reply]

Watchlist tool on wikis in other languages than en

Hello!

Congratulations again for the wonderful tool that is dabsolver. I have no trouble seeing the pages from my watchlist with dab links on this page, but I cannot make it work on other languages than en. I tried to add &dbname=frwiki to the URL but got an error message:

<class 'oursql.ProgrammingError'>: (1146, "Table 'u_jason_p.all_dab_links_basic' doesn't exist", None)

Is there something I am doing wrong? Place Clichy (talk) 17:00, 5 March 2012 (UTC)[reply]

That tool uses User:JaGa's Dab Challenge database and is meant for finding contest points on your watchlist. It would be time consuming for him to port the system to a different wiki since things are hard coded in the script. Luckily for you, Dablinks already has a watchlist page generator. Add &namespace=0&watchlist=Place_Clichy (link) to the URL while signed in. (The interface was removed as it was more cumbersome then the newer Sign in mechanism.) — Dispenser 21:17, 8 March 2012 (UTC)[reply]

session data problem,

Sorry! We could not process your edit due to a loss of session data. Please try again — Preceding unsigned comment added by 7ofclubs (talkcontribs) 20:41, 7 March 2012 (UTC)[reply]

Click "Save page" again or sign into Dab solver. — Dispenser 06:20, 8 March 2012 (UTC)[reply]

Translating to simple

// Submitting a page, without changing the text
var NoChangesMsg    = 'There is no change to the words, send anyway?';
// If user opens a dialog before it finishes loading
var NotLoadedTryAgain = "You are too fast!  The computer is not done yet, click again.";
// User leave the tool without saving
// +Typically appears sandwiched between text on a Ok/Cancel dialog
var QuitWithoutSaving = "Ok to go away and lose the change, or Cancel to keep?";
// Disambiguation needed/"I don't know" tag (blank to remove)
var dn_template = "{{dn}}";

// Edit Summary
// When adding templates such {{dn}}
var RequestHelpMsg  = 'Help needed: ';
// Link which were removed or unlinked
var RemovedLinksMsg = 'Take link away: ';
// Links which were fixes
var SolvedLinksMsg  = 'Picked meaning: ';
// Number of links fixes, if above is too long
var SolvedCountMsg  = 'Picked meaning for $1 links';
// Summary feedback link when commonfixes is active
var UsingToolMsg    = ' with [[tools:~dispenser/view/Dab_solver|Dab solver]]';

// Interface text
var TabRead     = "Read";
var TabEdit     = "Change";
var TabHistory  = "History";
var TabClose    = "Shut";
var OptRedlinks = "Show red links";
var OptForcelink= "Link to 'Did you mean' page";
var OptTaglink  = "I do not know / Mark with {{dn}}";
var OptUnlink   = "Take away link";
var OptReset    = "Undo"; // as used in the mediawiki UI

// Server messages
// Database revision does not match page revision, usually caused by replication lag
OutOfSync = u'Note: the computer is slow.  See <a href="http://toolserver.org/~bryan/stats/replag/">how far behind it is</a>.'
// Link was not found in text, usually due to replication lag
LinkNotInText = u'\03{lightred}Note\03{default}: [[%s]] not there'
// No links to disambiguated (maybe cause by the above message)
NoLinksInText = u"There were no mixed-up links in the words"
// Link not included because its transcluded from a template
LinkTranscluded = u'Did You Mean [[%s]] is transcluded from [[%s]]'
// Text removed for brevity and compliance with the Toolserver rules
RemovedText = "%s\n<removed>made %d lines hard to see (%d letters)</removed>\n%s"
// Rewrite templates link text to allow matching
ReplaceTemplates = [
  r'{{Sort name|(.*?)|(.*?)}}', r'{{sortname|$1|$2|$1 $2}}',
];

For other translators: I need the disambiguation and the set index categories for the link icons and disambiguation page navigation. Describe how how templates similar to {{dn}} work in your language (if they exist). Let me know if banners need to be hidden or infoboxes need to be floated to the side. Other customizations possible: e.g. the English Wikipedia runs a style checker for WP:Manual of Style (disambiguation pages). — Dispenser 18:33, 21 July 2010 (UTC)[reply]

simple:Category:Disambiguation is the "All disambiguation pages" category. There are no set index categories. Templates have been copied over from :en, apply :en MOSDAB style.
Thanks! Josh Parris 00:11, 8 March 2012 (UTC)[reply]
Added. I should update the sample or just move to Translatewiki at some point. You might also want to transwiki Template:DATE over as well. I've implemented the style checker is there something you plan to do with the data? — Dispenser 23:02, 8 March 2012 (UTC)[reply]

So... if I want to create a link so the user will be working on simple:Geyser in Dab Solver, how should I rewrite this link http://toolserver.org/~dispenser/cgi-bin/dab_solver.py?page=Geyser? --JaGatalk 04:57, 26 March 2012 (UTC) Never mind, I figured it out. I knew I would do that as soon as I hit "Submit". --JaGatalk 04:59, 26 March 2012 (UTC)[reply]

You know, I can't figure out what you mean by "is there something you plan to do with the data?" Josh Parris 11:44, 27 March 2012 (UTC)[reply]
The MoS:DAB style checks are collected into a file, mosdab-enwiki.log. Do you plans for the simplewiki data? — Dispenser 05:23, 28 March 2012 (UTC)[reply]
Wow! Just off the top of my head, I'll sort by bullets count and attack the MOSDAB entries with the most bullets (because they're copied straight from enWP rather than organically grown on simple), the all the 2 entry ones (because they might not be viable dab pages, but can probably be grown into them), then I'll tackle the super-easy pages with problems like "C", and then...
So, yes, that looks quite handy. mosdab-simplewiki.log links off to en: Josh Parris 07:54, 29 March 2012 (UTC)[reply]

Dab solver degrades after clicking on (?) symbol

For example, tools:~dispenser/cgi-bin/dab_solver.py?page=simple:Melodic_death_metal; mouse over the (?) symbol that brings up the full article for the disambiguating term, click on it, click on back and now the highlighting stops following the mouse. Clicking on hyperlinked terms still works, but not the entire line. Josh Parris 11:37, 27 March 2012 (UTC)'[reply]

Fixed The disambiguation category wasn't in the regex list. This'll be properly fixed whenever the unified translation is implemented. — Dispenser 05:01, 28 March 2012 (UTC)[reply]

Disambiguation pages containing a +

Hi Dispenser. First, thanks for Dab solver and especially for the handy recent changes you made. (The sort option may need some spacing on indented lists, maybe) Unfortunately I ran into a problem today on disambiguating links in CanalSat. It seems like Dab solver doesn't handle dab pages containing a plus (+). Can you look into this? (test here)
Another question/suggestion: can you warn for Template:Incoming links on dabs, so we can remove them when we're done? Thanks LittleWink (talk) 21:45, 8 April 2012 (UTC)[reply]

Fixed It may have broken IE6 support, but that's only 340 of the 44,258 requests in the past 30 days. So title.replace('&', '%26') goes out and encodeURIComponent(title) comes in.
The sort option is an experiment, so far I haven't seen a compelling reason in having it. What is meant by spacing: kerning, left-margin, or something else? It currently has issues too, like screwing up nested lists, "randomizes" keyboard ordering, sorting by relatedness, last name, DEFAULTSORTKEY, qualifier, and death are missing, reverse sort is missing, only show with a hard threshold of 7+ list items, and icons for each sort type instead of single text link.
I'd like to avoid language dependent code, but I'll see what I can do for the incoming links template. — Dispenser 05:50, 9 April 2012 (UTC)[reply]
Thanks for the fix. Personally, I find the chronological sort option handy on hndis pages (for pages like these]). And I meant left-margin for the sort option, sometimes the link text is at the and of a normal sentence. Greetings LittleWink (talk) 09:26, 9 April 2012 (UTC)[reply]

Supporting other language Wikipedias

What is the level of effort involved in deploying the solver for other language Wikipedias? Beyond translating the interface, which is easy and doable, is there a significant amount of work required to start dabbing on other wikis? In particular, how hard would it be to make the solver work well on right-to-left Wikipedias (Arabic, Hebrew, Farsi, etc.)? Ijon (talk) 00:30, 25 May 2012 (UTC)[reply]

Dab solver is usable out of the box for any wikis with a correct MediaWiki:Disambiguationspage. With a basic translation, I'll (attempt to) write CSS rules to hide non-useful elements such as {{disambiguation}} and navboxes. With more involvement, I'll assist in translating optional components such as Style checker (see #Translating to simple) and automatic lifespan/year insertion. With regards to RtL, I am willing to invest some time, but from experience I will not support "flipping" the css.
But, that's not really why you're here is it? You want User:JaGa's DAB Challenge and its databases. This is what powers the bar at the top of the tool and the watchlist_points.py/topic_points.py tools. See #Watchlist tool on wikis in other languages than en why that isn't so easy. — Dispenser 17:52, 25 May 2012 (UTC)[reply]
Yes, "the level of effort involved in deploying the solver" in my original question was meant to include all the solver's infrastructure, including extracting the backlog from the database. I guess I'll look into User:JaGa's work first, then. Thanks. Ijon (talk) 17:58, 29 May 2012 (UTC)[reply]

Dabsovler having a bad-day?

http://toolserver.org/~dispenser/cgi-bin/dab_solver.py?page=Camelford

broke for me -

Suggestions? Sfan00 IMG (talk) 16:43, 12 June 2012 (UTC)[reply]

Redirect4

I believe that {{Redirect4}} generates links to disambiguation pages. So listing links found in uses of the template is probably incorrect since the template itself will, as I understand it, always add (disambiguation). Vegaswikian (talk) 21:51, 14 June 2012 (UTC)[reply]

Reading the article

Is there a way to open the article we're editing right from the Dab solver interface? I couldn't find any. The "Read" link in the popup opens the disambiguation page instead; and the preview button in the edit page doesn't work, as it closes the Dab solver. Can you please add a direct link for the article so that it can be read in context? Diego (talk) 12:42, 22 June 2012 (UTC)[reply]

Middle-click (or Ctrl+Click) the "Cancel" link next to "Show changes". Yes, its confusing. No, it wont be changed until MediaWiki changes it. — Dispenser 04:55, 23 June 2012 (UTC)[reply]
I ran into the same thing. Since the name of the article is known, how hard can it be to add a proper link to it somewhere on the page... --82.170.113.123 (talk) 10:37, 24 June 2013 (UTC)[reply]

Kindle Fire edits incorrectly tagged as Safari

Hi Dispenser! When I use Dab solver on my Kindle Fire, why does Recent changes tag my edits with a Summary of "Safari"? The Kindle Fire uses the Amazon Silk browser. Thanks! GoingBatty (talk) 06:07, 15 July 2012 (UTC)[reply]

The WebKit guys decide the user agent should identify itself as Netscape, Firefox, Safari, and a KHTML browser. The Kindle Fire User Agent is still more complicated. For me, the most important part is how you interactive with it, so I've added an Android identifier. — Dispenser 20:38, 8 August 2012 (UTC)[reply]

Persian translate

Hello, I translated massages of Dab solver in Persian that are here Thanks for your great tool:)Ladsgroupبحث 20:36, 17 July 2012 (UTC)[reply]

Added with problems. MediaWiki doesn't have an API (nor a Toolserver query) to determine if the language is RtL, so the layout and menus are wrong. Text is small, this can be worked around by holding control and hitting +. — Dispenser 05:49, 19 July 2012 (UTC)[reply]

Bizarre behaviour, square brackets replaced with hashtags

Per heading, please see this diff. DuncanHill (talk) 19:46, 29 July 2012 (UTC)[reply]

It's a know problem of Internet Explorer's XSS Filter, see MediaWiki bug 32013. Other than making an edit filter, there isn't much more I can do. Users are required to sign in and skip previewing or diff to avoid trigger the XSS Filter. — Dispenser 01:28, 30 July 2012 (UTC)[reply]

Translation to Finnish

Here are some translations for a Finnish version:

// Submitting a page, without changing the text
var NoChangesMsg    = 'Tekstiä ei muutettu, lähetä silti?';
// If user opens a dialog before it finishes loading
var NotLoadedTryAgain = "Hollaa vähän lännen nopein! Serveri ei ole vielä vastannut, klikkaa uudestaan.";
// User leave the tool without saving
// +Typically appears sandwiched between text on a Ok/Cancel dialog
var QuitWithoutSaving = "Jos poistut sivulta, tallentamattomat muutokset menetetään.";
// Disambiguation needed/"I don't know" tag (blank to remove)
var dn_template = "{{dn}}";

// Edit Summary
// When adding templates such {{dn}}
var RequestHelpMsg  = 'Apua kaivataan: ';
// Link which were removed or unlinked
var RemovedLinksMsg = 'Linkin poisto: ';
// Links which were fixes
var SolvedLinksMsg  = 'Uudelleenohjauksen täsmennys: ';
// Number of links fixes, if above is too long
var SolvedCountMsg  = 'Täsmennettiin $1 linkkiä';
// Summary feedback link when commonfixes is active
var UsingToolMsg    = ' työkalulla [[tools:~dispenser/view/Dab_solver|Dab solver]]';

// Interface text
var TabRead     = "Lue";
var TabEdit     = "Muokkaa";
var TabHistory  = "Historia";
var TabClose    = "Sulje";
var OptRedlinks = "Näytä punalinkit";
var OptForcelink= "Linkitä täsmennyssivulle";
var OptTaglink  = "En tiedä / Tag {{dn}}";
var OptUnlink   = "Poista linkki";
var OptReset    = "Peruuta";

// Server messages
// Database revision does not match page revision, usually caused by replication lag
OutOfSync = u'Varoitus: tietokanta on vanhentunut. Katso sivu <i><a href="http://toolserver.org/~bryan/stats/replag/">replication lag</a></i>.'
// Link was not found in text, usually due to replication lag
LinkNotInText = u'\03{lightred}VAROITUS\03{default}: [[%s]] ei löytynyt'
// No links to disambiguated (maybe cause by the above message)
NoLinksInText = u"Wikitekstistä ei löytynyt linkkejä täsmennyssivuille"
// Link not included because its transcluded from a template
LinkTranscluded = u'Täsmennyssivulinkki [[%s]] sisältyy mallineesta [[%s]]'
// Text removed for brevity and compliance with the Toolserver rules
RemovedText = "%s\n<removed>%d riviä piilotettiin (%d merkkiä)</removed>\n%s"
// Rewrite templates link text to allow matching
ReplaceTemplates = [
  r'{{Sort name|(.*?)|(.*?)}}', r'{{sortname|$1|$2|$1 $2}}',
];

Hope to see a Finnish translation published, this is one of my absolute fav tools for Wikipedia :) --Pitke (talk) 15:20, 27 August 2012 (UTC)[reply]

Added. — Dispenser 21:06, 27 August 2012 (UTC)[reply]

Login confusion

I get a lot of people over at DPL bot's talk that are confused about the login and saving. I wonder if it would be feasible/desirable to have DPL bot offer a simplified version of Dab solver with the login and save features removed altogether, so as to avoid confusion from people unfamiliar with the tool (and unwilling to take the time to figure it out). --JaGatalk 03:45, 11 September 2012 (UTC)[reply]

Suggestions for clarification

I have some suggestions based on a conversation on my talk page.

  1. Use {{disambiguation needed}} instead of {{dn}}, to make it more clear what the template is for
  2. Have the edit summary say "Disambiguation help needed" instead of just "Help Needed", to make it more clear exactly what help is needed
  3. Add the link to dabsolver on every edit summary, so people can learn more about your wonderful tool.

Thanks! GoingBatty (talk) 02:56, 20 September 2012 (UTC)[reply]

Whoa

I'd never heard of Dab solver until today. It is, frankly, amazing. Thanks for making it! -- Hex [t/c] 13:43, 21 September 2012 (UTC)[reply]

Ukrainian wiki

Hi! Is it possible to use this great tool for Ukrainian Wikipedia? I didn't manage to find such option in preferences. --DixonD (talk) 07:18, 23 October 2012 (UTC)[reply]

Just copy the page's URL and paste into the page title box. The software will automagically convert into the interwiki form. Unfortunately, many tools use DPL bot's enwiki-only pregenerated lists. So you'll have to settle with the slower Dablinks tool. — Dispenser 20:37, 24 October 2012 (UTC)[reply]

Page should be removed from DABsolver

Hi,

I was using DAB solver (awesome work by the way) for the 'computers' catergory and it gave me this page [4], (Macintosh Central European encoding).

I'm not sure what it's for, but I'm pretty sure I shouldn't be changing things on it. --Jamesmcmahon0 (talk) 12:23, 14 December 2012 (UTC)[reply]

Hi Jamesmcmahon0! You can't "remove" a page from DABsolver, but you can choose not to edit a page with it. GoingBatty (talk) 14:57, 15 December 2012 (UTC)[reply]

Minor edit by default

The edits I make in Dab Solver are the very definition of "minor". Can the tool turn this flag on by default? Maury Markowitz (talk) 17:44, 19 January 2013 (UTC)[reply]

Not sure if disambiguating links are "the very definition of minor" as defined in Help:Minor edit. For the answer to your question, see the box at the top of this page. GoingBatty (talk) 20:39, 19 January 2013 (UTC)[reply]

Bugs & suggestions for Dab solver

Hi Dispenser! Some bugs/comments on the Dab solver main page:

  • In the US States section, "Georgia" is misspelled.
  • The images for Songs and Agriculture are not displayed properly.
  • I enjoy using Dab solver on my Kindle Fire, but I don't see the vertical scrollbar in the gray box, so I can only get to the Featured WikiProjects and the first row of the Nationality WikiProjects.
  • Please consider featuring new WikiProjects, as the eight that have been featured for several months don't have as many pages to diambiguate as other projects.
  • Also with the Kindle Fire, when I click on the WikiProjects link to go to the Topic points page, I don't always see the drop down arrow to choose a WikiProject.

Thanks for your continued work to maintain this great tool! GoingBatty (talk) 15:36, 2 February 2013 (UTC)[reply]

Counter freezes or stops periodically

The daily counter either doesn't refresh properly, or just quits counting when I do edits. Thanks for the good work, by the way. GenQuest "Talk to Me" 01:05, 17 February 2013 (UTC)[reply]

Thanks

I just wanted to tell you that I think Dab solver is Great! RJFJR (talk) 14:25, 2 May 2013 (UTC)[reply]

Kudos

Dab solver is so cool. I loved the way you handled authentication -- very clever. Thanks for this tool. --Ori.livneh (talk) 10:02, 1 June 2013 (UTC)[reply]

Accumulation of false positives over time

Hi.

I've been using Dabsolver's Watchlist points for while (I am assuming Watchlist points is part of Dabsolver; I hope I am correct) and it is accumulating false positives which do not go away. For example, Call of Duty: Modern Warfare 2 has been there for a quite a long time now. When I open it, a message says:

There are no disambiguation links on [[Call of Duty: Modern Warfare 2]]
WARNING: [[MW2]] not found

How can I get rid of such things?

Best regards,
Codename Lisa (talk) 01:40, 12 August 2013 (UTC)[reply]

It appears the disambiguation was fixed in October 2012 in this edit, so I don't understand why it still shows up as needing to be fixed. GoingBatty (talk) 00:22, 10 October 2013 (UTC)[reply]
Yes, other such residues clearly show that. But I am more concerned about the pollution itself than the cause of the pollution. I assume you should be more concerned, since you fixed like a million of dabs last month, didn't you? Best regards, Codename Lisa (talk) 06:32, 10 October 2013 (UTC)[reply]
I am also concerned about the pollution, since I do use Dabsolver frequently. GoingBatty (talk) 00:08, 11 October 2013 (UTC)[reply]
I think this will improve when we move over to Tool Labs. There seems to be corrupted data on Toolserver and I doubt it will ever get fixed, since everyone is leaving within a year anyways. --JaGatalk 22:27, 11 October 2013 (UTC)[reply]
@JaGa: - Thanks for your reply. Could you please help me to understand more about the corrupted data? Each time an article is edited, wouldn't the new copy of the article replace the corrupted Toolserver version? If not, is there a way to request that certain articles be deleted and recopied? Or am I missing the crux of the issue? Thanks! GoingBatty (talk) 14:40, 12 October 2013 (UTC)[reply]
Editing the article normally does force the server to update its pagelinks, but for whatever reason, it isn't happening in some cases. Take Versatile, for instance. Here's what Toolserver thinks links to this dab, and here's what really links to the dab. I can't force an update, but when I look on the Tool Labs database, I see the data is good:

select page_title, page_is_redirect
   from pagelinks, page
   where pl_title='Versatile'
   and pl_namespace=0
   and pl_from = page_id
   and page_namespace=0;
+----------------------------+------------------+
| page_title                 | page_is_redirect |
+----------------------------+------------------+
| Versatile_(disambiguation) |                1 |
+----------------------------+------------------+
1 row in set (0.03 sec)

The exact same query on the Toolserver database yields 20 rows. So when I move my code over to the new database I know there will be some improvement in the data quality. This is a big task, though, and I'm not sure when I will be able to do it - hopefully this year. --JaGatalk 18:04, 13 October 2013 (UTC)[reply]

Confusing situation

Dablinks finds a dablink to depression on the amphetamine page. See this link
Dabsolver finds nothing. See this link
Anyone able to tell me why this is happening? Seppi333 (talk) 02:49, 9 October 2013 (UTC)[reply]

Looks like the link was already disambiguated on August 10 in this edit. GoingBatty (talk) 00:17, 10 October 2013 (UTC)[reply]

Dabsolver not recognising Geodis?

DPL bot told me I'd linked to the Sanday dab page from this version of Scar, Orkney. Dab solver said there were no dab links. (I've now fixed the link). I wonder whether Dab solver doesn't recognise a {{geodis}} page as a disambiguation page? PamD 18:23, 6 February 2014 (UTC)[reply]

Translation to Greek

// Submitting a page, without changing the text
var NoChangesMsg    = 'Το κείμενο δεν έχει αλλάξει, υποβολή;';
// If user opens a dialog before it finishes loading
var NotLoadedTryAgain = "Είστε πολύ γρήγορος/η! Ο σέρβερ δεν αποκρίθηκε, κάντε κλικ ξανά.";
// User leave the tool without saving
// +Typically appears sandwiched between text on a Ok/Cancel dialog
var QuitWithoutSaving = "Αν φύγετε από τη σελίδα, ότι δεν έχει σωθεί θα χαθεί";
// Disambiguation needed/"I don't know" tag (blank to remove)
var dn_template = "{{αα}}";

// Edit Summary
// When adding templates such {{dn}} Greek template is {{ανάγκη αποσαφήνισης}} but it already works
var RequestHelpMsg  = 'Βοήθεια: ';
// Link which were removed or unlinked
var RemovedLinksMsg = 'Αποσύνδεση: ';
// Links which were fixes
var SolvedLinksMsg  = 'Αποσαφήνιση: ';
// Number of links fixes, if above is too long
var SolvedCountMsg  = 'Αποσαφήνιση $1 συνδέσμων';
// Summary feedback link when commonfixes is active
var UsingToolMsg    = ' με το [[tools:~dispenser/view/Dab_solver|Dab solver]]';

// Interface text
var TabRead     = "Ανάγνωση";
var TabEdit     = "Επεξεργασία";
var TabHistory  = "Ιστορικό";
var TabClose    = "Έξοδος";
var TabRedlinks = "Δείξε κόκκινους συνδέσμους";
var OptForcelink= "Σύνδεσμος σε σελίδα αποσαφήνισης";
var OptTaglink  = "Δεν ξέρω / Προσθήκη {{ανάγκη αποσαφήνισης}}";
var OptUnlink   = "Αποσύνδεση";
var OptReset    = "Αναίρεση";

// Server messages
// Database revision does not match page revision, usually caused by replication lag
OutOfSync = u'Προσοχή! η βάση δεδομένων είναι παρωχημένη.  Δείτε <a href="//toolserver.org/~bryan/stats/replag/">replication lag</a>.'
// Link was not found in text, usually due to replication lag
LinkNotInText = u'\03{lightred}WARNING\03{default}: [[%s]] δεν βρέθηκε'
// No links to disambiguated (maybe cause by the above message)
NoLinksInText = u"Δεν βρέθηκαν σύνδεσμοι αποσαφήνισης στο βικικείμενο"
// Link not included because its transcluded from a template
LinkTranscluded = u'Η αποσαφήνιση [[%s]] ενσωματώνεται από το [[%s]]'
// Text removed for brevity and compliance with the Toolserver rules
RemovedText = "%s\n<removed>%d lines hidden (%d characters)</removed>\n%s"
// Rewrite templates link text to allow matching
ReplaceTemplates = [
  r'{{Sort name|(.*?)|(.*?)}}', r'{{sortname|$1|$2|$1 $2}}',
];

Thank you for this great tool! Geilamir (talk) 16:41, 18 February 2014 (UTC)[reply]

Added Sorry the delay. — Dispenser 22:31, 18 May 2014 (UTC)[reply]

Incorrect addition of references

Hi,

it seems that Dab solver sometimes adds <references /> tag when it shouldn't on frwiki (examples: 1610, 13e corps d'armée (France)) because there's already a {{Références}} template. --NicoV (Talk on frwiki) 10:12, 24 March 2014 (UTC)[reply]

Fixed (Mostly) Scripts will now call noreferences.py with the correct language instead of the default (wikipedia:en). — Dispenser 22:20, 18 May 2014 (UTC)[reply]

False negative

Hi, Dabsolver says that there are no dab links on Podoconiosis, but in fact, there are four, albeit three are the same one. They are piped from the dab page (Elephantiasis) to "tropical lymphedema." I left the page alone so you could check it if needed. If this is something known, and I just missed it in the docs, please ignore my note, and I'm sorry to bother you. - Gorthian (talk) 03:30, 9 May 2014 (UTC)[reply]

Toolserver shutdown

Is there a replacement for dabsolver, now that toolserver is shut down?--¿3family6 contribs 13:53, 2 July 2014 (UTC)[reply]

It works in thoery, but trying to browse by WikiProject returns a bunch of error messages (at least for WP:VG). ☺ · Salvidrim! ·  23:14, 9 July 2014 (UTC)[reply]
Unfortunately, the DPL project data is not open anymore. So even if my updates scripts were running you wouldn't find anything. — Dispenser 17:07, 12 July 2014 (UTC)[reply]

Not detecting references section in cawiki

DabLinks is adding a reference section in articles in cawiki which already have a references section. I think DabLinks is missing reference sections that use

==Referències==

{{Referències}}

instead of <references> . Example: [5] --Pere prlpz (talk) 23:47, 14 December 2014 (UTC)[reply]

references.py has been updated in Git, but DabLinks still puts a wrong reference tag in cawiki. I think it still needs to be updated in DabLinks.--Pere prlpz (talk) 12:23, 7 January 2015 (UTC)[reply]

False negative on NGC 6167 and NGC 6200

I'm going to dab them shortly, but as of right now, NGC 6167 contains {{dn|date=September 2011}}, and NGC 6200 contains {{dn|date=September 2011}}.   ~ Tom.Reding (talk|contribs|dgaf) 18:54, 18 December 2014 (UTC)[reply]

/* Find {{dn}} tags without dab links
 * License: Public domain
 * Run time: 3 minutes
 */
SELECT CONCAT("* [[", REPLACE(page.page_title, "_", " "), "]]") AS pages
FROM templatelinks
JOIN page ON page.page_id=tl_from AND page.page_namespace=0
JOIN pagelinks ON pl_from=tl_from
JOIN page AS pl ON pl.page_namespace=pl_namespace AND pl.page_title=pl_title
LEFT JOIN redirect ON rd_from=pl.page_id
LEFT JOIN page AS rd ON rd.page_namespace=pl_namespace AND rd.page_title=pl_title
LEFT JOIN page_props ON pp_page=IFNULL(rd.page_id,pl.page_id) AND pp_propname="disambiguation"
WHERE tl_namespace=10 AND tl_title="Disambiguation_needed" AND pl_namespace=0 
GROUP BY tl_from
HAVING COUNT(*)=SUM(pp_page IS NULL);
It's been hacked in, the above query finds 1,517 pages with dangling tags. — Dispenser 06:24, 22 February 2015 (UTC)[reply]

Hi Dispenser. Thanks for Dab solver - it's great. One minor point I noticed - in the edit summary it generates, "Dab solver" is still linked to the tool's old location (toolserver.org/~dispenser/view/Dab_solver) rather than its new location (http://dispenser.homenet.org/~dispenser/cgi-bin/dab_solver.py). Regards. DH85868993 (talk) 22:32, 28 December 2014 (UTC)[reply]

Sometimes a page will have many links pointing to the same disambiguation page. Often this is a case of overlinking; even where it is not, the links usually all intend the same target. It would be useful to have the option of applying the same solution to all identical disambiguation links on a given page, either unlinking all of them or applying the same link fix to all of them. Can this be done? Cheers! bd2412 T 20:17, 21 February 2015 (UTC)[reply]

(talk page watcher) @BD2412: I find that Dab solver is good for quick fixes, and that WPCleaner is good for the situations you are describing. Happy editing! GoingBatty (talk) 21:27, 21 February 2015 (UTC)[reply]
I looked into implementing a "Propagate to 4+ links", but ran into the problem that the redirect picker is a hack. And partially implemented this way due to dirty reload where page is reloaded and the JavaScript state is lost, but form field are saved. This leaves it half functioning for a tool aimed at novices. I'll keep it in mind if I do work in the area again.
Alternatively you can copy the link and just Tab ↹ and Ctrl+V down the page. — Dispenser 04:44, 22 February 2015 (UTC)[reply]

Hi Dispenser -- I just tried to help myself and other occasional users of your great Dab solver tool by setting up a shortcut/pointer at wp:Dab solver tool. It immediately helps me to more easily find my way to applying the tool, and I think it will help other users too. I wonder if you'd review it and edit it however you like, if you approve of it.

One possible unintended consequence, though, is that it may confuse users familiar with the wp:dab solver shortcut link (which redirects to here, User talk:Dispenser/Dab solver). When they type in the search box at top of a Wikipedia page, I'm not sure exactly what they'll get. Right now, for me, when I type "wp:dab so" it auto-completes to "wp:dab solver tool", but maybe that is context-sensitive/customized for me as I have just been editing there and repeatedly going there. When I fully complete out typing "wp:dab solver", however, it offers both options for me to choose from, "wp:dab solver" and "wp:dab solver tool",. I'm not sure how the options will be presented for other users.

Actually to best serve users, I think maybe "wp:dab solver" should be replaced by the new shortcut/pointer, and another shortcut/pointer "wp:dab solver help" (or "wp:dab solver talk") should be created to point to here (and should be mentioned at "wp:dab solver". Would my making those further changes meet with your approval? I'll watch here and/or would see if you make edits directly yourself at wp:dab solver or wp:dab solver tool.

I have recently set up several pointers to other tools; please see Category:Pointers to WMF tools.

By the way, I'm a great fan of you and your Dab solver tool. It has been a huge contribution. Also I met you once at an NYC wikipedia event at NYU several years ago, when you were seeking trials and feedback of the tool in use but still being revised then. Shortly after that I used the Dab solver extensively to clean up a big network of pages associated with a wikiproject that I was active in, at the time, and was very grateful. Thanks and cheers, --doncram 15:47, 7 March 2015 (UTC)[reply]

There is suppose to be a documentation page (to follow the WP:/WT: convention), but after the disaster of Checklinks documentation I avoided writing it. I've moved your page to the content page here. There were no redirect links that needed to be corrected. Thanks. — Dispenser 00:35, 8 March 2015 (UTC)[reply]

Dab solver not showing suggestions

Hi Dispenser. I've been trying to use Dab solver today, but it doesn't seem to be producing the usual list of suggestions when I click on one of the redlinks. I don't know if anyone else has brought this to your attention, so apologies if it's something you already know about. This is Paul (talk) 13:39, 1 May 2015 (UTC)[reply]

I've noticed this too for the past day or two. I get a Javascript error in the error console when I click on the redlinks that says "TypeError: obj.parse.redirects is undefined". Natg 19 (talk) 16:52, 1 May 2015 (UTC)[reply]
Yep. It just shows a little black line where the box should be. (pinging @Dispenser:). KonveyorBelt 18:32, 1 May 2015 (UTC)[reply]
Fixed The action=parse API dropped the conditional "redirects":[{"from":"Redirect title", "to":"Article Title"}] in favor of always having "title":"Article Title". It broke my workaround code for getting the article title and may break code for others who handle redirects. — Dispenser 19:48, 1 May 2015 (UTC)[reply]
@Dispenser: Just tried again, but still not working for me. The redlink box is editable though, so I guess things are heading in the right direction. This is Paul (talk) 00:14, 2 May 2015 (UTC)[reply]
You need to clear your cache to get the new code, try pressing CTRL+SHIFT+R. — Dispenser 00:34, 2 May 2015 (UTC)[reply]
Got it, thanks. This is Paul (talk) 11:18, 2 May 2015 (UTC)[reply]

Get credentials not working

@Dispenser: The "get credentials" button goes to [6] which shows an error page, rather than going to [7] as it should. Putting the credentials in still works if you go to the second page manually, and copy and paste, but the button does not lead to the right target. KonveyorBelt 20:05, 3 May 2015 (UTC)[reply]

Fixed Didn't notice the semicolon while I was moving the lines around so the copy message appears in the address bar. — Dispenser 21:08, 3 May 2015 (UTC)[reply]

Typo on main page

Hi Dispenser,

FYI, there's a typo on the main Dab solver page (http://dispenser.homenet.org/~dispenser/view/Dab_solver): It should say "Featured Articles", but it says "Featured Artciles".

Thanks, Natg 19 (talk) 16:06, 26 May 2015 (UTC)[reply]

Translating to Sr and Bs

I added the Serbian translation here: User:Srdjan_m/Dab-sr and the Bosnian translation here: User:Srdjan_m/Dab-bs. Mind adding those two? -- Srđan 📣  06:05, 27 July 2015 (UTC)[reply]

AddedDispenser 06:18, 28 July 2015 (UTC)[reply]

Is this a bug?

I have been reverted and criticized for this edit which Dab solver did automatically. Is this a bug, or was Dab solver doing what it's supposed to do? StAnselm (talk) 18:23, 14 September 2015 (UTC)[reply]

bgcolor and width were deprecated in HTML 4 (1998) and were removed in HTML 5. These fixes can be disabled by unchecking "Apply common fixes". — Dispenser 19:33, 26 September 2015 (UTC)[reply]

DabSolver changes

Whatever you've just done, about connecting tools or databases or whatever, is having great effect! Wow, in wp:DabSolver I can find and fix disambiguation pages on my watchlist (well i see it may be just the last 500 watchlist items added, but awesome nonetheless). And it's fun to see my Monthly Disambiguation Challenge current score and that I am "closing in on" the competitor ahead of me. Wow!

By the way, I have been wanting to ask about some enhancements, one being about possibility of DabSolver being generalized to fix incoming links to wp:Set Index Articles. (The number of SIAs is approx 1/4 the number of disambiguation pages, and is growing as many disambiguation pages are properly converted over to be SIAs. I see that switching between template:SIA and template:disambiguation on a page, DabSolver enables fixes or does not, so I am hoping it would be easy to allow DabSolver to work on them, and to give option of tagging with {{siadn}} rather than {{dn}}, and some more. I have been thinking/drafting about this, informed by and participating in some discussion at wt:DPL.)

Thanks so much for the enhancements coming on-line! I will go back to exploring them. --doncram 15:00, 18 September 2015 (UTC)[reply]

Just to let you know if you don't already, the watchlist's "points" column is counting pages not in this month's Dab Challenge, for example "Action research" which is on my Watchlist and which I think was in a previous month's Dab Challenge.
When I check my watchlist now, I see it mentions 10,000 pages from my Watchlist now rather than 500 and it identifies a lot of pages to fix now, thanks for that. I think my whole Watchlist is around 20,000 now, but this is great.
I see you've been changing things, including causing a longish delay like 10 seconds earlier today for a while, but it is working great for me now! thanks, --doncram 03:01, 20 September 2015 (UTC)[reply]
Exemplar is listed on the bonus list (#2277) for the Dab Challenge. But isn't showing up in some places. User:JaGa & User:R'n'B the monthly_list_full table seems short with 1253 rows.
Watchlit functions require API calls which are limited to 500 articles per call. Since it cuts into load times I had limited it to 20 calls on the listing page (20*500=10,000), but have increased it to 50 (50*500=25,000 articles). In Dab solver it is limited to 1 call for performance.
Performance is the reasons why SIAs aren't enabled. You can force disambiguating with &link=<article title> in the URL. Also, you'll find Dabfix useful for cleaning up disambiguation pages now that it's running again. — Dispenser 16:44, 20 September 2015 (UTC)[reply]
Thanks! --doncram 01:38, 23 September 2015 (UTC)[reply]

DabSolver glitch

DabSolver puts in "<<link:0>>" for me now, in edits like this one when I have selected an entry. I am editing logged into DabSolver, and i selected a redlink "below", not listed on the dab page. But it happened also on another edit where I selected a dab-page listed item. --doncram 01:38, 23 September 2015 (UTC)[reply]

Yikes! Fixed that I forgot event would be set instead of undefined. I also fixed all affected edits. — Dispenser 03:24, 23 September 2015 (UTC)[reply]

Re-weighting relateness

Output Cubic hump Decreasing Equalish
0 bars 0 64.96% 0 64.96% 0 64.96%
1 bar  1 11.96% 1 11.96% 1 11.96%
2 bars 2-8 14.86% 2-4 10.82% 2-3 8.74%
3 bars 9-27 5.21% 5-18 7.92% 4-10 7.23%
4 bars 28+ 3.00% 19+ 4.33% 11+ 7.10%

Dab solver has a hints system which counts articles linking the disambiguating page and the target. Simplistic, but works surprisingly well. The break points used a cubic function (I liked differentiable functions). Beside the spot check, I never properly check the distribution. I added code on Friday and plotting today we see it is Zipf distribution and the cubic function has biased. I've reweighted it (Decreasing column) for a more even distribution. You'll see more greens and blues now. Let me know how well it's working. — Dispenser 06:18, 5 October 2015 (UTC)[reply]

Dabsolver down

I've been getting a 404 Error Page Not Found for the last couple of days whenever I try to use Dabsolver. Is it down at the moment? This is Paul (talk) 23:00, 12 November 2015 (UTC)[reply]

Well I'm seeing 600 edit/day with the tool. Are you using the link on the user page? Which browser? — Dispenser 00:06, 13 November 2015 (UTC)[reply]
DPL Bot posted to my talk page and I used the link from that, but it is working from the user page without any problems. I'm working in Chrome. This is Paul (talk) 15:25, 13 November 2015 (UTC)[reply]
I added a feature if the page box was blank that it would redirect to the landing page. I forgot to account for the PATH_INFO links. Your browser might still have that cached. — Dispenser 16:25, 13 November 2015 (UTC)[reply]
OK, no worries, thanks for the explanation. I'll hit the refresh button. This is Paul (talk) 17:24, 13 November 2015 (UTC)[reply]

She just puked on me

Hi, Dispenser, Dab solver: From this URL: http://dispenser.homenet.org/~dispenser/cgi-bin/save.py?title=Warg&action=submit&task=21

Traceback (most recent call last):
  File "/home/dispenser/public_html/cgi-bin/save.py", line 285, in <module>
    main()
  File "/home/dispenser/public_html/cgi-bin/save.py", line 215, in main
    nexttask()
  File "/home/dispenser/public_html/cgi-bin/save.py", line 34, in nexttask
    tup, = cursor.fetchall()
ValueError: need more than 0 values to unpack

/home/dispenser/public_html/cgi-bin/tracebacks/save_n3_vEp.html contains the description of this error.

Cheers! {{u|Checkingfax}} {Talk} 10:49, 30 November 2015 (UTC)[reply]

Added error page explaining that the task list is empty. — Dispenser 15:59, 1 December 2015 (UTC)[reply]

Loss of session data

I keep getting "Sorry! We could not process your edit due to a loss of session data." When I scroll down and hit "Save page," the edit is saved just fine. This happens on every edit.

Some pertinent details: I am editing, as I do 98% of the time, using my iPad running iOS 9.1, from Mobile Safari. When I click "save" in Dab solver, the page I'm sent to is the mobile version of the edit session.

I have signed in on Dab solver each time (this has been over the last few days). I successfully disambiguated my watchlist (not very big), and have been working since on pages in WikiProject Geology.

I have tried deleting cookies, leaving cookies alone, setting "accept cookies from pages I visit," setting "accept cookies only from the current page," and the error persists.

Any ideas? Let me know if you need more info. — Gorthian (talk) 20:28, 1 December 2015 (UTC)[reply]

I'm guessing en.wikipedia.org uses a different edit token from en.m.wikipedia.org. I've disabled that conversion code, so try it now. I've only been testing with the OAuth interface recently. — Dispenser 22:23, 1 December 2015 (UTC)[reply]
I've been working with Dab solver since I wrote this; the error is still showing up, but in the last hour, I was landing on the regular (desktop) page instead of the mobile version. Which is a large improvement, IMO. But it's still yelling about losing session data, then saving just fine anyway. — Gorthian (talk) 22:33, 1 December 2015 (UTC)[reply]
Okay, I took a dinner break, and now it's WORKING! Thank you! — Gorthian (talk) 01:53, 2 December 2015 (UTC)[reply]
(edit conflict) I did testing. The mobile domain does use a different edit token, but the edit token method works. You probably just have to renew. They tend to have a short life (hours) which is why I'm moving towards OAuth which lasts for a month. (If your scared by the permissions, its actually less than the edit token and easily revoked) — Dispenser 02:23, 2 December 2015 (UTC)[reply]

Translation into Latvian

Hi! Maybe you could add Latvian translation? There are some toolserver links, that most probably should get updated. No, we don't have {{dn}} yet. And one more thing - {{reflist}} eqiuvalent at Latvian Wikipedia is {{atsauces}}, and "References" heading is "Atsauces".

// Submitting a page, without changing the text
var NoChangesMsg    = 'Teksts nav izmainīts, iesniegt?';
// If user opens a dialog before it finishes loading
var NotLoadedTryAgain = "Tu esi pārāk ātrs! Serveris vēl nav atbildējis, spied vēlreiz.";
// User leave the tool without saving
// +Typically appears sandwiched between text on a Ok/Cancel dialog
var QuitWithoutSaving = "Pārejot uz citu lapu, nesaglabātais darbs tiks zaudēts";
// Disambiguation needed/"I don't know" tag (blank to remove)
var dn_template = "";

// Edit Summary
// When adding templates such {{dn}}
var RequestHelpMsg  = 'Nepieciešama palīdzība: ';
// Link which were removed or unlinked
var RemovedLinksMsg = 'Noņemta saite: ';
// Links which were fixes
var SolvedLinksMsg  = 'Nozīmju atdalīšana: ';
// Number of links fixes, if above is too long
var SolvedCountMsg  = 'Izlabotas $1 nozīmju atdalīšanas saites';
// Summary feedback link when commonfixes is active
var UsingToolMsg    = ', izmantojot [[tools:~dispenser/view/Dab_solver|Dab solver]]';

// Interface text
var TabRead     = "Lasīt";
var TabEdit     = "Labot";
var TabHistory  = "Vēsture";
var TabClose    = "Aizvērt";
var OptRedlinks = "Rādīt sarkanās saites";
var OptForcelink= "Izveidot saiti uz nozīmju atdalīšanas lapu";
var OptTaglink  = "Es nezinu / atzīmēt ar {{dn}}";
var OptUnlink   = "Noņemt saiti";
var OptReset    = "Atcelt";

// Server messages
// Database revision does not match page revision, usually caused by replication lag
OutOfSync = u'Novecojusi datubāze. Skatīt <a href="http://toolserver.org/~bryan/stats/replag/">replicēšanas kavēšanos</a>.'
// Link was not found in text, usually due to replication lag
LinkNotInText = u'\03{lightred}BRĪDINĀJUMS\03{default}: [[%s]] netika atrasts'
// No links to disambiguated (maybe cause by the above message)
NoLinksInText = u"Vikitekstā netika atrastas saites uz nozīmju atdalīšanas lapām"
// Link not included because its transcluded from a template
LinkTranscluded = u'Nozīmju atdalīšanas lapa [[%s]] izmantota [[%s]]'
// Text removed for brevity and compliance with the Toolserver rules
RemovedText = "%s\n<removed>%d paslēptas rindas (%d simboli)</removed>\n%s"
// Rewrite templates link text to allow matching
ReplaceTemplates = [
  r'{{Sort name|(.*?)|(.*?)}}', r'{{sortname|$1|$2|$1 $2}}',
];

--Edgars2007 (talk/contribs) 12:17, 20 January 2016 (UTC)[reply]

Added. A bunch more translatable strings were added, but not finalized. I'll ping you whenever they're available. — Dispenser 19:04, 27 January 2016 (UTC)[reply]

Chinese (zh) Translation

Hi, Dispenser! This is a Chinese Translation (Simplified Chinese, to be precise). And on Chinese Wikipedia, {{dn}} used as the vote template Demote Name. --A Sword in the Wind (talk) 11:41, 15 February 2016 (UTC)[reply]

// Submitting a page, without changing the text
var NoChangesMsg    = '未修改文字,确定提交?';
// If user opens a dialog before it finishes loading
var NotLoadedTryAgain = "你太快了!服务器还没响应,请重新点击。";
// User leave the tool without saving
// +Typically appears sandwiched between text on a Ok/Cancel dialog
var QuitWithoutSaving = "关闭页面将丢失未保存文本。";
// Disambiguation needed/"I don't know" tag (blank to remove)
var dn_template = "{{需要消歧义}}";

// Edit Summary
// When adding templates such {{dn}}
var RequestHelpMsg  = '请您协助:';
// Link which were removed or unlinked
var RemovedLinksMsg = '摘去链接:';
// Links which were fixes
var SolvedLinksMsg  = '消歧义:';
// Number of links fixes, if above is too long
var SolvedCountMsg  = '为$1个链接消歧义';
// Summary feedback link when commonfixes is active
var UsingToolMsg    = ' 借助[[tools:~dispenser/view/Dab_solver|Dab solver]]';

// Interface text
var TabRead     = "阅读";
var TabEdit     = "编辑";
var TabHistory  = "历史";
var TabClose    = "关闭";
var OptRedlinks = "显示红链";
var OptForcelink= "链向消歧义页面";
var OptTaglink  = "我不清楚 / 标记{{需要消歧义}}";
var OptUnlink   = "摘去链接";
var OptReset    = "撤销";

// Server messages
// Database revision does not match page revision, usually caused by replication lag
OutOfSync = u'请注意,数据库是过时的。请见<a href="http://toolserver.org/~bryan/stats/replag/">复制延时</a>。'
// Link was not found in text, usually due to replication lag
LinkNotInText = u'\03{lightred}警告\03{default}:未找到[[%s]]'
// No links to disambiguated (maybe cause by the above message)
NoLinksInText = u"维基文字中未找到消歧义连接"
// Link not included because its transcluded from a template
LinkTranscluded = u'消歧义链接[[%s]]嵌入在[[%s]]'
// Text removed for brevity and compliance with the Toolserver rules
RemovedText = "%s\n<removed>隐藏了%d行(%d字符)</removed>\n%s"
// Rewrite templates link text to allow matching
ReplaceTemplates = [
  r'{{Sort name|(.*?)|(.*?)}}', r'{{sortname|$1|$2|$1 $2}}',
];