Difference between revisions of "Extension talk:CurrentUsers"

From Organic Design
Jump to: navigation, search
m (Nad moved page Extension talk:CurrentUsers.php to Extension talk:CurrentUsers without leaving a redirect)
(Change source-code blocks to standard format)
 
Line 2: Line 2:
  
 
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 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;
{{code|
+
<source lang="php">
<php>
 
 
if($wgVersion === "1.12.0") {
 
if($wgVersion === "1.12.0") {
 
  return $parser->preprocess($users,$wgTitle,$parser->mOptions);
 
  return $parser->preprocess($users,$wgTitle,$parser->mOptions);
Line 9: Line 8:
 
   return $users;
 
   return $users;
 
}
 
}
</php>
+
</source>
}}
 
 
--[[User:Sven|Sven]] 12:11, 27 March 2008 (NZST)
 
--[[User:Sven|Sven]] 12:11, 27 March 2008 (NZST)

Latest revision as of 18:11, 22 May 2015

Info.svg 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)