MDC style guide

Notes for rewriting this Reference

Just so I don't forget -- bz was looking for information about the "abbr" usage in general editing help, not thinking to look in Templates. Those templates should be integrated into the General editing guide. Same for custom CSS classes. List stuff by what they do not what they are. -- dria 19:52, 1 February 2006 (PST)

14 HTML in Wikitext

  • Cite attribute in <blockquote cite="URL of quoted content">...</blockquote> is not supported.
  • <a name="AnchorName">...</a> is noT supported. Not all browsers will navigate thanks to the usage of id attribute. name attribute on the other hand is known to be forward-compatible and widely supported.
  • <col width="25%"></col> is not supported.
  • <object>...</object> is not supported.
  • <var>...</var> is supported but there is an extra space added in the tags just before the >:

eg <var >...</var >
A number of other inline elements will have that typical strange blank space too:
<code>...</code >; <span id="AnchorName">...</span >

  • In an inline style declaration, "!important" must not be with a blank space in front otherwise wikimedia will put an &nbsp; in front of it.

Eg:

style="font: bold 13px Arial, sans-serif !important;"

becomes

style="font: bold 13px Arial, sans-serif&nbsp;!important;"

  • Sometimes, wikimedia will even insert a blank space between "!" and "important"... or is it that it will break "!" and "important" when line-wrapping.
  • Sometimes, a single blank space in a style declaration will even create a <p> in the code.
  • <!--[if IE]> ... specific IE code ... <![endif]-->

will not be rendered for MSIE. I personally do not like this kind of hack but when there is no better choice, then such type of code is useful.

GT 15:46, 5 Jun 2005 (PDT) and August 4th 2005 (PDT)

<dfn title="...">...</dfn> is not supported at all although <dfn> is a valid markup tag
GT 13:59, 13 November 2005 (PST)

You'd probably have better luck getting these fixed if you added them to the WikiMedia Bugzilla. -- dria 14:23, 13 November 2005 (PST)

Added

I've created three new tiny extensions for the wiki that add support for these tags. I have not changed the CSS at this point, so they are currently formatted the same as they would be by other mozilla CSS. I will change the CSS as soon as I figure out how these tags should be rendered. If you have any suggestions, let me know.

dria 04:51, 18 Apr 2005 (PDT)

I've fixed the id=title thing in Template:abbr. Not sure where this came from...

--Wladimir Palant 16:17, 5 Jun 2005 (PDT)

Title Override don't work

I just tried a title override on the Atomic RSS page and it didn't work. I also looked at the MAX_VALUE page that was referred to, and it isn't working there either.

-- Charles 12:41, 22 Aug 2005 (PDT)

titleoverride currently only works with the breadcrumbs, not the actual page title. We'll sort that part out later. -- dria 14:37, 22 Aug 2005 (PDT)

Tables

The syntax in the table section has some discrepancies with the official syntax: http://meta.wikimedia.org/wiki/Help:Table --Maian 01:58, 28 October 2005 (PDT)

This has been fixed to be consistent with the syntax found at the above link. --George3 19:42, 2 October 2007 (PDT)

Images

Why can we not set images to display at a certain pixel size on this Wiki? Ex: [[Image:Helloworld_extensions_wnd.jpg|center|20px|]]

Is this a set preference? Thanks Christian

HTML in Wikitext

Why not use in "HTML in Wikitext" section internal links to adequate pages in HTML:Element category instead of linking to Wikipedia? --Diablownik 08:36, 5 September 2006 (PDT)


I am working on doing this. I want to link internal link on this page to Getting started (section) - === Starting a new page ===

Here goes

Another example on linking 1.

One More Time with Feeling

MDC:Getting_started

Another example on linking 2


Another example on linking 3

Document Tags and Contributors

Last updated by: mdnwebdocs-bot,