mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +00:00
Update comments docs
This commit is contained in:
parent
12a7d9fd14
commit
8c7b021865
3 changed files with 35 additions and 23 deletions
|
@ -4023,20 +4023,26 @@ register_module([
|
||||||
"code" => function() {
|
"code" => function() {
|
||||||
global $settings;
|
global $settings;
|
||||||
/**
|
/**
|
||||||
* @api {get} ?action=raw&page={pageName} Get the raw source code of a page
|
* @api {get|post} ?action=stats-update Recalculate the wiki's statistics
|
||||||
* @apiName RawSource
|
* @apiName UpdateStats
|
||||||
* @apiGroup Page
|
* @apiGroup Utility
|
||||||
* @apiPermission Anonymous
|
* @apiPermission Administrator
|
||||||
*
|
*
|
||||||
* @apiParam {string} page The page to return the source of.
|
* @apiParam {string} secret POST only, optional. If you're not logged in, you can specify the wiki's sekret (find it in peppermint.json) using this parameter.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ██████ █████ ██ ██
|
███████ ████████ █████ ████████ ███████
|
||||||
* ██ ██ ██ ██ ██ ██
|
██ ██ ██ ██ ██ ██
|
||||||
* ██████ ███████ ██ █ ██
|
███████ ██ ███████ ██ ███████
|
||||||
* ██ ██ ██ ██ ██ ███ ██
|
██ ██ ██ ██ ██ ██
|
||||||
* ██ ██ ██ ██ ███ ███
|
███████ ██ ██ ██ ██ ███████
|
||||||
|
|
||||||
|
██ ██ ██████ ██████ █████ ████████ ███████
|
||||||
|
██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
██ ██ ██████ ██ ██ ███████ ██ █████
|
||||||
|
██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
██████ ██ ██████ ██ ██ ██ ███████
|
||||||
*/
|
*/
|
||||||
add_action("stats-update", function() {
|
add_action("stats-update", function() {
|
||||||
global $env, $paths, $settings;
|
global $env, $paths, $settings;
|
||||||
|
|
|
@ -113,7 +113,7 @@
|
||||||
"author": "Starbeamrainbowlabs",
|
"author": "Starbeamrainbowlabs",
|
||||||
"description": "An extensible statistics calculation system. Comes with a range of built-in statistics, but can be extended by other modules too.",
|
"description": "An extensible statistics calculation system. Comes with a range of built-in statistics, but can be extended by other modules too.",
|
||||||
"id": "feature-stats",
|
"id": "feature-stats",
|
||||||
"lastupdate": 1500061821,
|
"lastupdate": 1500064069,
|
||||||
"optional": false
|
"optional": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -8,20 +8,26 @@ register_module([
|
||||||
"code" => function() {
|
"code" => function() {
|
||||||
global $settings;
|
global $settings;
|
||||||
/**
|
/**
|
||||||
* @api {get} ?action=raw&page={pageName} Get the raw source code of a page
|
* @api {get|post} ?action=stats-update Recalculate the wiki's statistics
|
||||||
* @apiName RawSource
|
* @apiName UpdateStats
|
||||||
* @apiGroup Page
|
* @apiGroup Utility
|
||||||
* @apiPermission Anonymous
|
* @apiPermission Administrator
|
||||||
*
|
*
|
||||||
* @apiParam {string} page The page to return the source of.
|
* @apiParam {string} secret POST only, optional. If you're not logged in, you can specify the wiki's sekret (find it in peppermint.json) using this parameter.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ██████ █████ ██ ██
|
███████ ████████ █████ ████████ ███████
|
||||||
* ██ ██ ██ ██ ██ ██
|
██ ██ ██ ██ ██ ██
|
||||||
* ██████ ███████ ██ █ ██
|
███████ ██ ███████ ██ ███████
|
||||||
* ██ ██ ██ ██ ██ ███ ██
|
██ ██ ██ ██ ██ ██
|
||||||
* ██ ██ ██ ██ ███ ███
|
███████ ██ ██ ██ ██ ███████
|
||||||
|
|
||||||
|
██ ██ ██████ ██████ █████ ████████ ███████
|
||||||
|
██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
██ ██ ██████ ██ ██ ███████ ██ █████
|
||||||
|
██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
██████ ██ ██████ ██ ██ ██ ███████
|
||||||
*/
|
*/
|
||||||
add_action("stats-update", function() {
|
add_action("stats-update", function() {
|
||||||
global $env, $paths, $settings;
|
global $env, $paths, $settings;
|
||||||
|
|
Loading…
Reference in a new issue