Bugs item #2011362, was opened at 2008-07-05 20:07
Message generated for change (Comment added) made by melancholie
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2011362&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: Melancholie (melancholie)
Assigned to: Nobody/Anonymous (nobody)
Summary: featured.py: Add 'Link FA' again for hi and yi
Initial Comment:
Both, hiwiki and yiwiki do use Template:Link_FA, the pages hi:Template:Lien AdQ and yi:Template: are only redirects.
By re-adding 'Link FA' to the langs arrays, Template:Link_FA will be used by the bot (otherewise those redirects).
----------------------------------------------------------------------
>Comment By: Melancholie (melancholie)
Date: 2008-07-11 07:51
Message:
Logged In: YES
user_id=2089773
Originator: YES
Maybe I was a little bit too imprecise ;-)
Here is what I mean:
templatelist = template['_default']
try:
templatelist += template[tosite.lang]
+ (u" {{%s|%s}}" % (templatelist[0],
fromsite.lang))
templatelist[0] is 'Link FA', but the localized templates used are
templatelist[1]. If there is a localized template (with Link_FA being only
a redirect) it should be used for edit. So it might be good to change the
order (make 'try:' first, add _default with +=)
For hi, yi the easiest way might be to just comment out the localized
template names, as they are only redirects to Link_FA.
----------------------------------------------------------------------
Comment By: Melancholie (melancholie)
Date: 2008-07-10 11:59
Message:
Logged In: YES
user_id=2089773
Originator: YES
So {{Link FA}} is always the first choice?
Or does _default actually follow redirects?
----------------------------------------------------------------------
Comment By: NicDumZ Nicolas Dumazet (nicdumz)
Date: 2008-07-10 10:41
Message:
Logged In: YES
user_id=1963242
Originator: NO
I'm not sure melancholie :)
I added {{Leam VdC}} in r5707, however, since r5669 (
https://fisheye.toolserver.org/browse/pywikipedia/trunk/pywikipedia/feature…
) it uses the '_default' entry (Link FA) AND the locale entry. The list for
hi: is for example ['Link Fa', 'Lien AdQ']
----------------------------------------------------------------------
Comment By: Melancholie (melancholie)
Date: 2008-07-10 10:28
Message:
Logged In: YES
user_id=2089773
Originator: YES
Furthermore, add http://fur.wikipedia.org/wiki/Model:Leam_VdC
[I wish I were able to do this things myself, but *still* no account yet]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2011362&group_…
Bugs item #2014962, was opened at 2008-07-10 13:53
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=2014962&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: Multichill (multichill)
Assigned to: Nobody/Anonymous (nobody)
Summary: SyntaxError: mismatched tag: line 6, column 140
Initial Comment:
I'm getting this error in different wiki's when i run commonscat.
Pywikipedia [svn+ssh] multichill@trunk/pywikipedia (r5707, Jul 10 2008, 08:35:27
)
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]
Working on Kategorie:Házenkári
Sleeping for 3.2 seconds, 2008-07-09 15:55:11
Sleeping for 4.1 seconds, 2008-07-09 15:55:15
Sleeping for 3.8 seconds, 2008-07-09 15:55:20
Traceback (most recent call last):
File "D:\Wikipedia\pywikipedia\pagegenerators.py", line 763, in __iter__
yield loaded_page
GeneratorExit
Traceback (most recent call last):
File "D:\Wikipedia\pywikipedia\commonscat.py", line 322, in <module>
main()
File "D:\Wikipedia\pywikipedia\commonscat.py", line 318, in main
(status, always) = addCommonscat(page, summary, always)
File "D:\Wikipedia\pywikipedia\commonscat.py", line 237, in addCommonscat
if getTemplate(ipage.site().language()) in ipage.templates():
File "D:\Wikipedia\pywikipedia\wikipedia.py", line 1682, in templates
return [template for (template, param) in self.templatesWithParams(get_redir
ect=get_redirect)]
File "D:\Wikipedia\pywikipedia\wikipedia.py", line 1696, in templatesWithParam
s
thistxt = self.get(get_redirect=get_redirect)
File "D:\Wikipedia\pywikipedia\wikipedia.py", line 647, in get
self._contents = self._getEditPage(get_redirect = get_redirect, throttle = t
hrottle, sysop = sysop)
File "D:\Wikipedia\pywikipedia\wikipedia.py", line 705, in _getEditPage
if text.find(self.site().mediawiki_message('whitelistedittitle')) != -1:
File "D:\Wikipedia\pywikipedia\wikipedia.py", line 4598, in mediawiki_message
tree = XML(decode)
File "<string>", line 85, in XML
SyntaxError: mismatched tag: line 6, column 140
commonscat.py -lang:simple -start:Category:48
Working on Category:47 BC births
Sleeping for 3.9 seconds, 2008-07-10 12:26:52
Sleeping for 4.1 seconds, 2008-07-10 12:26:57
Sleeping for 3.9 seconds, 2008-07-10 12:27:02
Sleeping for 3.5 seconds, 2008-07-10 12:27:07
Sleeping for 4.1 seconds, 2008-07-10 12:27:12
Traceback (most recent call last):
File "D:\Wikipedia\pywikipedia\pagegenerators.py", line 763, in __iter__
yield loaded_page
GeneratorExit
Traceback (most recent call last):
File "D:\Wikipedia\pywikipedia\commonscat.py", line 322, in <module>
main()
File "D:\Wikipedia\pywikipedia\commonscat.py", line 318, in main
(status, always) = addCommonscat(page, summary, always)
File "D:\Wikipedia\pywikipedia\commonscat.py", line 237, in addCommonscat
if getTemplate(ipage.site().language()) in ipage.templates():
File "D:\Wikipedia\pywikipedia\wikipedia.py", line 1682, in templates
return [template for (template, param) in self.templatesWithParams(get_redir
ect=get_redirect)]
File "D:\Wikipedia\pywikipedia\wikipedia.py", line 1696, in templatesWithParam
s
thistxt = self.get(get_redirect=get_redirect)
File "D:\Wikipedia\pywikipedia\wikipedia.py", line 647, in get
self._contents = self._getEditPage(get_redirect = get_redirect, throttle = t
hrottle, sysop = sysop)
File "D:\Wikipedia\pywikipedia\wikipedia.py", line 705, in _getEditPage
if text.find(self.site().mediawiki_message('whitelistedittitle')) != -1:
File "D:\Wikipedia\pywikipedia\wikipedia.py", line 4598, in mediawiki_message
tree = XML(decode)
File "<string>", line 85, in XML
SyntaxError: mismatched tag: line 6, column 140
Working on Category:530 deaths
Sleeping for 4.1 seconds, 2008-07-10 13:43:39
Sleeping for 3.7 seconds, 2008-07-10 13:43:45
Sleeping for 4.0 seconds, 2008-07-10 13:43:49
Sleeping for 3.9 seconds, 2008-07-10 13:43:54
Sleeping for 4.0 seconds, 2008-07-10 13:43:59
Sleeping for 4.1 seconds, 2008-07-10 13:44:04
Sleeping for 3.3 seconds, 2008-07-10 13:44:10
Sleeping for 4.1 seconds, 2008-07-10 13:44:14
Sleeping for 4.3 seconds, 2008-07-10 13:44:19
Sleeping for 3.6 seconds, 2008-07-10 13:44:25
Sleeping for 3.8 seconds, 2008-07-10 13:44:29
Sleeping for 3.9 seconds, 2008-07-10 13:44:34
Sleeping for 3.9 seconds, 2008-07-10 13:44:39
Sleeping for 3.2 seconds, 2008-07-10 13:44:45
Sleeping for 3.8 seconds, 2008-07-10 13:44:50
Sleeping for 4.0 seconds, 2008-07-10 13:44:54
Sleeping for 3.1 seconds, 2008-07-10 13:45:00
Sleeping for 3.7 seconds, 2008-07-10 13:45:05
Sleeping for 4.1 seconds, 2008-07-10 13:45:09
Sleeping for 3.7 seconds, 2008-07-10 13:45:15
Sleeping for 3.8 seconds, 2008-07-10 13:45:19
Traceback (most recent call last):
File "D:\Wikipedia\pywikipedia\pagegenerators.py", line 763, in __iter__
yield loaded_page
GeneratorExit
Traceback (most recent call last):
File "D:\Wikipedia\pywikipedia\commonscat.py", line 323, in <module>
main()
File "D:\Wikipedia\pywikipedia\commonscat.py", line 319, in main
(status, always) = addCommonscat(page, summary, always)
File "D:\Wikipedia\pywikipedia\commonscat.py", line 238, in addCommonscat
if getTemplate(ipage.site().language()) in ipage.templates():
File "D:\Wikipedia\pywikipedia\wikipedia.py", line 1682, in templates
return [template for (template, param) in self.templatesWithParams(get_redi
ect=get_redirect)]
File "D:\Wikipedia\pywikipedia\wikipedia.py", line 1696, in templatesWithPara
s
thistxt = self.get(get_redirect=get_redirect)
File "D:\Wikipedia\pywikipedia\wikipedia.py", line 647, in get
self._contents = self._getEditPage(get_redirect = get_redirect, throttle =
hrottle, sysop = sysop)
File "D:\Wikipedia\pywikipedia\wikipedia.py", line 705, in _getEditPage
if text.find(self.site().mediawiki_message('whitelistedittitle')) != -1:
File "D:\Wikipedia\pywikipedia\wikipedia.py", line 4600, in mediawiki_message
tree = XML(decode)
File "<string>", line 85, in XML
SyntaxError: mismatched tag: line 6, column 140
commonscat.py -lang:cs -start:Category:I
Working on Kategorie:Narození 1171
Sleeping for 4.0 seconds, 2008-07-10 13:48:07
Sleeping for 3.8 seconds, 2008-07-10 13:48:12
Sleeping for 4.0 seconds, 2008-07-10 13:48:17
Sleeping for 3.2 seconds, 2008-07-10 13:48:22
Sleeping for 4.0 seconds, 2008-07-10 13:48:27
Sleeping for 3.9 seconds, 2008-07-10 13:48:32
Sleeping for 3.7 seconds, 2008-07-10 13:48:37
Sleeping for 4.0 seconds, 2008-07-10 13:48:42
Sleeping for 3.7 seconds, 2008-07-10 13:48:47
Sleeping for 4.1 seconds, 2008-07-10 13:48:51
Sleeping for 3.3 seconds, 2008-07-10 13:48:57
Sleeping for 4.0 seconds, 2008-07-10 13:49:02
Sleeping for 3.7 seconds, 2008-07-10 13:49:07
Sleeping for 3.7 seconds, 2008-07-10 13:49:12
Checked for running processes. 4 processes currently running, including the curr
ent process.
Sleeping for 3.0 seconds, 2008-07-10 13:49:37
Sleeping for 3.1 seconds, 2008-07-10 13:49:40
Traceback (most recent call last):
File "D:\Wikipedia\pywikipedia\pagegenerators.py", line 763, in __iter__
yield loaded_page
GeneratorExit
Traceback (most recent call last):
File "D:\Wikipedia\pywikipedia\commonscat.py", line 322, in <module>
try:
File "D:\Wikipedia\pywikipedia\commonscat.py", line 318, in main
for page in pregenerator:
File "D:\Wikipedia\pywikipedia\commonscat.py", line 237, in addCommonscat
#See if commonscat is present
File "D:\Wikipedia\pywikipedia\wikipedia.py", line 1682, in templates
return [template for (template, param) in self.templatesWithParams(get_redir
ect=get_redirect)]
File "D:\Wikipedia\pywikipedia\wikipedia.py", line 1696, in templatesWithParam
s
thistxt = self.get(get_redirect=get_redirect)
File "D:\Wikipedia\pywikipedia\wikipedia.py", line 647, in get
self._contents = self._getEditPage(get_redirect = get_redirect, throttle = t
hrottle, sysop = sysop)
File "D:\Wikipedia\pywikipedia\wikipedia.py", line 705, in _getEditPage
if text.find(self.site().mediawiki_message('whitelistedittitle')) != -1:
File "D:\Wikipedia\pywikipedia\wikipedia.py", line 4598, in mediawiki_message
if elementtree:
File "<string>", line 85, in XML
SyntaxError: mismatched tag: line 6, column 140
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2014962&group_…
Bugs item #2011362, was opened at 2008-07-05 20:07
Message generated for change (Comment added) made by melancholie
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2011362&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: Melancholie (melancholie)
Assigned to: Nobody/Anonymous (nobody)
Summary: featured.py: Add 'Link FA' again for hi and yi
Initial Comment:
Both, hiwiki and yiwiki do use Template:Link_FA, the pages hi:Template:Lien AdQ and yi:Template: are only redirects.
By re-adding 'Link FA' to the langs arrays, Template:Link_FA will be used by the bot (otherewise those redirects).
----------------------------------------------------------------------
>Comment By: Melancholie (melancholie)
Date: 2008-07-10 11:59
Message:
Logged In: YES
user_id=2089773
Originator: YES
So {{Link FA}} is always the first choice?
Or does _default actually follow redirects?
----------------------------------------------------------------------
Comment By: NicDumZ Nicolas Dumazet (nicdumz)
Date: 2008-07-10 10:41
Message:
Logged In: YES
user_id=1963242
Originator: NO
I'm not sure melancholie :)
I added {{Leam VdC}} in r5707, however, since r5669 (
https://fisheye.toolserver.org/browse/pywikipedia/trunk/pywikipedia/feature…
) it uses the '_default' entry (Link FA) AND the locale entry. The list for
hi: is for example ['Link Fa', 'Lien AdQ']
----------------------------------------------------------------------
Comment By: Melancholie (melancholie)
Date: 2008-07-10 10:28
Message:
Logged In: YES
user_id=2089773
Originator: YES
Furthermore, add http://fur.wikipedia.org/wiki/Model:Leam_VdC
[I wish I were able to do this things myself, but *still* no account yet]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2011362&group_…
Bugs item #2011362, was opened at 2008-07-05 20:07
Message generated for change (Comment added) made by nicdumz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2011362&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: Melancholie (melancholie)
Assigned to: Nobody/Anonymous (nobody)
Summary: featured.py: Add 'Link FA' again for hi and yi
Initial Comment:
Both, hiwiki and yiwiki do use Template:Link_FA, the pages hi:Template:Lien AdQ and yi:Template: are only redirects.
By re-adding 'Link FA' to the langs arrays, Template:Link_FA will be used by the bot (otherewise those redirects).
----------------------------------------------------------------------
>Comment By: NicDumZ Nicolas Dumazet (nicdumz)
Date: 2008-07-10 10:41
Message:
Logged In: YES
user_id=1963242
Originator: NO
I'm not sure melancholie :)
I added {{Leam VdC}} in r5707, however, since r5669 (
https://fisheye.toolserver.org/browse/pywikipedia/trunk/pywikipedia/feature…
) it uses the '_default' entry (Link FA) AND the locale entry. The list for
hi: is for example ['Link Fa', 'Lien AdQ']
----------------------------------------------------------------------
Comment By: Melancholie (melancholie)
Date: 2008-07-10 10:28
Message:
Logged In: YES
user_id=2089773
Originator: YES
Furthermore, add http://fur.wikipedia.org/wiki/Model:Leam_VdC
[I wish I were able to do this things myself, but *still* no account yet]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2011362&group_…
Bugs item #2011362, was opened at 2008-07-05 20:07
Message generated for change (Comment added) made by melancholie
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2011362&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: Melancholie (melancholie)
Assigned to: Nobody/Anonymous (nobody)
Summary: featured.py: Add 'Link FA' again for hi and yi
Initial Comment:
Both, hiwiki and yiwiki do use Template:Link_FA, the pages hi:Template:Lien AdQ and yi:Template:רא are only redirects.
By re-adding 'Link FA' to the langs arrays, Template:Link_FA will be used by the bot (otherewise those redirects).
----------------------------------------------------------------------
>Comment By: Melancholie (melancholie)
Date: 2008-07-10 10:28
Message:
Logged In: YES
user_id=2089773
Originator: YES
Furthermore, add http://fur.wikipedia.org/wiki/Model:Leam_VdC
[I wish I were able to do this things myself, but *still* no account yet]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2011362&group_…