Page MenuHomePhabricator

"Powered by Mediawiki" and "a Wikimedia project" buttons and targets should be localizable
Open, LowPublicFeature

Description

The text in the "Powered by Mediawiki" and "a Wikimedia project" buttons should be localizable, as should the targets of the links. For example, if the wiki's (or the user's) language is set to French, the target of the "Powered by Mediawiki" button could be www.mediawiki.org/wiki/MediaWiki/fr?uselang=fr (or setlang as it becomes available), and the text "Powered by Mediawiki" could be replaced by a French translation, with the Wikimedia button linking to wikimediafoundation.org/wiki/Accueil?uselang=fr and its text also translated.


Version: unspecified
Severity: enhancement
See Also:
T44128: "Powered by Semantic MediaWiki" button needs a redesign
T45680: Default MediaWiki logo should not be hard-coded "Set $wgLogo to...." text

Details

Reference
bz40465

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:07 AM
bzimport set Reference to bz40465.
bzimport added a subscriber: Unknown Object (MLST).

[ Priority/severity : low/minor. +i18n design keywords. ]

We first should provide to achieve this a framework to create new buttons.

If a designer could provide the buttons without text and the font instruction, I could prepare an ImageMagick script to generate localized ones.

Then we need to create on translatewiki a project for this specific translation and see how to implement the localization.

Krinkle, do you know a smart way to add such strings over a clean logo via HTML?

I'm not sure if there is a clean solution. However before we waste time pursuing possibly unacceptable solutions, we should agree first that this is actually something we want.

I think it is acceptable that these links go to a central target. The software (development) is primarily English, including documentation thereof. The Wikimedia Foundation link is another case, not sure about that one. Seems sensible to have that link localised.

However perhaps the label could/should stay as-is since "Wikimedia Foundation" is a title (e.g. the word foundation should not be localised either). So perhaps we can clean up these buttons and reduce them to just contain the titles (removed "a project" and "powered by").

"uselang" should imho be avoided for this.

Also note that duplicating localised page names of "Main Page" etc. is kinda ugly.

(In reply to comment #3)

"uselang" should imho be avoided for this.

Why?

(In reply to comment #4)

(In reply to comment #3)

"uselang" should imho be avoided for this.

Why?

Cache fragmentation, maybe? Starting with wiki's language would be fine IMHO.

(In reply to comment #3)

I'm not sure if there is a clean solution. However before we waste time
pursuing possibly unacceptable solutions, we should agree first that this is
actually something we want.

I'm not sure what's really blocking here, just a sidenote:

I think it is acceptable that these links go to a central target. The software
(development) is primarily English, including documentation thereof. The
Wikimedia Foundation link is another case, not sure about that one. Seems
sensible to have that link localised.

The solution is easy, link a translatable page on mediawiki.org/Meta via Special:MyLanguage/<title>.

However perhaps the label could/should stay as-is since "Wikimedia Foundation"
is a title (e.g. the word foundation should not be localised either). So
perhaps we can clean up these buttons and reduce them to just contain the
titles (removed "a project" and "powered by").

(This seems a minor decision which can be taken/changed later; no opinion.)

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:14 AM