Bugs item #3495648, was opened at 2012-02-29 04:11
Message generated for change (Tracker Item Submitted) made by reza1615
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3495648&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: General
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: reza (reza1615)
Assigned to: Nobody/Anonymous (nobody)
Summary: nlog for fa.wiki doesn't work by default
Initial Comment:
Hi,
wlcome.py for fa wiki and some wikis sets by default to don't edit log page but since 1 week ago it changed and now if user doesn't set -nlog it makes arabic log page ! in fa.wiki please set it disable by default for fa.wiki
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3495648&group_…
Bugs item #3494734, was opened at 2012-02-26 03:29
Message generated for change (Comment added) made by mattflaschen
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3494734&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: MGA73 (mga73)
Assigned to: Nobody/Anonymous (nobody)
Summary: Update commonscat.py for en-wiki
Initial Comment:
As a part of http://en.wikipedia.org/wiki/Wikipedia:Bots/Requests_for_approval/MGA73bot_4 there has been a clean up in the number of templates used on enwiki.
The main template "Commons category" has 2 redirects http://toolserver.org/~dispenser/cgi-bin/rdcheck.py?page=Template:Commons_c…
Alternative templates
* Commons - no longer has redirects http://toolserver.org/~dispenser/cgi-bin/rdcheck.py?page=Template:Commons
* Commons and category + 1 redirect http://toolserver.org/~dispenser/cgi-bin/rdcheck.py?page=Template:Commons_a…
* Commons-inline + 3 redirects http://toolserver.org/~dispenser/cgi-bin/rdcheck.py?page=Template:Commons-i…
* Commons category-inline + 7 redirects http://toolserver.org/~dispenser/cgi-bin/rdcheck.py?page=Template:Commons_c…
* Commons category multi + 9 redirects
Templates where "Commons" or "Commons category" is build in:
* Commonscatmore
* Airports by country category description
* BC year in topic
* C11 year in topic
* C12 year in topic
* C13 year in topic
* C14 year in topic
* C15 year in topic
* C16 year in topic
* C17 year in topic
* C18 year in topic
* C19 year in topic
* C20 year in topic
* C21 year in topic
* Cathead Conservatism in
* Cathead passenger ships of the
* Howtoreqphoto
* M1 year in topic
* Motorsport decade category
There may be more http://en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/Template:Co… (some are just shown via the /doc. Any way to find out easy?
We should probably hunt down and kill redirects and try to avoid that the template is build into other templates.
----------------------------------------------------------------------
Comment By: mattflaschen (mattflaschen)
Date: 2012-02-27 18:55
Message:
As I said at one of the deletion requests
(http://en.wikipedia.org/wiki/Wikipedia:Redirects_for_discussion/Log/2012_Fe…),
there is a simple general solution for this, the Backlinks API
(http://www.mediawiki.org/wiki/API:Backlinks). Basically, when the bot
starts up, it should do backlink redirect queries (blfilterredir=redirects)
for any templates it's interested in. Then, it treats the whole set
(including just discovered redirects) exactly the same as the original one.
I will look at implementing this. However, I'm not familiar with the
Python Wikipedia Robot Framework, so someone else may beat me to it. :)
----------------------------------------------------------------------
Comment By: MGA73 (mga73)
Date: 2012-02-26 08:18
Message:
See
http://en.wikipedia.org/wiki/Wikipedia:Redirects_for_discussion/Log/2012_Fe…
for cleanup. Perhaps we should wait for the redirects to be deleted.
However, if anyone has ideas they are most welcome.
----------------------------------------------------------------------
Comment By: MGA73 (mga73)
Date: 2012-02-26 04:50
Message:
I started to find and kill redirects.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3494734&group_…
Bugs item #3495013, was opened at 2012-02-27 06:38
Message generated for change (Tracker Item Submitted) made by binbot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3495013&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: General
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Bináris (binbot)
Assigned to: Nobody/Anonymous (nobody)
Summary: Error in nice_get_address?
Initial Comment:
Copy
replace.py -page:"A Ki vagy, Doki? epizódjainak listája" x v -lang:hu
to your command line and press b for browser -- you will get an error message. Spaces won't be translated to underscores.
Pywikipedia trunk/pywikiped (r9936, 2012/02/26, 09:10:05)
Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3495013&group_…
Bugs item #3488668, was opened at 2012-02-17 12:37
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3488668&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: General
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Snaevar (snaevar)
Assigned to: xqt (xqt)
Summary: Namespace 104 and 105 on wikisource
Initial Comment:
Namespaces 104 and 105 do not exist on the following Wikibooks and should be removed from the family file: gl, sk mk, bg, fo, is, fi, cs, ko, ja, uk, sr, nl, az, el.
Output of version.py:
Pywikipedia trunk/pywikipedia <r9900, 2011/10/30, 15:03:29>
Python 2.7.2 <default, Jun 12 2011, 15:08:59> [MSC v.1500 32 bit <Intel>]
config settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2012-02-25 02:23
Message:
done in r9925-9927. Thanks.
----------------------------------------------------------------------
Comment By: Snaevar (snaevar)
Date: 2012-02-21 09:28
Message:
Looks like I got confused between projects. It is supposed to be
wikisource. Sorry.
From the interwiki.log:
WARNING: Family file wikisource includes namespace['is'][104], but it
should be removed (namespace doesn't exist in the site)
WARNING: Family file wikisource includes namespace['is'][105], but it
should be removed (namespace doesn't exist in the site)
WARNING: Family file wikisource includes namespace['fi'][104], but it
should be removed (namespace doesn't exist in the site)
WARNING: Family file wikisource includes namespace['fi'][105], but it
should be removed (namespace doesn't exist in the site)
......and so on.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-02-20 03:48
Message:
Are you really sure? wikibooks has only the following namespace aliases:
self.namespaces[104] = {
'az': u'Vikikitab',
'he': u'מדף',
'ka': u'თარო',
'nl': u'Wikijunior',
'pl': u'Wikijunior',
'ro': u'Carte de bucate',
'ru': u'Рецепт',
}
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3488668&group_…
Bugs item #3471487, was opened at 2012-01-09 11:13
Message generated for change (Comment added) made by binbot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3471487&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: archivebot.py not working on dewikinews
Initial Comment:
As the title says, archivebot.py is not working on dewikinews, without an error message. Using verbose output (adding import wikipedia; wikipedia.verbose = 1) you can see that it doesn't even try to change pages, although there are changes that need to be done (I've added that as attachment, the output goes on like the last two for all pages out of http://de.wikinews.org/wiki/Spezial:Linkliste/Vorlage:Autoarchiv and exits then). The script is running on the toolserver,
version.py:
hoo@willow:~/pywikipedia$ python version.py
Pywikipedia [http] trunk/pywikipedia (r9822, 2012/01/04, 08:38:45)
Python 2.7.1 (r271:86832, Jan 4 2011, 13:57:14)
[GCC 4.5.2]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
>Comment By: Bináris (binbot)
Date: 2012-02-23 00:27
Message:
Has the timestamp format changed? That would be a primary information.
When, how?
In the first run, Der_Hausgeist and Giftpflanze should be asked (or are
you any of them?)
Anyhow, as the official version of archivebot.py does not contain German
keywords, and the i18n file contains only German edit summaries, not
localized parameters, this must be an individual script. Please try to run
the official distribution with Englis keywords and report if it works.
----------------------------------------------------------------------
Comment By: Werieth (werieth)
Date: 2012-02-22 16:13
Message:
Its due to an issue with the timestamp that is used on their wiki. I am not
sure if this will work 100% but here is the patch:
Index: archivebot.py
===================================================================
--- archivebot.py (revision 9923)
+++ archivebot.py (working copy)
@@ -233,6 +233,8 @@
if not TM:
TM = re.search(r'(\d\d?)\. (\S+) (\d\d\d\d) kello
\W*(\d\d).(\d\d) \(.*?\)', line)
if not TM:
+ TM = re.search(r'(\d\d):(\d\d), (\d\d?)\. (\S+)\.? (\d\d\d\d)
\(.*?\)', line)
+ if not TM:
# 14:23, 12. Jan. 2009 (UTC)
pat = re.compile(r'(\d\d):(\d\d), (\d\d?)\. (\S+)\.?
(\d\d\d\d) \(UTC\)')
TM = pat.search(line)
@@ -240,6 +242,8 @@
# pywikibot.output(TM)
TIME = txt2timestamp(TM.group(0),"%d. %b %Y kl. %H:%M (%Z)")
if not TIME:
+ TIME = txt2timestamp(TM.group(0),"%H:%M, %d. %b. %Y
(CEST)")
+ if not TIME:
TIME = txt2timestamp(TM.group(0), "%Y. %B %d., %H:%M
(%Z)")
if not TIME:
TIME = txt2timestamp(TM.group(0),"%d. %b %Y kl.%H:%M
(%Z)")
@@ -263,9 +267,9 @@
TIME = txt2timestamp(TM.group(0),"%H:%M, %d. %b. %Y (%Z)")
if TIME:
self.timestamp = max(self.timestamp,time.mktime(TIME))
-# pywikibot.output(u'Time to be parsed: %s' % TM.group(0))
-# pywikibot.output(u'Parsed time: %s' % TIME)
-# pywikibot.output(u'Newest timestamp in thread: %s' %
TIME)
+ # pywikibot.output(u'Time to be parsed: %s' % TM.group(0))
+ # pywikibot.output(u'Parsed time: %s' % TIME)
+ # pywikibot.output(u'Newest timestamp in thread: %s' % TIME)
def size(self):
return len(self.title) + len(self.content) + 12
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2012-02-22 14:57
Message:
Yes, it used to work, see
https://de.wikinews.org/wiki/Spezial:Beitr%C3%A4ge/Archiver
They only switched the layout after I gave with pywp
(https://de.wikinews.org/w/index.php?diff=617692&oldid=403682)
----------------------------------------------------------------------
Comment By: Bináris (binbot)
Date: 2012-02-14 03:20
Message:
I guess from the German keywords in
http://de.wikinews.org/wiki/Vorlage:Autoarchiv that are not part of the
framework, you may use an individual code. If so, please try to rewrite the
template keywords to original English parameters on some talk pages, and
run the official distribution to see if it works. Individually modified
scripts are not in the scope of Pywiki team.
----------------------------------------------------------------------
Comment By: Bináris (binbot)
Date: 2012-02-14 03:11
Message:
Had it previously worked? If so, when did stop? What is the bot name that
archives?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3471487&group_…
Bugs item #3471487, was opened at 2012-01-09 11:13
Message generated for change (Comment added) made by werieth
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3471487&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: archivebot.py not working on dewikinews
Initial Comment:
As the title says, archivebot.py is not working on dewikinews, without an error message. Using verbose output (adding import wikipedia; wikipedia.verbose = 1) you can see that it doesn't even try to change pages, although there are changes that need to be done (I've added that as attachment, the output goes on like the last two for all pages out of http://de.wikinews.org/wiki/Spezial:Linkliste/Vorlage:Autoarchiv and exits then). The script is running on the toolserver,
version.py:
hoo@willow:~/pywikipedia$ python version.py
Pywikipedia [http] trunk/pywikipedia (r9822, 2012/01/04, 08:38:45)
Python 2.7.1 (r271:86832, Jan 4 2011, 13:57:14)
[GCC 4.5.2]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
Comment By: Werieth (werieth)
Date: 2012-02-22 16:13
Message:
Its due to an issue with the timestamp that is used on their wiki. I am not
sure if this will work 100% but here is the patch:
Index: archivebot.py
===================================================================
--- archivebot.py (revision 9923)
+++ archivebot.py (working copy)
@@ -233,6 +233,8 @@
if not TM:
TM = re.search(r'(\d\d?)\. (\S+) (\d\d\d\d) kello
\W*(\d\d).(\d\d) \(.*?\)', line)
if not TM:
+ TM = re.search(r'(\d\d):(\d\d), (\d\d?)\. (\S+)\.? (\d\d\d\d)
\(.*?\)', line)
+ if not TM:
# 14:23, 12. Jan. 2009 (UTC)
pat = re.compile(r'(\d\d):(\d\d), (\d\d?)\. (\S+)\.?
(\d\d\d\d) \(UTC\)')
TM = pat.search(line)
@@ -240,6 +242,8 @@
# pywikibot.output(TM)
TIME = txt2timestamp(TM.group(0),"%d. %b %Y kl. %H:%M (%Z)")
if not TIME:
+ TIME = txt2timestamp(TM.group(0),"%H:%M, %d. %b. %Y
(CEST)")
+ if not TIME:
TIME = txt2timestamp(TM.group(0), "%Y. %B %d., %H:%M
(%Z)")
if not TIME:
TIME = txt2timestamp(TM.group(0),"%d. %b %Y kl.%H:%M
(%Z)")
@@ -263,9 +267,9 @@
TIME = txt2timestamp(TM.group(0),"%H:%M, %d. %b. %Y (%Z)")
if TIME:
self.timestamp = max(self.timestamp,time.mktime(TIME))
-# pywikibot.output(u'Time to be parsed: %s' % TM.group(0))
-# pywikibot.output(u'Parsed time: %s' % TIME)
-# pywikibot.output(u'Newest timestamp in thread: %s' %
TIME)
+ # pywikibot.output(u'Time to be parsed: %s' % TM.group(0))
+ # pywikibot.output(u'Parsed time: %s' % TIME)
+ # pywikibot.output(u'Newest timestamp in thread: %s' % TIME)
def size(self):
return len(self.title) + len(self.content) + 12
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2012-02-22 14:57
Message:
Yes, it used to work, see
https://de.wikinews.org/wiki/Spezial:Beitr%C3%A4ge/Archiver
They only switched the layout after I gave with pywp
(https://de.wikinews.org/w/index.php?diff=617692&oldid=403682)
----------------------------------------------------------------------
Comment By: Bináris (binbot)
Date: 2012-02-14 03:20
Message:
I guess from the German keywords in
http://de.wikinews.org/wiki/Vorlage:Autoarchiv that are not part of the
framework, you may use an individual code. If so, please try to rewrite the
template keywords to original English parameters on some talk pages, and
run the official distribution to see if it works. Individually modified
scripts are not in the scope of Pywiki team.
----------------------------------------------------------------------
Comment By: Bináris (binbot)
Date: 2012-02-14 03:11
Message:
Had it previously worked? If so, when did stop? What is the bot name that
archives?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3471487&group_…
Bugs item #3471487, was opened at 2012-01-09 11:13
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3471487&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: archivebot.py not working on dewikinews
Initial Comment:
As the title says, archivebot.py is not working on dewikinews, without an error message. Using verbose output (adding import wikipedia; wikipedia.verbose = 1) you can see that it doesn't even try to change pages, although there are changes that need to be done (I've added that as attachment, the output goes on like the last two for all pages out of http://de.wikinews.org/wiki/Spezial:Linkliste/Vorlage:Autoarchiv and exits then). The script is running on the toolserver,
version.py:
hoo@willow:~/pywikipedia$ python version.py
Pywikipedia [http] trunk/pywikipedia (r9822, 2012/01/04, 08:38:45)
Python 2.7.1 (r271:86832, Jan 4 2011, 13:57:14)
[GCC 4.5.2]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2012-02-22 14:57
Message:
Yes, it used to work, see
https://de.wikinews.org/wiki/Spezial:Beitr%C3%A4ge/Archiver
They only switched the layout after I gave with pywp
(https://de.wikinews.org/w/index.php?diff=617692&oldid=403682)
----------------------------------------------------------------------
Comment By: Bináris (binbot)
Date: 2012-02-14 03:20
Message:
I guess from the German keywords in
http://de.wikinews.org/wiki/Vorlage:Autoarchiv that are not part of the
framework, you may use an individual code. If so, please try to rewrite the
template keywords to original English parameters on some talk pages, and
run the official distribution to see if it works. Individually modified
scripts are not in the scope of Pywiki team.
----------------------------------------------------------------------
Comment By: Bináris (binbot)
Date: 2012-02-14 03:11
Message:
Had it previously worked? If so, when did stop? What is the bot name that
archives?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3471487&group_…