AbuseFilter setup
From Wikitech
(Difference between revisions)
(New page: * Go into the php configuration directory: cd /home/wikipedia/common/php-1.5/ * Add the extensions tables to the project: php maintenance/sql.php --wiki='''dbname''' extensions/AbuseFi...) |
|||
| Line 8: | Line 8: | ||
* Update the configuration site-wide: | * Update the configuration site-wide: | ||
sync-common-all | sync-common-all | ||
| − | + | * Alternatively, you can sync the InitiliseSettings.php and abusefilter.php files individually via <tt>sync-file</tt> if you so choose. | |
[[Category:How-To]] | [[Category:How-To]] | ||
Revision as of 15:49, 1 June 2009
- Go into the php configuration directory:
cd /home/wikipedia/common/php-1.5/
- Add the extensions tables to the project:
php maintenance/sql.php --wiki=dbname extensions/AbuseFilter/abusefilter.tables.sql
- Add the wiki to the 'wmgUseAbuseFilter' array in InitiliseSettings.php.
- If needed, customize the settings for the extension in abusefilter.php.
- If they want settings other than the defaults listed in the same file, you will need to enter them.
- Update the configuration site-wide:
sync-common-all
- Alternatively, you can sync the InitiliseSettings.php and abusefilter.php files individually via sync-file if you so choose.