Manual:attachLatest.php

From MediaWiki.org
Jump to: navigation, search
MediaWiki File: attachLatest.php
Location: /maintenance/
Source code:

HEAD1.18beta1
1.18.11.17.2

Classes: None

attachLatest.php is a MediaWiki script located in the maintenance directory that is quick hackjob to fix damages imports on wikisource page records have page_latest wrong. The program is looking for pages with column page_latest from the table page set to 0.

Comment out 'page_latest' => 0 if whatever reason you need to regenerate this field for all records in table page.

[edit] Usage

Option/Parameter Description
--fix To actually change the database.
no parameters Will display what will be fixed, but not changes will be done to the database.
Language: English
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox