Matěj Suchánek has uploaded a new change for review. https://gerrit.wikimedia.org/r/318099
Change subject: Deprecate unused argument in getLangaugeLinks ...................................................................... Deprecate unused argument in getLangaugeLinks Change-Id: Ibcceb06cce0e4102ab9fbca468501d39c845ab39 --- M pywikibot/textlib.py 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core refs/changes/99/318099/2 diff --git a/pywikibot/textlib.py b/pywikibot/textlib.py index c31e530..bc8af58 100644 --- a/pywikibot/textlib.py +++ b/pywikibot/textlib.py @@ -799,8 +799,8 @@ # do not find or change links of other kinds, nor any that are formatted # as in-line interwiki links (e.g., "[[:es:Articulo]]". -def getLanguageLinks(text, insite=None, pageLink="[[]]", - template_subpage=False): +@deprecated_args(pageLink=None) +def getLanguageLinks(text, insite=None, template_subpage=False): """ Return a dict of inter-language links found in text. -- To view, visit https://gerrit.wikimedia.org/r/318099 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ibcceb06cce0e4102ab9fbca468501d39c845ab39 Gerrit-PatchSet: 2 Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Owner: Matěj Suchánek <matejsuchane...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits