Manual:$wgAPIModules/ja

詳細
モジュール名をクラス名にマッピングする連想配列. 拡張機能モジュールはコアモジュールをオーバーライドできます.

例
Suppose you wanted to create an API module to calibrate the wiki's awesomeness level. You would write a new extension,, putting the following in your   file:

Then you would create an  file containing an   class that extends, say, , e.g.

After installing your new extension on the English Wikipedia, you could then access that module by using, e.g., https://en.wikipedia.org/w/api.php?action=calibrateawesomeness&level=1000.