Does this needs some broader discussion? Where should be this announced?
Description
Details
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Improve and re-enable translateMagicWords | pywikibot/core | master | +60 -17 | |
| Improve and re-enable translateMagicWords | pywikibot/core | master | +22 -8 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | None | T141024 Add Phabricator tasks to comments for buggy cosmetic changes | |||
| Resolved | matej_suchanek | T151107 Enable translateMagicWords | |||
| Resolved | Xqt | T159997 cosmetic_changes slow down/freeze running bot | |||
| Resolved | Dalba | T148959 File regex gets stuck on a link in the caption |
Event Timeline
Change 322401 had a related patch set (by Matěj Suchánek) published:
Improve and re-enable translateMagicWords
In fact, I couldn't find it and I feel it could be done by mistake, see T141024#2752275.
Change 322401 merged by jenkins-bot:
[pywikibot/core] Improve and re-enable translateMagicWords
I reverted the previous patch with https://gerrit.wikimedia.org/r/#/c/342000 to solve the Problem T159997.
@matej_suchanek could you search for a solution for that problem introduced with that patch?
Change 342002 had a related patch set uploaded (by Xqt; owner: Matěj Suchánek):
[pywikibot/core] Improve and re-enable translateMagicWords
textlib.replaceExcept is known to be slow, so it wasn't really wise to call it individually for each magic word. Now that T148959: File regex gets stuck on a link in the caption is fixed, I believe this is the way to go. I will be working on this today.
Change 342002 merged by jenkins-bot:
[pywikibot/core@master] Improve and re-enable translateMagicWords