HomePhabricator

Fix fatal "Call to setExpectation() on non-object" in MediaWiki::main()

Authored by Krinkle.

Description

Fix fatal "Call to setExpectation() on non-object" in MediaWiki::main()

Follows-up b403a757726e, 2762888e0d0ee50d.

Caught by the qunit tests via Special:RunJobs. The test is still
work-in-progress (T50002) but it's already paying off :)

Change-Id: Idb37ecb97ff77950a981bfe10a46f27e532e1abb

Details