Index: branches/wmf/1.18wmf1/maintenance/rebuildInterwiki.php |
— | — | @@ -160,7 +160,7 @@ |
161 | 161 | |
162 | 162 | # Links to multilanguage sites |
163 | 163 | foreach ( $sites as $targetSite ) { |
164 | | - $sql .= $this->makeLink( array( $targetSite->lateral, $targetSite->getURL( 'en' ), 1 ), $first, $db ); |
| 164 | + $sql .= $this->makeLink( array( $targetSite->lateral, $targetSite->getURL( 'en', '' ), 1 ), $first, $db ); |
165 | 165 | } |
166 | 166 | |
167 | 167 | # Interlanguage links to wikipedia |
— | — | @@ -209,7 +209,7 @@ |
210 | 210 | foreach ( $sites as $targetSite ) { |
211 | 211 | # Suppress link to self |
212 | 212 | if ( $targetSite->suffix != $site->suffix ) { |
213 | | - $sql .= $this->makeLink( array( $targetSite->lateral, $targetSite->getURL( $lang ), 1 ), $first, $db ); |
| 213 | + $sql .= $this->makeLink( array( $targetSite->lateral, $targetSite->getURL( $lang, '' ), 1 ), $first, $db ); |
214 | 214 | } |
215 | 215 | } |
216 | 216 | |