/**
* Get a cache object.
- * @param $inputType Integer: cache type, one the the CACHE_* constants.
+ * @param $inputType Integer: cache type, one the the CACHE_* constants.
+ *
+ * @return BagOStuff
*/
function &wfGetCache( $inputType ) {
global $wgCaches, $wgMemCachedServers, $wgMemCachedDebug, $wgMemCachedPersistent;
/**#@-*/
protected $mRevisionId; // The revision ID we're looking at, null if not applicable.
protected $skinname = 'standard';
- // @todo Fixme: should be protected :-\
+ /**
+ * todo Fixme: should be protected :-\
+ * @var Title
+ */
var $mTitle = null;
protected $mRelevantTitle = null;
protected $mRelevantUser = null;
$namespaceNotice = '';
}
- wfProfileOut( $fname );
+ wfProfileOut( __METHOD__ );
return $namespaceNotice;
}
$content_actions = array();
- foreach ( $content_navigation as $section => $links ) {
+ foreach ( $content_navigation as $links ) {
foreach ( $links as $key => $value ) {
$difftext = $wgContLang->unsegmentForDiff( $formatter->format( $diffs ) ) .
wfProfileOut( __METHOD__ );
return $difftext;
- $this->debug();
}
/**
class CompareParsers extends Maintenance {
private $count = 0;
- private $outputDirectory, $startTime;
+ private $startTime;
public function __construct() {
parent::__construct();
class PreprocessDump extends Maintenance {
private $count = 0;
- private $outputDirectory, $startTime;
+ private $startTime;
/* Variables for dressing up as a parser */
public $mTitle = 'PreprocessDump';