Dvorapa added a comment.
The namespace pehaps should be a part of the representation, but for the others, methods like `section`, `anchor` should work quite easily. Page also doesn't show text or access rights on the first glance. Anyway I would suggest to have some `.fromLink()` method to create a new Link from the old Link easily. I even think there is such method, isn't there? TASK DETAIL https://phabricator.wikimedia.org/T223889 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dvorapa Cc: Dvorapa, Aklapper, pywikibot-bugs-list, Lokal_Profil, Viztor, DannyS712, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs