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
Delete very incomplete translation
[lhc/web/wiklou.git]
/
maintenance
/
pageExists.php
diff --git
a/maintenance/pageExists.php
b/maintenance/pageExists.php
index
dc9bbda
..
6a5654f
100644
(file)
--- a/
maintenance/pageExists.php
+++ b/
maintenance/pageExists.php
@@
-32,11
+32,10
@@
class PageExists extends Maintenance {
}
public function execute() {
}
public function execute() {
- $titleArg = $this->getArg();
+ $titleArg = $this->getArg(
0
);
$title = Title::newFromText( $titleArg );
$pageExists = $title && $title->exists();
$title = Title::newFromText( $titleArg );
$pageExists = $title && $title->exists();
- $text = '';
$code = 0;
if ( $pageExists ) {
$text = "{$title} exists.";
$code = 0;
if ( $pageExists ) {
$text = "{$title} exists.";