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:
28595b9
)
If --only and we've had a hit, no need to continue iteration over $wgQueryPages
author
Reedy
<reedy@wikimedia.org>
Thu, 15 Aug 2013 22:19:02 +0000
(23:19 +0100)
committer
IAlex
<codereview@emsenhuber.ch>
Thu, 22 Aug 2013 17:20:00 +0000
(17:20 +0000)
--only only accepts one "page"
Change-Id: I561a099cd6ec8a19e8931f6aa5304fc38a474e58
maintenance/updateSpecialPages.php
patch
|
blob
|
history
diff --git
a/maintenance/updateSpecialPages.php
b/maintenance/updateSpecialPages.php
index
cf6c0b0
..
3432cb2
100644
(file)
--- a/
maintenance/updateSpecialPages.php
+++ b/
maintenance/updateSpecialPages.php
@@
-121,6
+121,9
@@
class UpdateSpecialPages extends Maintenance {
} else {
$this->output( "cheap, skipped\n" );
}
+ if ( $this->hasOption( 'only' ) ) {
+ break;
+ }
}
}
}