Hi Gabriel,
Thank you. I will try to implement solutions based on these answers.
Regards Emmanuel
Le 07/06/2013 19:32, Gabriel Wicke a écrit :
Hi Emmanuel,
our Cite implementation is relatively simplistic at this point. Our highest priority is exposing the semantic reference information for editing and further processing.
We don't implement the extensive customization options in the PHP Cite extension [1]. Wherever possible, we are trying to avoid customizing / complicating the DOM structures in favor of CSS-based customizations. We have a bug for sup vs. span [2], although the HTML5 spec suggests using CSS rather than sup in non-semantic situations. Ideally future small tweaks to our DOM output should not affect the RDFa structures and attributes we are using to expose the semantic information. This lets consumers reprocess specific content like references any way they like without being wedded to every detail of our output structure.
The differences:
- "↑", "^", seems to me strange... Why?
The "↑" is the Cite default, "^" is a customization in the English Wikipedia, which should also be doable with CSS.
- Each reference content is a number instead of a letter, for example
"1.0" instead of "a". In Arabic this is not "a". BTW, in the arabic language the letter shouldn't be "a", but the first letter of the arabic alphabet. Here again I don't know if this is normal...
Maybe this could be handled with CSS counters and list-styles instead, but if not then we'll likely have to implement different numbering styles ourselves. The numbers have no semantic value, so this is easy to add later without breaking editing.
- No styling for the references, for example "1.0" instead of
<sup><i><b>a</b></i></sup>. Normal?
This should really be done in CSS.
- It seems to me the parsoid forgets to put a space just behind de "1.1"
reference, so the text of reference is "stick/concatenated" visually. Seems to me to be a small bug.
Indeed: https://bugzilla.wikimedia.org/show_bug.cgi?id=49314
Gabriel