-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace wikibase-monolingualtext message with hard-coded HTML
No language actually customized this message, and expecting them to duplicate the full HTML markup is silly anyways. Instead, hard-code the HTML structure in MonolingualHtmlFormatter, and use MediaWiki’s existing messages to localize the language-dependent element: the space between text and language name, and the parentheses around the language name. (In e.g. Chinese, the space is blank and the parentheses are fullwidth.) Bug: T361005 Change-Id: I0b98a79d308a1d1fc648cf25ad4445ba4adf06fb
- Loading branch information
1 parent
4c0fba2
commit f05a00c
Showing
3 changed files
with
16 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters