A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:populateArchiveRevId.php below:

Manual:populateArchiveRevId.php - MediaWiki

MediaWiki version:

1.31

populateArchiveRevId.php is a maintenance script that populates the archive.ar_rev_id field in rows where it is missing.

When revisions are deleted, their unique rev_id is stored in the archive table so it can be retained after undeletion. This is necessary to retain permalinks to given revisions after accidental delete cycles or messy operations like history merges. Old entries from MediaWiki 1.4 will be NULL, and a new rev_id will be created on undeletion for those revisions.

This script runs by default when you run update.php . It processes 100 items in every batch.

This script does not take any options.

php maintenance/run.php populateArchiveRevId

Terminal

$ php maintenance/run.php populateArchiveRevId

Populating ar_rev_id...
Completed ar_rev_id population, 7 rows updated.

In MediaWiki version

1.39.13

and earlier, you must invoke maintenance scripts using

php maintenance/scriptName.php

instead of

php maintenance/run.php scriptName

.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4