Movatterモバイル変換


[0]ホーム

URL:


Jump to content
MediaWiki
Search

Manual:Hooks/APIQuerySiteInfoStatisticsInfo

From mediawiki.org
<Manual:Hooks
APIQuerySiteInfoStatisticsInfo
Available fromversion 1.22.0
Used to add extra information to the SiteInfo statistics information output
Define function:
publicstaticfunctiononAPIQuerySiteInfoStatisticsInfo(&$result){...}
Attach hook:Inextension.json:
{"Hooks":{"APIQuerySiteInfoStatisticsInfo":"MediaWiki\\Extension\\MyExtension\\Hooks::onAPIQuerySiteInfoStatisticsInfo"}}
Called from:File(s):api/ApiQuerySiteinfo.php
Interface:APIQuerySiteInfoStatisticsInfoHook.php

For more information about attaching hooks, seeManual:Hooks.
For examples of extensions using this hook, seeCategory:APIQuerySiteInfoStatisticsInfo extensions.


Details

[edit]
  • &$result: Result array for extra information to be added to
Retrieved from "https://www.mediawiki.org/w/index.php?title=Manual:Hooks/APIQuerySiteInfoStatisticsInfo&oldid=7829093"
Categories:

[8]ページ先頭

©2009-2025 Movatter.jp