Jump to content

Manual:PopulateInterwiki.php/de: Difference between revisions

From mediawiki.org
Content deleted Content added
Created page with "Beschreibung"
Created page with "Notwendig"
Line 12: Line 12:
! <span lang="en" dir="ltr" class="mw-content-ltr">Option</span>
! <span lang="en" dir="ltr" class="mw-content-ltr">Option</span>
! Beschreibung
! Beschreibung
! Notwendig
! <span lang="en" dir="ltr" class="mw-content-ltr">Required</span>
! <span lang="en" dir="ltr" class="mw-content-ltr">Default value</span>
! <span lang="en" dir="ltr" class="mw-content-ltr">Default value</span>
|-
|-

Revision as of 15:46, 26 July 2022

Details

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

Optionen

Option Beschreibung Notwendig Default value
--source Source wiki for interwiki table, such as https://wiki.org/w/api.php Optional https://en.wikipedia.org/w/api.php
--force Run regardless of whether the database says it has been run already. Optional

Verwendung

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

Populate with default English Wikipedia

Terminal

Populate with custom API address

Terminal


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.

Siehe auch