|
|
| (5 intermediate revisions by 2 users not shown) |
| Line 1: |
Line 1: |
| − | Just a comment, this would complement wikichat quite well as you can quickly see whos online --[[User:Sven|Sven]] 11:35, 26 July 2007 (NZST)
| + | {{ext-talk-msg|CurrentUsers}} |
| | | | |
| − | == wobbly output == | + | If this extension version 1.0.3 does not work in prior versions of mediawiki (<=1.11.2), we may need to add a conditional to the end of the wfCurrentUsersMagic function; |
| − | | + | <source lang="php"> |
| − | Hi Nad,
| + | if($wgVersion === "1.12.0") { |
| − | excellent plugins, however, in my 1.5 Wiki setup I get nothing like the output you get from Current Users, I'm using the :
| + | return $parser->preprocess($users,$wgTitle,$parser->mOptions); |
| − | <pre>**{{{1}}}: {{#if:{{{2|}}}|[[User:{{{2}}}|{{{2}}}]]}}{{#if:{{{3|}}}|'''{{{3|}}}'''}}</pre> | + | } else { |
| − | template, but the output looks like this:
| + | return $users; |
| − | <pre>* * 14:34:{{#if:Nibb|Nibb}}{{#if:|'}}</pre>
| + | } |
| − | | + | </source> |
| − | Can't see whats going on that the template doesn't display right. I have no extra extensions yet, this is a fairly fresh install
| + | --[[User:Sven|Sven]] 12:11, 27 March 2008 (NZST) |
| − | | |
| − | thanks for the work, lovely looking site Organic Design, nice to see something not too Wikipedia like :)
| |
| − | : If I understand you correctly you are using MediaWiki version 1.5.7, I would strongly recommend upgrading your MediaWiki installation to version 1.10.1. Also do you have the contributed extension [http://meta.wikimedia.org/wiki/ParserFunctions Parser functions] installed? This provides flow control functions such as ''if'' etc. --[[User:Sven|Sven]] 07:43, 7 September 2007 (NZST)
| |
Latest revision as of 18:11, 22 May 2015
|
This talk page pertains specifically to the development of this extension. For more general discussion about bugs and usage etc, please refer to the mediawiki.org talk page at MW:Extension talk:CurrentUsers
|
|
If this extension version 1.0.3 does not work in prior versions of mediawiki (<=1.11.2), we may need to add a conditional to the end of the wfCurrentUsersMagic function;
if($wgVersion === "1.12.0") {
return $parser->preprocess($users,$wgTitle,$parser->mOptions);
} else {
return $users;
}
--Sven 12:11, 27 March 2008 (NZST)