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

           Summary: Incompatible calls to SkinTemplateTabs hook
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: easy
          Severity: normal
          Priority: Normal
         Component: General/Unknown
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: b...@juliano.info


Skin::extensionTabLinks() in Skin.php calls:

    wfRunHooks( 'SkinTemplateTabs', array( $this, &$tabs ) );


SkinTemplate::buildContentActionUrls() in SkinTemplate.php calls:

    wfRunHooks( 'SkinTemplateTabs', array( &$this, &$content_actions ) );


Note the presence of & reference operator applied on $this in the SkinTemplate
call. Both calls should be compatible. Probably the first one is correct,
according to the documentation in
http://www.mediawiki.org/wiki/Manual:Hooks/SkinTemplateTabs .


-- 
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