Plugin Preference | |
|
Parameters | |||||||||||||||
Allows to edit a preference by anyone that has permissions to see the current page Required parameters are in bold .Go to the source code Preferences required: wikiplugin_preference
|
Examples | |
Basic syntax | |
Copy to clipboard
Once the page is saved, the preference appears there as it would appear in the control panel, so it can be modified.
|
Some preferences | |
Similarly for a single preference, you can add several preferences, this time separated by commas, as shown in the settings table. Copy to clipboard
The above code in a Wiki page will give:
|
Security | |
Users | |
This plugin is not displayed to anonymous users. For other users, those in the Registered group for example, if they have permission to edit the wiki page on which the plugin is embedded, they can change the plugin's parameter values and must wait for admin approval.
|
Wiki page | |
When the plugin loads, it makes sure that the current page matches the current wiki page's parameter value, which prevents someone from using an approved plugin on another page with different permissions. |
Aliases | |