Hlavac – User talk
Line 3: | Line 3: | ||
Would it be possible to include the extension [http://meta.wikimedia.org/wiki/Parser_functions Parser Functions] into this wiki? It's very helpful for templates, to hide or show information depending on defined template parameters etc. --[[User:Hardrock|hardrock]] 11:35, 26 July 2006 (CEST) | Would it be possible to include the extension [http://meta.wikimedia.org/wiki/Parser_functions Parser Functions] into this wiki? It's very helpful for templates, to hide or show information depending on defined template parameters etc. --[[User:Hardrock|hardrock]] 11:35, 26 July 2006 (CEST) | ||
Well, from my perspective, I prefer things staying simple and easily maintainable. MediaWiki has enough bugs by itself and I want to use the stock version without any changes so that we can easily upgrade when there is a real reason to do so (like security fixes). So, the less extra stuff, the better. | Well, from my perspective, I prefer things staying simple and easily maintainable. MediaWiki has enough bugs by itself and I want to use the stock version without any changes so that we can easily upgrade when there is a real reason to do so (like security fixes). So, the less extra stuff, the better. ---- | ||
== Code Highlighting == | == Code Highlighting == | ||
Another thing from me. I have once written a PHP highlighter class for highlighting code in the OFP scripting syntax, which can be seen in action at the [http://www.mapfact.net/forum/ Mapfact Forum] (for example in [http://www.mapfact.net/forum/viewtopic.php?t=5666&start=20 this topic]) which could be adapted easily to work under the MediaWiki as extension. It could be set to parse f.i. every <nowiki><code></code></nowiki>-Block and highlight it accordingly, with or without line numbers. Also, script and function code can be treated differently etc. Would you be interested in using such an extension? --[[User:Hardrock|hardrock]] 12:01, 26 July 2006 (CEST) | Another thing from me. I have once written a PHP highlighter class for highlighting code in the OFP scripting syntax, which can be seen in action at the [http://www.mapfact.net/forum/ Mapfact Forum] (for example in [http://www.mapfact.net/forum/viewtopic.php?t=5666&start=20 this topic]) which could be adapted easily to work under the MediaWiki as extension. It could be set to parse f.i. every <nowiki><code></code></nowiki>-Block and highlight it accordingly, with or without line numbers. Also, script and function code can be treated differently etc. Would you be interested in using such an extension? --[[User:Hardrock|hardrock]] 12:01, 26 July 2006 (CEST) |
Revision as of 15:39, 27 July 2006
Parser Functions
Would it be possible to include the extension Parser Functions into this wiki? It's very helpful for templates, to hide or show information depending on defined template parameters etc. --hardrock 11:35, 26 July 2006 (CEST)
Well, from my perspective, I prefer things staying simple and easily maintainable. MediaWiki has enough bugs by itself and I want to use the stock version without any changes so that we can easily upgrade when there is a real reason to do so (like security fixes). So, the less extra stuff, the better. ----
Code Highlighting
Another thing from me. I have once written a PHP highlighter class for highlighting code in the OFP scripting syntax, which can be seen in action at the Mapfact Forum (for example in this topic) which could be adapted easily to work under the MediaWiki as extension. It could be set to parse f.i. every <code></code>-Block and highlight it accordingly, with or without line numbers. Also, script and function code can be treated differently etc. Would you be interested in using such an extension? --hardrock 12:01, 26 July 2006 (CEST)