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:
3890baa
)
http/https only please
author
Brion Vibber
<brion@users.mediawiki.org>
Thu, 9 Feb 2006 01:48:24 +0000
(
01:48
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Thu, 9 Feb 2006 01:48:24 +0000
(
01:48
+0000)
maintenance/rebuildInterwiki.inc
patch
|
blob
|
history
diff --git
a/maintenance/rebuildInterwiki.inc
b/maintenance/rebuildInterwiki.inc
index
bbec308
..
fea5f64
100644
(file)
--- a/
maintenance/rebuildInterwiki.inc
+++ b/
maintenance/rebuildInterwiki.inc
@@
-108,7
+108,7
@@
function getRebuildInterwikiSQL() {
$iwArray = array();
foreach ( $lines as $line ) {
- if ( preg_match( '/^\|\s*(.*?)\s*\|\|\s*(.*?)\s*$/', $line, $matches ) ) {
+ if ( preg_match( '/^\|\s*(.*?)\s*\|\|\s*(
https?:\/\/
.*?)\s*$/', $line, $matches ) ) {
$prefix = strtolower( $matches[1] );
$url = $matches[2];
if ( preg_match( '/(wikipedia|wiktionary|wikisource|wikiquote|wikibooks|wikimedia)\.org/', $url ) ) {