Aklapper renamed this task from "Remove disambiguation bracket in labels when creating new items for articles" to "Make Pywikibot remove disambiguation bracket in labels to created new items for articles in Wikidata".
Aklapper updated the task description. (Show Details)

CHANGES TO TASK DESCRIPTION
E.g. `Georgia (country)` -> `Georgia`
Only do it when handling articles (ns0).

---
[Wikidata](https://www.wikidata.org/) is a common database used by Wikimedia projects. Pywikibot has a script named `scripts/newitem.py` that creates items in this database for newly created pages.

Wikidata is the database behind Wikipedia.However page titles can have brackets in it. This task is to remove these brackets from the name of the newly created items, Pywikibot has a script named `scripts/newitem.py` that creates items in this database for newly created pagesonly if the page is in the principal [namespace](https://www.mediawiki.org/wiki/Help:Namespaces) (that means `ns: 0` as [0 is used for articles](https://www.mediawiki.org/wiki/Manual:Namespace#Built-in_namespaces)).

However page titles can have brackets in it. This task is to remove these brackets from the name of the newly created items, only if the page is in the principal namespace (ns: 0, that's articles).Example: `Georgia (country)` → `Georgia`

TASK DETAIL
https://phabricator.wikimedia.org/T200399

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Aklapper
Cc: revi, jayvdb, JAnD, Framawiki, matej_suchanek, Xqt, Aklapper, pywikibot-bugs-list, Bugreporter, Wenyi, Kieubinhtb, Wonnral, Asad_Ali_Palijo, Lahi, Soteriaspace, RazeSoldier, Jayprakash12345, JakeTheDeveloper, Tbscho, MayS, Zoranzoki21, Mdupont, JJMC89, TerraCodes, Avicennasis, MuhammadShuaib, SimmeD, mys_721tx, Ricordisamoa, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to