hello
How can I copy all the filters on my site?
How can I export the filters on my site?
thanks
hello
How can I copy all the filters on my site?
How can I export the filters on my site?
thanks
So what is this guide for?
php dumpBackup.php \
--plugin=AbstractFilter:extensions/ActiveAbstract/AbstractFilter.php \
--current \
--output=gzip:/dumps/abstract.xml.gz \
--filter=namespace:NS_MAIN \
--filter=noredirect \
--filter=abstract
I'm unsure, but that seems to mention "AbstractFilter", which has nothing to do with AbuseFilter.
If you're interested, there's a grabAbuseFilter.php in Manual:Grabbers to import all public filters from one wiki to other.
Thanks for pointing this out, I'll mention it on phabricator. However, note that the script doesn't currently work, because it doesn't update the abuse_filter_action table (used to retrieve enabled actions for existing filters). I'm also unsure about the impact of not adding an entry in abuse_filter_history. I wouldn't recommend using it as-is on a public-facing wiki, because it would put the DB in an inconsistent state.