[wikireader] error parsing automobile articles

Suco sucotronic at gmail.com
Sat Nov 21 16:50:54 CET 2009


Maybe the problem is in this file:
http://github.com/wikireader/wikireader/blob/master/host-tools/offline-renderer/mediawiki-offline/includes/diff/DifferenceEngine.php#L1921

On Sat, Nov 21, 2009 at 4:25 PM, Stroller <stroller at stellar.eclipse.co.uk>wrote:

>
> On 21 Nov 2009, at 13:04, Suco wrote:
>
> > I've experienced an error, consisting on data dissapeared, when
> > reading articles related with cars. You can test this looking for
> > the article about "Nissan_GT-R", in the section Specifications:
> >
> > What you can see in wikireader: http://yfrog.com/2sdsc0048xj
> > What appears on wikipedia article: http://yfrog.com/elscreenshot001mxp
> >
> > Is this some kind of parsing error?
>
>
> I can only assume it's related to Wikipedia's "convert" function /
> markup / template.
>
> If you click to edit the article you'll see it shows:
>
> Production vehicles produce a manufacturer-claimed engine output of
> {{convert|474|bhp|kW|abbr=on}} at 6400&nbsp;rpm and {{convert|434|lbft|
> N.m|abbr=on}} at 3200-5200&nbsp;rpm.
>
> If I look at the page in a browser and "view source" I can see this as:
>
> Production vehicles produce a manufacturer-claimed engine output of
> 474&#160;bhp (353&#160;kW) at 6400&#160;rpm and 434&#160;lb·ft
> (588&#160;N·m) at 3200-5200&#160;rpm.
>
> Maybe it's related to the use of the "&#160;"??
>
>
> This shows in multiple places in the paragraph.
>
> In your screenshot it's most obvious because the missing 474bhp makes
> the sentence nonsense.
>
> But also it's missing from the first sentence: that reads as "... the
> VR38DETT engine, a DOHC V6", but should read as "... the VR38DETT
> engine, a 3,799 cc (3.8 L; 231.8 cu in) DOHC V6"
>
> Stroller.
>
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>



-- 
Mi blog personal:
http://blog.wikifotos.org/

Sé libre, usa ubuntu:
http://www.ubuntustory.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20091121/3a9936b6/attachment.htm 


More information about the community mailing list