gnosygnu / xowa

xowa offline wiki application
Other
377 stars 40 forks source link

Another duplicate ref (Royal coat of arms in en.w:UK) #607

Open desb42 opened 5 years ago

desb42 commented 5 years ago

Taking the page en.wikipedia.org/wiki/United_Kingdom Mediawiki shows uk_notes_ok Xowa-gui shows uk_notes_bad

Note the higlighting shows mediawik as Notes 1 and 2, whereas xowa shows the same as Notes 2 and 3.

Looking at the notes section of xowa uk_notes_bad2 This duplication causes the numbering difference

The wikitext only contains this reference/note once

{{#tag:ref |An alternative variant of the Royal coat of arms is used in Scotland: [[:File:Royal Coat of Arms of the United Kingdom (Scotland).svg|[click to view image]]].|group=note}}
gnosygnu commented 5 years ago

Thanks for the detail. Unfortunately, this one is hard. It's been there in XOWA since day 1. I've tried to fix it before, but essentially the problem is with how XOWA expands parameters inside templates.

This will be fixed whenever the template parser rewrite completes. Just tagging it for now.