1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-29 06:23:01 +00:00

Refactor the default peppermint.json nav more menu value

....but the supporting backend code isn't there yet.
This commit is contained in:
Starbeamrainbowlabs 2019-08-29 00:16:13 +01:00
parent 0427f8818f
commit 2c37d77f82
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -69,52 +69,60 @@
], ],
"menu" "menu"
]}, ]},
"nav_links_extra": { "type": "nav", "description": "An array of additional links in the above format that will be shown under \"More\" subsection.", "default": [ "nav_links_extra": { "type": "nav", "description": "An array of additional links in the above format that will be shown under \"More\" subsection.", "default": {
[ "Page": [
"⌛ Page History", [
"?action=history&page={page}" "⌛ Page History",
"?action=history&page={page}"
],
[
"📤 Upload",
"index.php?action=upload"
]
], ],
[ "Navigation": [
"🎫 All Tags", [
"index.php?action=list-tags" "🎫 All Tags",
"index.php?action=list-tags"
],
[
"🎊 Random Page",
"?action=random"
],
[
"📅 Recent changes",
"?action=recent-changes"
]
], ],
[ "Wiki": [
"👥 All Users", [
"index.php?action=user-list" "📊 Statistics",
"?action=stats"
],
[
"👥 All Users",
"index.php?action=user-list"
]
], ],
[ "Moderator": [
"🎊 Random Page", [
"?action=random" "◆ 🚫 Delete",
], "index.php?action=delete&page={page}"
[ ],
"🗓 Recent changes", [
"?action=recent-changes" "◆ 🚠 Move",
], "index.php?action=move&page={page}"
[ ],
"📊 Statistics", [
"?action=stats" "◆ 🔐 Toggle Protection",
], "index.php?action=protect&page={page}"
[ ],
"🌥 Upload", [
"index.php?action=upload" "◆ 🔧 Edit master settings",
], "index.php?action=configure"
[ ]
"◆ 🚫 Delete",
"index.php?action=delete&page={page}"
],
[
"◆ 🚠 Move",
"index.php?action=move&page={page}"
],
[
"◆ 🔐 Toggle Protection",
"index.php?action=protect&page={page}"
],
[
"◆ 🔧 Edit master settings",
"index.php?action=configure"
] ]
]}, } },
"nav_links_bottom": { "type": "nav", "description": "An array of links in the above format that will be shown at the bottom of the page.", "default": [ "nav_links_bottom": { "type": "nav", "description": "An array of links in the above format that will be shown at the bottom of the page.", "default": [
[ [
"🖨 Printable version", "🖨 Printable version",