Page MenuHomePhabricator

SkinSubPageSubtitle described as taking 2 parameters, but only implements 1
Closed, ResolvedPublic


Author: justin

The hook SkinSubPageSubtitle is listed as taking in 2 parameters, the Skin object and the Subtitles variable ( The actual hook only implements the passing of the subtitles variable on (approximately) line 1144 of Skin.php:

if( !wfRunHooks( 'SkinSubPageSubtitle', array( &$subpages ) ) )

Passing the Skin object would prove immensely helpful in the creation of my extension to modify the subpages display, as the mTitle object is protected.

Let me know if you have any questions, or if I missed something in using this hook.

Version: 1.16.x
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:16 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz25292.
bzimport added a subscriber: Unknown Object (MLST).