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

--- Comment #32 from Volker Haas <volker.h...@pediapress.com> ---
(In reply to comment #30)
> Lua tests:
> 
> http://en.wikipedia.org/wiki/Bays_of_the_Philippines
> 
> The presentation of the Lua-based coordinates is somewhat malformed, but
> still
> usable (whereas before they were simply absent).

I fixed this with
https://github.com/pediapress/mwlib/commit/fbce5a01c3b05b5f6aea6ee38bdf7acf76b44719


> 
> http://en.wikipedia.org/wiki/Climate_of_Russia
> 
> The Lua-based climate boxes look great in PDF, but all the references
> embedded
> in the templates are absent from the References section.

The problem is that the expandTemplates API call returns with some unexpanded
templates:

Minimal Example:
http://en.wikipedia.org/wiki/User:Volker.haas/TemplateExpansion

Result:
https://en.wikipedia.org/w/api.php?action=expandtemplates&format=jsonfm&text={{User:Volker.haas/TemplateExpansion}}

Can this be fixed on the mediawiki end?

> 
> http://en.wikipedia.org/wiki/List_of_longest_bridges_in_the_world
> 
> The Lua-based number formatting and conversions look perfect.  However some
> of
> the non-Lua based references seem incorrect (e.g. #54).

This is the same problem as described above: unexpanded templates after an
expandTemplates mediawiki API call.

> 
> 
> Complex, non-Lua test:
> 
> http://en.wikipedia.org/wiki/Barack_Obama
> 
> On wiki there are 335 numbered notes, the PDF skips many of the numbers so
> that
> only 58 are actually present, and the numbers that are present don't match
> the
> wiki numbering.

I haven't checked that thoroughly but I am pretty sure it is the same problem
as above.

Sidenote about the numbering being off (despite the bug that is present): In
order to present links in an unobtrusive way they are also put in the reference
section of the PDF. This is the cause that the numbering of references in the
article and the PDF is different (whoever, in the PDF the numbering should be
"correct")


>  To be clear this is testing the Barack Obama article with
> _traditional template-based citations_.  So whatever change was made appears
> to
> have caused problems with normal article rendering.
> 
> 
> So altogether these changes look like good progress towards handling Lua, BUT
> there also seem to be negative impacts the presentation of other unrelated
> page
> elements, especially references.  This includes the traditional {{cite}}
> template-based references.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to