Details edit

populateInterwiki.php is a maintenance script that populates the interwiki table, pulling in interwiki links that are used on Wikipedia or another MediaWiki wiki.

Options edit

Option Description Required Default value
--source Source wiki for interwiki table, such as Optional
--force Run regardless of whether the database says it has been run already. Optional

Usage edit

php maintenance/populateInterwiki.php [ --source| --force ]

Populate with default English Wikipedia edit


Populate with custom API address edit


Whenever the script runs, it makes a note in the database and will not run again. If you want to run the script again, run the command with the --force option.

See also edit