User talk:Vincent

From Free Pascal wiki

Sorry Vincent, I forget the version in link: http://br.geocities.com/hipernetjr/lmdi/lmdi-0.1.zip

Thanks!

Wiki parser

Hi Vincent, I try to use some function of wiki parser like to write template for language menu. I think parser isn't install.

You can see this page for help

This code on local server display a menu for translated page

{{MenuTranslate| page=Main Page}}

العربية (ar)Afrikaans (af)català (ca)čeština (cs)Deutsch (de)English (en)español (es)فارسی (fa)suomi (fi)français (fr)magyar (hu)Bahasa Indonesia (id)italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)polski (pl)português (pt)română (ro)русский (ru)slovenčina (sk)Türkçe (tr)українська (uk)Tiếng Việt (vi)zh_cn (zh_CN)zh_tw (zh_TW)

--Xno 15:38, 5 September 2008 (CEST)

Does it work with our version of mediawiki or do I need to upgrade mediawiki to a current version? Vincent 23:34, 8 September 2008 (CEST)
Version of mediawiki is ok. You must install the parser function, it's only 5 files, and a line in LocalSettings.php, see parser function install --Xno 09:11, 9 September 2008 (CEST)
I think that I did what is required. Can you test (and document)? Vincent 08:02, 10 September 2008 (CEST)
It's ok. I've create Template:MenuTranslate, now it run correct. --Xno 11:39, 10 September 2008 (CEST)
Hello Xno, you don't need a parser for the language templates. You can study the existing templates (like http://wiki.lazarus.freepascal.org/Template:Lazarus_DB_Faq ) and then create new templates. Regards --Swen 17:46, 5 September 2008 (CEST)
Hello Swen, I try to create unique template for al page. I see the existing template, and I think I can contribute with this type of template, where an unique MenuTranslate is used, for al page that need link to translated page, more simple I think. --Xno 18:37, 5 September 2008 (CEST)
But then you assume, that all pages have the same translations. But currently that's not true. If you create a template for all pages you will get a lot of 'red' links. I wouldn't like to have such links. --Swen 23:30, 5 September 2008 (CEST)
More page are TITLEPAGE/SUFIX with the same title. For 'red' links I thik use this #ifexist:
{{#ifexist:}} returns one of two results based on whether or not a particular page exists.


--Xno 02:17, 7 September 2008 (CEST)