Difference between revisions of "User talk:Vincent"
From Free Pascal wiki
Jump to navigationJump to searchSekelsenmat (talk | contribs) |
|||
(26 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
− | Vincent, I | + | 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 {{ #if: namepage}} to write template for language menu. I think parser isn't install. | ||
− | + | You can see this page for help | |
+ | *http://meta.wikimedia.org/wiki/ParserFunctions#Installation | ||
− | + | This code on local server display a menu for translated page | |
+ | <pre><nowiki>{{MenuTranslate| page=Main Page}} | ||
+ | </nowiki></pre> | ||
− | + | {{MenuTranslate| page=Main Page}} | |
+ | --[[User:Xno|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? [[User:Vincent|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 [http://meta.wikimedia.org/wiki/ParserFunctions#Installation| parser function install] --[[User:Xno|Xno]] 09:11, 9 September 2008 (CEST) | |
− | I've | + | ::: I think that I did what is required. Can you test (and document)? [[User:Vincent|Vincent]] 08:02, 10 September 2008 (CEST) |
− | + | :::: It's ok. I've create [[Template:MenuTranslate]], now it run correct. --[[User:Xno|Xno]] 11:39, 10 September 2008 (CEST) | |
− | [[User: | + | |
− | : | + | : 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 --[[User:Swen|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. --[[User:Xno|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. --[[User:Swen|Swen]] 23:30, 5 September 2008 (CEST) | ||
+ | |||
+ | ::::More page are TITLEPAGE/SUFIX with the same title. For 'red' links I thik use this #ifexist: | ||
+ | <nowiki>{{#ifexist:}}</nowiki> returns one of two results based on whether or not a particular page exists. | ||
+ | |||
+ | {{#ifexist:{{{page}}}/de | [[{{{page}}}/de|Deutsch (de)]] }} | ||
+ | |||
+ | ::::--[[User:Xno|Xno]] 02:17, 7 September 2008 (CEST) | ||
+ | |||
+ | == [[Mediawiki:Sidebar]] == | ||
+ | Hi Vincent, | ||
+ | 'Downloads' on the sidebar confusingly points to [[Components and Code examples]] because of [[Mediawiki:downloads-url]]. I was expecting a page like [[Getting Lazarus]]... [[User:Arent|Arent]] ([[User talk:Arent|talk]]) 20:51, 27 July 2020 (CEST) | ||
+ | |||
+ | == test == | ||
+ | New change [[User:Vincent|Vincent]] ([[User talk:Vincent|talk]]) 19:29, 2 December 2022 (CET) |
Latest revision as of 20:30, 2 December 2022
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}}
Template:MenuTranslate --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)
- I think that I did what is required. Can you test (and document)? Vincent 08:02, 10 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)
- 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)
Mediawiki:Sidebar
Hi Vincent, 'Downloads' on the sidebar confusingly points to Components and Code examples because of Mediawiki:downloads-url. I was expecting a page like Getting Lazarus... Arent (talk) 20:51, 27 July 2020 (CEST)