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
Merge "/*.php: Replace implicit Bugzilla bug numbers with Phab ones"
[lhc/web/wiklou.git]
/
maintenance
/
addRFCandPMIDInterwiki.php
diff --git
a/maintenance/addRFCandPMIDInterwiki.php
b/maintenance/addRFCandPMIDInterwiki.php
index
9740ef2
..
2262338
100644
(file)
--- a/
maintenance/addRFCandPMIDInterwiki.php
+++ b/
maintenance/addRFCandPMIDInterwiki.php
@@
-63,7
+63,10
@@
class AddRFCAndPMIDInterwiki extends LoggedUpdateMaintenance {
[ 'iw_prefix' ],
[
'iw_prefix' => 'rfc',
[ 'iw_prefix' ],
[
'iw_prefix' => 'rfc',
- 'iw_url' => 'https://tools.ietf.org/html/rfc$1'
+ 'iw_url' => 'https://tools.ietf.org/html/rfc$1',
+ 'iw_api' => '',
+ 'iw_wikiid' => '',
+ 'iw_local' => 0,
],
__METHOD__
);
],
__METHOD__
);
@@
-74,6
+77,9
@@
class AddRFCAndPMIDInterwiki extends LoggedUpdateMaintenance {
[
'iw_prefix' => 'pmid',
'iw_url' => 'https://www.ncbi.nlm.nih.gov/pubmed/$1?dopt=Abstract',
[
'iw_prefix' => 'pmid',
'iw_url' => 'https://www.ncbi.nlm.nih.gov/pubmed/$1?dopt=Abstract',
+ 'iw_api' => '',
+ 'iw_wikiid' => '',
+ 'iw_local' => 0,
],
__METHOD__,
// If there's already a pmid interwiki link, don't
],
__METHOD__,
// If there's already a pmid interwiki link, don't
@@
-84,3
+90,6
@@
class AddRFCAndPMIDInterwiki extends LoggedUpdateMaintenance {
return true;
}
}
return true;
}
}
+
+$maintClass = 'AddRFCAndPMIDInterwiki';
+require_once RUN_MAINTENANCE_IF_MAIN;