https://bugzilla.wikimedia.org/show_bug.cgi?id=30422

       Web browser: ---
             Bug #: 30422
           Summary: Allow to specify language and directionality for page
                    titles and parts thereof
           Product: MediaWiki
           Version: 1.19-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Internationalization
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: bugzilla.wikime...@publi.purodha.net
                CC: bugzilla.wikime...@publi.purodha.net
    Classification: Unclassified


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")

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to