Page MenuHomePhabricator

Brackets around show/hide buttons in TOC are not localizable
Open, MediumPublicFeature

Description

The "[" and "]" brackets around the [show]/[hide] buttons (next to "Contents") in tables of contents on wiki pages are not localizable.


Version: 1.23.0
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=57818

Details

Reference
bz57518

Event Timeline

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

Any example language where you'd use a difference string instead of square brackets?

Currently no language has customized brackets as far as I can tell.

Usually these should be part of the message, but might not be worth it here.

(In reply to comment #1)

Any example language where you'd use a difference string instead of square
brackets?

Yes, in ase. Square brackets look very strange in that context.

Change 100184 had a related patch set uploaded by Siebrand:
Use 'brackets' message instead of hard coded brackets

https://gerrit.wikimedia.org/r/100184

Change 100184 abandoned by Siebrand:
Use 'brackets' message instead of hard coded brackets

https://gerrit.wikimedia.org/r/100184

This + bug 58449 + bug 62067 = everything should be localised. So we have to make a message for each show/hide X?

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 12:23 PM
Aklapper removed a subscriber: wikibugs-l-list.