Manual:addRFCandPMIDInterwiki.php
Appearance
This feature was removed completely in version MediaWiki 1.43. |
| MediaWiki versions: | 1.28 – 1.43 |
| MediaWiki file: addRFCandPMIDInterwiki.php | |
|---|---|
| Location: | maintenance/ |
| Source code: | master • 1.45.1 • 1.44.3 • 1.43.6 |
| Classes: | AddRFCandPMIDInterwiki |
Details
[edit]addRFCandPMIDInterwiki.php maintenance script adds RFC and PMID to the interwiki database table.
This script runs by default when you runs Manual:Update.php. It do two things.
- Changes "rfc" URL to use tools.ietf.org domain
- Adds "pmid" interwiki (https://www.ncbi.nlm.nih.gov/pubmed/$1?dopt=Abstract)
Options/Arguments
[edit]This script does not take any options/argument.
Usage
[edit]php maintenance/run.php addRFCandPMIDInterwiki
Terminal
$ php maintenance/run.php addRFCandPMIDInterwiki ..RFC and PMID already added to interwiki database table.
If you also get "RFC and PMID already added to interwiki database table." message then run with --force option.
In MediaWiki version MediaWiki 1.39 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.