Feature Requests item #1799752, was opened at 2007-09-21 10:22
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1799752&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: Interface Improvements (example)
Group: Next Release (example)
Status: Open
Priority: 5
Private: No
Submitted By: Peteparker (peteparker)
Assigned to: Nobody/Anonymous (nobody)
Summary: Undo for replace.py
Initial Comment:
Can we have an undo option for the replace.py where it reads the last logs from the logfile, goes back to the last command and reverses it?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1799752&group_…
Feature Requests item #1737088, was opened at 2007-06-14 05:16
Message generated for change (Comment added) made by peteparker
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1737088&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
Priority: 5
Private: No
Submitted By: Tavernier (tavernier)
Assigned to: Nobody/Anonymous (nobody)
Summary: after page move, fix all the links and delete the redirect
Initial Comment:
After mass moving a buch of pages with the regex feature of movepages.py, it should be convenient to fix all the links that point on the ancient name, then delete the redirect which was created by the renaming.
Thanks.
----------------------------------------------------------------------
Comment By: Peteparker (peteparker)
Date: 2007-09-21 10:17
Message:
Logged In: YES
user_id=1895870
Originator: NO
I don't necessarily want the redirect deleted, but I'd like the links to
be fixed after a page move as well.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1737088&group_…
Patches item #1799746, was opened at 2007-09-21 18:05
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1799746&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: Pietrodn (pietrodn)
Assigned to: Nobody/Anonymous (nobody)
Summary: Added two namespaces for en.wikibooks in wikibooks_family.py
Initial Comment:
Hello, the bot gave me these warnings:
WARNING: Missing namespace in family file wikibooks: namespace['en'][112] (it is set to 'Subject')
WARNING: Missing namespace in family file wikibooks: namespace['en'][113] (it is set to 'Subject talk')
So I put the missing namespaces in wikibooks_family.py.
Here is the svn.diff patch file.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1799746&group_…
Revision: 4339
Author: siebrand
Date: 2007-09-21 09:41:33 +0000 (Fri, 21 Sep 2007)
Log Message:
-----------
* Update required version status. Add 2.3 may work, but is not supported
* Remove reference to Python 2.3 where no longer needed
Modified Paths:
--------------
trunk/pywikipedia/CONTENTS
trunk/pywikipedia/editarticle.py
Modified: trunk/pywikipedia/CONTENTS
===================================================================
--- trunk/pywikipedia/CONTENTS 2007-09-21 01:33:27 UTC (rev 4338)
+++ trunk/pywikipedia/CONTENTS 2007-09-21 09:41:33 UTC (rev 4339)
@@ -215,7 +215,8 @@
You need to have at least python version 2.4 (http://www.python.org/download/)
installed on your computer to be able to run any of the code in this package.
-Support for older versions of python is not planned.
+Although some of the code may work on python version 2.3, support for older
+versions of python is not planned.
You do not need to "install" this package to be able to make use of
it. You can actually just run it from the directory where you unpacked
Modified: trunk/pywikipedia/editarticle.py
===================================================================
--- trunk/pywikipedia/editarticle.py 2007-09-21 01:33:27 UTC (rev 4338)
+++ trunk/pywikipedia/editarticle.py 2007-09-21 09:41:33 UTC (rev 4339)
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Edit a Wikipedia article with your favourite editor. Requires Python 2.3.
+# Edit a Wikipedia article with your favourite editor.
#
# (C) Gerrit Holl 2004
# Distributed under the terms of the MIT license.
Hi
I'm new to pywikipedia, but have played a bit with it recently and am
thinking of using it on location at a customer. However, I think I
have read some conflicting information regarding pywikipedia system
requirements so I was wondering if someone could confirm the lowest
possible version of Python that is necessary for it to run
successfully?
I am pretty sure I have seen both 2.3 and 2.4 mentioned..
Regards
Lee Francis
PS Is there always so little discussion on this list?
--
_____
In theory, there is no difference between theory and practice. But, in
practice, there is.
-- Jan L.A. van de Snepscheut
Bugs item #1769869, was opened at 2007-08-08 11:11
Message generated for change (Comment added) made by cosoleto
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1769869&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: Fixed
Priority: 5
Private: No
Submitted By: Filnik (filnik)
Assigned to: Nobody/Anonymous (nobody)
Summary: replace.py has problem with "\n"
Initial Comment:
I have tried with:
replace.py -regex -cat:Dipinti_di_Kandinsky "\[\[[Cc]ategoria:[Dd]ipinti[ _]di[ _][Kk]andinsky\]\]" "[[Categoria:Dipinti di Kandinsky]]\n[[Categoria:Dipinti astratti]]" -summary:"Bot: Aggiungo categoria"
but the "\n" isn't converted into a new line... Bryan and valhallasw has said that it should work but it doesn't... can anyone check if the \n is converted properly? Thanx, Filnik
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2007-09-21 08:35
Message:
Logged In: YES
user_id=181280
Originator: NO
'\n' interpretation may be restored simply if replaceExcept() use the
previous code without positive lookahead and lookbehind workaround feature
when no positive lookahead and lookbehind is present. I think to an
'enable_positive_lookahead' flag, an automatic exclusion... Probably this
allow a speed improvement too, in addiction to limit others problems.
----------------------------------------------------------------------
Comment By: Daniel Herding (wikipedian)
Date: 2007-09-20 22:25
Message:
Logged In: YES
user_id=880694
Originator: NO
This should be fixed. You can now use \n inside the replacement when
you're using Windows.
Note that this isn't a fix for a PyWikipediaBot bug, but a workaround for
a Windows problem.
----------------------------------------------------------------------
Comment By: Falk Steinhauer (falk_steinhauer)
Date: 2007-08-08 23:08
Message:
Logged In: YES
user_id=1810075
Originator: NO
As I know, the windows console isn't able to take special characters like
newline or backslash as arguments.
So every time I need one of those characters, I enter them manually in
function doReplacements() of module replace.py.
For instance:
def doReplacements(self, original_text):
"""
Returns the text which is generated by applying all replacements
to the
given text.
"""
new_text = original_text
# dirty trick for special characters:
self.replacements = []
self.replacements.append( ('RegExp','Replacement') )
for old, new in self.replacements:
new_text = wikipedia.replaceExcept(new_text, old, new,
['nowiki', 'comment', 'math', 'pre'], allowoverlap = self.allowoverlap)
return new_text
Because this works, it cannot be a bug in replace.py.
----------------------------------------------------------------------
Comment By: Aurimas Fischer (ebola_rulez)
Date: 2007-08-08 13:10
Message:
Logged In: YES
user_id=959303
Originator: NO
It worked before, I used this several months ago (from my fixes.py):
(u'\{\{Taxobox_pradžia ?\|
?(.*?)}}(\r\n|\n)(\{\{Taxobox_begin_placement)', ur'{{Taxobox_pradžia |
\1}}\n{{Taxobox_paveiksliukas | image = | caption = }}\2\3')
And now it doesn't
----------------------------------------------------------------------
Comment By: Daniel Herding (wikipedian)
Date: 2007-08-08 12:22
Message:
Logged In: YES
user_id=880694
Originator: NO
In Linux, it is possible to just press enter to create a newline, as long
as the string is inside quoataion marks.
-----------------------
daniel@localhost:~/projekte/pywikipedia> python replace.py mp "m
> p" -page:Wikipedia:Spielwiese
Checked for running processes. 1 processes currently running, including
the current process.
Getting 1 pages from wikipedia:de...
>>> Wikipedia:Spielwiese <<<
- Example
+ Exam
+ ple
Do you want to accept these changes? ([y]es, [N]o, [a]ll)
-----------------------
I don't know if that's possible in Windows. At least in the replacement
part, you cannot use the \n even in Linux.
----------------------------------------------------------------------
Comment By: Filnik (filnik)
Date: 2007-08-08 11:24
Message:
Logged In: YES
user_id=1834469
Originator: YES
It doesn't work :'( see:
http://it.wikipedia.org/w/index.php?title=Composizione_%28Kandinsky_1916%29…
----------------------------------------------------------------------
Comment By: Aurimas Fischer (ebola_rulez)
Date: 2007-08-08 11:19
Message:
Logged In: YES
user_id=959303
Originator: NO
Try using \r\n for newline
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1769869&group_…
Feature Requests item #1799295, was opened at 2007-09-21 00:46
Message generated for change (Comment added) made by wikipedian
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1799295&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: ru-sib de-linking (wikipedia_family.py)
Initial Comment:
ru-sib wikipedia has been finally closed [http://meta.wikimedia.org/w/index.php?title=Proposals_for_closing_projects/…] [http://bugzilla.wikimedia.org/show_bug.cgi?id=11397]
Please update 'self.obsolete' section in /families/wikipedia_family.py to de-link this wiki
----------------------------------------------------------------------
>Comment By: Daniel Herding (wikipedian)
Date: 2007-09-21 03:33
Message:
Logged In: YES
user_id=880694
Originator: NO
Done.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1799295&group_…