Page MenuHomePhabricator

restricting MediaWiki functionality in CVS - updating userinterfaces to be used at other wikis
Closed, ResolvedPublic

Description

Author: gangleri

Description:
Halló!

I was comparing [[de:Special:Recentchanges]] with de
[[en:Special:Recentchanges]], [[yi:Special:Recentchanges]] the testwiki from
[[:fi:User:Nikerabbit]] and a newly upgraded comunity wiki.

I tried to see what differences in functionality exists in these wikis and what
happens if the user interface is changed to another language.

Many issues are not clear to me.

First of all I do not understand why
http://cvs.defau.lt/cvsweb.cgi/~checkout~/phase3/languages/LanguageDe.php?rev=1.115&content-type=text/plain
does not include full functionylity and uses a configuration whitch maight be
suitable for de.wikipedia but not for smaller projects as maybe de.wikinews or
projects outside WikiMedia Foundation using the MediaWiki software package.

http://cvs.defau.lt/cvsweb.cgi/~checkout~/phase3/languages/LanguageDe.php?rev=1.115&content-type=text/plain

for example does not include the full functionality in "rclinks". If you compare
it with [[en:MediaWiki:Rclinks]] you may see that the selection of days in
"Special:Recentchanges" is not activated "by default".

From the perspective of a user instaling MediaWiki with German user interface
you would not expect this. It maight be intended, maybe also documented (in
English) but it should not be the first issue you would thing about.

From the perspective of a user contributing or visiting "foo.wiki" using an
"interface in bar language" it would be the last think to start evaluating what
"special settings" was choosen for that wiki, if he has full functionality or not.

To come back on "Special:Recentchanges" at the [[de:]] the "deactivation" of
"changes in last 1 | 3 | 7 | 14 | 30 days" and " | hide patrolled edits" in
German is useless because it is available in English. [[de:]] probably is ritght
not showing this option because it has huge traffic. Anyway no general
"deactication" is done. Same applies to the "suppresion" of "show|hide" patrols
at [[en:]] because this item apears in user interface in other languages,
compare [[en:MediaWiki:Showhideminor]]

To come back at "Special:Recentchanges" at the [[yi:]] I am confused why "zeige
die letzten 1 | 3 | 7 | 14 | 30 Tage." is available with the user interface in
German. It shows neither the equivqlent to "show|hide" "minor changes|bots|loged
in users|patroled" and I wonder about the "synchronisation" of the usern interfaces.

All these considerations relate to organisatorical isues, coordination and
central and local documentation. There maight be a need to "overwrite" MediaWiki
default settings withe MediaWiki:foo/bar in a wiki using bar interface. AS you
can see [[mi:MediaWiki:Sitenotice/mi]] is ignored at [[mi:]].

Would be happy about your feedback and suggestions.

Best regards Reinhardt [[user:gangleri]]

P.S. Recently I could see that [[en:MediaWiki:Clearyourcache]] contained a
different content then MediaWiki:Clearyourcache at most wiki's I have visited.
Because it relates to user prefferences and to support of optional java scripts
the content should be acurate in order not to disapoint users and visitors. Some
wiki's have updated the content. Anyhow this has no effect if that language
interface is choosen at another wiki unless CSV is updated and properly installed.


Version: unspecified
Severity: normal
OS: Windows XP
Platform: PC

Details

Reference
bz2045

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:29 PM
bzimport set Reference to bz2045.
bzimport added a subscriber: Unknown Object (MLST).

I'm not sure I understand this report.

Are you asking why some of the localization files are out of date? This is because they are out of date
and have not yet been corrected by someone.

avarab wrote:

In response to comment #1:

The problem is not just that some messages are out of date, but rather that when
the English have had variables added to them which transclude certain options,
when those variables aren't in the message the languages in question don't get
those options at all, for example the showhideminor message currently looks like
this in Language.php:

"$1 minor edits | $2 bots | $3 logged in users | $4 patrolled edits"

...but in bg, cy, de, fa, fr, is, kn, lt, nd, ro, th, wa it looks something like
this (some of them even had nothing but $1)...

"$1 modifications mineures | $2 robots | $3 utilisateurs enregistrés" (this
example from LanguageFr.php)

Then bg, cy, de, fa, fr, is, kn, lt, nd, ro, th, and wa all don't have the
option to hide/show patrolled edits *at all* and some of them are even missing
the "logged in users" option and the "bots" option, that's a bit more severe
than the message just not being translated, in those cases these languages don't
have the same options on recentchanges as the rest save for manually editing the
GET request.

When we add another transcluding option like this we should add it to all the
language files (in English) so that others can translate it rather than just be
unaware of its existence, I've done this for showhideminor for all languages
that were missing the same functionality as Language.php and commited it to HEAD.


In response to Gangleri (the poster):

Could you *please* try to file more coherent bug reports, I had to read this one
over around four or five times before I fully understood what you were trying to
say, I understand that you're not a native English speaker but please try to
read http://bugzilla.wikimedia.org/page.cgi?id=bug-writing.html and if you don't
understand some of it I'm sure one of the German speaking developers would be
willing to help you.

gangleri wrote:

removed url as it seems to be disclosed