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

            Bug ID: 67598
           Summary: EducationProgram dies if cldr is required after it
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: EducationProgram
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
            Blocks: 67216
       Web browser: ---
   Mobile Platform: ---

EducationProgram dies whenever it is missing the cldr extension which it relies
on.  To run unit tests in Jenkins, we clone the extensions and have them loaded
using scandir() which can yield EducationProgram before cldr.  The tests thus
abort because EducationProgram.php is loaded first.

Seems the EducationProgram entry points does do that much and we have a
SetupAfterCache hook in Setup.php  which could be used to implement the check. 
The hook run after LocalSettings and all require_once(extensions/*) has been 
completed so that should be safe.


That prevents us from enrolling EducationProgram in a massive jenkins job that
tests all extensions together (bug 67216).

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to