Code is already on Labs, "just" needs to be fixed to run there. Please join the tool "erwin85" there and help!
http://tools.wmflabs.org/erwin85/
Version: unspecified
Severity: normal
Code is already on Labs, "just" needs to be fixed to run there. Please join the tool "erwin85" there and help!
http://tools.wmflabs.org/erwin85/
Version: unspecified
Severity: normal
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | bd808 | T60788 Toolserver migration to Tools (tracking) | |||
Resolved | None | T60865 [Epic] Toolserver.org tools that have not been migrated | |||
Resolved | Akoopal | T62872 Migrate https://toolserver.org/~erwin85/relatedchanges.php to Tool Labs |
I have had a quick look into this, as I am interested in the tool. Main problem seems to be it uses an old style personal database: u_erwin85.sc_ for caching of the category tree. This seems to be a quick fix, but will need some changes in the include file as well.
Certainly willing to look better into this, my toollabs login is akoopal.
Related changes is working, database u_erwin85 replaced with <sqluser>__erwin85 overall and created that database on all database servers. Some quick testing shows most is working, however for commons I get mysql errors. Have looked at the exceptions made for those databases, and I don't see what can be wrong. A second look would be appreciated.
As reported on
https://pt.wikipedia.org/w/index.php?diff=39171644&oldid=39162195&uselang=en
the tool seems to be displaying edits made to Wikidata items when the user selects the Portuguese Wikipedia. E.g.:
https://tools.wmflabs.org/erwin85/relatedchanges.php?lang=pt&family=wikipedia&category=Xadrez&d=10&submit=Submit
but Haplology did not edit Portuguese Wikipedia
https://pt.wikipedia.org/wiki/Special:Contribs/Haplology?uselang=en
and Wikidata shows an edit to the associated item
https://www.wikidata.org/w/index.php?diff=138666564
Ideally, edits to Wikidata whould not be diplayed in this case, or if they do, at the very least the diff and hist links should be fixed to point to the Wikidata edit/history.
I know the issue, at the moment I don't have time to look into this in detail, if I make time I first want to look at why commons is not connecting, and look at making Erwin's other tools work, then I want to look at these kind of things. So if others want to look into this, appreciated.
Quick fix is to just suppress the wikidata edits, better solution would be to mark them as wikidata-edits, link properly to wikidata and make a switch to choose.
The tool has been migrated, so I'm closing this bug. Any further issues should be reported as separate bugs.
As it wasn't working on commons after migration, I still considered it not completely migrated. But I have find the cause and it is working now. Just documenting here to be sure.