Bugs item #3365196, was opened at 2011-07-12 23:03
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3365196&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Pending
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Avicennasis (avicennasis)
>Assigned to: xqt (xqt)
Summary: Commonscat.py update
Initial Comment:
The following are alternate templates for CommonsCat on SimpleWp:
CommonsCompact
Commons-inline
Commons category multi
Commons cat multi
Commons category
May also want to add template:Sisterlinks as well, to avoid the redundant link to commons.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-07-17 12:57
Message:
done in r9412. Please check whether it works as expected.
----------------------------------------------------------------------
Comment By: Avicennasis (avicennasis)
Date: 2011-07-12 23:05
Message:
python version.py:
Pywikipedia [http] trunk/pywikipedia (r9363, 2011/07/10, 17:26:34)
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 can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3365196&group_…
Patches item #3368258, was opened at 2011-07-16 00:33
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3368258&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Bináris (binbot)
>Assigned to: xqt (xqt)
Summary: Fix stores recursive flag
Initial Comment:
Some fixes are always used with -recursive. This patch to replace.py allows to store the recursive flag within the fix and handles a potential bug when no replacement is given in a fix.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-07-17 12:20
Message:
done in r9411. Thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3368258&group_…
Bugs item #3369136, was opened at 2011-07-17 07:23
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3369136&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 7
Private: No
Submitted By: Mikko Silvonen (silvonen)
Assigned to: xqt (xqt)
Summary: category.py crashes with NameError in pywikibot/i18n.py
Initial Comment:
The changes in r9398 ("remove i18n code duplication for language fallback") seem to have broken category.py.
>category.py -pt:5 move
Please enter the old name of the category: Klondiken kultaryntäykseen liittyneet henkiklöt
Please enter the new name of the category: Klondiken kultaryntäykseen liittyneet henkilöt
Traceback (most recent call last):
File "C:\svn\pywikipedia\category.py", line 949, in <module>
main()
File "C:\svn\pywikipedia\category.py", line 919, in main
bot.run()
File "C:\svn\pywikipedia\category.py", line 412, in run
pywikibot.translate(site, cfd_templates))
File "c:\svn\pywikipedia\pywikibot\i18n.py", line 201, in translate
if pywikibot.default_family in xdict:
NameError: global name 'pywikibot' is not defined
>python version.py
Pywikipedia [http] trunk/pywikipedia (r9409, 2011/07/16, 23:05:34)
Python 2.5.4 (r254:67916, Jan 29 2009, 12:02:11) [MSC v.1310 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-07-17 11:55
Message:
done in r9410
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3369136&group_…
Bugs item #3369136, was opened at 2011-07-17 07:23
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3369136&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General
Group: None
Status: Open
Resolution: None
Priority: 7
Private: No
Submitted By: Mikko Silvonen (silvonen)
>Assigned to: xqt (xqt)
Summary: category.py crashes with NameError in pywikibot/i18n.py
Initial Comment:
The changes in r9398 ("remove i18n code duplication for language fallback") seem to have broken category.py.
>category.py -pt:5 move
Please enter the old name of the category: Klondiken kultaryntäykseen liittyneet henkiklöt
Please enter the new name of the category: Klondiken kultaryntäykseen liittyneet henkilöt
Traceback (most recent call last):
File "C:\svn\pywikipedia\category.py", line 949, in <module>
main()
File "C:\svn\pywikipedia\category.py", line 919, in main
bot.run()
File "C:\svn\pywikipedia\category.py", line 412, in run
pywikibot.translate(site, cfd_templates))
File "c:\svn\pywikipedia\pywikibot\i18n.py", line 201, in translate
if pywikibot.default_family in xdict:
NameError: global name 'pywikibot' is not defined
>python version.py
Pywikipedia [http] trunk/pywikipedia (r9409, 2011/07/16, 23:05:34)
Python 2.5.4 (r254:67916, Jan 29 2009, 12:02:11) [MSC v.1310 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3369136&group_…
Bugs item #3369136, was opened at 2011-07-17 08:23
Message generated for change (Settings changed) made by silvonen
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3369136&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General
Group: None
Status: Open
Resolution: None
>Priority: 7
Private: No
Submitted By: Mikko Silvonen (silvonen)
Assigned to: Nobody/Anonymous (nobody)
Summary: category.py crashes with NameError in pywikibot/i18n.py
Initial Comment:
The changes in r9398 ("remove i18n code duplication for language fallback") seem to have broken category.py.
>category.py -pt:5 move
Please enter the old name of the category: Klondiken kultaryntäykseen liittyneet henkiklöt
Please enter the new name of the category: Klondiken kultaryntäykseen liittyneet henkilöt
Traceback (most recent call last):
File "C:\svn\pywikipedia\category.py", line 949, in <module>
main()
File "C:\svn\pywikipedia\category.py", line 919, in main
bot.run()
File "C:\svn\pywikipedia\category.py", line 412, in run
pywikibot.translate(site, cfd_templates))
File "c:\svn\pywikipedia\pywikibot\i18n.py", line 201, in translate
if pywikibot.default_family in xdict:
NameError: global name 'pywikibot' is not defined
>python version.py
Pywikipedia [http] trunk/pywikipedia (r9409, 2011/07/16, 23:05:34)
Python 2.5.4 (r254:67916, Jan 29 2009, 12:02:11) [MSC v.1310 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3369136&group_…
Bugs item #3369136, was opened at 2011-07-17 08:23
Message generated for change (Tracker Item Submitted) made by silvonen
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3369136&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Mikko Silvonen (silvonen)
Assigned to: Nobody/Anonymous (nobody)
Summary: category.py crashes with NameError in pywikibot/i18n.py
Initial Comment:
The changes in r9398 ("remove i18n code duplication for language fallback") seem to have broken category.py.
>category.py -pt:5 move
Please enter the old name of the category: Klondiken kultaryntäykseen liittyneet henkiklöt
Please enter the new name of the category: Klondiken kultaryntäykseen liittyneet henkilöt
Traceback (most recent call last):
File "C:\svn\pywikipedia\category.py", line 949, in <module>
main()
File "C:\svn\pywikipedia\category.py", line 919, in main
bot.run()
File "C:\svn\pywikipedia\category.py", line 412, in run
pywikibot.translate(site, cfd_templates))
File "c:\svn\pywikipedia\pywikibot\i18n.py", line 201, in translate
if pywikibot.default_family in xdict:
NameError: global name 'pywikibot' is not defined
>python version.py
Pywikipedia [http] trunk/pywikipedia (r9409, 2011/07/16, 23:05:34)
Python 2.5.4 (r254:67916, Jan 29 2009, 12:02:11) [MSC v.1310 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3369136&group_…
Patches item #3368258, was opened at 2011-07-16 00:33
Message generated for change (Tracker Item Submitted) made by binbot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3368258&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Bináris (binbot)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix stores recursive flag
Initial Comment:
Some fixes are always used with -recursive. This patch to replace.py allows to store the recursive flag within the fix and handles a potential bug when no replacement is given in a fix.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3368258&group_…
Patches item #3367839, was opened at 2011-07-15 12:11
Message generated for change (Comment added) made by binbot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3367839&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: lankier (lankier)
Assigned to: Nobody/Anonymous (nobody)
Summary: Retrieve / edit the section
Initial Comment:
This patch adds new parameter 'section' to Page.get & Page.put.
(See also feature requests https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3104703&group_… )
Examples:
add a new section:
page.put('New section text', comment='New section header', section='new')
edit the top section:
text = page.get(section=0)
page.put(text+'\n\n==New section==\nNew text', section=0)
----------------------------------------------------------------------
Comment By: Bináris (binbot)
Date: 2011-07-15 20:32
Message:
Great and important contribution, I support the fast acceptation! This
feature has long been missing from Pywiki.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3367839&group_…
Bugs item #3309460, was opened at 2011-05-30 18:32
Message generated for change (Comment added) made by russblau
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3309460&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: rewrite
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Morten Wang (nettrom)
Assigned to: Russell Blau (russblau)
Summary: page.editTime() fails when using site.allpages()
Initial Comment:
Iterating over site.allpages() (in my case with namespace=0 and filterredir=False) causes a call to page.editTime() to fail with a KeyError. Closer inspection shows that _revid is set for pages in the generator, but _revisions is an empty dictionary. So latestRevision() returns _revid with no corresponding revision in _revisions, and the KeyError is thrown.
I'm running the rewrite branch, revision 9274, on Python 2.7 on Linux.
----------------------------------------------------------------------
>Comment By: Russell Blau (russblau)
Date: 2011-07-15 10:29
Message:
Fixed in r9379
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3309460&group_…
Patches item #3367839, was opened at 2011-07-15 14:11
Message generated for change (Tracker Item Submitted) made by lankier
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3367839&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: lankier (lankier)
Assigned to: Nobody/Anonymous (nobody)
Summary: Retrieve / edit the section
Initial Comment:
This patch adds new parameter 'section' to Page.get & Page.put.
(See also feature requests https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3104703&group_… )
Examples:
add a new section:
page.put('New section text', comment='New section header', section='new')
edit the top section:
text = page.get(section=0)
page.put(text+'\n\n==New section==\nNew text', section=0)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3367839&group_…