Manual:AddRFCandPMIDInterwiki.php

Category:MediaWiki deprecated or obsolete features#AddRFCandPMIDInterwiki.php
MediaWiki versions:
1.28 1.43
Category:MediaWiki code#AddRFCandPMIDInterwiki.php

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/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.12 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

See also

Category:Maintenance scripts Category:Interwiki maintenance scripts
Category:Interwiki maintenance scripts Category:Maintenance scripts Category:MediaWiki code Category:MediaWiki deprecated or obsolete features