wiki.techinc.nl/includes/exception
Bartosz Dziewoński 708918ccbf Provide detailed information about invalid titles
includes/Title.php
* The private method Title::secureAndSplit() now throws a
  MalformedTitleException instead of returning false on invalid
  titles.
* Added Title::newFromTextThrow(), which behaves exactly like
  Title::newFromText() but throws MalformedTitleException instead of
  returning null on invalid titles.

includes/title/MediaWikiTitleCodec.php
* Provide more information with the thrown MalformedTitleExceptions.

includes/MediaWiki.php
* Use the new Title::newFromTextThrow() to get detailed error
  information, display it.

Change-Id: I4da8ecb457a77473e32d745ba48ab8505b35e45f
2015-04-30 23:50:07 +02:00
..
BadTitleError.php Provide detailed information about invalid titles 2015-04-30 23:50:07 +02:00
ErrorPageError.php Cleanup some docs (includes/[e-l]) 2014-07-24 19:43:03 +02:00
FatalError.php
HttpError.php Move MWLogger classes to MediaWiki\Logger namespace 2015-04-03 11:32:24 -07:00
MWException.php Fix phpcs errors and warnings in includes/exception 2015-03-14 19:36:51 -07:00
MWExceptionHandler.php Merge "Some cleanups to MWExceptionHandler::handleException" 2015-04-06 20:44:54 +00:00
PermissionsError.php
ReadOnlyError.php
ThrottledError.php
TimestampException.php Move TimestampException to exception directory 2014-10-06 11:03:54 +02:00
UserBlockedError.php
UserNotLoggedIn.php UserLogin: Allow extensions to add valid error messages 2014-11-03 21:28:18 +01:00