'ComparePages' => 'SpecialComparePages',
'Export' => 'SpecialExport',
'Import' => 'SpecialImport',
- 'Undelete' => 'UndeleteForm',
+ 'Undelete' => 'SpecialUndelete',
'Whatlinkshere' => 'SpecialWhatlinkshere',
'MergeHistory' => 'SpecialMergeHistory',
self::$mList[$name] = new $className;
} elseif ( is_array( $rec ) ) {
$className = array_shift( $rec );
- self::$mList[$name] = wfCreateObject( $className, $rec );
+ self::$mList[$name] = MWFunction::newObj( $className, $rec );
}
return self::$mList[$name];
} else {
/**
* Execute a special page path.
- * The path may contain parameters, e.g. Special:Name/Params
+ * The path may contain parameters, e.g. Special:Name/Params
* Extracts the special page name and call the execute method, passing the parameters
*
* Returns a title object if the page is redirected, false if there was no such special
}
/**
- * Redirect to Special:Listfiles?user=$wgUser
+ * Redirect from Special:PermanentLink/### to index.php?oldid=###
*/
class SpecialPermanentLink extends UnlistedSpecialPage {
function __construct() {