Mpaa added a subscriber: Mpaa.
Mpaa added a comment.

standardizePageFooter() -> textlib.getCategoryLinks(text, site=self.site) -> 
rest = site.expand_text(match.group('rest'))
action expandtemplates replaces {{PAGENAME}} with API.

e.g. 
https://en.wikisource.org/w/api.php?action=expandtemplates&text=Category:Tables%20templates|+{{PAGENAME}}&prop=wikitext&maxlag=5&format=json


TASK DETAIL
  https://phabricator.wikimedia.org/T109213

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

To: Mpaa
Cc: Mpaa, jayvdb, Danny_B, pywikibot-bugs-list, JAnD, Aklapper



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to