Those columns have no defaults and cause errors if MySQL strict mode is
enabled.
Also make this maintenance script runnable standalone.
Bug: T147536
Change-Id: I0f0ba6fc4375c44b71852c5c2dad8336db17c479
[ '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,
[
'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
+
+$maintClass = 'AddRFCAndPMIDInterwiki';
+require_once RUN_MAINTENANCE_IF_MAIN;