Feature Requests item #3599006, was opened at 2012-12-31 05:38
Message generated for change (Tracker Item Submitted) made by crochet_david
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3599006&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: David Crochet (crochet_david)
Assigned to: Nobody/Anonymous (nobody)
Summary: Outated family in wikivoyage
Initial Comment:
WARNING: Outdated family file wikivoyage: namespace['it'][6] is 'Image', but should be removed (default value 'File')
WARNING: Outdated family file wikivoyage: namespace['it'][7] is 'Image talk', but should be 'Discussioni file'
WARNING: Outdated family file wikivoyage: namespace['ru'][2] is 'Участница', but should be 'Участник'
WARNING: Outdated family file wikivoyage: namespace['ru'][3] is 'Обсуждение участницы', but should be 'Обсуждение участника'
WARNING: Outdated family file wikivoyage: namespace['ru'][6] is 'Image', but should be 'Файл'
WARNING: Outdated family file wikivoyage: namespace['ru'][7] is 'Image talk', but should be 'Обсуждение файла'
WARNING: Outdated family file wikivoyage: namespace['en'][6] is 'Image', but should be removed (default value 'File')
WARNING: Outdated family file wikivoyage: namespace['en'][7] is 'Image talk', but should be removed (default value 'File talk')
WARNING: Outdated family file wikivoyage: namespace['nl'][6] is 'Image', but should be 'Bestand'
WARNING: Outdated family file wikivoyage: namespace['nl'][7] is 'Image talk', but should be 'Overleg bestand'
WARNING: Outdated family file wikivoyage: namespace['sv'][6] is 'Image', but should be 'Fil'
WARNING: Outdated family file wikivoyage: namespace['sv'][7] is 'Image talk', but should be 'Fildiskussion'
WARNING: Outdated family file wikivoyage: namespace['sv'][9] is 'MediaWiki diskussion', but should be 'MediaWiki-diskussion'
WARNING: Outdated family file wikivoyage: namespace['sv'][13] is 'Hjälp diskussion', but should be 'Hjälpdiskussion'
WARNING: Outdated family file wikivoyage: namespace['de'][2] is 'Benutzerin', but should be 'Benutzer'
WARNING: Outdated family file wikivoyage: namespace['de'][3] is 'Benutzerin Diskussion', but should be 'Benutzer Diskussion'
WARNING: Outdated family file wikivoyage: namespace['de'][6] is 'Image', but should be 'Datei'
WARNING: Outdated family file wikivoyage: namespace['de'][7] is 'Image talk', but should be 'Datei Diskussion'
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3599006&group_…
Patches item #3598844, was opened at 2012-12-29 04:18
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3598844&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: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: xqt (xqt)
Summary: commonscat.py correction for ru.wiki
Initial Comment:
2 new templates to ignore
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2012-12-30 07:21
Message:
done in r10850, thanks
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3598844&group_…
Patches item #3598844, was opened at 2012-12-29 04:18
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3598844&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: commonscat.py correction for ru.wiki
Initial Comment:
2 new templates to ignore
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3598844&group_…
Bugs item #3594792, was opened at 2012-12-11 05:37
Message generated for change (Comment added) made by huji
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3594792&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: cosmetic changes
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: reza (reza1615)
Assigned to: Huji Lee (huji)
Summary: cosmetic_changes.py bug in persian
Initial Comment:
Hi,
cosmetic_changes.py has bug in line 740 changes , to ٬
in some cases that text has Latin characters it shouldn't change it
http://fa.wikipedia.org/w/index.php?title=%D8%A8%D9%87%D8%A7%D8%B1_%D8%B4%D…
it changed
Zaman Əsgərli, ''XIX əsr Azərbaycan şeri antologiyası'', Bakı, "Şərq-Qərb", 2005, p. 254, ISBN 9952-418-69-5
to
Zaman Əsgərli، ''XIX əsr Azərbaycan şeri antologiyası''، Bakı، "Şərq-Qərb"، 2005، p. 254، ISBN 9952-418-69-5
which is not correct please solve it
----------------------------------------------------------------------
>Comment By: Huji Lee (huji)
Date: 2012-12-28 12:38
Message:
Fine. I was trying to push for unit testing these before pushing them.
Amird says that these tests have been done before. I assume good faith, and
oblige. Amird has a new idea to implement.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-12-27 06:04
Message:
This is not fixed but ignored
----------------------------------------------------------------------
Comment By: Huji Lee (huji)
Date: 2012-12-25 12:34
Message:
I meant to say
https://www.mediawiki.org/wiki/Special:Code/pywikipedia/10832
----------------------------------------------------------------------
Comment By: Huji Lee (huji)
Date: 2012-12-25 12:33
Message:
With https://www.mediawiki.org/wiki/Special:Code/pywikipedia/10788 I
completely removed the comma conversion. It appears that false positive
rate is too high.
----------------------------------------------------------------------
Comment By: reza (reza1615)
Date: 2012-12-24 05:33
Message:
no it has other bug
http://fa.wikipedia.org/w/index.php?title=%D8%A2%D9%84%DB%8C%D8%A7%DA%98%D9…
it changes , to ،
----------------------------------------------------------------------
Comment By: Amir (amird)
Date: 2012-12-11 17:52
Message:
Dear Reza,
I made a change:
https://www.mediawiki.org/wiki/Special:Code/pywikipedia/10788
Update your code and run it. is it working correctly?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3594792&group_…
Bugs item #3594792, was opened at 2012-12-11 05:37
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3594792&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: cosmetic changes
Group: None
>Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: reza (reza1615)
Assigned to: Huji Lee (huji)
Summary: cosmetic_changes.py bug in persian
Initial Comment:
Hi,
cosmetic_changes.py has bug in line 740 changes , to ٬
in some cases that text has Latin characters it shouldn't change it
http://fa.wikipedia.org/w/index.php?title=%D8%A8%D9%87%D8%A7%D8%B1_%D8%B4%D…
it changed
Zaman Əsgərli, ''XIX əsr Azərbaycan şeri antologiyası'', Bakı, "Şərq-Qərb", 2005, p. 254, ISBN 9952-418-69-5
to
Zaman Əsgərli، ''XIX əsr Azərbaycan şeri antologiyası''، Bakı، "Şərq-Qərb"، 2005، p. 254، ISBN 9952-418-69-5
which is not correct please solve it
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2012-12-27 06:04
Message:
This is not fixed but ignored
----------------------------------------------------------------------
Comment By: Huji Lee (huji)
Date: 2012-12-25 12:34
Message:
I meant to say
https://www.mediawiki.org/wiki/Special:Code/pywikipedia/10832
----------------------------------------------------------------------
Comment By: Huji Lee (huji)
Date: 2012-12-25 12:33
Message:
With https://www.mediawiki.org/wiki/Special:Code/pywikipedia/10788 I
completely removed the comma conversion. It appears that false positive
rate is too high.
----------------------------------------------------------------------
Comment By: reza (reza1615)
Date: 2012-12-24 05:33
Message:
no it has other bug
http://fa.wikipedia.org/w/index.php?title=%D8%A2%D9%84%DB%8C%D8%A7%DA%98%D9…
it changes , to ،
----------------------------------------------------------------------
Comment By: Amir (amird)
Date: 2012-12-11 17:52
Message:
Dear Reza,
I made a change:
https://www.mediawiki.org/wiki/Special:Code/pywikipedia/10788
Update your code and run it. is it working correctly?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3594792&group_…
Bugs item #3538008, was opened at 2012-06-25 21:52
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3538008&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: James (jaclayiii)
Assigned to: Nobody/Anonymous (nobody)
Summary: *-login.data can have case discrepency on Linux host
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r10401, 2012/06/21, 06:18:43)
Python 2.7.2+ (default, Oct 4 2011, 20:06:09)
[GCC 4.6.1]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
Summary: the *-login.data file maybe saved with an uppercase username but when load cookies tries to find it on a Linux host, the case of the username maybe lower. This has the unintended consequence of not allowing bots to login on private wikis that have anonymous read api rights disabled.
If a user connects to a wiki that has LDAP or some other form of "add-on" authentication, the user name returned may vary in case from what is in the user-config.py file. The reason this matters is that the <wikifamily>-<language>-<username>-login.data file may be saved with an upper case letter in the username. Thus if the user-config.py file contained:
users["mywiki"]["en"]="james"
but the LDAP authenticator returned back "James" as the username, then the *-login.data file would be mywiki-en-James-login.data, but when _loadcookies goes to look for such a file on line 5572:
if os.path.exists(localPA)
localPA is /~some/path/to/mywiki-en-james-login.data
Notice that the James is now lower case in the file above.
As Linux is case sensitive, it cannot find the login data and thus prevents access to wikis the do not allow anonymous access to api's. A temporary work around requires setting user name to the appropriate case (even if the username is case insensitive in the LDAP authentication scheme), for example:
users["mywiki"]["en"]="James"
keywords: SSL, Login failure, https login failure, https linux login, https pywikipedia, https pywikipedia linux
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2012-12-26 00:58
Message:
Thanks for the suggestions you've got provided here. One a lot more thing I
would like to mention is that laptop memory requirements generally increase
along with other breakthroughs within the engineering. For instance, as
soon as new generations of processors are introduced towards the market,
there is typically a matching increase within the shape demands of all
computer system memory plus hard drive room. This is because the
application operated by these cpus will inevitably boost in power to
leverage the new engineering.
lv outlet
http://buytomsshoes.webs.com/apps/blog/show/21126292-toms-shoes-nobody-want…
----------------------------------------------------------------------
Comment By: James (jaclayiii)
Date: 2012-06-26 15:20
Message:
After thinking even more on this issue, even for those not using LDAP
authentication (which I would assume the majority are not using), correct
casing based on the user-config file shouldn't have undesirable effects: if
you can log in with what's in the user config file then correctly saving
the cookie file with that username shouldn't negatively impact anything. On
the other hand if you do not save the cookie file with the same user name
that is in the user-config file, but you continue to use the user-config
file to generate the localPA variable, then you may have problems on case
sensitive platforms.
If this fix seems to difficult (I don't believe it to be) or you're
suspicious of the logic, you may want to place a warning in the setup
instructions. I've added a comment on the wiki for userconfig.py that
people using *nix systems should be aware that by default mediawiki has
uppercase user names.
----------------------------------------------------------------------
Comment By: James (jaclayiii)
Date: 2012-06-26 12:08
Message:
After rereading the LDAP link, you're probably right in that the it's the
actual mediawiki login that is forcing uppercase, nonetheless the file name
that pywiki attempts to find should be case correct irrelevant of the
username supplied or returned. My thought for that fix has to do with
correctly saving the *-login.data cookie with the username found in
user-config.py.
----------------------------------------------------------------------
Comment By: James (jaclayiii)
Date: 2012-06-26 11:59
Message:
It has very much to do with LDAP:
http://www.mediawiki.org/wiki/Extension:LDAP_Authentication/User_Provided_I…
And it has very much to do with Linux: Linux path names are case sensitive.
I reported the bug as it took me time to track down and perhaps someone
else who has the misfortune of dealing with it will find this helpful.
The fact is that if I can login with a lower case name, and I can, then
whatever pywiki stores should be in the same case, NOT what may be returned
when the wiki user name is returned. The file name for *-login.data should
be the same case as what is stored in user-config.py
This is just good practice, especially on a case sensitive host like
Linux.
Also, as mediawiki is authenticating against LDAP, whatever it stores as
the username is irrelevant if it correctly authenticates. A further reason
to enforce correct casing based on the user-config.py file.
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2012-06-26 03:27
Message:
This has very little to do with Linux or LDAP, but rather has to do with
the fact your username is 'James' and not 'james'. This is related to the
'first character is capitalized' convention on some wikis, but not all
(!).
However, we could probably check whether the name has changed when the user
is logged in and emit a warning when this happens (and/or store the cookie
with the username as saved in the config file, but that could have some
unintended consequences).
----------------------------------------------------------------------
Comment By: James (jaclayiii)
Date: 2012-06-25 21:56
Message:
Quick comment: _loadCookies() is in wikipedia.py on line 5534
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3538008&group_…
Bugs item #3594792, was opened at 2012-12-11 05:37
Message generated for change (Comment added) made by huji
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3594792&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: cosmetic changes
Group: None
Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: reza (reza1615)
Assigned to: Huji Lee (huji)
Summary: cosmetic_changes.py bug in persian
Initial Comment:
Hi,
cosmetic_changes.py has bug in line 740 changes , to ٬
in some cases that text has Latin characters it shouldn't change it
http://fa.wikipedia.org/w/index.php?title=%D8%A8%D9%87%D8%A7%D8%B1_%D8%B4%D…
it changed
Zaman Əsgərli, ''XIX əsr Azərbaycan şeri antologiyası'', Bakı, "Şərq-Qərb", 2005, p. 254, ISBN 9952-418-69-5
to
Zaman Əsgərli، ''XIX əsr Azərbaycan şeri antologiyası''، Bakı، "Şərq-Qərb"، 2005، p. 254، ISBN 9952-418-69-5
which is not correct please solve it
----------------------------------------------------------------------
>Comment By: Huji Lee (huji)
Date: 2012-12-25 12:34
Message:
I meant to say
https://www.mediawiki.org/wiki/Special:Code/pywikipedia/10832
----------------------------------------------------------------------
Comment By: Huji Lee (huji)
Date: 2012-12-25 12:33
Message:
With https://www.mediawiki.org/wiki/Special:Code/pywikipedia/10788 I
completely removed the comma conversion. It appears that false positive
rate is too high.
----------------------------------------------------------------------
Comment By: reza (reza1615)
Date: 2012-12-24 05:33
Message:
no it has other bug
http://fa.wikipedia.org/w/index.php?title=%D8%A2%D9%84%DB%8C%D8%A7%DA%98%D9…
it changes , to ،
----------------------------------------------------------------------
Comment By: Amir (amird)
Date: 2012-12-11 17:52
Message:
Dear Reza,
I made a change:
https://www.mediawiki.org/wiki/Special:Code/pywikipedia/10788
Update your code and run it. is it working correctly?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3594792&group_…
Bugs item #3594792, was opened at 2012-12-11 05:37
Message generated for change (Comment added) made by huji
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3594792&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: cosmetic changes
Group: None
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: reza (reza1615)
>Assigned to: Huji Lee (huji)
Summary: cosmetic_changes.py bug in persian
Initial Comment:
Hi,
cosmetic_changes.py has bug in line 740 changes , to ٬
in some cases that text has Latin characters it shouldn't change it
http://fa.wikipedia.org/w/index.php?title=%D8%A8%D9%87%D8%A7%D8%B1_%D8%B4%D…
it changed
Zaman Əsgərli, ''XIX əsr Azərbaycan şeri antologiyası'', Bakı, "Şərq-Qərb", 2005, p. 254, ISBN 9952-418-69-5
to
Zaman Əsgərli، ''XIX əsr Azərbaycan şeri antologiyası''، Bakı، "Şərq-Qərb"، 2005، p. 254، ISBN 9952-418-69-5
which is not correct please solve it
----------------------------------------------------------------------
>Comment By: Huji Lee (huji)
Date: 2012-12-25 12:33
Message:
With https://www.mediawiki.org/wiki/Special:Code/pywikipedia/10788 I
completely removed the comma conversion. It appears that false positive
rate is too high.
----------------------------------------------------------------------
Comment By: reza (reza1615)
Date: 2012-12-24 05:33
Message:
no it has other bug
http://fa.wikipedia.org/w/index.php?title=%D8%A2%D9%84%DB%8C%D8%A7%DA%98%D9…
it changes , to ،
----------------------------------------------------------------------
Comment By: Amir (amird)
Date: 2012-12-11 17:52
Message:
Dear Reza,
I made a change:
https://www.mediawiki.org/wiki/Special:Code/pywikipedia/10788
Update your code and run it. is it working correctly?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3594792&group_…
Bugs item #3594792, was opened at 2012-12-11 05:37
Message generated for change (Comment added) made by reza1615
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3594792&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: reza (reza1615)
Assigned to: Nobody/Anonymous (nobody)
Summary: cosmetic_changes.py bug in persian
Initial Comment:
Hi,
cosmetic_changes.py has bug in line 740 changes , to ٬
in some cases that text has Latin characters it shouldn't change it
http://fa.wikipedia.org/w/index.php?title=%D8%A8%D9%87%D8%A7%D8%B1_%D8%B4%D…
it changed
Zaman Əsgərli, ''XIX əsr Azərbaycan şeri antologiyası'', Bakı, "Şərq-Qərb", 2005, p. 254, ISBN 9952-418-69-5
to
Zaman Əsgərli، ''XIX əsr Azərbaycan şeri antologiyası''، Bakı، "Şərq-Qərb"، 2005، p. 254، ISBN 9952-418-69-5
which is not correct please solve it
----------------------------------------------------------------------
>Comment By: reza (reza1615)
Date: 2012-12-24 05:33
Message:
no it has other bug
http://fa.wikipedia.org/w/index.php?title=%D8%A2%D9%84%DB%8C%D8%A7%DA%98%D9…
it changes , to ،
----------------------------------------------------------------------
Comment By: Amir (amird)
Date: 2012-12-11 17:52
Message:
Dear Reza,
I made a change:
https://www.mediawiki.org/wiki/Special:Code/pywikipedia/10788
Update your code and run it. is it working correctly?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3594792&group_…
Bugs item #3598083, was opened at 2012-12-21 11:16
Message generated for change (Settings changed) made by huji
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3598083&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: i18n
>Group: confirmed
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Huji Lee (huji)
>Assigned to: Huji Lee (huji)
Summary: Internationalizing the comma in lists
Initial Comment:
In different locations, hardcoded comma character is used to separate items in a list that is used in edit summary. One example is template.py line 218 which reads:
Param = {'list': (', ').join(self.templates.keys()),
This should be replaced with an internationalized comma character; some non-Latin langauges do not use "," for comma (Persian is an example).
Python 2.7.3 (default, Aug 1 2012, 05:16:07)
[GCC 4.6.3]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
Comment By: Huji Lee (huji)
Date: 2012-12-23 12:22
Message:
In revisions 10822 to 10825, I added an internationalized comma for
template.py and interwiki.py and updated their codes accordingly.
This internationalized comma can be shared between all scripts. Is there a
way to define a "general" message not specific to a script? If not, we need
to define one such message per script for all scripts that use ', '
----------------------------------------------------------------------
Comment By: Amir (amird)
Date: 2012-12-23 02:30
Message:
Dear huji
I made this change:
https://www.mediawiki.org/wiki/Special:Code/pywikipedia/10813
but i didn't check it. please run a test and inform me
Thanks
----------------------------------------------------------------------
Comment By: Huji Lee (huji)
Date: 2012-12-21 11:56
Message:
For future reference: MediaWiki does that by defining a message called
"comma-separatore", and WordPress takes a similar approach too.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3598083&group_…