Manual:$wgActions/zh

详情
Array of allowed values for the "action" parameter for normal pages.

语法：


 * - Load the specified class which subclasses
 * - Load the class FooAction which subclasses Action
 * - The action is disabled; show an error message

Disable an action
To disable an action just add the following e.g. for the "raw" action to your "LocalSettings.php" file:

Unsetting core actions will probably cause things to complain loudly.