dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddeadfc
)
Fix pageExists when passed invalid title
author
Chad Horohoe
<chadh@wikimedia.org>
Thu, 26 Jun 2014 14:40:06 +0000
(07:40 -0700)
committer
Chad Horohoe
<chadh@wikimedia.org>
Thu, 26 Jun 2014 14:40:06 +0000
(07:40 -0700)
$title would end up null leading to broken output.
Change-Id: I349ec8aa15fa7e59ae198c2e4f92b3baa471ea23
maintenance/pageExists.php
patch
|
blob
|
history
diff --git
a/maintenance/pageExists.php
b/maintenance/pageExists.php
index
c4b208a
..
3bde81e
100644
(file)
--- a/
maintenance/pageExists.php
+++ b/
maintenance/pageExists.php
@@
-41,7
+41,7
@@
class PageExists extends Maintenance {
if ( $pageExists ) {
$text = "{$title} exists.";
} else {
- $text = "{$title} doesn't exist.";
+ $text = "{$title
Arg
} doesn't exist.";
$code = 1;
}
$this->output( $text );