X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=includes%2Frevisiondelete%2FRevisionDeleter.php;h=d4f816780c4e65341856c7a5d563e721afe69e43;hb=21e0c1c53326fcff9e52604144cf254fadde57fa;hp=ecfe1d8721652a1b1a5004b58f333fdbaf4f7732;hpb=2e040b99eda6c99cf472b3896f62d2f21315e808;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/revisiondelete/RevisionDeleter.php b/includes/revisiondelete/RevisionDeleter.php index ecfe1d8721..d4f816780c 100644 --- a/includes/revisiondelete/RevisionDeleter.php +++ b/includes/revisiondelete/RevisionDeleter.php @@ -29,11 +29,11 @@ class RevisionDeleter { /** List of known revdel types, with their corresponding list classes */ private static $allowedTypes = array( - 'revision' => 'RevDel_RevisionList', - 'archive' => 'RevDel_ArchiveList', - 'oldimage' => 'RevDel_FileList', - 'filearchive' => 'RevDel_ArchivedFileList', - 'logging' => 'RevDel_LogList', + 'revision' => 'RevDelRevisionList', + 'archive' => 'RevDelArchiveList', + 'oldimage' => 'RevDelFileList', + 'filearchive' => 'RevDelArchivedFileList', + 'logging' => 'RevDelLogList', ); /** Type map to support old log entries */ @@ -77,7 +77,7 @@ class RevisionDeleter { * @param IContextSource $context * @param Title $title * @param array $ids - * @return RevDel_List + * @return RevDelList */ public static function createList( $typeName, IContextSource $context, Title $title, array $ids ) { $typeName = self::getCanonicalTypeName( $typeName ); @@ -91,7 +91,7 @@ class RevisionDeleter { * Checks for a change in the bitfield for a certain option and updates the * provided array accordingly. * - * @param string $desc description to add to the array if the option was + * @param string $desc Description to add to the array if the option was * enabled / disabled. * @param int $field The bitmask describing the single option. * @param int $diff The xor of the old and new bitfields. @@ -189,7 +189,7 @@ class RevisionDeleter { * Suggest a target for the revision deletion * @since 1.22 * @param string $typeName - * @param Title|null $title User-supplied target + * @param Title|null $target User-supplied target * @param array $ids * @return Title|null */