Patches item #1947976, was opened at 2008-04-21 16:47
Message generated for change (Comment added) made by nicdumz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1947976&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: Christoffer (roboticuskhan)
Assigned to: Nobody/Anonymous (nobody)
Summary: more Norwegian translations
Initial Comment:
added standard no and nn translations in various scripts.
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2008-04-21 19:55
Message:
Logged In: YES
user_id=1963242
Originator: NO
added in r5244.
Thanks !!!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1947976&group_…
Patches item #1947976, was opened at 2008-04-21 16:47
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=1947976&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: Christoffer (roboticuskhan)
Assigned to: Nobody/Anonymous (nobody)
Summary: more Norwegian translations
Initial Comment:
added standard no and nn translations in various scripts.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1947976&group_…
Bugs item #1947526, was opened at 2008-04-21 10:56
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1947526&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: Alex S.H. Lin (lin4h)
Assigned to: Nobody/Anonymous (nobody)
Summary: speedy_delete cannot quit in Windows
Initial Comment:
OS:Windows XP SP2
Python: 2.5.2c1
When I finish to use speedy_delete.py, I type q to quit program.But it still in "Quitting program." and cannot return to command console.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1947526&group_…
Revision: 5243
Author: nicdumz
Date: 2008-04-20 22:34:58 +0000 (Sun, 20 Apr 2008)
Log Message:
-----------
* Correcting a wrong output in redirect.py
* Correcting the behavior of Page when given "w:page" as a title, when working on meta or commons : the default language overthere is english, but we defaulted to self.site().lang, i.e. "meta" or "commons", which was wrong and was raising "wikipedia.NoSuchSite: Language meta does not exist in family wikipedia"
Modified Paths:
--------------
trunk/pywikipedia/redirect.py
trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/redirect.py
===================================================================
--- trunk/pywikipedia/redirect.py 2008-04-20 11:38:33 UTC (rev 5242)
+++ trunk/pywikipedia/redirect.py 2008-04-20 22:34:58 UTC (rev 5243)
@@ -326,8 +326,10 @@
wikipedia.output(
u'Redirect target is also a redirect! Won\'t delete anything.')
else:
+ #we successfully get the target page, meaning that
+ #it exists and is not a redirect: no reason to touch it.
wikipedia.output(
- u'Redirect target does not exist! Won\'t delete anything.')
+ u'Redirect target does exist! Won\'t delete anything.')
# idle for 1 minute
wikipedia.output(u'')
wikipedia.put_throttle()
Modified: trunk/pywikipedia/wikipedia.py
===================================================================
--- trunk/pywikipedia/wikipedia.py 2008-04-20 11:38:33 UTC (rev 5242)
+++ trunk/pywikipedia/wikipedia.py 2008-04-20 22:34:58 UTC (rev 5243)
@@ -391,7 +391,12 @@
# This page is from a different family
if verbose:
output(u"Target link '%s' has different family '%s'" % (title, lowerNs))
- otherlang = self.site().lang
+ if self.site().family.name in ['commons', 'meta']:
+ #When the source wiki is commons or meta,
+ #w:page redirects you to w:en:page
+ otherlang = 'en'
+ else:
+ otherlang = self.site().lang
familyName = self.site().family.get_known_families(site = self.site())[lowerNs]
if familyName in ['commons', 'meta']:
otherlang = familyName
Revision: 5242
Author: nicdumz
Date: 2008-04-20 11:38:33 +0000 (Sun, 20 Apr 2008)
Log Message:
-----------
Some documentation, to save time to potential hands ;)
Modified Paths:
--------------
branches/rewrite/pywikibot/README-conversion.txt
Modified: branches/rewrite/pywikibot/README-conversion.txt
===================================================================
--- branches/rewrite/pywikibot/README-conversion.txt 2008-04-20 10:01:57 UTC (rev 5241)
+++ branches/rewrite/pywikibot/README-conversion.txt 2008-04-20 11:38:33 UTC (rev 5242)
@@ -11,6 +11,19 @@
example, wikipedia.Page can be replaced by pywikibot.Page throughout any
bot.
+With pywikipedia scripts were importing "wikipedia" or "pagegenerators"
+librairies; pywikibot is now written as a standard module.
+(To use it, just import "pywikibot", assuming that pywikibot/ is in sys.path)
+
+== Python librairies ==
+
+You will need, to run pywikibot, httplib2 and setuptools
+* httplib2 : http://code.google.com/p/httplib2/
+* setuptools : http://pypi.python.org/pypi/setuptools/
+
+If you run into errors involving httplib2.urlnorm, update httplib2 to
+0.4.0 (Ubuntu package python-httlib2 for example, is outdated)
+
== Page objects ==
The constructor syntax for Pages has been modified; existing calls in the
Patches item #1946758, was opened at 2008-04-19 19:32
Message generated for change (Comment added) made by nicdumz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1946758&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: Christoffer (roboticuskhan)
Assigned to: Nobody/Anonymous (nobody)
Summary: Adding nn and no translations in category.py
Initial Comment:
Added various translations; see the attached file for the additions.
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2008-04-19 19:40
Message:
Logged In: YES
user_id=1963242
Originator: NO
Applied in r5238.
Thanks !
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1946758&group_…