dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "RCFilters UI: Unbreak limit and days widgets in non-experimental mode"
[lhc/web/wiklou.git]
/
includes
/
changetags
/
ChangeTagsList.php
diff --git
a/includes/changetags/ChangeTagsList.php
b/includes/changetags/ChangeTagsList.php
index
dd8bab9
..
afbbb2b
100644
(file)
--- a/
includes/changetags/ChangeTagsList.php
+++ b/
includes/changetags/ChangeTagsList.php
@@
-39,8
+39,8
@@
abstract class ChangeTagsList extends RevisionListBase {
* @throws Exception If you give an unknown $typeName
*/
public static function factory( $typeName, IContextSource $context,
* @throws Exception If you give an unknown $typeName
*/
public static function factory( $typeName, IContextSource $context,
- Title $title, array $ids
) {
-
+ Title $title, array $ids
+ ) {
switch ( $typeName ) {
case 'revision':
$className = 'ChangeTagsRevisionList';
switch ( $typeName ) {
case 'revision':
$className = 'ChangeTagsRevisionList';
@@
-49,8
+49,9
@@
abstract class ChangeTagsList extends RevisionListBase {
$className = 'ChangeTagsLogList';
break;
default:
$className = 'ChangeTagsLogList';
break;
default:
- throw new Exception( "Class $
class
Name requested, but does not exist" );
+ throw new Exception( "Class $
type
Name requested, but does not exist" );
}
}
+
return new $className( $context, $title, $ids );
}
return new $className( $context, $title, $ids );
}