https://bugzilla.wikimedia.org/show_bug.cgi?id=27786

           Summary: let empty metadata-elements pass through tidy
           Product: MediaWiki
           Version: unspecified
          Platform: All
               URL: http://de.wikipedia.org/wiki/Wikipedia:WikiProjekt_Vor
                    lagen/Werkstatt#Vorlage:Literatur
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Page rendering
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: andbe...@web.de


The English and the German Wikipedia use the COinS microformat (see WP article)
to embed citation metadata. It specifies a span with class="Z3988" and a
title-parameter for the data. Usually the span is empty, but that does not work
with MediaWiki: Tidy removes them (when they have no id). There are some hacks,
but all of them include a element displayed on the screen, which shows its
(ugly) title when hovering about it.
I'm not sure how far a solution for this problem can go, but I propose tidy to
let pass any empty element which has at least one attribute. If that is not
desired, you may implement an exception matching exactly to this class
attribute.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to