Adding Special:MyLanguage on the foundationwiki will not achieve the feature you want: this special page redirects to the user language (of the user preferences), and nobody in the public has an account on this wiki, so everyone will be redirected to the English page (try on Meta with a private tab after setting the browser default language to 'de' or whatever).

This feature can be found in https://www.mediawiki.org/wiki/Extension:LanguageSelector and I’m not sure if it can be achieved with ULS (but I think such a feature would be great in core).

~ Seb35


Le Wed, 18 Jun 2014 02:57:08 +0200, Ryan Kaldari <[email protected]> a écrit:
The specific need is that I want to set the 'Mobile-frontend-terms-url'
message to '//m.wikimediafoundation.org/wiki/Special:MyLanguage/Terms_of_Use' via the WikimediaMessages extension, so that people clicking the 'Terms of
Use' link at the bottom of the page will get sent to the Terms of Use in
their own language. Right now, wiki administrators have to override this
message locally to point to the correct translation (after checking to see
if it actually exists).

(Added this information to the bug as well.)

Ryan Kaldari


On Tue, Jun 17, 2014 at 5:49 PM, MZMcBride <[email protected]> wrote:

Matthew Walker wrote:
>Today, Kaldari wanted to have translate enabled on foundationwiki so that >Special:MyLanguage was available, but that would fall afoul of bug:44871
>[1]. This is not a unique request, fundraising also has some use for
>MyLanguage features on wikis that don't have (and wont have) translate.
>
>Are there any concerns with separating out that special page into it's own
>extension? The one that immediately jumps to mind is how the i18n team
>bundles translate.
>
>[1] https://bugzilla.wikimedia.org/show_bug.cgi?id=44871

Hi.

I read your post and
<https://bugzilla.wikimedia.org/show_bug.cgi?id=44871#c19> and still can't
figure out what Kaldari wants to do. Can someone explain why
Special:MyLanguage is needed on wikimediafoundation.org?

I'm also a little confused about the reference to "Extension:Collection"
in the subject line. Did you mean "Extension:Translate"? (Also, its. :P)

Putting "Special:MyLanguage"-type functionality in MediaWiki core seems
fine to me. It just maps a user's language preference to a language code
subpage, right? So "Special:MyLanguage/Foo" for someone who's specified
that she speaks Spanish would redirect to "Foo/es".

MZMcBride



_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to