Feature Requests item #3528380, was opened at 2012-05-20 04:34
Message generated for change (Tracker Item Submitted) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3528380&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: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: featured.py to handle featured files & assessments template
Initial Comment:
I am working on Commons:Template:Assessments which reports "featured" status files on commons. There is a synchronization problem with local wikis and commons.
For instance if a file is a Featured Picture on English Wikipedia, Assessments template would have the parameter |enwiki=1 and optionally |enwiki-nom= to link to the nomination page. If a file is a formerly featured picture the parameter would be |enwiki=2. If the file is a featured sound the parameter would be |enwiki=3 and if the file is a formerly featured sound the parameter would be |enwiki=4. Updating the commons page is sufficient to update all wikis since the starts are visible on all wikis.
Though it is also possible to run the code in an interwiki.py-like manner as well as featured pictures are typically not interwiki linked.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3528380&group_…
Feature Requests item #3528379, was opened at 2012-05-20 04:31
Message generated for change (Tracker Item Submitted) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3528379&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: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: redirect.py logging of problems that cannot be fixed
Initial Comment:
redirect.py needs to log issues it is unable to fix and why on each wiki. There are several flavors of problems that appears on Special:Doubleredirects
1. Self redirects (redirects that point to themselves)
2. Redirect loops (redirects that go in circles)
3. Double redirects formed due to page protection.
4. Inter-wiki redirects (redirects that point to redirects in other wikis)
It would be a lot easier if I had a log of these pages and user can post it on the village pump or perhaps bot can do this monthly for a select number of wikis. The code already provides a warning on the console but when you are running it on 700 wikis like me that becomes a serious chore to follow.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3528379&group_…
Feature Requests item #3465680, was opened at 2011-12-26 13:47
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3465680&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: interwiki
Group: None
>Status: Open
>Priority: 5
Private: No
Submitted By: Yevhen Movsesov ()
>Assigned to: Nobody/Anonymous (nobody)
Summary: Cosmetic_changes.py deletes cross wiki-links
Initial Comment:
Python 2.6.7 (r267:88850, Sep 19 2011, 13:25:28)
[GCC 4.5.2]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
1. I ran in RU-wiki one command:
python /home/$USERNAME/pywiki/cosmetic_changes.py -lang:ru -always -file:/tmp/somefile
2. File "/tmp/somefile" contain list of articles for processing
Struthiomimus
QoS
3. For article "Struthiomimus" in RU-wiki I see, that it was deleted EN cross-link
[[en:Steveville|Steveville]]
https://secure.wikimedia.org/wikipedia/ru/w/index.php?title=Struthiomimus&d…
4. I think, that cosmetic_changes.py should not deletes cross-links to other wikis.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2012-05-20 03:45
Message:
Moved to feature request: Maybe it is an idea to fix crosswiki link inside
a text. But we should remember: interwiki links does not always start on a
new line. They could placed on a single line; this is set by
family.interwiki_on_one_line.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-12-30 03:58
Message:
If this link is the only iw link to another side it will be re-placed to
the bottom of the page. Otherwise it will be deleted (which is an other bug
tracker). The given issue is indeed wrong. I was not a inline interwiki
link as you proposed, it was a malformed crosswiki link. Maybe interwiki
always should start at the beginning of a new line, which must be supported
by mw software. But here are several wikis which place interwiki on one
line and/or on top of a page. See some switches in the config.py.
----------------------------------------------------------------------
Comment By: Doug (bewareofdoug)
Date: 2011-12-29 10:47
Message:
It's still a bug to remove a link that isn't supposed to be removed, even
if the link is improperly formed. The bug isn't invalid, it's just not
possible to overcome by normal means (as someone pointed out to me on IRC,
users sometimes put real interwiki language links in the body because they
don't know the correct place. Though, it would probably be possible to get
the bot to avoid these.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-12-29 09:25
Message:
Like mediawiki software pwb interprets [[en:Steveville|Steveville]] as a
interwiki link not as a crosswiki link. These must be writen as
[[:en:Steveville|Steveville]] . I do not see anything wrong with the bot.
----------------------------------------------------------------------
Comment By: Doug (bewareofdoug)
Date: 2011-12-29 07:20
Message:
This may be caused by the same code but the desired effect is slightly
different, so it's not entirely a dup - but it is obviously related. In
this case though, cosmetic_changes.py should convert
[[en:Steveville|Steveville]] to [[:en:Steveville|Steveville]] because it's
in the body of the article rather than treating it as an interwiki language
link.
----------------------------------------------------------------------
Comment By: Yevhen Movsesov ()
Date: 2011-12-26 22:59
Message:
It seems, it the same issue as
https://sourceforge.net/tracker/?func=detail&aid=3012516&group_id=93107&ati…
----------------------------------------------------------------------
Comment By: Yevhen Movsesov ()
Date: 2011-12-26 22:48
Message:
Error with "standardizePageFooter".
When I comment line
# text = self.standardizePageFooter(text)
in file cosmetic_changes.py
then I can't reproduce error.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3465680&group_…
Bugs item #3528315, was opened at 2012-05-19 21:50
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3528315&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
>Resolution: Fixed
Priority: 7
Private: No
Submitted By: justincheng (justincheng)
>Assigned to: xqt (xqt)
Summary: r10208 get error
Initial Comment:
Microsoft Windows XP [版本 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
D:\Python27\pywikipedia>interwiki.py
Traceback (most recent call last):
File "D:\Python27\pywikipedia\interwiki.py", line 375, in <module>
import wikipedia as pywikibot
File "D:\Python27\pywikipedia\wikipedia.py", line 142, in <module>
from pywikibot import *
File "D:\Python27\pywikipedia\pywikibot\__init__.py", line 15, in <module>
from exceptions import *
File "D:\Python27\pywikipedia\pywikibot\exceptions.py", line 13, in <module>
import config
File "D:\Python27\pywikipedia\config.py", line 622, in <module>
elif transliteration_target.lower() == 'none':
AttributeError: 'NoneType' object has no attribute 'lower'
by svn update tools
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2012-05-20 02:44
Message:
done in r10224
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3528315&group_…
Feature Requests item #3528259, was opened at 2012-05-19 09:38
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3528259&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: Nobody/Anonymous (nobody)
>Assigned to: xqt (xqt)
Summary: Do not use preloading in featured.py
Initial Comment:
Using the 'pagegenerators', data transfer is not compressed.
That data will be several megabytes.
That transfer is very time consuming.
Therefore, I think a good idea to remove that line.
Thank you consider.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2012-05-20 02:04
Message:
This has nothing to do with preloading generator. http requests are done by
Site.PostData() or Site.getUrl() with gzip compression enabled by default.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2012-05-19 10:19
Message:
I also do not consume more time is good.
gzip compression will compress to about one-third of the text data.
Therefore, transfer time will be one-third. Is roughly.
However, data transfer has not been compressed in the generator.
This proposal is one way to solve this problem.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-05-19 09:48
Message:
It is less time consuming than loading e.g. 60 times each page separately.
What is the intention of this request?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3528259&group_…
Bugs item #3528315, was opened at 2012-05-19 21:50
Message generated for change (Settings changed) made by justincheng
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3528315&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: 7
Private: No
Submitted By: justincheng (justincheng)
Assigned to: Nobody/Anonymous (nobody)
Summary: r10208 get error
Initial Comment:
Microsoft Windows XP [版本 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
D:\Python27\pywikipedia>interwiki.py
Traceback (most recent call last):
File "D:\Python27\pywikipedia\interwiki.py", line 375, in <module>
import wikipedia as pywikibot
File "D:\Python27\pywikipedia\wikipedia.py", line 142, in <module>
from pywikibot import *
File "D:\Python27\pywikipedia\pywikibot\__init__.py", line 15, in <module>
from exceptions import *
File "D:\Python27\pywikipedia\pywikibot\exceptions.py", line 13, in <module>
import config
File "D:\Python27\pywikipedia\config.py", line 622, in <module>
elif transliteration_target.lower() == 'none':
AttributeError: 'NoneType' object has no attribute 'lower'
by svn update tools
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3528315&group_…
Bugs item #3528315, was opened at 2012-05-19 21:50
Message generated for change (Tracker Item Submitted) made by justincheng
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3528315&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: justincheng (justincheng)
Assigned to: Nobody/Anonymous (nobody)
Summary: r10208 get error
Initial Comment:
Microsoft Windows XP [版本 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
D:\Python27\pywikipedia>interwiki.py
Traceback (most recent call last):
File "D:\Python27\pywikipedia\interwiki.py", line 375, in <module>
import wikipedia as pywikibot
File "D:\Python27\pywikipedia\wikipedia.py", line 142, in <module>
from pywikibot import *
File "D:\Python27\pywikipedia\pywikibot\__init__.py", line 15, in <module>
from exceptions import *
File "D:\Python27\pywikipedia\pywikibot\exceptions.py", line 13, in <module>
import config
File "D:\Python27\pywikipedia\config.py", line 622, in <module>
elif transliteration_target.lower() == 'none':
AttributeError: 'NoneType' object has no attribute 'lower'
by svn update tools
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3528315&group_…
Feature Requests item #3528259, was opened at 2012-05-19 09:38
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3528259&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Do not use preloading in featured.py
Initial Comment:
Using the 'pagegenerators', data transfer is not compressed.
That data will be several megabytes.
That transfer is very time consuming.
Therefore, I think a good idea to remove that line.
Thank you consider.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2012-05-19 10:19
Message:
I also do not consume more time is good.
gzip compression will compress to about one-third of the text data.
Therefore, transfer time will be one-third. Is roughly.
However, data transfer has not been compressed in the generator.
This proposal is one way to solve this problem.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-05-19 09:48
Message:
It is less time consuming than loading e.g. 60 times each page separately.
What is the intention of this request?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3528259&group_…
Feature Requests item #3528259, was opened at 2012-05-19 09:38
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3528259&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Do not use preloading in featured.py
Initial Comment:
Using the 'pagegenerators', data transfer is not compressed.
That data will be several megabytes.
That transfer is very time consuming.
Therefore, I think a good idea to remove that line.
Thank you consider.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2012-05-19 09:48
Message:
It is less time consuming than loading e.g. 60 times each page separately.
What is the intention of this request?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3528259&group_…
Feature Requests item #3528259, was opened at 2012-05-19 09:38
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3528259&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Do not use preloading in featured.py
Initial Comment:
Using the 'pagegenerators', data transfer is not compressed.
That data will be several megabytes.
That transfer is very time consuming.
Therefore, I think a good idea to remove that line.
Thank you consider.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3528259&group_…