FlaggedRevs setup

From Wikitech
(Difference between revisions)
Jump to: navigation, search
(not sure how that got here)
Line 11: Line 11:
 
# Note: Do not run the below scripts until the sync has completed.   
 
# Note: Do not run the below scripts 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.
# Run <tt>cd /home/wikipedia/common/php-1.5/ && php extensions/FlaggedRevs/maintenance/updateLinks.php --updateonly=pages <dbname> </tt>
 
 
  
 
== Open requests ==
 
== Open requests ==

Revision as of 22:24, 9 December 2009

  1. 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
  2. Add the wiki to the FlaggedRevs group so it'll use it...
    • Edit /home/wikipedia/common/flaggedrevs.dblist and add the database name
  3. If necessary, customize the settings for it in flaggedrevs.php
    • Note: currently this sucks not as much as it did previously.
  4. Update live configuration:
    • touch InitialiseSettings.php to invalidate the cache
    • sync-common-all
  5. Note: Do not run the below scripts until the sync has completed.
  6. Run cd /home/wikipedia/common/php-1.5/ && php extensions/FlaggedRevs/maintenance/updateAutoPromote.php <dbname> to autopromote those stated in the config options.

Open requests

on bugzilla

Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox