Page MenuHomePhabricator

misspelling.py: Add support for site wikipedia:ne
Closed, ResolvedPublic

Description

I was running pywikibot stable

ran the command

python pwb.py ./scripts/misspelling.py -random:20

Got response

misspelling.py does not support site wikipedia:ne.

Help Pywikibot team to provide support for your wiki by submitting
a bug to:
https://phabricator.wikimedia.org/maniphest/task/edit/form/1/?tags=pywikibot-core
with category containing misspelling pages or a template for
these misspellings.

How can we get started with this?

Event Timeline

MarcoAurelio renamed this task from Misspellings are major frustrations on the wikipedia, How can we enable spelling check feature in wikipedia.:ne ? to misspelling.py: Add support for site wikipedia:ne.Jul 25 2020, 11:01 AM

How can we get started with this?

You gave the answer yourself:

Help Pywikibot team to provide support … by submitting .. category containing misspelling pages or a template for these misspellings.

Unfortunately there is no entry in wikidata for ne-wiki which can be used:
https://www.wikidata.org/wiki/Q8644265

@Xqt can I have a samples from other wikis so that I can prepare it and share with you.

@Xqt can I have a samples from other wikis so that I can prepare it and share with you.

The simpliest way is a category where misspelling pages are collected. Add the category to wikidata items Q8644265 or Q9195708. In that case the misspelling script is able to work on them after my patch (coming soon) is submitted

Change 266073 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [bugfix] Enable misspelling.py for several sites using wikidata

https://gerrit.wikimedia.org/r/266073

Xqt triaged this task as Low priority.

Change 266073 merged by jenkins-bot:
[pywikibot/core@master] [bugfix] Enable misspelling.py for several sites using wikidata

https://gerrit.wikimedia.org/r/266073