FlaggedRevs setup
From Wikitech
(Difference between revisions)
| Line 9: | Line 9: | ||
#* <tt>sync-common-all</tt> | #* <tt>sync-common-all</tt> | ||
# Run <tt>php extensions/FlaggedRevs/maintenance/updateAutoPromote.php <dbname></tt> from <tt> /home/wikpedia/common/php-1.5/</tt> to autopromote those stated in the config options. | # Run <tt>php extensions/FlaggedRevs/maintenance/updateAutoPromote.php <dbname></tt> from <tt> /home/wikpedia/common/php-1.5/</tt> to autopromote those stated in the config options. | ||
| − | # Run php extensions/FlaggedRevs/maintenance/updateLinks.php <dbname> --updateonly=pages | + | # Run <tt> php extensions/FlaggedRevs/maintenance/updateLinks.php <dbname> --updateonly=pages </tt> |
Revision as of 20:03, 19 March 2009
- Add the extension's tables to your wiki...
- 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
- Run php extensions/FlaggedRevs/maintenance/updateAutoPromote.php <dbname> from /home/wikpedia/common/php-1.5/ to autopromote those stated in the config options.
- Run php extensions/FlaggedRevs/maintenance/updateLinks.php <dbname> --updateonly=pages