1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-15 22:34:51 +00:00

Move manage-acl page control into multiwikiclient plugin

@webplusai otherwise the control shows up for all wikis built with this version of the core, including those that don't include any MWS plugins. They get an "Undefined widget 'action-managetiddler'" error
This commit is contained in:
Jeremy Ruston 2024-11-15 21:24:47 +00:00
parent 31a7d648e5
commit 0f558a1442
3 changed files with 5 additions and 6 deletions

View File

@ -159,8 +159,6 @@ ListBullet/Caption: bulleted list
ListBullet/Hint: Apply bulleted list formatting to lines containing selection ListBullet/Hint: Apply bulleted list formatting to lines containing selection
ListNumber/Caption: numbered list ListNumber/Caption: numbered list
ListNumber/Hint: Apply numbered list formatting to lines containing selection ListNumber/Hint: Apply numbered list formatting to lines containing selection
ManageACL/Caption: manage access control
ManageACL/Hint: Manage access control configuration for this wiki
MonoBlock/Caption: monospaced block MonoBlock/Caption: monospaced block
MonoBlock/Hint: Apply monospaced block formatting to lines containing selection MonoBlock/Hint: Apply monospaced block formatting to lines containing selection
MonoLine/Caption: monospaced MonoLine/Caption: monospaced

View File

@ -1,2 +1,2 @@
title: $:/tags/PageControls title: $:/tags/PageControls
list: [[$:/core/ui/Buttons/home]] [[$:/core/ui/Buttons/close-all]] [[$:/core/ui/Buttons/fold-all]] [[$:/core/ui/Buttons/unfold-all]] [[$:/core/ui/Buttons/permaview]] [[$:/core/ui/Buttons/new-tiddler]] [[$:/core/ui/Buttons/new-journal]] [[$:/core/ui/Buttons/new-image]] [[$:/core/ui/Buttons/import]] [[$:/core/ui/Buttons/export-page]] [[$:/core/ui/Buttons/control-panel]] [[$:/core/ui/Buttons/advanced-search]] [[$:/core/ui/Buttons/manager]] [[$:/core/ui/Buttons/tag-manager]] [[$:/core/ui/Buttons/language]] [[$:/core/ui/Buttons/palette]] [[$:/core/ui/Buttons/theme]] [[$:/core/ui/Buttons/layout]] [[$:/core/ui/Buttons/storyview]] [[$:/core/ui/Buttons/encryption]] [[$:/core/ui/Buttons/manage-acl]] [[$:/core/ui/Buttons/timestamp]] [[$:/core/ui/Buttons/full-screen]] [[$:/core/ui/Buttons/print]] [[$:/core/ui/Buttons/save-wiki]] [[$:/core/ui/Buttons/refresh]] [[$:/core/ui/Buttons/network-activity]] [[$:/core/ui/Buttons/more-page-actions]] list: [[$:/core/ui/Buttons/home]] [[$:/core/ui/Buttons/close-all]] [[$:/core/ui/Buttons/fold-all]] [[$:/core/ui/Buttons/unfold-all]] [[$:/core/ui/Buttons/permaview]] [[$:/core/ui/Buttons/new-tiddler]] [[$:/core/ui/Buttons/new-journal]] [[$:/core/ui/Buttons/new-image]] [[$:/core/ui/Buttons/import]] [[$:/core/ui/Buttons/export-page]] [[$:/core/ui/Buttons/control-panel]] [[$:/core/ui/Buttons/advanced-search]] [[$:/core/ui/Buttons/manager]] [[$:/core/ui/Buttons/tag-manager]] [[$:/core/ui/Buttons/language]] [[$:/core/ui/Buttons/palette]] [[$:/core/ui/Buttons/theme]] [[$:/core/ui/Buttons/layout]] [[$:/core/ui/Buttons/storyview]] [[$:/core/ui/Buttons/encryption]] [[$:/core/ui/Buttons/timestamp]] [[$:/core/ui/Buttons/full-screen]] [[$:/core/ui/Buttons/print]] [[$:/core/ui/Buttons/save-wiki]] [[$:/core/ui/Buttons/refresh]] [[$:/core/ui/Buttons/network-activity]] [[$:/core/ui/Buttons/more-page-actions]]

View File

@ -1,10 +1,11 @@
title: $:/core/ui/Buttons/manage-acl title: $:/core/ui/Buttons/manage-acl
tags: $:/tags/PageControls tags: $:/tags/PageControls
caption: {{$:/core/images/globe}} {{$:/language/Buttons/ManageACL/Caption}} caption: {{$:/core/images/globe}} manage access control
description: {{$:/language/Buttons/ManageACL/Hint}} description: Manage access control configuration for this wiki
list-after: $:/core/ui/Buttons/encryption
\whitespace trim \whitespace trim
<$button tooltip={{$:/language/Buttons/ManageACL/Hint}} aria-label={{$:/language/Buttons/ManageACL/Caption}} class=<<tv-config-toolbar-class>>> <$button tooltip="Manage access control configuration for this wiki" aria-label="manage access control" class=<<tv-config-toolbar-class>>>
<$action-managetiddler tiddler=<<currentTiddler>>/> <$action-managetiddler tiddler=<<currentTiddler>>/>
{{$:/core/images/globe}} {{$:/core/images/globe}}
<%if [<tv-config-toolbar-text>match[yes]] %> <%if [<tv-config-toolbar-text>match[yes]] %>