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

Add history link to "More..." menu.

This commit is contained in:
Starbeamrainbowlabs 2016-06-04 20:19:41 +01:00
parent cb31dadb9f
commit ff577f1ed8
3 changed files with 3 additions and 1 deletions

View file

@ -174,6 +174,7 @@ $settings->nav_links = [
// An array of additional links in the above format that will be shown under // An array of additional links in the above format that will be shown under
// "More" subsection. // "More" subsection.
$settings->nav_links_extra = [ $settings->nav_links_extra = [
[ "🕓 Page History", "?action=history&page={page}" ],
[ "🎫 All Tags", "index.php?action=list-tags" ], [ "🎫 All Tags", "index.php?action=list-tags" ],
[ "Recent changes", "?action=recent-changes" ], [ "Recent changes", "?action=recent-changes" ],
[ "🡅 Upload", "index.php?action=upload" ], [ "🡅 Upload", "index.php?action=upload" ],

View file

@ -41,7 +41,7 @@
"author": "Starbeamrainbowlabs", "author": "Starbeamrainbowlabs",
"description": "Adds the ability to keep unlimited page history, limited only by your disk space. Note that this doesn't store file history (yet). Currently depends on feature-recent-changes for rendering of the history page.", "description": "Adds the ability to keep unlimited page history, limited only by your disk space. Note that this doesn't store file history (yet). Currently depends on feature-recent-changes for rendering of the history page.",
"id": "feature-history", "id": "feature-history",
"lastupdate": 1465067564, "lastupdate": 1465067778,
"optional": false "optional": false
}, },
{ {

View file

@ -171,6 +171,7 @@ $settings->nav_links = [
// An array of additional links in the above format that will be shown under // An array of additional links in the above format that will be shown under
// "More" subsection. // "More" subsection.
$settings->nav_links_extra = [ $settings->nav_links_extra = [
[ "🕓 Page History", "?action=history&page={page}" ],
[ "🎫 All Tags", "index.php?action=list-tags" ], [ "🎫 All Tags", "index.php?action=list-tags" ],
[ "Recent changes", "?action=recent-changes" ], [ "Recent changes", "?action=recent-changes" ],
[ "🡅 Upload", "index.php?action=upload" ], [ "🡅 Upload", "index.php?action=upload" ],