Jump to content

Manual:addRFCandPMIDInterwiki.php

From mediawiki.org
MediaWiki versions:
1.28 – 1.43

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
If you also get "RFC and PMID already added to interwiki database table." message then run with --force option.
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

See also

[edit]