[Bug 71803] Cite extension doesn't use native digits

2014-10-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71803

Nemo federicol...@tiscali.it changed:

   What|Removed |Added

   Severity|normal  |major

--- Comment #8 from Nemo federicol...@tiscali.it ---
Thanks for setting a priority. Whatever the priority for development, however,
major is correct severity when a wiki is contaminated by interface elements
in wrong locale.

-- 
You are receiving this mail because:
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


[Bug 71803] Cite extension doesn't use native digits

2014-10-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71803

--- Comment #9 from ssas...@wikimedia.org ---
Fair enough.

-- 
You are receiving this mail because:
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


[Bug 71803] Cite extension doesn't use native digits

2014-10-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71803

--- Comment #10 from Marc Ordinas i Llopis marc...@wikimedia.org ---
I've pushed a new version of https://gerrit.wikimedia.org/r/158852 with support
for fawiki. The numbers appear correclty, as well as the backlinks, but I
couldn't test pixel accuracy as phantomjs doesn't support all list-style-types
yet (I think).

-- 
You are receiving this mail because:
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


[Bug 71803] Cite extension doesn't use native digits

2014-10-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71803

--- Comment #7 from C. Scott Ananian canan...@wikimedia.org ---
See https://gerrit.wikimedia.org/r/158852 which implements CSS styling of
references in parsoid.

Once this lands, I probably need to open a separate OCG bug to fake this same
styling in the PDF renderer.

-- 
You are receiving this mail because:
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


[Bug 71803] Cite extension doesn't use native digits

2014-10-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71803

C. Scott Ananian canan...@wikimedia.org changed:

   What|Removed |Added

   Assignee|canan...@wikimedia.org  |marc...@wikimedia.org

-- 
You are receiving this mail because:
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


[Bug 71803] Cite extension doesn't use native digits

2014-10-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71803

C. Scott Ananian canan...@wikimedia.org changed:

   What|Removed |Added

 Blocks||71890

-- 
You are receiving this mail because:
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


[Bug 71803] Cite extension doesn't use native digits

2014-10-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71803

ssas...@wikimedia.org changed:

   What|Removed |Added

   Priority|Unprioritized   |Normal
   Severity|major   |normal

-- 
You are receiving this mail because:
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


[Bug 71803] Cite extension doesn't use native digits

2014-10-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71803

C. Scott Ananian canan...@wikimedia.org changed:

   What|Removed |Added

 CC||canan...@wikimedia.org

--- Comment #1 from C. Scott Ananian canan...@wikimedia.org ---
Note that the digits at the bottom are in localized digits.  It's just the
inline references where are in arabic numerals.

-- 
You are receiving this mail because:
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


[Bug 71803] Cite extension doesn't use native digits

2014-10-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71803

Marc Ordinas i Llopis marc...@wikimedia.org changed:

   What|Removed |Added

 CC||marc...@wikimedia.org
 Depends on||43235

-- 
You are receiving this mail because:
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


[Bug 71803] Cite extension doesn't use native digits

2014-10-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71803

C. Scott Ananian canan...@wikimedia.org changed:

   What|Removed |Added

   Assignee|parsoid-t...@wikimedia.org  |canan...@wikimedia.org

-- 
You are receiving this mail because:
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


[Bug 71803] Cite extension doesn't use native digits

2014-10-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71803

--- Comment #2 from C. Scott Ananian canan...@wikimedia.org ---
It was suggested that Parsoid might want to eventually move to a native CSS
solution here.

This isn't viable in the short term because:

1) The set of digits supported in browsers is very small.
https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type lists a decent
number of different digit scripts, but most of these are firefox only and not
included in the official spec yet.  The official spec is
http://dev.w3.org/csswg/css-counter-styles-3/ and includes a means for us to
manually specify additional native number styles -- but this isn't implemented
anywhere yet AFAICT.

2) Styling the actual inline reference numbers would seem to want to use:

display: inline-list-item;

so that it doesn't start a new paragraph box. (See
http://dev.w3.org/csswg/css-lists-3/#list-item ). But not that this is (again)
not yet implemented in browsers.

3) We might also need to explicitly set the citation counter?  That might
require using li value=.../li to represent the reference number, but then
that would need to be enclosed in some sort of ol tag.  I'm not certain
whether there is a pure-CSS way to set the value of a counter.

So: probably possible in a few years.  Not possible yet today.

-- 
You are receiving this mail because:
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


[Bug 71803] Cite extension doesn't use native digits

2014-10-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71803

Gabriel Wicke gwi...@wikimedia.org changed:

   What|Removed |Added

 CC||gwi...@wikimedia.org

--- Comment #3 from Gabriel Wicke gwi...@wikimedia.org ---
@Scott: Are we sure that most of the list types in
https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type are not
supported in Chrome for example?

Re 2): Could you explain why that would be necessary? We don't use lists afaik,
only counters.

Re 3): Last I looked we were working on setting the counter with counter-reset,
inside a style attribute. This does not require lists.

-- 
You are receiving this mail because:
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


[Bug 71803] Cite extension doesn't use native digits

2014-10-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71803

--- Comment #4 from Gabriel Wicke gwi...@wikimedia.org ---
FWIW, in Chrome most of the list styles in
https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type seem to render
fine in Chrome.

-- 
You are receiving this mail because:
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


[Bug 71803] Cite extension doesn't use native digits

2014-10-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71803

--- Comment #5 from C. Scott Ananian canan...@wikimedia.org ---
Re 2) -- I agree that

content: counter(references, list-style-type) 

should work, according to
http://www.w3.org/TR/CSS2/generate.html#counter-styles.  So you're right,
inline-list-item support shouldn't be required.

Re 3) good point.

Latest Chrome is not so bad: http://jsfiddle.net/ky3htxde/ shows that cjk,
ethiopic, and tamil are missing.  But of course support across the VE browser
base will be not nearly as good.

-- 
You are receiving this mail because:
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


[Bug 71803] Cite extension doesn't use native digits

2014-10-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71803

--- Comment #6 from C. Scott Ananian canan...@wikimedia.org ---
(And @counter-style is not supported anywhere yet AFAICT.)

-- 
You are receiving this mail because:
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