Last modified: 2014-02-12 23:35:33 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T45985, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43985 - Add JavaScript equivalent to Language::getArrow()
Add JavaScript equivalent to Language::getArrow()
Status: NEW
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n, javascript
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-15 09:44 UTC by Siebrand Mazeland
Modified: 2014-02-12 23:35 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Siebrand Mazeland 2013-01-15 09:44:58 UTC
Gerrit change #43982 is using an arrow because JS doesn't offer the Language::getArrow feature. For consistency, this feature should also be available in JS.
Comment 1 Krinkle 2013-01-15 19:16:02 UTC
(In reply to comment #0)
> Gerrit change #43982 is using an arrow because JS doesn't offer the
> Language::getArrow
> feature. For consistency, this feature should also be available in JS.


The case of that change doesn't seem entirely appropiate.

In core we also embed it in the message, looking for ← I find:

'backlinksubtitle'             => '← $1'
'previousrevision'       => '← Older revision',
'nextrevision'           => 'Newer revision →',
'whatlinkshere-links'      => '← links',
'previousdiff' => '← Older edit',
'nextdiff'     => 'Newer edit →',
'imgmultipageprev' => '← previous page',
'imgmultipagenext' => 'next page →',


Maybe we should implement this as a message, like we have 'ellipsis', 'parentheses', 'brackets', 'comma-separator' etc.

Otherwise it is hard to use. Just prepending it can be confusing (I think you previously discouraged concatenating strings like that).

If it is used in the interface, it is already taken care of by cssjanus (e.g. margin-left, padding-right).

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links