FlaggedRevs setup/enwiki 2010-06-15
Appearance
Here's the broad outline for the plan to roll out FlaggedRevs/Pending Changes to enwiki:
- Monday, 2010-06-14
- 4pm PDT - Roll out FlaggedRevsAlpha to existing FlaggedRevs users
- Monitor the various wikis currently running FlaggedRevs for problems
- Tuesday, 2010-06-15
- All day at least until 1pm PDT - Monitor the various wikis currently running FlaggedRevs for problems
- 1pm PDT - Go/no-go decision on enwiki rollout
- 4pm PDT - Roll out to enwiki
Monday: Roll out FlaggedRevsAlpha to existing FlaggedRevs users
- Remove all labs hacks, configure everything use non-alpha
- SVN move FlaggedRevs_alpha over FlaggedRevs
- Checkout /extensions on fenari. Sync.
- Check for bugs/problems on any FR wikis.
- Revert this change if needed.
Tuesday: Roll out to enwiki
- Add an entry for enwiki in
wmf-config/flaggedrevs.php
with the same settings as the flaggedrevs_labswikimedia one. - Add the extension's tables to enwiki...
- cd /home/wikipedia/common/php-1.5/
- php maintenance/sql.php --wiki=enwiki extensions/FlaggedRevs/FlaggedRevs.sql
- Add the wiki to the FlaggedRevs group so it'll use it...
- Add enwiki to /home/wikipedia/common/flaggedrevs.dblist
- Update live configuration:
- touch InitialiseSettings.php to invalidate the cache
- sync-common-all
Post-deploy checklist:
- Ensure permissions are configured correctly
- Ensure 2000 article limit is in place
Removal steps
Only use these instructions if something goes wrong
- Set
$wgFlaggedRevsProtectQuota = 0;
. This disallows new flag-protections. - In
FlaggedRevs/maintenance
, runphp flagToSemiProtect.php enwiki <enwiki admin name> <reason>
. This will semi-protect all flag-protected pages. The flaggedpage_config table data is *still there* so the pages are also left flag-protected. - In
FlaggedRevs/maintenance
, runphp purgeReviewablePages.php enwiki --makelist
. This makes the list of flag-protected pages to clear for the squid cache. - Remove enwiki from flaggedrevs.dblist
- Touch InitialiseSettings.php to make the dblist change apply. This should disable the extension and therefore no pages are flag-protected. Confirm that FlaggedRevs is disabled on enwiki.
- In
FlaggedRevs/maintenance
, runphp purgeReviewablePages.php enwiki --purgelist
. This clears the squid cache for those formerly flag-protected pages. - SQL tables and flaggedrevs.php file dealt with only for long-term removal.