AbdealiJK added a comment. |
Marking as easy.
What essentially needs to be done is change the self.templatesWithParams() to self.templates() because we don't want the parameters which contain the target of the redirect.
The appropritate functionality will have to be moved to getCategoryRedirectTarget as that's where the parameter (the redirect target) is needed.
This makes the function faster because we lazily find the target only when needed.
TASK DETAIL
EMAIL PREFERENCES
To: AbdealiJK
Cc: AbdealiJK, TerraCodes, jayvdb, Ricordisamoa, pywikibot-bugs-list, Multichill, Ladsgroup, MayS, Mdupont, JJMC89, MuhammadShuaib, Alchimista
Cc: AbdealiJK, TerraCodes, jayvdb, Ricordisamoa, pywikibot-bugs-list, Multichill, Ladsgroup, MayS, Mdupont, JJMC89, MuhammadShuaib, Alchimista
_______________________________________________ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs