On 4/15/07, howard chen <howachen(a)gmail.com> wrote:
Hello,
Do Wikipedia has some naming convention guideline about HTML usages?
MediaWiki has no solid naming convention, except that all new classes
and id's should be prefixed with "mw-". That would imply that it
would be sensible to stick with the lowercase hyphenated style for the
rest of the id/class, I suppose. But we have lots that have
accumulated over time with whatever style the person who added them
decided to use.
This would make sense for those styles that "ship" with Mediawiki, so as
to
avoid collision with local customisations.
It would obviously be nice to have some sort of naming convention which
people could have access to which would make it easier to tell whether a
given "special effect" had already been coded and indeed how to use it.
There is an effort underway to collect all the various styles in use on
en-wiki; I'm sure participation would be appreciated: