wikimedia / pywikibot-core (master)
Build #3222 has errored.
1 hour, 15 minutes, and 41 seconds
dalba 9fb96d2 Changeset →
  solve_disambiguation.py: Correct the way main namespace is detected

Previously, passing "-main" option caused the "ignore_title" dict to extend
and include namespace numbers. But those numbers never match a page.title().
Hence the non-main-namespace pages could not be detected.

In the new implementation the "ignore_title" is not extended, instead
"namespaces=0" is passed as a keyword argument to getReferences.

Bug:T105892
Change-Id: Icde898746dd77309d3e42b2da6c40f9bc4ab1194

Want to know about upcoming build environment updates?

Would you like to stay up-to-date with the upcoming Travis CI build environment updates? We set up a mailing list for you! Sign up here.

Would you like to test your private code?

Travis CI for Private Projects could be your new best friend!