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 "Fix TitlePermissionTest failures due to test leakage"
[lhc/web/wiklou.git]
/
includes
/
Title.php
diff --git
a/includes/Title.php
b/includes/Title.php
index
5b0c3bc
..
de551b4
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-2447,7
+2447,7
@@
class Title implements LinkTarget {
# XXX: this might be better using restrictions
if ( $action === 'patrol' ) {
# XXX: this might be better using restrictions
if ( $action === 'patrol' ) {
- return
[]
;
+ return
$errors
;
}
if ( preg_match( '/^' . preg_quote( $user->getName(), '/' ) . '\//', $this->mTextform ) ) {
}
if ( preg_match( '/^' . preg_quote( $user->getName(), '/' ) . '\//', $this->mTextform ) ) {