Joshua C. Lerner skrev: > On Fri, Jun 19, 2009 at 2:05 PM, Rolf Lampa <[email protected]> wrote: > >> I need some hints about how to go about to create a dump filter and a >> plugin for dumpBackup.php. > >> If anyone has done a filter or plugin before, or have a link to an >> example, I'd be very happy to take advice. :) > > Here's a supposedly working example: > > php dumpBackup.php \ > --plugin=AbstractFilter:extensions/ActiveAbstract/AbstractFilter.php \ > --current \ > --output=gzip:/dumps/abstract.xml.gz \ > --filter=namespace:NS_MAIN \ > --filter=noredirect \ > --filter=abstract > > Would be interested to see your working plugin code once it's ready, > there doesn't seem to be much documentation on this. Perhaps you could > post to mediawiki.org.
Ah, that was very helpful, now I have something to start from, thank you very much! // Rolf Lampa _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
