Manual:$wgDisabledActions

Details
Array of disabled article actions, e.g. view, edit, dublincore, delete, etc.

See .

Deprecated since 1.18 and removed in 1.23.

Just set   to disable an action.

Example of converting $wgDisabledActions to $wgActions: