Add note to search page linking to query syntax on help page

This commit is contained in:
Starbeamrainbowlabs 2019-08-24 20:47:41 +01:00
parent dc63d98925
commit f160a82063
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
2 changed files with 3 additions and 3 deletions

View File

@ -135,7 +135,7 @@
"version": "0.10",
"author": "Starbeamrainbowlabs",
"description": "Adds proper search functionality to Pepperminty Wiki using an inverted index to provide a full text search engine. If pages don't show up, then you might have hit a stop word. If not, try requesting the `invindex-rebuild` action to rebuild the inverted index from scratch.",
"lastupdate": 1566672942,
"lastupdate": 1566674236,
"optional": false,
"extra_data": []
},
@ -237,7 +237,7 @@
"version": "0.9.4",
"author": "Starbeamrainbowlabs",
"description": "Adds a rather useful help page. Access through the 'help' action. This module also exposes help content added to Pepperminty Wiki's inbuilt invisible help section system.",
"lastupdate": 1566673434,
"lastupdate": 1566673475,
"optional": false,
"extra_data": []
},

View File

@ -195,7 +195,7 @@ register_module([
$content .= "can <a href='?action=edit&page=" . rawurlencode($query) . "'>create it</a>.";
}
}
$content .= "</p>";
$content .= "<br /><small><em>Pssst! Power users can make use of $settings->sitename's advanced query syntax. Learn about it <a href='?action=help#27-search'>here</a>!</em></small></p>";
if(module_exists("page-list")) {
// TODO: Refactor ths to use STAS