FlaggedRevs setup
From Wikitech
(Difference between revisions)
(not sure how that got here) |
m (some formating for clarity) |
||
| Line 9: | Line 9: | ||
#* touch <tt>InitialiseSettings.php</tt> to invalidate the cache | #* touch <tt>InitialiseSettings.php</tt> to invalidate the cache | ||
#* <tt>sync-common-all</tt> | #* <tt>sync-common-all</tt> | ||
| − | # Note: Do not run | + | # '''Note''': Do not run this until the sync has completed. |
| − | # Run <tt>cd /home/wikipedia/common/php-1.5/ && php extensions/FlaggedRevs/maintenance/updateAutoPromote.php <dbname></tt> to autopromote those stated in the config options. | + | #* Run <tt>cd /home/wikipedia/common/php-1.5/ && php extensions/FlaggedRevs/maintenance/updateAutoPromote.php <dbname></tt> to autopromote those stated in the config options. |
== Open requests == | == Open requests == | ||
Revision as of 20:31, 11 June 2010
- Add the extension's tables to your wiki...
- cd /home/wikipedia/common/php-1.5/
- php maintenance/sql.php --wiki=dbname extensions/FlaggedRevs/FlaggedRevs.sql
- Add the wiki to the FlaggedRevs group so it'll use it...
- Edit /home/wikipedia/common/flaggedrevs.dblist and add the database name
- If necessary, customize the settings for it in flaggedrevs.php
- Note: currently this sucks not as much as it did previously.
- Update live configuration:
- touch InitialiseSettings.php to invalidate the cache
- sync-common-all
- Note: Do not run this until the sync has completed.
- Run cd /home/wikipedia/common/php-1.5/ && php extensions/FlaggedRevs/maintenance/updateAutoPromote.php <dbname> to autopromote those stated in the config options.