Go to file
Timo Tijhof d833b09532 Update mock wgEchoConfig to also run on Special:JavaScript/qunit/plain
Follows-up 8d12ef9.

Tests were failing because wgEchoConfig was undefined and ext.base.js
accesses wgEchoConfig.eventlogging.

This mock should not be needed. Modules should be loadable at any
time and react to the current environment. If they should not do
anything, the client should be able to determine that. Perhaps
an isAnon() or some property wgEchoConfig to indicate this.

It only being loaded from beforePageDisplay() when logged-in is a
load optimisation, not business logic. wgEchoConfig should always
be there, or the code should handle the case of it not being there.

Change-Id: Ide90adf20e583921c9f3bd5cd37057995aa3d2c3
2015-03-21 02:47:47 +00:00
api Remove obvious function-level profiling 2015-02-10 14:32:58 -08:00
controller Add job to keep user notifications in reasonable volume 2014-09-29 23:10:18 +00:00
db_patches Add TargetPage model and mapper to notifications 2014-08-13 00:48:07 +00:00
formatters Add emailsubject as a distribution type 2014-09-12 20:32:27 +00:00
i18n Localisation updates from https://translatewiki.net. 2015-03-20 21:32:10 +01:00
includes Merge "Hygiene: Remove unused method on EchoTargetPageMapper" 2015-03-20 12:26:23 +00:00
jobs Add job to keep user notifications in reasonable volume 2014-09-29 23:10:18 +00:00
maintenance Delete invalid records from echo_target_page 2014-08-19 11:34:01 -07:00
model Merge "Fallback to master lookup for title when lookup in slave fails" 2014-08-27 22:52:35 +00:00
modules Use mw-ui-anchor class 2015-03-02 20:16:31 -05:00
scripts Hygiene: Use the core AutoloadGenerator 2014-11-19 09:16:43 -08:00
special SpecialNotifications: Use a constant 2014-10-11 12:15:30 -07:00
tests Merge "Hygiene: Remove unused method on EchoTargetPageMapper" 2015-03-20 12:26:23 +00:00
.gitignore Ignore browser test screenshots 2014-09-30 13:34:28 -07:00
.gitreview Add .gitreview file 2012-04-28 01:26:21 +10:00
.jshintignore Add ability to run QUnit tests 2014-08-01 15:55:22 -07:00
.jshintrc Add .jshintrc 2013-04-18 00:36:08 +02:00
.rubocop.yml QA: rubocop fixes broke the tests in the builds 2015-02-23 09:44:41 -07:00
.rubocop_todo.yml QA: rubocop fixes broke the tests in the builds 2015-02-23 09:44:41 -07:00
autoload.php Hygiene: Use the core AutoloadGenerator 2014-11-19 09:16:43 -08:00
COPYING Add COPYING 2014-01-24 16:00:24 -08:00
Echo.alias.php Localisation updates from https://translatewiki.net. 2015-01-23 22:25:57 +01:00
Echo.i18n.php Update i18n shim 2014-04-22 13:18:45 +00:00
Echo.php "More info" link on Special:Notifications has broken localisation 2015-02-26 12:18:58 -08:00
echo.sql Add TargetPage model and mapper to notifications 2014-08-13 00:48:07 +00:00
Gemfile QA update for single quote preference 2014-11-10 14:21:28 -07:00
Gemfile.lock QA: update Ruby gems for mediawiki-selenium 2015-02-09 13:38:16 -07:00
Hooks.php Update mock wgEchoConfig to also run on Special:JavaScript/qunit/plain 2015-03-21 02:47:47 +00:00
Makefile Hygiene: Dont run jshint against .less files 2014-09-05 16:45:34 -07:00
Notifier.php Use MailAddress::newFromUser() 2014-09-21 18:25:14 -07:00
package.json Directory reshuffle, add dev tools 2014-08-01 22:38:41 +00:00
Resources.php Hygiene: Alter how initialisation of the overlay works 2014-09-12 22:49:51 +00:00