Template talk:MediaWikiHook

About this board

Previous discussion was archived at Template talk:MediaWikiHook/Archive 1 on 19 March 2019.

New hook handler syntax

1
Lens0021 (talkcontribs)

I think this template should support new system with backward compatibility.

class MyHandler implements \MediaWiki\Hook\MyHook {
  public function onMyHook( $x, $y ) { ... }
}

Possibly related to phab:T252060.

Reply to "New hook handler syntax"

Hiding the <1.25 "how to use" for newer hooks

1
Jdforrester (WMF) (talkcontribs)

Anyone feel like doing this? The wikitext code is a bit complex. :-)

Reply to "Hiding the <1.25 "how to use" for newer hooks"
There are no older topics