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/addRFCandPMIDInterwiki.php
Terminal
If you also get "RFC and PMID already added to interwiki database table." message then run with --force option.

See also

[edit]