User:Leucosticte/Sandbox

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.

If you need to regenerate this field for all records in table page, change

to

Usage
AttachLastest.php