filnik | 1 Oct 2008 15:36
Picon
Favicon

SVN: [5925] trunk/pywikipedia/welcome.py

Revision: 5925
Author:   filnik
Date:     2008-10-01 13:36:59 +0000 (Wed, 01 Oct 2008)

Log Message:
-----------
Applying patch by FiloSottile

Modified Paths:
--------------
    trunk/pywikipedia/welcome.py

Modified: trunk/pywikipedia/welcome.py
===================================================================
--- trunk/pywikipedia/welcome.py	2008-09-29 21:00:54 UTC (rev 5924)
+++ trunk/pywikipedia/welcome.py	2008-10-01 13:36:59 UTC (rev 5925)
 <at>  <at>  -85,6 +85,8  <at>  <at> 
     -savedata      This feature saves the random signature index to allow to
                    continue to welcome with the last signature used.

+    -sul           Welcome the auto-created users (default: False)
+
 ********************************* GUIDE ***********************************
 
 Report, Bad and white list guide:
 <at>  <at>  -408,7 +410,7  <at>  <at> 
         wikipedia.output(u'\nReal-time list loaded.')
     return list_loaded

-def parselog(wsite, raw, talk, number):
(Continue reading)

SourceForge.net | 1 Oct 2008 22:22
Picon
Favicon

[ pywikipediabot-Bugs-2119685 ] interwiki.py does reverts

Bugs item #2119685, was opened at 2008-09-19 18:53
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2119685&group_id=93107

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
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py  does reverts

Initial Comment:
I got this message. As far as I know is this an old feature, that should be solved a long time ago. 
At this moment I'm working with revision 5909. But I don't know with which version I did the reverts. 

For the description of the feature see the message send by someones else that detected this feature.

Hello Carsrac,

I would like to draw your attention to these edits made by your bot:
[http://de.wikipedia.org/w/index.php?title=Auge&diff=48157069&oldid=48020013 article
de:Auge] and
[http://la.wikipedia.org/w/index.php?title=The_Beatles&diff=562763&oldid=562701 article
(Continue reading)

SourceForge.net | 1 Oct 2008 22:42
Picon
Favicon

[ pywikipediabot-Bugs-2119685 ] interwiki.py does reverts

Bugs item #2119685, was opened at 2008-09-19 18:53
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2119685&group_id=93107

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
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py  does reverts

Initial Comment:
I got this message. As far as I know is this an old feature, that should be solved a long time ago. 
At this moment I'm working with revision 5909. But I don't know with which version I did the reverts. 

For the description of the feature see the message send by someones else that detected this feature.

Hello Carsrac,

I would like to draw your attention to these edits made by your bot:
[http://de.wikipedia.org/w/index.php?title=Auge&diff=48157069&oldid=48020013 article
de:Auge] and
[http://la.wikipedia.org/w/index.php?title=The_Beatles&diff=562763&oldid=562701 article
(Continue reading)

russblau | 1 Oct 2008 23:00
Picon
Favicon

SVN: [5926] branches/rewrite/pywikibot

Revision: 5926
Author:   russblau
Date:     2008-10-01 21:00:43 +0000 (Wed, 01 Oct 2008)

Log Message:
-----------
more site tests; add handy decorator for methods with deprecated arguments

Modified Paths:
--------------
    branches/rewrite/pywikibot/site.py
    branches/rewrite/pywikibot/tests/site_tests.py

Modified: branches/rewrite/pywikibot/site.py
===================================================================
--- branches/rewrite/pywikibot/site.py	2008-10-01 13:36:59 UTC (rev 5925)
+++ branches/rewrite/pywikibot/site.py	2008-10-01 21:00:43 UTC (rev 5926)
 <at>  <at>  -30,6 +30,32  <at>  <at> 
 logger = logging.getLogger("wiki")

 
+def deprecate_arg(old_arg, new_arg):
+    """Decorator to declare old_arg deprecated and replace it with new_arg"""
+    def decorator(method):
+        def wrapper(*__args, **__kw):
+            meth_name = method.__name__
+            if old_arg in __kw:
+                if new_arg:
+                    if new_arg in __kw:
+                        logger.warn(
(Continue reading)

cydeweys | 2 Oct 2008 04:37
Picon
Favicon

SVN: [5927] trunk/pywikipedia/category.py

Revision: 5927
Author:   cydeweys
Date:     2008-10-02 02:37:56 +0000 (Thu, 02 Oct 2008)

Log Message:
-----------
Fixing the Remove robot so that it also deletes a talk page, if one exists.

The default behavior of the Removal robot has been altered so that it uses
a custom edit summary (if one is given) in preference to the default edit
summary when performing a deletion of the category page.  This behavior is
most likely preferred because a custom edit summary is almost guaranteed to
contain information that is more helpful than "Category was disbanded".

Modified Paths:
--------------
    trunk/pywikipedia/category.py

Modified: trunk/pywikipedia/category.py
===================================================================
--- trunk/pywikipedia/category.py	2008-10-01 21:00:43 UTC (rev 5926)
+++ trunk/pywikipedia/category.py	2008-10-02 02:37:56 UTC (rev 5927)
 <at>  <at>  -31,9 +31,10  <at>  <at> 
  * -summary:   - Pick a custom edit summary for the bot.
  * -inplace    - Use this flag to change categories in place rather than
                  rearranging them.
- * -delsum     - An option for remove, this specifies to use the custom edit
-                 summary as the deletion reason (rather than a canned
-                 deletion reason)
+ * -nodelsum   - An option for remove, this specifies not to use the custom
(Continue reading)

russblau | 2 Oct 2008 23:23
Picon
Favicon

SVN: [5928] branches/rewrite/pywikibot/throttle.py

Revision: 5928
Author:   russblau
Date:     2008-10-02 21:23:59 +0000 (Thu, 02 Oct 2008)

Log Message:
-----------
Provide for changing the write delay; don't know how this was overlooked before.

Modified Paths:
--------------
    branches/rewrite/pywikibot/throttle.py

Modified: branches/rewrite/pywikibot/throttle.py
===================================================================
--- branches/rewrite/pywikibot/throttle.py	2008-10-02 02:37:56 UTC (rev 5927)
+++ branches/rewrite/pywikibot/throttle.py	2008-10-02 21:23:59 UTC (rev 5928)
 <at>  <at>  -115,17 +115,19  <at>  <at> 
         finally:
             self.lock.release()

-    def setDelays(self, delay=None, absolute=False):
+    def setDelays(self, delay=None, writedelay=None, absolute=False):
         """Set the nominal delays in seconds. Defaults to config values."""
         self.lock.acquire()
         try:
             if delay is None:
                 delay = self.mindelay
+            if writedelay is None:
+                writedelay = self.writedelay
             if absolute:
(Continue reading)

multichill | 3 Oct 2008 13:09
Picon
Favicon

SVN: [5929] trunk/pywikipedia/imageuncat.py

Revision: 5929
Author:   multichill
Date:     2008-10-03 11:09:17 +0000 (Fri, 03 Oct 2008)

Log Message:
-----------
More templates to ignore

Modified Paths:
--------------
    trunk/pywikipedia/imageuncat.py

Modified: trunk/pywikipedia/imageuncat.py
===================================================================
--- trunk/pywikipedia/imageuncat.py	2008-10-02 21:23:59 UTC (rev 5928)
+++ trunk/pywikipedia/imageuncat.py	2008-10-03 11:09:17 UTC (rev 5929)
 <at>  <at>  -97,6 +97,8  <at>  <at> 
                     u'Bg',
                     u'Bh',
                     u'Bi',
+                    u'Blason-fr-en',
+                    u'Blason-fr-en-it',
                     u'Blue Marble',
                     u'Bm',
                     u'Bmz',
 <at>  <at>  -153,7 +155,9  <at>  <at> 
                     u'Cc-by-3.0-rs',
                     u'Cc-by-3.0-us',
                     u'Cc-by-3.0,2.5,2.0,1.0',
+                    u'Cc-by-all',
(Continue reading)

malafaya | 5 Oct 2008 04:57
Picon
Favicon

SVN: [5930] trunk/pywikipedia/families/wikipedia_family.py

Revision: 5930
Author:   malafaya
Date:     2008-10-05 02:57:13 +0000 (Sun, 05 Oct 2008)

Log Message:
-----------
* Wikipedia namespaces 4, 5 for languages: as, yo

Modified Paths:
--------------
    trunk/pywikipedia/families/wikipedia_family.py

Modified: trunk/pywikipedia/families/wikipedia_family.py
===================================================================
--- trunk/pywikipedia/families/wikipedia_family.py	2008-10-03 11:09:17 UTC (rev 5929)
+++ trunk/pywikipedia/families/wikipedia_family.py	2008-10-05 02:57:13 UTC (rev 5930)
 <at>  <at>  -143,7 +143,7  <at>  <at> 
             'am': u'Wikipedia ውይይት',
             'an': u'Descusión Wikipedia',
             'ar': u'نقاش ويكيبيديا',
-            'as': u'Wikipedia वार्ता',
+            'as': u'Wikipedia বার্তা',
             'ast': u'Uiquipedia alderique',
             'av': u'Обсуждение Wikipedia',
             'ay': u'Wikipedia Discusión',
 <at>  <at>  -297,6 +297,7  <at>  <at> 
             'wo': u'Discussion Wikipedia',
             'xal': u'Wikipedia тускар ухалвр',
             'yi': [u'װיקיפּעדיע רעדן', u'וויקיפעדיע רעדן'],
+            'yo': u'Ọ̀rọ̀ Wikipedia',
(Continue reading)

filnik | 5 Oct 2008 12:55
Picon
Favicon

SVN: [5931] trunk/pywikipedia/checkimages.py

Revision: 5931
Author:   filnik
Date:     2008-10-05 10:55:55 +0000 (Sun, 05 Oct 2008)

Log Message:
-----------
Deleting two testing-print and one mistake in the hu options

Modified Paths:
--------------
    trunk/pywikipedia/checkimages.py

Modified: trunk/pywikipedia/checkimages.py
===================================================================
--- trunk/pywikipedia/checkimages.py	2008-10-05 02:57:13 UTC (rev 5930)
+++ trunk/pywikipedia/checkimages.py	2008-10-05 10:55:55 UTC (rev 5931)
 <at>  <at>  -155,9 +155,7  <at>  <at> 
         'de'     :u'Bot:Notify User',
         'en'     :u"Bot: Requesting source information." ,
         'it'     :u"Bot: Notifico l'unverified",
-        #FIXME: two hungarian messages ?
         'hu'     :u'Robot: Forrásinformáció kérése',
-        'hu'     :u'{{subst:Üdvözlet|~~~~}}\n',
         'ja'     :u"ロボットによる:著作権情報明記のお願い",
         'ko'     :u'로봇:라이선스 정보 요청',
         'ta'     :u'தானியங்கி:மூலம் வழங்கப்படா
படிமத்தை சுட்டுதல்',

_______________________________________________
Pywikipedia-l mailing list
(Continue reading)

filnik | 5 Oct 2008 16:08
Picon
Favicon

SVN: [5932] trunk/pywikipedia/pagegenerators.py

Revision: 5932
Author:   filnik
Date:     2008-10-05 14:08:10 +0000 (Sun, 05 Oct 2008)

Log Message:
-----------
This has to be placed on wikipedia.py not here, otherwise it will mess up allpages() 

Modified Paths:
--------------
    trunk/pywikipedia/pagegenerators.py

Modified: trunk/pywikipedia/pagegenerators.py
===================================================================
--- trunk/pywikipedia/pagegenerators.py	2008-10-05 10:55:55 UTC (rev 5931)
+++ trunk/pywikipedia/pagegenerators.py	2008-10-05 14:08:10 UTC (rev 5932)
 <at>  <at>  -232,10 +232,6  <at>  <at> 
     """
     if site is None:
         site = wikipedia.getSite()
-    if namespace is None:
-        page = wikipedia.Page(site, start)
-        namespace = page.namespace()
-        start = page.titleWithoutNamespace()
     for page in site.allpages(start = start, namespace = namespace, includeredirects = includeredirects):
         yield page

Gmane