Updated mediawiki/extensions
Project: mediawiki/extensions/WikimediaEvents  b9757d5846fd32a1daba2a87e107c5e85f3ea854

Move hooks into hooks class

This will allow adding protected helper methods, which I will in my
next commit.

Change-Id: I63336e3d02ab2da6004184a0b51a6e5af7a2821d
Updated mediawiki/extensions
Project: mediawiki/extensions/Scribunto  29452c9bef7668dc01b58e2bf2da01c36f8af2dc

mw.language: Fix exceptions and add tests

Various methods are throwing exceptions when passed invalid language
codes. Those need to be caught.

And we should really add unit tests for the mw.language library, too.
Doing so exposed another bug (in lang:gender), which is also fixed here.

Bug: 62242
Change-Id: Ib7d257cbb1ce179c510273526910d6ac5f3cac5d