Patches item #2814780, was opened at 2009-06-30 20:42
Message generated for change (Settings changed) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2814780&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: almaghi (almaghi)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add a user-fix example and a fckeditor fix
Initial Comment:
Patches fixes.py with addition of FCKeditor.
And add another sometime useful example in generate_user_files
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-09-25 02:25
Message:
r7310. Thanks. Only FCKeditor fix applied. The other one looked out of
place.
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-09-25 02:24
Message:
r7310. Thanks. Only fckeditor fix applied. The other one looked out of
place.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2814780&group_…
Patches item #2814780, was opened at 2009-06-30 20:42
Message generated for change (Comment added) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2814780&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: almaghi (almaghi)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add a user-fix example and a fckeditor fix
Initial Comment:
Patches fixes.py with addition of FCKeditor.
And add another sometime useful example in generate_user_files
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-09-25 02:24
Message:
r7310. Thanks. Only fckeditor fix applied. The other one looked out of
place.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2814780&group_…
Patches item #2826571, was opened at 2009-07-24 15:37
Message generated for change (Settings changed) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2826571&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: Fixed
Priority: 5
Private: No
Submitted By: AndreasJS (andreasjs)
Assigned to: Nobody/Anonymous (nobody)
Summary: removed obsolete parameter nofollow_redirects
Initial Comment:
The parameter -addcat results in a TypeError:
Traceback (most recent call last):
File "replace.py", line 705, in <module>
main()
File "replace.py", line 701, in main
bot.run()
File "replace.py", line 387, in run
cats = page.categories(nofollow_redirects=True)
TypeError: categories() got an unexpected keyword argument 'nofollow_redirects'
For a patch see diff below
--- replace.py (revision 7083)
+++ replace.py (working copy)
@@ -384,7 +384,7 @@
new_text = newest_text
newest_text = self.doReplacements(new_text)
if hasattr(self, "addedCat"):
- cats = page.categories(nofollow_redirects=True)
+ cats = page.categories()
if self.addedCat not in cats:
cats.append(self.addedCat)
new_text = wikipedia.replaceCategoryLinks(new_text,
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-09-25 02:19
Message:
r7309. Thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2826571&group_…
Patches item #2826784, was opened at 2009-07-24 23:02
Message generated for change (Comment added) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2826784&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Upyloader: updated version
Initial Comment:
Added a progress bar while loading the pictures into the GUI
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-09-25 02:13
Message:
Where is this supposed to go?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2826784&group_…
Patches item #2807441, was opened at 2009-06-17 02:36
Message generated for change (Settings changed) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2807441&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: Fixed
Priority: 5
Private: No
Submitted By: Nakor Wikipedia (nakor-wikipedia)
Assigned to: Nobody/Anonymous (nobody)
Summary: correcting issue with get references
Initial Comment:
If you look for references to a pages that have a lot of them you may enter in an infinite loop. See e.g. [[:fr:Modèle:Admissibilité]]. Attached is a patch to try and prevent that by filtering the initial display of reference pages.
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-09-25 02:10
Message:
r7308. Thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2807441&group_…
Patches item #2800449, was opened at 2009-06-03 13:28
Message generated for change (Comment added) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2800449&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: Hannes Röst (hroest)
Assigned to: Nobody/Anonymous (nobody)
Summary: read more tags from xmldump
Initial Comment:
I changed the classes XmlDump and XmlEntry so that they now also have information about namespaces and minor edits.
I parse the information of the xml dump header with the function _parseSiteinfo and I added the new field siteinfo to XmlDump as well as the fields: "sitename, base, generator, case, namespaces".
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-09-25 02:06
Message:
Cannot process diff.
----------------------------------------------------------------------
Comment By: Hannes Röst (hroest)
Date: 2009-06-03 14:19
Message:
ok, I used diff -u, is this better?
sry, I haven't done this before, greetings hroest
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2009-06-03 14:06
Message:
Please use "diff -u" or "svn diff" to create patches. Unified diffs are
more readable and thus easier to review
----------------------------------------------------------------------
Comment By: Hannes Röst (hroest)
Date: 2009-06-03 13:36
Message:
diff:
59c59
< def __init__(self, title, id, text, username, ipedit, timestamp,
editRestriction, moveRestriction, revisionid, comment):
---
> def __init__(self, title, id, text, username, ipedit, timestamp,
editRestriction, moveRestriction, revisionid, comment, minor, namespace):
70a71,72
> self.minor = minor
> self.namespace = namespace
284a287
> self.siteinfo = None
292a296,297
> if event == 'start' and elem.tag == "{%s}siteinfo" %
self.uri:
> self._parseSiteinfo(elem)
295a301,311
> def _parseSiteinfo(self, elem):
> self.sitename = elem.findtext( "{%s}sitename" % self.uri )
> self.base = elem.findtext( "{%s}base" % self.uri )
> self.generator = elem.findtext( "{%s}generator" % self.uri )
> self.case = elem.findtext( "{%s}case" % self.uri )
> self.namespaces = {}
> for infoElement in elem:
> if infoElement.tag == "{%s}namespaces" % self.uri:
> for name in infoElement:
> self.namespaces[name.text] = name.attrib['key']
>
327c343,344
< # could get comment, minor as well
---
> if revision.findtext("{%s}minor" % self.uri) == '': minor =
True
> else: minor = False
330a348,359
>
> #here we get the namespace which is in a format like this
"ns:title"
> #note that we can find namespace zero in the dictionary under
"None"
> match = re.search('([^:]*):\w*', self.title)
> try:
> if match: nameSp = self.namespaces[match.group(1)]
> else: nameSp = self.namespaces[match]
> except KeyError:
> #this means we dont have this one stored as a namespace or
its an
> #article like "2001: A Space Odyssey (film)"
> #we assume that the namespace is zero
> nameSp = 0
337c366,368
< comment=comment
---
> comment=comment,
> minor = minor,
> namespace = nameSp
407d437
<
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2800449&group_…
Patches item #2810019, was opened at 2009-06-22 00:47
Message generated for change (Settings changed) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2810019&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: Nakor Wikipedia (nakor-wikipedia)
Assigned to: Nobody/Anonymous (nobody)
Summary: Patch for getting correct contribb list
Initial Comment:
userlib.contrib() does not get correct user contribs (some are missing) because the regexp used to parse the page is incorrect.
Attached is a patch that fixes the problem.
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-09-25 02:03
Message:
Patch has merge conflicts. Please upload a new patch and reopen if needed.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2810019&group_…
Patches item #2819858, was opened at 2009-07-10 23:57
Message generated for change (Settings changed) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2819858&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: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: mhr translation of date.py
Initial Comment:
Adding mhr translation of months and syntax of days and years
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-09-25 02:02
Message:
r7307. Merged with what was already there (1 line added). Thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2819858&group_…
Patches item #2848560, was opened at 2009-09-01 18:37
Message generated for change (Settings changed) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2848560&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: Fixed
Priority: 5
Private: No
Submitted By: robertm (matekrm)
Assigned to: Nobody/Anonymous (nobody)
Summary: wikipedia.Page.previousRevision throw exception
Initial Comment:
The IndexError exception is thrown when trying to call wikipedia.Page.previousRevision () method. The problem occur on latest pywikipedia version. Attached patch fix the problem.
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-09-25 01:58
Message:
r7306. Thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2848560&group_…
Bugs item #2860956, was opened at 2009-09-17 23:11
Message generated for change (Settings changed) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2860956&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: Fixed
Priority: 5
Private: No
Submitted By: Daniel Bengtsson (cygnus78)
Assigned to: Nobody/Anonymous (nobody)
Summary: getVersionHistory() does not work anymore
Initial Comment:
python version.py
Pywikipedia [http] trunk/pywikipedia (r7268, 2009/09/17, 15:52:03)
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3]
I have not investigated very thoroughly but the function returns [] and I can see that the page source no longer matches the regexp. The regexp starts with <li class=".*?"> but the page source does not specify class for <li>. But that is not the only difference. By the way this problem was found using a bot that operates on wikimedia commons.
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-09-25 01:55
Message:
Fixed in r7305 from #2861291 by mauro742.
----------------------------------------------------------------------
Comment By: Mauro (mauro742)
Date: 2009-09-18 11:37
Message:
Another problem is in "minor edit".
I post a bugfix here:
https://sourceforge.net/tracker/?func=detail&aid=2861291&group_id=93107&ati…
----------------------------------------------------------------------
Comment By: Daniel Bengtsson (cygnus78)
Date: 2009-09-17 23:21
Message:
Actually it seems that the <li class=".*?"> was the only problem. Switching
that part to just <li> and it works fine here.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2860956&group_…