MediaWikiServices: Import NoSuchServiceException
authorSam Smith <git@samsmith.io>
Wed, 31 Aug 2016 10:46:02 +0000 (11:46 +0100)
committerSam Smith <git@samsmith.io>
Wed, 31 Aug 2016 10:59:23 +0000 (11:59 +0100)
commite77e7f2fde080a10e7290607faadb0bd328fe9f3
tree9c0b7d22958891dc01b2dafd15f800f28a212adb
parent52511952de7b716e3e7771366852170049afb072
MediaWikiServices: Import NoSuchServiceException

NoSuchServiceException is in the MediaWiki\Services namespace. Since the
MediaWikiServices class is in the MediaWiki namespace, the

  catch ( NoSuchServiceException $e )

line added in Ifc587d61 will fail to catch any exception.

Co-Author: Paladox <thomasmulhall410@yahoo.com>
Bug: T143974
Change-Id: I903336c85c0bb9fb259f475f37959136e2ff7eca
includes/MediaWikiServices.php