X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpopulateInterwiki.php;h=1b05e1ed03260507a3650bbc66b276e82aad60c2;hb=7613076fe6972bdd1aede7a5de28acbc6ba515a0;hp=8f7a918ae99690cddf3fd438a1f322d716f9c591;hpb=dae4c94d893057345f62a3d498fb85c0a54de5a6;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/populateInterwiki.php b/maintenance/populateInterwiki.php index 8f7a918ae9..1b05e1ed03 100644 --- a/maintenance/populateInterwiki.php +++ b/maintenance/populateInterwiki.php @@ -56,7 +56,7 @@ TEXT } public function execute() { - $force = $this->getOption( 'force', false ); + $force = $this->hasOption( 'force' ); $this->source = $this->getOption( 'source', 'https://en.wikipedia.org/w/api.php' ); $data = $this->fetchLinks();