Jump to content

Manual talk:$wgHooks

Add topic
From mediawiki.org
Latest comment: 12 years ago by יוסף שמח in topic Hooks::$handlers

Hooks::$handlers

[edit]

Is this up to date? I see the new (1.20) Hooks.php has a static $handlers array which seems to be trying to replace $wgHooks. Can someone clarify this? יוסף שמח (talk) 09:47, 14 November 2012 (UTC)Reply

Shouldn't this be in extension.json by now?

[edit]

i.e.

	"Hooks": {
		"HookName": [
			"ExtensionName::functionName"
		]
	},