Difference between revisions of "Extension talk:CurrentUsers"
From Organic Design wiki
({{ext-talk-msg|CurrentUsers}}) |
(Change source-code blocks to standard format) |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{ext-talk-msg|CurrentUsers}} | {{ext-talk-msg|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; | ||
| + | <source lang="php"> | ||
| + | if($wgVersion === "1.12.0") { | ||
| + | return $parser->preprocess($users,$wgTitle,$parser->mOptions); | ||
| + | } else { | ||
| + | return $users; | ||
| + | } | ||
| + | </source> | ||
| + | --[[User:Sven|Sven]] 12:11, 27 March 2008 (NZST) | ||
Latest revision as of 18:11, 22 May 2015
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)



