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
For the maintenance/ directory files:
[lhc/web/wiklou.git]
/
maintenance
/
rebuildInterwiki.inc
diff --git
a/maintenance/rebuildInterwiki.inc
b/maintenance/rebuildInterwiki.inc
index
d719fd4
..
458693d
100644
(file)
--- a/
maintenance/rebuildInterwiki.inc
+++ b/
maintenance/rebuildInterwiki.inc
@@
-108,6
+108,7
@@
function getRebuildInterwikiSQL() {
$iwArray = array();
foreach ( $lines as $line ) {
+ $matches = array();
if ( preg_match( '/^\|\s*(.*?)\s*\|\|\s*(https?:\/\/.*?)\s*$/', $line, $matches ) ) {
$prefix = strtolower( $matches[1] );
$url = $matches[2];