Loading...
 
Skip to main content

Improved include in wiki pages

Status
Closed
Subject
Improved include in wiki pages
Version
23.x
24.x
Category
  • Easy for Newbie Dev
  • Feature request
Feature
Wiki (page view, edit, history, rename, etc)
Wiki Syntax (text area, parser, external wiki, etc)
Resolution status
New
Submitted by
Jonah Thomas
Lastmod by
Jonah Thomas
Rating
(1)
Description

1. The command is tremendously useful for naive wiki users who add content. It lets them create macros and re-use them at will.

So I suggest that this might deserve an alias {macro } and deserve a description in the wiki syntax help.

Also a slight simplification. If there is no ‘page=”name”’ text but there is {macro “name”} then use “name” anyway.

Any user could do {macro “myheader”} at the top and {macro “myfooter”} at the bottom and {macro “myusualrant”} wherever they want. They just have to make an orphan wiki page for each macro they want.

2. This is so useful and flexible that you might deprecate the “apply content template” thing on the Properties tab. It is hardly any easier to use, and it allows the user to choose only one macro at the beginning. It should keep working for the users who have already used it, but there’s no particular reason for anyone to use it again.

3. To really put the icing on the cake, you might let admins have two macros for each user page, one at the top and one at the bottom. These should not be visible when the user edits the page. So for each page category, the admin could decorate it a special way. Some might automatically get polls or other info visible. Or dancing bunnies, or whatever. It lets admins customize user wiki pages without coding, in ways that are hard to do without coding now. Without annoying users with the displayed calls on their edit pages which they might edit wrongly.

Solution

Put the Include plugin token on the user menu in the wiki editor.

It might be valuable to have this as the default case, or maybe not.
Maybe it would be better to let users make their own Content Menus, and make that choice more prominent. Or maybe not.

Workaround

Solution #1.
Image

Solution #2.
Image

Importance
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7832
Created
Wednesday 22 September, 2021 19:51:54 UTC
by Jonah Thomas
LastModif
Friday 01 October, 2021 20:46:13 UTC


Show PHP error messages