Jump to: navigation, search

Rollover for the manual

238 bytes added, 06:25, 24 June 2019
Set previous version pages to be protected }}
I do Do that by using concatenation in a spreadsheet(call it <code>protectoldpages.xls</code>), creating the (long) SQL statements by combining a first part, the page names and the last part. You'll need to search for any single quotes and put a backslash in front of them in the page names first, too...
That updates a blob field to force protection without having to do the pages individually. You need to do the above sql statement for each page that you want to protect...
* Copy the resulting SQL statement to a text file <code>protectoldpages.txt</code>
* Then run the SQL statement by either using phpmyadmin("SQL" tab to run the query) or the commandline.

Navigation menu