Last modified: 2014-06-15 19:36:43 UTC
Right now the HTML created for - headings specified using Wikitext (e.g. "==") - headings created using HTML tags (e.g. "<h2>") look basically the same. - Both have a wrapping heading element (without class or id) - Both contain a <span> of class "mw-headline" The only (but major) difference is that sections created by Wikitext are editable and therefore contain an additional <span> of class "mw-editsection". It would be nice if there was an easy possibility to directly differentiate those types of headers on a CSS level (e.g. by an additional class applied to the parent <h*> element) This would make it much easier to create custom CSS and JS since often one would only want to style "true" (that is editable) article headers created by Wikitext instead of custom created headers that are mostly used for design of e.g. project pages. Right now such CSS and JS often erroneously styles all headers the same, regardless of how the headers were created, often resulting in unintentional appearance.