On 2/22/07, Steve Bennett stevagewp@gmail.com wrote:
That would be the simplest typesetting convention. But if it's semantics, not appearance, that you're after, then I believe the convention is _italics_ and *bold*.
Though the official "typesetting interpretation" is the default, you can get this behavior (and blow away underlining altogether), add this to your LocalSettings.php after the extension's "require" statement:
$wgUsenetSyntaxMappings = array( '*' => 'bold', '_' => 'italics' );
Two questions:
- Why *single* punctuation rather than **double**?
Fixed. Now supports both *single* and **double** syntax for asterisks. No change has been made for slashes or underscores.
You'll need to download the latest source from here to see the change: http://jimbojw.com/wiki/index.php?title=UsenetSyntax
Note: I have not incremented the extension's version number yet since I still consider this "development time".
- Since when does anyone use or want underline on MediaWiki? :) Didn't
underline become evil when it became the web standard for hyperlinks?
Meh. You can disable this (as per above).
-- Jim
On 2/22/07, Steve Bennett stevagewp@gmail.com wrote:
On 2/22/07, Jim Wilson wilson.jim.r@gmail.com wrote:
Dang. When I asked everybody on the IRC channel, they told me it was *bold*, _underline_, and /italics/
That would be the simplest typesetting convention. But if it's semantics, not appearance, that you're after, then I believe the convention is _italics_ and *bold*.
Two questions:
- Why *single* punctuation rather than **double**?
- Since when does anyone use or want underline on MediaWiki? :) Didn't
underline become evil when it became the web standard for hyperlinks?
Steve
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l