Vladis13 created this task. Vladis13 added projects: Pywikibot-Wikidata, Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION Pywikibot creates a page items with a label equivalent to the page name. See pywikibot.bot.create_item_for_page() <https://phabricator.wikimedia.org/diffusion/PWBC/browse/master/pywikibot/bot.py>. Could you add the ability to set another label via the `data` parameter? Because on Wikisource all encyclopedia pages have prefixes and suffixes (Q24509724 <https://www.wikidata.org/wiki/Q24509724>, Q21281526 <https://www.wikidata.org/wiki/Q21281526>, etc.). And traditionally labels for them are created with spaces around slashes separating prefixes and suffixes, the bot don't make it (example Q85899318 <https://www.wikidata.org/wiki/Q85899318>). Moreover, the consensus about naming is not clear, because according the proposed rule of Wikidata <https://www.wikidata.org/wiki/Help:Label#Wikimedia_page_title_may_give_orientation> the names of items should be named equivalent to the article’s own name. Currently, this method remove a disambiguation information only from brackets in page name. But don't know nothing about such prefixes and suffix, which usually are a mark of disambiguation information about the orphography/edition of page. TASK DETAIL https://phabricator.wikimedia.org/T246298 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Vladis13 Cc: Aklapper, pywikibot-bugs-list, Vladis13, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Ricordisamoa, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
