Index: trunk/extensions/EducationProgram/resources/ep.js |
— | — | @@ -26,7 +26,7 @@ |
27 | 27 | } ); |
28 | 28 | |
29 | 29 | mw.loader.using( 'mediawiki.language', function() { |
30 | | - window.educationProgram.compatMode = typeof window.mediaWiki.language.gender === 'undefined'; |
| 30 | + window.educationProgram.compatMode = typeof window.mediaWiki.language === 'undefined'; |
31 | 31 | |
32 | 32 | if ( window.educationProgram.compatMode ) { |
33 | 33 | mw.language.gender = function( gender, forms ) { |