Last modified: 2013-08-06 00:36:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 1038 - Reflect XHTML trend from "b" and "i" towards "strong" and "em"
Reflect XHTML trend from "b" and "i" towards "strong" and "em"
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.4.x
All All
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
Blocks: html semantic-html
  Show dependency treegraph
 
Reported: 2004-12-08 13:34 UTC by Zigger
Modified: 2013-08-06 00:36 UTC (History)
1 user (show)

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


Attachments
Parser.php.patch for HEAD (3.67 KB, patch)
2004-12-08 13:36 UTC, Zigger
Details

Description Zigger 2004-12-08 13:34:54 UTC
The 1.4beta & later Parser.php doQuotes() function currently changes wiki "''"
and "'''" markup output from "em" and "strong" to "i" and "b".  

While this was presumably done to reduce the size of the output, the average
reduction would be small, and this is the reverse of the W3C.org
anti-presentation trend reflected in the draft XHTML v2 spec.
Comment 1 Zigger 2004-12-08 13:36:23 UTC
Created attachment 166 [details]
Parser.php.patch for HEAD
Comment 2 Brion Vibber 2004-12-08 17:09:57 UTC
'' and ''' *are* presentational markup. They don't carry specific semantic meaning, 
but are used for many purposes. Italics ('') are used for emphasis, to mark foreign 
words, to mark titles of literary and artistic works, to set off captions, etc. Bold (''') 
is used for emphasis, to mark section titles typographically, etc. Use of <strong> 
and <em> for these is thus ABUSE of semantic markup. Semantic markup must 
have a specific meaning, or it is worthless. Telling everybody to turn all their <b>s 
into <strong>s and <i>s into <em>s is not only unhelpful, it's counterproductive 
and does great violence to the adoption of semantic markup.

We produce output in XHTML 1.0, which *does* include <b> and <i> elements. 
XHTML 1.0 will always include <b> and <i> elements. If some day we want to 
produce output in some version of XHTML that does not include <b> and <i> 
elements, then we'll see about more appropriate markup. Perhaps if <strong> and 
<em> are redefined to be non-semantic elements, they will be appropriate.
Comment 3 Zigger 2004-12-09 05:51:07 UTC
See bug 369 & bug 370

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


Navigation
Links