FlaggedRevs setup

From Wikitech
(Difference between revisions)
Jump to: navigation, search
(1717171717)
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
== General FlaggedRev installation instructions ==
 
# Add the extension's tables to your wiki...
 
# Add the extension's tables to your wiki...
 +
#* <tt>cd /home/wikipedia/common/php-1.17/ </tt>
 
#* <tt>php maintenance/sql.php --wiki='''dbname''' extensions/FlaggedRevs/FlaggedRevs.sql</tt>
 
#* <tt>php maintenance/sql.php --wiki='''dbname''' extensions/FlaggedRevs/FlaggedRevs.sql</tt>
 
# Add the wiki to the FlaggedRevs group so it'll use it...
 
# Add the wiki to the FlaggedRevs group so it'll use it...
Line 8: Line 10:
 
#* 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>
# 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.
+
# '''Note''': Do not run this until the sync has completed. 
 +
#* Run <tt>cd /home/wikipedia/common/php-1.17/ && php extensions/FlaggedRevs/maintenance/updateAutoPromote.php <dbname></tt> to autopromote those stated in the config options.
  
 +
== enwiki instructions ==
 +
Rollout checklists:
 +
*  [[/enwiki 2010-06-15]]
 +
*  [[/2010-11-17 Rollout Checklist]]
  
 
== Open requests ==
 
== Open requests ==
  
 
[https://bugzilla.wikimedia.org/buglist.cgi?quicksearch=flaggedrevs on bugzilla]
 
[https://bugzilla.wikimedia.org/buglist.cgi?quicksearch=flaggedrevs on bugzilla]
 +
 +
[[Category:How-To]]

Latest revision as of 18:17, 25 March 2011

[edit] General FlaggedRev installation instructions

  1. Add the extension's tables to your wiki...
    • cd /home/wikipedia/common/php-1.17/
    • 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 this until the sync has completed.
    • Run cd /home/wikipedia/common/php-1.17/ && php extensions/FlaggedRevs/maintenance/updateAutoPromote.php <dbname> to autopromote those stated in the config options.

[edit] enwiki instructions

Rollout checklists:

[edit] Open requests

on bugzilla

Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox