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

       Web browser: ---
            Bug ID: 53566
           Summary: Pages should have metadata about their correct title
                    (capitalisation, special characters, etc)
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: General/Unknown
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: cmcke...@sucs.org
    Classification: Unclassified
   Mobile Platform: ---

As discussed at bug 50452 comment 9 it would be very useful for a page to have
associated metadata about its title.

For most pages and by default* this would be identical to the all-lowercase
rendering of its stored title, but where pages correctly start with a lowercase
letter (on wikis where the first character is case insensitive), contain
special characters or conflict with interwikis/namespaces, etc. the metadata
would record the correct page title. It could also be used for titles that
should be italicised.
e.g. on en.wp:
Page Title         - Correct Title
[[IPad]]           - iPad
[[Benzo(a)pyrene]] - Benzo[a]pyrene
[[Pilot No. 5]]    - Pilot #5
[[D Ream]]         - D:Ream
[[Computer]]       - computer [indicating a common noun]
[[Amy Studt]]      - Amy Studt [indicating the title is proper noun]
[[Animal Farm]]    - <i>Animal Farm</i> [italicised proper noun, the tags are
not literal]

The displayed title would be taken from this metadata and as such would
effectively supercede the DISPLAYTITLE magic word and the [[template:correct
title]] family of templates (and the equivalents on other wikis).

VisualEditor and any other tools that aid linking would be able to read the
metadata and use it to determine what the default displayed name should be when
linking to that article.

*Actually the default should be configurable as I guess languages like German
that capitalise common nouns may want the default to be capitalised and the
upper/lower case distinction probably doesn't make sense in all scripts.

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