https://bugzilla.wikimedia.org/show_bug.cgi?id=25292

           Summary: SkinSubPageSubtitle described as taking 2 parameters,
                    but only implements 1
           Product: MediaWiki
           Version: 1.16.0
          Platform: All
               URL: http://www.mediawiki.org/wiki/Manual:Hooks/SkinSubPage
                    Subtitle
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Page rendering
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: jus...@gleicher.net


The hook SkinSubPageSubtitle is listed as taking in 2 parameters, the Skin
object and the Subtitles variable
(http://www.mediawiki.org/wiki/Manual:Hooks/SkinSubPageSubtitle). 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.
-Justin

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to