Hlavac – User talk

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(Wanted Pages Threshold)
Line 8: Line 8:


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)
== Wanted Pages Threshold ==
Could we perhaps set the threshold for [[Special:Wantedpages|Wanted Pages]] to 2? That way we wouldn't have our list cluttered with hundreds of empty links that are only needed by a single page, and it would make maintenance a bit easier.<br>
Do define the limit you'd need the following variable in '''LocalSettings.php: <code>$wgWantedPagesThreshold=2;</code>''' --[[User:Kronzky|Kronzky]] 21:36, 4 August 2006 (CEST)

Revision as of 21:36, 4 August 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. Hlavac 16:40, 27 July 2006 (CEST)

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)

Wanted Pages Threshold

Could we perhaps set the threshold for Wanted Pages to 2? That way we wouldn't have our list cluttered with hundreds of empty links that are only needed by a single page, and it would make maintenance a bit easier.
Do define the limit you'd need the following variable in LocalSettings.php: $wgWantedPagesThreshold=2; --Kronzky 21:36, 4 August 2006 (CEST)