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

           Summary: 'BeforePageDisplay' hook is not being called in
                    Extension:UsabilityInitiative r62695 with "Vector
                    enhancements" turned on
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Vector Skin
        AssignedTo: tpars...@wikimedia.org
        ReportedBy: c...@uniyar.ac.ru


I am trying to make sure that my (yet unreleased) extension will work with
future versions of MediaWiki. My extension needs a hook 'BeforePageDisplay' to
process and generate some data. With js2-work r62694 and
Extension:UsabilityInitiative r62695 and having in LocalSettings.php:

# Vector enhancements (CollapsibleTabs, SimpleSearch, EditWarning)
require_once( "$IP/extensions/UsabilityInitiative/Vector/Vector.php" );

'BeforePageDisplay' is not called. When I comment out the second line:

#require_once( "$IP/extensions/UsabilityInitiative/Vector/Vector.php" );

'BeforePageDisplay' works again.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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