brishtiteveja / gwtwiki

Automatically exported from code.google.com/p/gwtwiki
0 stars 0 forks source link

Problem when a language uses a mix of native and English tags #142

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I generated the properties files according to this script
https://gist.github.com/aboSamoor/5609703

The file generated for Tagalog is
http://paste.ubuntu.com/5682237/

The problem is that running Tagalog Wikipedia returns text instead of empty 
string using plain text converter.

Example that fails.

[[Image:Vatican-radio.jpg|thumb|Gusali ng pangangasiwa at mga [[mast|palo]] ng 
radyo na nasa [[Lungsod Batikano]].]]

Looking at 
(./info.bliki.wiki/bliki-core/src/main/java/info/bliki/Messages.java), It seems 
there was an assumption that there is only maximum of two aliases per tag.

Apparently, all wikipedias use English aliases beside the native language tags.

Original issue reported on code.google.com by rmyeid on 20 May 2013 at 10:32

GoogleCodeExporter commented 9 years ago

Original comment by axelclk@gmail.com on 25 May 2013 at 3:23

GoogleCodeExporter commented 9 years ago
It seems the unreleased code (3.1.01) allow adding new aliases, this is how i 
fixed it for now.
            mWikiModel.getNamespace().getImage().addAlias("Image");
            mWikiModel.getNamespace().getImage_talk().addAlias("Image_talk");

Original comment by rmyeid on 25 May 2013 at 3:42