Page MenuHomePhabricator

Special pages can be in content language
Open, MediumPublic

Description

For example Special:FeedItem delivers wiki content so there should be a way for special pages to say "my output language is based on wiki content language instead of user language".


Version: unspecified
Severity: normal

Details

Reference
bz34010

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:08 AM
bzimport set Reference to bz34010.
bzimport added a subscriber: Unknown Object (MLST).

Assuming that buttons, headings, tabs and introtext will still be translatable into user language and adapt to the user you shouldn't change the page language but wrap any wikcontent-language content in the right css classes instead (<div class="mw-content-{ltr,rtl}" lang={..}>).

(In reply to comment #1)

Assuming that buttons, headings, tabs and introtext will still be translatable
into user language and adapt to the user you shouldn't change the page language
but wrap any wikcontent-language content in the right css classes instead (<div
class="mw-content-{ltr,rtl}" lang={..}>).

This does not only affect appearance but also behavior of the language converter: if my user language is en I cannot convert contents in Special:FeedItem from zh-hans to zh-hant. Wrapping page in <div> won't help.