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 */
* @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 );
* 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.
* 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
*/