Xqt added a comment.
@ShakespeareFan00: Here a code which will work if you give the -ns parameter
before the generator parameter. All you have to do is to change this method in
pagegenerators:
def _handle_usercontribs(self, value: str) -> HANDLER_RETURN_TYPE:
"""Handle `-usercontribs` argument."""
self._single_gen_filter_unique = True
return UserContributionsGenerator(
value, site=self.site, _filter_unique=None,
namespaces=self.namespaces)
Not sure whether this will be kept for a final solution or overtaken to
Pywikibot 7.3
TASK DETAIL
https://phabricator.wikimedia.org/T308028
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Xqt, pywikibot-bugs-list, ShakespeareFan00, Aklapper, Jyoo1011,
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS,
Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti,
Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]