Manual:addRFCandPMIDInterwiki.php
From Linux Web Expert
<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.28
<translate> MediaWiki version:</translate> |
MediaWiki file: addRFCandPMIDInterwiki.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.41.1 • 1.40.3 • 1.39.7 |
Classes: | AddRFCandPMIDInterwiki |
Details
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
This script does not take any options/argument.
Usage
php maintenance/addRFCandPMIDInterwiki.php
Terminal
$ php maintenance/addRFCandPMIDInterwiki.php ..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.