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
https://phabricator.wikimedia.org/T61080

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AbdealiJK
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

Reply via email to