Lokal_Profil created this task. Lokal_Profil added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION Currently a `pywikibot.Link.astext()` returns something along the lines of `[[site:namespace:title#section]]`, thus omitting the anchor (the bit after the pipe). The documentation should either be updated to clarify that anchor is dropped, or the return format should be changed to something like `[[site:namespace:title#section|anchor]]`. To avoid a breaking change we could introduce a new arg (`with_anchor=False`) whoch triggers the anchor addition. ----------------------------------------------------------------------------------------------------------------- //This was one of the @TODOs from gerrit:442168 <https://gerrit.wikimedia.org/r/#/c/pywikibot/core/+/442168>// TASK DETAIL https://phabricator.wikimedia.org/T223891 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lokal_Profil Cc: Aklapper, pywikibot-bugs-list, Lokal_Profil, Viztor, DannyS712, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
