Last modified: 2010-05-15 15:48:21 UTC
Gentlemen, I have determined that if one uses importTextFile.php to
write MediaWiki:* items, then one must be prepared to do so again
after each run of update.php.
If one wishes those items to stick, one had better hunker down with the
browser and edit them by hand, each one.
Go ahead, run the below, note the effects, then run update.php. The
effects are then gone.
echo -n - > $t
php importTextFile.php --title MediaWiki:Privacy $t
cat > $t <<EOF
php importTextFile.php --title MediaWiki:Sidebar $t
Too bad there's no way to set them via LocalSettings.php.
No URL as this wiki is offline.
Is the edit being attributed to "MediaWiki default"? If so, then update.php will
delete it as part of the message cache alterations shipped from 1.9.0 onwards.
In this case, use the --user option passed to the import script to attribute the
edit to someone else.
It would probably be wise not to use 'MediaWiki default' as the default username
for importTextFile, since that's intended to be used for things created by the
installer (and thus which can be udpated or removed with impunity).
Fixed in r20751.