Bugs item #2822195, was opened at 2009-07-16 00:42
Message generated for change (Settings changed) made by malafaya
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2822195&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: Open
Resolution: Works For Me
Priority: 5
Private: No
Submitted By: André Malafaya Baptista (malafaya)
Assigned to: Nobody/Anonymous (nobody)
Summary: replace.py -help throws exception
Initial Comment:
replace.py -help throws following exception after common bot help (the replace.py specific help is not shown):
Traceback (most recent call last):
File "D:\Work\pywikipedia\replace.py", line 705, in <module>
main()
File "D:\Work\pywikipedia\replace.py", line 510, in main
for arg in wikipedia.handleArgs(*args):
File "D:\Work\pywikipedia\wikipedia.py", line 6535, in handleArgs
showHelp(moduleName)
File "D:\Work\pywikipedia\wikipedia.py", line 7005, in showHelp
helpText = helpText.replace(key, value.strip('\n\r'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 852: ordinal not in range(128)
Thanks.
----------------------------------------------------------------------
>Comment By: André Malafaya Baptista (malafaya)
Date: 2009-10-06 11:56
Message:
I confirm the problem no longer exists. Thanks.
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-10-04 20:17
Message:
Please update your bot and try again. Works for me.
----------------------------------------------------------------------
Comment By: MGA73 (mga73)
Date: 2009-07-30 10:35
Message:
I thought it was just me that had messed up by bot so I'm "happy" to see
that others have the same error. My error have almost the same values: line
705, 510. 6573, 7043 and 852. Sadly I have had other problems also. /MGA73
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2822195&group_…
Patches item #1912104, was opened at 2008-03-11 19:36
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1912104&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: Rejected
Priority: 5
Private: No
Submitted By: AndreasJS (andreasjs)
Assigned to: Leonardo Gregianin (leogregianin)
Summary: interwiki: add "all" to namespace question
Initial Comment:
In Wikisource, authors are sometimes in namespace 102, but sometimes in the same namespace as the articles. The question:
WARNING: %s is in namespace %i, but %s is in namespace %i. Follow it anyway?'
appears everytime an author is encountered.
This patch adds the answer 'all' so that the question is not asked again for the same pair of language/namespace combinations.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-06 09:21
Message:
You should always build a crossnamespace dict. Otherwise bots in
autonoumous mode would revert those edits.
----------------------------------------------------------------------
Comment By: Leonardo Gregianin (leogregianin)
Date: 2008-07-19 20:28
Message:
Logged In: YES
user_id=1136737
Originator: NO
I revert the last change, but is "always" allowed to do interwiki-links to
other namespaces, that question would not be necessary:
choice = wikipedia.inputChoice('WARNING: %s is in namespace %i, but %s is
in namespace %i. Follow it anyway?' % (self.originPage.aslink(True),
self.originPage.namespace(), linkedPage.aslink(True),
linkedPage.namespace()), ['Yes', 'No'], ['y', 'n'])
----------------------------------------------------------------------
Comment By: Stig Meireles Johansen (stigmj)
Date: 2008-07-19 12:39
Message:
Logged In: YES
user_id=2116333
Originator: NO
If there are certain namespaces (f.ex. 102) in some wikisource-sites which
is "always" allowed to do interwiki-links to other namespaces (f.ex. 0) in
other wikisource-sites, you should build a corresponding
crossnamespace-dictionary for this. See
http://svn.wikimedia.org/viewvc/pywikipedia?view=rev&revision=5614 for more
information.
----------------------------------------------------------------------
Comment By: Leonardo Gregianin (leogregianin)
Date: 2008-07-19 04:35
Message:
Logged In: YES
user_id=1136737
Originator: NO
add in r5733
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1912104&group_…
Patches item #1986308, was opened at 2008-06-06 13:26
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1986308&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: Melancholie (melancholie)
>Assigned to: xqt (xqt)
Summary: good.py
Initial Comment:
I have forked featured.py (my updated version, see #1985288).
The script good.py will do the very same like featured.py,
but for "good articles" (not for featured ones)!
Script source:
http://als.wikipedia.org/w/index.php?title=Benutzer:MelancholieBot/good.py&…
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-10-05 19:11
Message:
I already merged this stuff into featured.py. I am just testing but it
looks fine (after patching catlib.py ;) )
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-10-05 16:57
Message:
I could integrate a -good option to featured.py
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-10-04 20:45
Message:
Anything we can do about getting this issue processed?
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-06-24 14:48
Message:
Logged In: NO
I think it is hard to integrate it, is a different concept.
----------------------------------------------------------------------
Comment By: Leonardo Gregianin (leogregianin)
Date: 2008-06-23 02:34
Message:
Logged In: YES
user_id=1136737
Originator: NO
Could you integrate the good.py within featured.py? Because the good.py is
basically the same script, the change is minimal. Regards, leonardo.
----------------------------------------------------------------------
Comment By: John (compwhizii)
Date: 2008-06-15 18:02
Message:
Logged In: YES
user_id=1924813
Originator: NO
Excuse my last comment.....
----------------------------------------------------------------------
Comment By: John (compwhizii)
Date: 2008-06-15 18:01
Message:
Logged In: YES
user_id=1924813
Originator: NO
C:\Documents and Settings\john2\My Documents\fixrd.patch
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1986308&group_…
Patches item #1986308, was opened at 2008-06-06 13:26
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1986308&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: Melancholie (melancholie)
Assigned to: Nobody/Anonymous (nobody)
Summary: good.py
Initial Comment:
I have forked featured.py (my updated version, see #1985288).
The script good.py will do the very same like featured.py,
but for "good articles" (not for featured ones)!
Script source:
http://als.wikipedia.org/w/index.php?title=Benutzer:MelancholieBot/good.py&…
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-05 19:11
Message:
I already merged this stuff into featured.py. I am just testing but it
looks fine (after patching catlib.py ;) )
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-10-05 16:57
Message:
I could integrate a -good option to featured.py
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-10-04 20:45
Message:
Anything we can do about getting this issue processed?
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-06-24 14:48
Message:
Logged In: NO
I think it is hard to integrate it, is a different concept.
----------------------------------------------------------------------
Comment By: Leonardo Gregianin (leogregianin)
Date: 2008-06-23 02:34
Message:
Logged In: YES
user_id=1136737
Originator: NO
Could you integrate the good.py within featured.py? Because the good.py is
basically the same script, the change is minimal. Regards, leonardo.
----------------------------------------------------------------------
Comment By: John (compwhizii)
Date: 2008-06-15 18:02
Message:
Logged In: YES
user_id=1924813
Originator: NO
Excuse my last comment.....
----------------------------------------------------------------------
Comment By: John (compwhizii)
Date: 2008-06-15 18:01
Message:
Logged In: YES
user_id=1924813
Originator: NO
C:\Documents and Settings\john2\My Documents\fixrd.patch
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1986308&group_…
Patches item #2873022, was opened at 2009-10-05 19:05
Message generated for change (Tracker Item Submitted) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2873022&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: 9
Private: No
Submitted By: xqt (xqt)
Assigned to: siebrand (siebrand)
Summary: catlib patch for KeyError
Initial Comment:
This patch solves the KeyError which occures in catlib (r7372) while loading more than 500 pages
File "C:\Programme\Python25\pywikipedia\catlib.py", line 404, in articles
for tag, page in gen(recurse=recurse, startFrom=startFrom):
File "C:\Programme\Python25\pywikipedia\catlib.py", line 162, in _getContentsNaive
for tag, page in self._parseCategory(startFrom=startFrom):
File "C:\Programme\Python25\pywikipedia\catlib.py", line 235, in _parseCategory
if 'query-continue' in data and count < params['cmlimilt']:
KeyError: 'cmlimilt'
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2873022&group_…
Feature Requests item #2836191, was opened at 2009-08-12 14:32
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2836191&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
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: getVersionHistory misses out current revision
Initial Comment:
Pywikipedia nightly:pywikipedia (r7143, 2009/08/11, 16:35:49)
Python 2.5.2 (r252:60911, Jan 4 2009, 17:40:26)
[GCC 4.3.2]
MediaWiki 1.15.0 with German language setting
The regex in getVersionHistory doesn't capture the current revision of the page. Intermediate output of all finds of the editR variable shows that the most recent edit is not contained, so I suppose the regex in wikipedia.py:2280+ is broken.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-05 18:53
Message:
solved in r7323
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-08-13 19:46
Message:
I use this procrdure very often by my cleanup bot and it is so far so ok to
ignore minor edits.
I guess it's not a bug, it's a feature ;)
I move it to feature request
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-08-13 11:20
Message:
Yes that's right, I just verified it and it only misses "minor edits"
Is it possible to make getVersionHistory include them? Otherwise I think
it should be included in the documentation.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-08-12 16:52
Message:
Could it be, that the disregarded entries are marked as "minor edits"
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2836191&group_…
Patches item #1986308, was opened at 2008-06-06 13:26
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1986308&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: Melancholie (melancholie)
Assigned to: Nobody/Anonymous (nobody)
Summary: good.py
Initial Comment:
I have forked featured.py (my updated version, see #1985288).
The script good.py will do the very same like featured.py,
but for "good articles" (not for featured ones)!
Script source:
http://als.wikipedia.org/w/index.php?title=Benutzer:MelancholieBot/good.py&…
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-05 16:57
Message:
I could integrate a -good option to featured.py
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-10-04 20:45
Message:
Anything we can do about getting this issue processed?
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-06-24 14:48
Message:
Logged In: NO
I think it is hard to integrate it, is a different concept.
----------------------------------------------------------------------
Comment By: Leonardo Gregianin (leogregianin)
Date: 2008-06-23 02:34
Message:
Logged In: YES
user_id=1136737
Originator: NO
Could you integrate the good.py within featured.py? Because the good.py is
basically the same script, the change is minimal. Regards, leonardo.
----------------------------------------------------------------------
Comment By: John (compwhizii)
Date: 2008-06-15 18:02
Message:
Logged In: YES
user_id=1924813
Originator: NO
Excuse my last comment.....
----------------------------------------------------------------------
Comment By: John (compwhizii)
Date: 2008-06-15 18:01
Message:
Logged In: YES
user_id=1924813
Originator: NO
C:\Documents and Settings\john2\My Documents\fixrd.patch
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1986308&group_…
Patches item #2787889, was opened at 2009-05-06 16:29
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2787889&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: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: liangent (liangent)
Assigned to: Nobody/Anonymous (nobody)
Summary: getcurrenttime()
Initial Comment:
maybe this is better (less cost)
Index: pywikibot/pywikibot/site.py
===================================================================
--- pywikibot/pywikibot/site.py (revision 6836)
+++ pywikibot/pywikibot/site.py (working copy)
@@ -794,10 +794,10 @@
"""
r = api.Request(site=self,
- action="parse",
+ action="expandtemplates",
text="{{CURRENTTIMESTAMP}}")
result = r.submit()
- return re.search('\d+', result['parse']['text']['*']).group()
+ return re.search('\d+', result['expandtemplates']['*']).group()
def getcurrenttime(self):
"""Return a Timestamp object representing the current server time."""
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-05 16:41
Message:
set to pending for automatic close
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-10-02 11:53
Message:
This request may already be outdated, but please attach a proper patch.
Otherwise this patch will be rejected for certain after 2 weeks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2787889&group_…
Patches item #2872953, was opened at 2009-10-05 16:32
Message generated for change (Tracker Item Submitted) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2872953&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: siebrand (siebrand)
Summary: Various patches for cosmetic_changes and others
Initial Comment:
cosmetic changes
* solves the putSpacesInList-problem by expanding the interface
* adds pdc to deprecatedTemplates
* ignore #39 in resolveHtmlEntities for eo-lang only
interwiki
* small text correction
redirect
* do not change the source in "always"-mode of the target does not exist (this would only become an additional broken redirect)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2872953&group_…
Bugs item #2846488, was opened at 2009-08-28 16:22
Message generated for change (Comment added) made by vvinet
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2846488&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: Vincent Vinet (vvinet)
Assigned to: Nobody/Anonymous (nobody)
Summary: Import/Path errors
Initial Comment:
Pywikipedia (r-1 (unknown), 0 (unknown))
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3]
When modifying the path for performing imports, the config userData path should not be used, since the files are laid out in a static fashion. Instead, the __file__ path allows for the path to always contain the required files.
The included patch fixes the various import errors I found while trying to develop a bot that acted from outside de pywikipedia source folder.
----------------------------------------------------------------------
>Comment By: Vincent Vinet (vvinet)
Date: 2009-10-05 07:34
Message:
@siebrand: Please refer to the first three lines of the bug report.
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-10-04 15:02
Message:
Required output of version.py is not included in report.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2846488&group_…