Last modified: 2011-12-14 17:37:35 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 T32422, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30422 - Allow to specify language and directionality for page titles and parts thereof
Allow to specify language and directionality for page titles and parts thereof
Status: RESOLVED DUPLICATE of bug 28428
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.20.x
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on: 28428
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-17 06:03 UTC by Purodha Blissenbach
Modified: 2011-12-14 17:37 UTC (History)
5 users (show)

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


Attachments

Description Purodha Blissenbach 2011-08-17 06:03:56 UTC
There is no way currently to determine (the) language(s) of a page title
beyound some heuristics which are mere guesswork,
Yet for proper language tagging in html, language and directionality need
to be known.

Fortunately, theses case are comparatively rare in current wikis, as
far as I know, but you can easily find samples of mixed language/script
page title, such as disambiguations in a dictionary:
  blow (hit)
  blow (airstream)
  etc.
where the words in brackets may get translated to chinese when the
target language is chinese.

It is of course impossible to insert <span> tags with language informations
into page titles.

For the correct rendering of a page title on the respective page, we
can use the PAGETITLE function.

It may be an option, to use that information elsewhere, too, such as in
logs, in lists, and in link anchors, for instance. The latter would
make the parser automatically convert [[pagename]] to something like
[[pagename|PAGETITLE attribute of pagename]] if that PAGETITLE exists.
Evaluation of [[pagename|]] would have to be moved from pre-parse to
rendering, or a new paser function PAGETITLEOF:title|options be used.
All these would need the (current) pagetitle be kept in the database.

(Note that this would be yet another piece of design breaking our so
called "permalinks")
Comment 1 Siebrand Mazeland 2011-09-12 13:34:04 UTC

*** This bug has been marked as a duplicate of bug 28428 ***

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


Navigation
Links