Strategies:
- bot
- request
Find a solution and implement it
Strategies:
Find a solution and implement it
Status | Assigned | Task | ||
---|---|---|---|---|
Resolved | atundo | T3752 Refactor heavy user operations into hidden micro-operations | ||
Wontfix | atundo | T3682 Support of auto-fix of internal links when sections are moved | ||
Resolved | davidev | T3768 Create a bot to fix links for redirected/moved pages |
@davidev Did you run a pywikibot in the meanwhile to fix the existing internal links?
This task could be fixed splitting "rename" user operation into two micro-operation: the first one rename the page etc (could be also split again), the second one looking for pages that pointed to the original page title, rewrite internal links and delete the redirect (they could be micro-ops too).
I tried and discussed w/ @davidev @crisbal and @tomaluca lots of different solutions. After a big effort, unfortunately I have to say that get backlinks isn't "deterministic". I mean, their update seems asynchronous, so I cannot rely on it.
Despite I implemented the solution described in the previous comment I must abort it in favor of:
I'm proceeding creating a bot that gets the redirect pages in the Course namespace, fixes the links in the backlinked pages and delete the redirect page