Topic on Manual talk:Pywikibot/

Jump to navigation Jump to search
Gamren (talkcontribs)

I wanted a list of all entries in wt:Category:Danish verbs that end in "s". I navigated to ...\pywikibot\core_stable and typed

py listpages -titleregex:'.{2,}s' -cat:Danish verbs

the entries I do get are neither in the category nor end with "s". I got two warnings:

...\data\ UserWarning: Unexpected overlap between action and query submodules: frozenset({'readinglists'})

...\ FamilyMaintenanceWarning: Family name wikimediachapter does not match family module name wikimedia

I am quite able to use ([]). Please tell me if more information is needed.

Octahedron80 (talkcontribs)

How about this:

listpages -titleregex:"s$" -cat:"Danish verbs"

Do not forget quotes. For other messages, I don't know.

PS. You may need to add -ns:0 to filter only main namespace.

Gamren (talkcontribs)

Thank you for answering. That did succeed in filtering out entries that don't end in "s", but it still doesn't care about the category. I tried both with and without quotes around "Danish verbs".__~~~~

Octahedron80 (talkcontribs)

Did you set family to wiktionary and lang to en yet? (or mylang in I tried my answer on PAWS and it had no problem.

Gamren (talkcontribs)

Yes I did, and the articles I was given were from en.wikt.__~~~~

Octahedron80 (talkcontribs)

You may want to try on this:

After log in then make a new terminal. You can start command with

In my opinion, your pywikibot may be out of date, or misconfigured.

Reply to "Parameters not obeyed?"