mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 16:33:00 +00:00
suggest-similar: update apidoc comment
This commit is contained in:
parent
04bb67f505
commit
908f14f92c
1 changed files with 14 additions and 8 deletions
|
@ -9,20 +9,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} ?action=suggest-similar&page={pageName} Get similar page suggestions
|
||||||
* @apiName RawSource
|
* @apiName SuggestSimilar
|
||||||
* @apiGroup Page
|
* @apiGroup Page
|
||||||
* @apiPermission Anonymous
|
* @apiPermission Anonymous
|
||||||
*
|
*
|
||||||
* @apiParam {string} page The page to return the source of.
|
* @apiParam {string} page The page to return suggestions for.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ██████ █████ ██ ██
|
* ███████ ██ ██ ██████ ██████ ███████ ███████ ████████
|
||||||
* ██ ██ ██ ██ ██ ██
|
* ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
* ██████ ███████ ██ █ ██
|
* ███████ ██ ██ ██ ███ ██ ███ █████ ███████ ██
|
||||||
* ██ ██ ██ ██ ██ ███ ██
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
* ██ ██ ██ ██ ███ ███
|
* ███████ ██████ ██████ ██████ ███████ ███████ ██
|
||||||
|
*
|
||||||
|
* ███████ ██ ███ ███ ██ ██ █████ ██████
|
||||||
|
* ██ ██ ████ ████ ██ ██ ██ ██ ██ ██
|
||||||
|
* ███████ ██ ██ ████ ██ ██ ██ ███████ ██████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ███████ ██ ██ ██ ██ ███████ ██ ██ ██ ██
|
||||||
*/
|
*/
|
||||||
add_action("suggest-similar", function() {
|
add_action("suggest-similar", function() {
|
||||||
global $pageindex, $env;
|
global $pageindex, $env;
|
||||||
|
|
Loading…
Reference in a new issue