https://bugzilla.wikimedia.org/show_bug.cgi?id=55307
Web browser: ---
Bug ID: 55307
Summary: Section headers with templates are not correctly
recognised
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: interwiki.py
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/914/
Reported by: Anonymous user
Created on: 2009-04-20 16:13:14
Subject: Section headers with templates are not correctly recognised
Original description:
Sometimes bot removes valid interwiki which lads to anchor in other article.
See
http://cs.wikipedia.org/w/index.php?title=Platnost\_\(pr%C3%A1vo\)&action=h…
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55301
Web browser: ---
Bug ID: 55301
Summary: redirect pages not properly followed.
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: interwiki.py
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/964/
Reported by: purodha
Created on: 2009-06-22 18:23:09
Subject: redirect pages not properly followed.
Original description:
A disambiguation page interwiki links to a redirect page which redirects
to a diambiguation page. The link is incorrectly not followed.
Note: \[\[de:A61\]\] is a redirect to \[\[de:A 61\]\] which is a
disambiguation.
Here is the output \(relevant lines only\):
python interwiki.py -v -initialredirect -autonomous -recentchanges:300
Pywikipediabot \(r6978 \(wikipedia.py\), Jun 21 2009, 13:58:28\)
Python 2.5.2 \(r252:60911, Jan 4 2009, 21:59:32\)
NOTE: Number of pages queued is 0, trying to add 60 more.
Getting 60 pages from wikipedia:ksh...
...
NOTE: Ignoring link from disambiguation page \[\[ksh:A 61 \(Watt eßß
datt?\)\]\] to non-disambiguation \[\[de:A61\]\]
NOTE: ignoring \[\[de:A61\]\] and its interwiki links
....
======Post-processing \[\[ksh:A 61 \(Watt eßß datt?\)\]\]======
Updating links on page \[\[ksh:A 61 \(Watt eßß datt?\)\]\].
WARNING: \[\[de:A61\]\] is either deleted or has a mismatching disambiguation
state.
No changes needed
WARNING: wikipedia: \[\[ksh:A 61 \(Watt eßß datt?\)\]\] links to incorrect
\[\[de:A61\]\]
The redirect should have been followed.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55278
Web browser: ---
Bug ID: 55278
Summary: Category with a sort key is considered different
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: interwiki.py
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1162/
Reported by: malafaya
Created on: 2010-04-12 16:45:12
Subject: Category with a sort key is considered different
Original description:
interwiki.py -family:wiktionary -lang:br -untranslated -array:10 -whenneeded
-subcats:"Wikeriadurourien dre o yezhoù"
I use the -subcats switch to iterate all direct subcats in br.wikt.
During process, I get the following
\[\[Rummad:Implijerien br|br\]\]: \[\[fr:Catégorie:Utilisateurs br\]\] gives
new interwiki \[\[br:Rummad:Implijerien br\]\]
This is in fact the same category as the one being processed, but originally
it's retrieved as having a sort key in the parecnt category and that's most
likely making it consider it's a different category.
Pywikipedia \[svn+ssh\] wikimedia/svnroot/pywikipedia/trunk/pywikipedia
\(r8072, 2010/04/09, 16:48:35\)
Python 2.5.2 \(r252:60911, Feb 21 2008, 13:11:45\) \[MSC v.1310 32 bit
\(Intel\)\]
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55277
Web browser: ---
Bug ID: 55277
Summary: Bot tries to update wikis where it doesn't have
account
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: interwiki.py
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1163/
Reported by: malafaya
Created on: 2010-04-12 16:48:46
Subject: Bot tries to update wikis where it doesn't have account
Original description:
interwiki.py -family:wiktionary -lang:br -untranslated -array:10 -whenneeded
-subcats:"Wikeriadurourien dre o yezhoù"
At some point, I can see the following:
======Post-processing \[\[br:Rummad:Implijerien is\]\]======
Updating links on page \[\[fr:Catégorie:Utilisateurs is\]\].
Changes to be made: Ajoute: \[\[br:Rummad:Implijerien is\]\]
\+ \[\[br:Rummad:Implijerien is\]\]
NOTE: Updating live wiki...
Sleeping for 6.0 seconds, 2010-04-12 17:40:44
Updating page \[\[fr:Catégorie:Utilisateurs is\]\] via API
Updating links on page \[\[pl:Kategoria:User is\]\].
Changes to be made: dodaje: af, br, de, en, es, fi, fr, fy, is, pt, ro, ru, sv
\+ \[\[af:Kategorie:Gebruiker is\]\] \[\[br:Rummad:Implijerien is\]\]
\[\[de:Kategorie:User
is\]\] \[\[en:Category:User is\]\] \[\[es:Categoría:Usuarios por idioma -
Islandés\]\] \[\[
fr:Catégorie:Utilisateurs is\]\] \[\[fy:Kategory:Meidogger/Taal is\]\]
\[\[is:Flokkur:No
tandi is\]\] \[\[pt:Categoria:\!Usuário is\]\] \[\[ro:Categorie:Utilizator
is\]\] \[\[ru:Kate
goriya:User is\]\] \[\[fi:Luokka:User is\]\] \[\[sv:Kategori:Användare is\]\]
\+
\+
In the fr.wikt, it's OK: I have account there.
But I don't have account in pl.wikt nor I have it in my user-config.py\! I
checked pl.wikt and nothing has been updated. I wonder what the bot tried to
do.
I think it may be related to -whenneed, because I don't usually use it and I
never had this problem before.
Pywikipedia \[svn+ssh\] wikimedia/svnroot/pywikipedia/trunk/pywikipedia
\(r8072, 2010/04/09, 16:48:35\)
Python 2.5.2 \(r252:60911, Feb 21 2008, 13:11:45\) \[MSC v.1310 32 bit
\(Intel\)\]
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55261
Web browser: ---
Bug ID: 55261
Summary: Page.fullVersionHistory() does not return edit
comments
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1231/
Reported by: binbot
Created on: 2010-08-25 10:11:01
Subject: Page.fullVersionHistory() does not return edit comments
Original description:
Using wikipedia.output\(page.fullVersionHistory\(\)\[0\]\[x\]\) for a wikipage
x=0 ==> gives oldid
x=1 ==> gives date
x=2 ==> gives author
x=3 ==> gives text
x=4 ==> gives an error message: "IndexError: tuple index out of range"
Where is the edit comment?
\(wikipedia.py: current version\)
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55257
Web browser: ---
Bug ID: 55257
Summary: -localonly behaviour
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: interwiki.py
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1251/
Reported by: Anonymous user
Created on: 2010-10-15 12:40:55
Subject: -localonly behaviour
Original description:
if globalvar.localonly:
\# In this case only continue on the Page we started with
so, if pages are read from a file, the bot edits on that language wiki that if
found in a link in the file? could it be changed to work on a HOME WIKI only?
or maybe it's worth introducting a similar option "-homeonly" that will allow
the bot to make edits ONLY on the language specified as 'mylang' in user-config
\(and maybe on language\(s\) explicitly specified as -lang parameter?\)
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55251
Web browser: ---
Bug ID: 55251
Summary: interwiki graphs fail for page titles with dashes
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: interwiki.py
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1275/
Reported by: valhallasw
Created on: 2010-12-21 19:03:12
Subject: interwiki graphs fail for page titles with dashes
Original description:
python interwiki.py -graph ru:JPEG\_XR
returns:
\(..\)
Traceback \(most recent call last\):
File "/usr/lib/python2.5/threading.py", line 486, in \_\_bootstrap\_inner
self.run\(\)
File "/home/valhallasw/src/pywikipedia-dev/pywikipedia/interwiki\_graph.py",
line 39, in run
if self.graph.write\(filename, prog = 'dot', format = format\):
File "/usr/lib/pymodules/python2.5/pydot.py", line 1696, in write
dot\_fd.write\(self.create\(prog, format\)\)
File "/usr/lib/pymodules/python2.5/pydot.py", line 1796, in create
status, stderr\_output\) \)
InvocationException: Program terminated with status: 6. stderr follows: Error:
/tmp/tmp70TEeD:139: syntax error near line 139
context: ""ja":"JPEG XR"" -> >>> ""es":"JPEG- <<< XR"";
The generated dot file has been attached.
valhallasw@nightshade:~/src/pywikipedia-svn$ python version.py
Pywikipedia \[svn+ssh\] trunk/pywikipedia \(r8785, 2010/12/21, 00:11:55\)
Python 2.5.2 \(r252:60911, Jan 24 2010, 17:44:40\)
\[GCC 4.3.2\]
config-settings:
use\_api = False
use\_api\_login = True
unicode test: ok
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55245
Web browser: ---
Bug ID: 55245
Summary: Unrecognised values for parameter 'usprop'
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1306/
Reported by: clabaut
Created on: 2011-04-07 06:56:31
Subject: Unrecognised values for parameter 'usprop'
Original description:
Traceback \(most recent call last\):
File "./unspam.py", line 324, in <module>
main\(\)
File "./unspam.py", line 318, in main
bot.run\(\)
File "./unspam.py", line 159, in run
onAutoblock=True\)
File "/home/clabaut/deploy/pywikipedia-svn/userlib.py", line 381, in block
if self.isBlocked\(\) and not reBlock:
File "/home/clabaut/deploy/pywikipedia-svn/userlib.py", line 121, in isBlocked
self.\_load\(\)
File "/home/clabaut/deploy/pywikipedia-svn/userlib.py", line 96, in \_load
getall\(self.site\(\), \[self\], force=True\)
File "/home/clabaut/deploy/pywikipedia-svn/userlib.py", line 538, in getall
\_GetAllUI\(site, users, throttle, force\).run\(\)
File "/home/clabaut/deploy/pywikipedia-svn/userlib.py", line 557, in run
data = self.getData\(\)
File "/home/clabaut/deploy/pywikipedia-svn/userlib.py", line 591, in getData
for user in data\['query'\]\['users'\]:
KeyError: 'query'
Where data contains : \{u'error': \{u'info': u"Unrecognised values for
parameter 'usprop'", u'code': u'usunknown\_usprop'\}\}
When talking to a 1.12.0 mediawiki.
$ python2 version.py
Pywikipedia \[http\] trunk/pywikipedia \(r9136, 2011/03/29, 15:55:44\)
Python 2.7.1 \(r271:86832, Feb 21 2011, 01:26:25\)
\[GCC 4.5.2 20110127 \(prerelease\)\]
config-settings:
use\_api = True
use\_api\_login = True
unicode test: triggers problem \#3081100
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55239
Web browser: ---
Bug ID: 55239
Summary: Commonscat.py checkcurrent
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: interwiki.py
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1330/
Reported by: avicennasis
Created on: 2011-08-10 04:57:33
Subject: Commonscat.py checkcurrent
Original description:
When running with -checkcurrent option, I believe the following actions happen.
1\. Check the local link to the Commons category for a match.
1a. If a match is found, do nothing and move on.
1b. If a category redirect is found on Commons, it will ask to \(or -always\)
update the link on local wiki.
1c. If neither a category nor a redirect is found, it will scan all the
interwiki links from the local wiki page, and see if a Commons category is
found on another wiki. If one is found, it will ask to \(or -always\) update
the link on the local wiki to match.
1d. If no category link is found at all, it should remove the template. \(Or at
least provide an error notice of some kind.\)
Currently, Step 1d doesn't happen.
To duplicate, simply add \{\{commonscat\}\} to any page with no matching
category on Commons, then try scanning the page.
The curious thing is it skips \(or doesn't check\) the broken category link.
e.g., when Category:Bar doesn't exist at Commons, output is:
Working on Category:Foo
Commonscat template is already on Category:Foo
Commonscat link at Category:Foo to Category:Foo is ok
Working on Category:Bar
Commonscat template is already on Category:Bar
Working on Category:Baz
Commonscat template is already on Category:Baz
Commonscat link at Category:Baz to Category:Baz is ok
python version.py
Pywikipedia \[http\] trunk/pywikipedia \(r9419, 2011/07/23, 11:52:31\)
Python 2.6.5 \(r265:79063, Jun 12 2010, 17:07:01\)
\[GCC 4.3.4 20090804 \(release\) 1\]
config-settings:
use\_api = True
use\_api\_login = True
unicode test: ok
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55214
Web browser: ---
Bug ID: 55214
Summary: Cosmetic: Sign "_" replaced with space for
[[http://links]]
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1407/
Reported by: Anonymous user
Created on: 2012-02-17 19:16:12
Subject: Cosmetic: Sign "_" replaced with space for [[http://links]]
Original description:
1\. In some article you can find incorrect hyperlink formatting, like this one
- \[\[http://google.com/some\_page\]\]
2\. In this case cosmtetic\_changes.py replaces this link as
\[\[http://google.com/some page\]\] \(space instead underscore\)
3\. I think it's incorrect, even if article has incorrect formatted hyperlinks
4\. Example you can find in this edit as a result
python cosmetic\_changes.py -lang:ru -always -page:"Микаелян, Сергей Абгарович"
http://ru.wikipedia.org/w/index.php?title=%D0%9C%D0%B8%D0%BA%D0%B0%D0%B5%D0…
5\. It lloks, that you can avoid this situation just with moving string
text = self.cleanUpLinks\(text\)
under
text = self.fixSyntaxSave\(text\)
6\. So, it looks, that correct calls should be
text = self.fixSelfInterwiki\(text\)
text = self.standardizePageFooter\(text\)
text = self.cleanUpSectionHeaders\(text\)
text = self.putSpacesInLists\(text\)
text = self.translateAndCapitalizeNamespaces\(text\)
text = self.replaceDeprecatedTemplates\(text\)
text = self.resolveHtmlEntities\(text\)
text = self.validXhtml\(text\)
text = self.removeUselessSpaces\(text\)
text = self.removeNonBreakingSpaceBeforePercent\(text\)
text = self.fixSyntaxSave\(text\)
text = self.cleanUpLinks\(text\)
text = self.fixHtml\(text\)
text = self.fixStyle\(text\)
text = self.fixTypo\(text\)
text = self.fixArabicLetters\(text\)
7\.
Pywikipedia \[http\] trunk/pywikipedia \(r9901, 2012/02/16, 22:44:36\)
Python 2.6.7 \(r267:88850, Sep 19 2011, 13:25:28\)
\[GCC 4.5.2\]
config-settings:
use\_api = True
use\_api\_login = True
unicode test: ok
--
You are receiving this mail because:
You are the assignee for the bug.