Not to be confused with PluginPref
ParametersAllows to edit a preference by anyone that has permissions to see the current pageRequired parameters are in bold .Go to the source code Preferences required: wikiplugin_preference
ExamplesBasic syntaxCopy 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 preferencesSimilarly 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:
SecurityUsersThis 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 pageWhen 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 |