1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-25 05:22:59 +00:00

[apidoc] @since -> @apiVersion

This commit is contained in:
Starbeamrainbowlabs 2019-08-08 18:32:24 +01:00
parent 2c474b3ec5
commit b6a986a075
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
3 changed files with 4 additions and 4 deletions

View file

@ -112,7 +112,7 @@ function glob_recursive($pattern, $flags = 0)
/** /**
* Gets the name of the parent page to the specified page. * Gets the name of the parent page to the specified page.
* @since 0.15 * @apiVersion 0.15.0
* @package core * @package core
* @param string $pagename The child page to get the parent * @param string $pagename The child page to get the parent
* page name for. * page name for.

View file

@ -13,7 +13,7 @@ register_module([
* @apiName Stats * @apiName Stats
* @apiGroup Utility * @apiGroup Utility
* @apiPermission Anonymous * @apiPermission Anonymous
* @since v0.15 * @apiVersion v0.15
* @apiParam {string} format Specify the format the data should be returned in. Supported formats: html (default), json. * @apiParam {string} format Specify the format the data should be returned in. Supported formats: html (default), json.
* @apiParam {string} stat HTML format only. If specified the page for the stat with this id is sent instead of the list of scalar stats. * @apiParam {string} stat HTML format only. If specified the page for the stat with this id is sent instead of the list of scalar stats.
*/ */
@ -95,7 +95,7 @@ register_module([
* @apiName UpdateStats * @apiName UpdateStats
* @apiGroup Utility * @apiGroup Utility
* @apiPermission Administrator * @apiPermission Administrator
* @since v0.15 * @apiVersion v0.15
* @apiParam {string} secret POST only, optional. If you're not logged in, you can specify the wiki's sekret instead (find it in peppermint.json) using this parameter. * @apiParam {string} secret POST only, optional. If you're not logged in, you can specify the wiki's sekret instead (find it in peppermint.json) using this parameter.
* @apiParam {bool} force Whether the statistics should be recalculated anyway - even if they have already recently been recalculated. Default: no. Supported values: yes, no. * @apiParam {bool} force Whether the statistics should be recalculated anyway - even if they have already recently been recalculated. Default: no. Supported values: yes, no.
*/ */

View file

@ -233,7 +233,7 @@ register_module([
/** /**
* Gets a list of all the tags currently used across the wiki. * Gets a list of all the tags currently used across the wiki.
* @package page-list * @package page-list
* @since v0.15 * @apiVersion v0.15
* @return string[] A list of all unique tags present on all pages across the wiki. * @return string[] A list of all unique tags present on all pages across the wiki.
*/ */
function get_all_tags() function get_all_tags()