User talk:Kaotic/WikiBackup

Jump to navigation Jump to search

Thanks. ^^ -- 23:49, 17 October 2008 (UTC)[reply]

Using wgReadOnlyFile[edit]

Suggestion: append this to your LocalSettings.php file:


Then, change your script like this:

echo "Putting the wiki in Read-only mode..."
echo "Backup in progress. Access will be restored shortly." > "$wikidir"/read-only-message
echo "Bringing the wiki out of Read-only mode..."
rm "$wikidir"/read-only-message

--Elifarley 00:19, 26 July 2010 (UTC)[reply]