Bugs item #2786048, was opened at 2009-05-03 13:51
Message generated for change (Tracker Item Submitted) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2786048&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: xqt (xqt)
Assigned to: Nobody/Anonymous (nobody)
Summary: family.py - Missing redirect translations
Initial Comment:
There are missing redirect translations for bug-wiki and qu-wiki. This causes some malfunctions on interwikis.
Here are the fixes for this:
redirect = {
'bug':[u'ALIH'],
'qu': [u'REDIRECCIÓN'],
btw: Waht is the reason for the lowercase tags instead of the uppercase one as has been taken by the mediawiki software?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2786048&group_…
Bugs item #2786042, was opened at 2009-05-03 13:43
Message generated for change (Tracker Item Submitted) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2786042&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: xqt (xqt)
Assigned to: Nobody/Anonymous (nobody)
Summary: family.py: Wrong File: translation on wo-wiki
Initial Comment:
__version__='$Id: family.py 6725 2009-04-26 08:31:00Z nicdumz $'
There is a wrong Image: or File: translation on wo-wiki (see message at http://wo.wikipedia.org/wiki/Waxtaani_j%C3%ABfandikukat:Xqt and http://wo.wikipedia.org/w/index.php?title=Saytubiddiw&diff=prev&oldid=35829 as an example). Maybe it comes from this NS 7 translation
'wo': [u'Waxtaani dencukaay', u'Dencukaay'],
but it should be
'wo': [u'Waxtaani dencukaay'],
only.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2786042&group_…
Bugs item #2785484, was opened at 2009-05-02 03:40
Message generated for change (Comment added) made by russblau
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2785484&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: liangent (liangent)
Assigned to: Russell Blau (russblau)
Summary: Page.__str__
Initial Comment:
if config.console_encoding is ascii, the following code raises UnicodeEncodeError.
# in class Page
def __str__(self):
"""Return a console representation of the pagelink."""
return self.title(asLink=True, forceInterwiki=True
).encode(config.console_encoding)
----------------------------------------------------------------------
>Comment By: Russell Blau (russblau)
Date: 2009-05-02 16:23
Message:
Fixed in r6796
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2785484&group_…
Feature Requests item #2785017, was opened at 2009-05-01 09:01
Message generated for change (Comment added) made by sigmaoctantis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2785017&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: interwiki
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Multichill (multichill)
Assigned to: Multichill (multichill)
Summary: Update interwiki's with commonscat.py
Initial Comment:
Commonscat.py should update interwiki's at Commons when working on a category. Some code is already available, but not the policy on how to update the links. We have several sources:
-interwiki links to articles on the Commons category
-interwiki links to categoires on the Commons category
-interwiki links to articles at the Wikipedia article
-interwiki links to categories at the Wikipedia category
Not clear how to deal with this. We don't want bots constantly changing the links at a Commons category because multiple categories at some Wikipedia link to the same Commons category. Interwiki conflicts are probably going to be a source of problems too.
----------------------------------------------------------------------
Comment By: sigmaoctantis (sigmaoctantis)
Date: 2009-05-02 13:55
Message:
and
Commons category => Wikipedia article
----------------------------------------------------------------------
Comment By: sigmaoctantis (sigmaoctantis)
Date: 2009-05-02 13:49
Message:
A solution might be:
- Wikipedia article => Commons category
- Wikipedia category => Commons category
- Commons gallery => Wikipedia article
(Commons article = Commons gallery)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2785017&group_…
Feature Requests item #2785017, was opened at 2009-05-01 09:01
Message generated for change (Comment added) made by sigmaoctantis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2785017&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: interwiki
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Multichill (multichill)
Assigned to: Multichill (multichill)
Summary: Update interwiki's with commonscat.py
Initial Comment:
Commonscat.py should update interwiki's at Commons when working on a category. Some code is already available, but not the policy on how to update the links. We have several sources:
-interwiki links to articles on the Commons category
-interwiki links to categoires on the Commons category
-interwiki links to articles at the Wikipedia article
-interwiki links to categories at the Wikipedia category
Not clear how to deal with this. We don't want bots constantly changing the links at a Commons category because multiple categories at some Wikipedia link to the same Commons category. Interwiki conflicts are probably going to be a source of problems too.
----------------------------------------------------------------------
Comment By: sigmaoctantis (sigmaoctantis)
Date: 2009-05-02 13:49
Message:
A solution might be:
- Wikipedia article => Commons category
- Wikipedia category => Commons category
- Commons gallery => Wikipedia article
(Commons article = Commons gallery)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2785017&group_…
Bugs item #2784477, was opened at 2009-04-30 12:34
Message generated for change (Comment added) made by sigmaoctantis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2784477&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: other
Group: None
Status: Closed
Resolution: Works For Me
Priority: 5
Private: No
Submitted By: sigmaoctantis (sigmaoctantis)
Assigned to: Nobody/Anonymous (nobody)
Summary: TypeError with "-new" option in pagegenerators.py
Initial Comment:
Error message: "TypeError: newpages() got an unexpected keyword argument 'namespace'
newpages() got an unexpected keyword argument 'namespace'"
Removing ", namespace=namespace" fixes it, but might break it, if this a namespace other than 0 is available somewhere else.
----------------------------------------------------------------------
Comment By: sigmaoctantis (sigmaoctantis)
Date: 2009-05-02 13:45
Message:
yes, it was out of sync. It works now. Thank you for looking into this.
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2009-05-02 10:21
Message:
Works for me. Probably you have an edited version of wikipedia.py, where
newpages function has no namespace parameter.
Next time you send a bug report, please include uncut traceback.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2784477&group_…
Bugs item #2785594, was opened at 2009-05-02 12:21
Message generated for change (Comment added) made by liangent
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2785594&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: liangent (liangent)
Assigned to: Russell Blau (russblau)
Summary: Page.backlinks cannot work well on some pages
Initial Comment:
on zhwiki,
tuple(Page(Link(u'Wikipedia:沙盒')).backlinks())
NOTE: 沙盒 means sandbox in chinese
raises exception: RuntimeError: getredirtarget: 'redirects' contains no key for page WP:SB.
NOTE: WP:SB is a redirect to Wikipedia:沙盒, and WP is a namespace alias of Wikipedia
no matter what value i use for filterRedirects parameter
i cannot find what's the problem...
----------------------------------------------------------------------
>Comment By: liangent (liangent)
Date: 2009-05-02 15:11
Message:
i found something abnormal
currently, WP: is an alias of Wikipedia:, however, in api query, <bl
pageid="100223" ns="0" title="WP:SB" redirect="" /> is returned.
see
http://zh.wikipedia.org/w/api.php?action=query&list=backlinks&bltitle=Wikip…
this caused the problem
i reported it here, https://bugzilla.wikimedia.org/show_bug.cgi?id=17701 ,
but should pywikibot handle this abnormal situation?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2785594&group_…
Bugs item #2784477, was opened at 2009-04-30 18:34
Message generated for change (Comment added) made by cosoleto
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2784477&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: other
Group: None
>Status: Closed
>Resolution: Works For Me
Priority: 5
Private: No
Submitted By: sigmaoctantis (sigmaoctantis)
Assigned to: Nobody/Anonymous (nobody)
Summary: TypeError with "-new" option in pagegenerators.py
Initial Comment:
Error message: "TypeError: newpages() got an unexpected keyword argument 'namespace'
newpages() got an unexpected keyword argument 'namespace'"
Removing ", namespace=namespace" fixes it, but might break it, if this a namespace other than 0 is available somewhere else.
----------------------------------------------------------------------
>Comment By: Francesco Cosoleto (cosoleto)
Date: 2009-05-02 16:21
Message:
Works for me. Probably you have an edited version of wikipedia.py, where
newpages function has no namespace parameter.
Next time you send a bug report, please include uncut traceback.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2784477&group_…
Patches item #2785623, was opened at 2009-05-02 15:48
Message generated for change (Comment added) made by nicdumz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2785623&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: Accepted
Priority: 5
Private: No
Submitted By: liangent (liangent)
Assigned to: Nobody/Anonymous (nobody)
Summary: small mistake in page.py
Initial Comment:
Index: pywikibot/pywikibot/page.py
===================================================================
--- pywikibot/pywikibot/page.py (revision 6695)
+++ pywikibot/pywikibot/page.py (working copy)
@@ -675,7 +675,7 @@
watch = False
else:
unwatch = not watch
- if not force and not self.botMayEdit:
+ if not force and not self.botMayEdit():
raise pywikibot.PageNotSaved(
"Page %s not saved; editing restricted by {{bots}} template"
% self.title(asLink=True))
----------------------------------------------------------------------
>Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-05-02 16:10
Message:
corrected in r6788 :)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2785623&group_…
Patches item #2785623, was opened at 2009-05-02 13:48
Message generated for change (Settings changed) made by liangent
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2785623&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: liangent (liangent)
Assigned to: Nobody/Anonymous (nobody)
Summary: small mistake in page.py
Initial Comment:
Index: pywikibot/pywikibot/page.py
===================================================================
--- pywikibot/pywikibot/page.py (revision 6695)
+++ pywikibot/pywikibot/page.py (working copy)
@@ -675,7 +675,7 @@
watch = False
else:
unwatch = not watch
- if not force and not self.botMayEdit:
+ if not force and not self.botMayEdit():
raise pywikibot.PageNotSaved(
"Page %s not saved; editing restricted by {{bots}} template"
% self.title(asLink=True))
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2785623&group_…