Subject: | Allow plugings |
Hi,
Would please consider allowing plugins for MediaWiki::API? That would
make it possible for people to develop custom sub routines without
changing your code. All you have to do is add the code below to API.pm
use Module::Pluggable search_path => [ qw(MediaWiki::API::Plugin) ],
'require' => 1;
foreach my $plugin (__PACKAGE__->plugins) {
print "Found plugin $plugin\n";
$plugin->import();
}
regards
Michiel