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:
979c73e
)
Fix undefined $max when doing --dfn-only
author
Chad Horohoe
<demon@users.mediawiki.org>
Sat, 13 Nov 2010 16:32:40 +0000
(16:32 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Sat, 13 Nov 2010 16:32:40 +0000
(16:32 +0000)
maintenance/refreshLinks.php
patch
|
blob
|
history
diff --git
a/maintenance/refreshLinks.php
b/maintenance/refreshLinks.php
index
96e87a2
..
d4eae46
100644
(file)
--- a/
maintenance/refreshLinks.php
+++ b/
maintenance/refreshLinks.php
@@
-35,10
+35,10
@@
class RefreshLinks extends Maintenance {
}
public function execute() {
+ $max = $this->getOption( 'm', 0 );
if ( !$this->hasOption( 'dfn-only' ) ) {
$start = $this->getArg( 0, 1 );
$new = $this->getOption( 'new-only', false );
- $max = $this->getOption( 'm', false );
$end = $this->getOption( 'e', 0 );
$redir = $this->getOption( 'redirects-only', false );
$oldRedir = $this->getOption( 'old-redirects-only', false );