Manual talk:Pywikibot/solve disambiguation.py

Latest comment: 14 years ago by Una Smith in topic New feature suggestions
The following discussion has been transferred from Meta-Wiki.
Any user names refer to users of that site, who are not necessarily users of MediaWiki.org (even if they share the same username).

Question withdrawn. Gerry Ashton 20:23, 1 June 2006 (UTC)Reply

Error message

edit

Sometimes I get this error:

Exception in thread Put-Thread:Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/threading.py", line 442, in __bootstrap
    self.run()
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/judson/pywikipedia/wikipedia.py", line 5016, in async_put
    output(u"Saving page [[%s]] failed: %s"
AttributeError: PageNotSaved instance has no attribute 'message'

Any ideas? - Cohesion 23:04, 7 October 2007 (UTC)Reply

New feature suggestions

edit

I would like an additional option for disambiguating: adding the {{Dn }} tag (English Wikipedia). Also, I would like to restrict the pages examined to those in article space (namespace 0). --Una Smith 15:18, 1 January 2010 (UTC)Reply

Use -main to restrict pages examined to namespace 0. --Una Smith 18:15, 2 January 2010 (UTC)Reply

Add to the instructions that if the page name has parentheses, they need to be escaped like this: \( and \). --Una Smith 18:15, 2 January 2010 (UTC)Reply

Return to "Pywikibot/solve disambiguation.py" page.