wiki.techinc.nl/includes
Brad Jorsch 426df4cd70 API: Handle Messages in errorArrayToStatus()
Two bugs here:
* If the error array contains an entry using a Message object instead of
  a string as the key, it'll blow up trying to do
  `self::$blockMsgMap[$error[0]]`.
* If the error array contains a Message object not wrapped in an array,
  it'll blow up trying to do `...(array)$error`.

Bug: T217382
Change-Id: I2a08e02bca0fb194416b3f2e6a1d6192d5c13cb2
2019-03-01 09:53:01 -05:00
..
actions actions: Improve Action class code for clarity & consistency 2019-02-25 13:28:37 +01:00
api API: Handle Messages in errorArrayToStatus() 2019-03-01 09:53:01 -05:00
auth Fix password policy handling in temporary password provider 2019-02-20 12:25:49 -08:00
block Prevent fatal PHP errors when PageRestriction::getTitle() returns null. 2019-02-07 10:06:15 -05:00
cache resourceloader: Make $rl parameter mandatory for MessageBlobStore 2019-02-19 17:16:57 +00:00
changes Avoid use of deprecated ObjectCache::getMainWANInstance method 2019-03-01 02:38:55 +00:00
changetags Remove comments literally repeating the next line of code 2019-02-27 17:28:40 +00:00
clientpool Remove comments literally repeating the next line of code 2019-02-27 17:28:40 +00:00
collation Make uca-tr use I as uppercase of dotless ı instead of reverse 2019-02-20 17:00:16 +00:00
compat Remove UtfNormal class 2018-10-22 12:17:00 -07:00
composer
config Remove comments literally repeating the next line of code 2019-02-27 17:28:40 +00:00
content Refactor calls to deprecated function Content::getNativeData() 2019-02-15 17:48:01 +00:00
context specialpage: Fix login crash caused by unknown language via ?uselang 2019-01-29 16:16:02 +00:00
dao dao: Add a type hint to getConnection() and some extra newlines 2019-01-16 14:29:53 +01:00
db rdbms: document Database::doQuery() return value 2019-03-01 02:23:27 +00:00
debug Fix lowercase in namespace of LogCapturingSpi.php 2019-02-26 13:17:09 +01:00
deferred Avoid use of deprecated ObjectCache::getMainWANInstance method 2019-03-01 02:38:55 +00:00
diff Avoid use of deprecated ObjectCache::getMainWANInstance method 2019-03-01 02:38:55 +00:00
edit
editpage Safe replacement of a lot of !count() with === [] 2019-01-15 17:28:49 +01:00
exception Drop MWExceptionHandler::getLogId(), deprecated in 1.27 and unused 2019-02-09 07:54:58 +00:00
export build: Updating mediawiki/mediawiki-codesniffer to 24.0.0 2019-02-07 18:39:42 +00:00
externalstore Add isCurrentWikiId()/isCurrentWikiDomain()/getCurrentWikiDomain() to WikiMap 2018-10-29 14:53:37 -07:00
filebackend Rename WikiMap DB domain ID methods to reduce confusion with web domains 2019-02-06 12:28:45 -08:00
filerepo Mostly drop old comment schemas 2019-02-07 16:59:27 +11:00
gallery build: Updating mediawiki/mediawiki-codesniffer to 24.0.0 2019-02-07 18:39:42 +00:00
htmlform mw.widgets.TitleWidget: Add 'excludeDynamicNamespaces' config 2019-02-14 17:26:03 -08:00
http MWHttpRequest: Include the request ID in outgoing HTTP requests 2019-02-08 19:16:13 +00:00
import import: Remove deprecated WikiRevision::$importer property 2019-02-15 08:43:02 +01:00
installer Localisation updates from https://translatewiki.net. 2019-02-28 22:04:55 +01:00
interwiki Rename WikiMap DB domain ID methods to reduce confusion with web domains 2019-02-06 12:28:45 -08:00
jobqueue Avoid use of deprecated ObjectCache::getMainWANInstance method 2019-03-01 02:38:55 +00:00
json Comments, tests, and tweaks for JSON decoding quirks 2018-11-07 13:04:21 -06:00
libs Merge "rdbms: document Database::doQuery() return value" 2019-03-01 03:00:21 +00:00
linkeddata Remove unused @throws anotation from PHPDoc comment 2019-02-11 13:01:11 +01:00
linker
logging Correct whitespace and parentheses typos in BlockLogFormatter 2019-01-30 22:46:28 -08:00
mail Drop EmailNotification::updateWatchlistTimestamp(), deprecated in 1.27 and unused 2019-02-09 12:47:14 -08:00
media Merge "Avoid use of deprecated ObjectCache::getMainWANInstance method" 2019-03-01 02:58:34 +00:00
objectcache Rename WikiMap DB domain ID methods to reduce confusion with web domains 2019-02-06 12:28:45 -08:00
page Avoid use of deprecated ObjectCache::getMainWANInstance method 2019-03-01 02:38:55 +00:00
pager TablePager: Reduce pagination button in visual strength 2019-01-17 16:56:21 -08:00
parser Remove comments literally repeating the next line of code 2019-02-27 17:28:40 +00:00
password Merge "Fix grammar in UserPasswordPolicy documentation" 2019-02-22 09:33:27 +00:00
poolcounter Re-namespace RevisionStore and RevisionRecord classes 2018-10-09 10:22:48 -04:00
preferences Merge "Remove comments literally repeating the next line of code" 2019-03-01 02:37:27 +00:00
profiler build: Updating mediawiki/mediawiki-codesniffer to 24.0.0 2019-02-07 18:39:42 +00:00
rcfeed Rename WikiMap DB domain ID methods to reduce confusion with web domains 2019-02-06 12:28:45 -08:00
registration resourceloader: Support TestModules registration via extension.json 2019-02-05 15:27:37 -08:00
resourceloader Merge "Avoid use of deprecated ObjectCache::getMainWANInstance method" 2019-03-01 02:58:34 +00:00
Revision Fix documentation for RevisionRecord::$mPageId 2019-01-15 14:42:50 +01:00
revisiondelete Remove comments literally repeating the next line of code 2019-02-27 17:28:40 +00:00
search Drop SearchEngine::getNearMatchResultSet(), deprecated in 1.27 and unused 2019-02-09 08:43:30 +00:00
session Drop SessionManager::autoCreateUser(), deprecated in 1.27 and unused 2019-02-09 13:45:03 -08:00
shell Update AtEase calls to use Wikimedia namespace 2019-02-12 23:48:31 +00:00
site Drop SiteSQLStore, deprecated in 1.27, unused 2019-02-08 17:43:33 -08:00
skins Soft deprecate QuickTemplate::msgWiki() 2019-02-01 13:25:18 -08:00
sparql Use english for message text in SparqlException 2018-12-09 11:18:32 +01:00
specialpage Avoid use of deprecated ObjectCache::getMainWANInstance method 2019-03-01 02:38:55 +00:00
specials Remove comments literally repeating the next line of code 2019-02-27 17:28:40 +00:00
Storage Remove a few obscure "done" and "empty" comments 2019-01-30 20:35:14 +00:00
templates EnhancedChangesList: Load style module via addModuleStyles() 2019-02-12 01:29:36 +01:00
tidy RemexCompatMunger: Don't split p-wrapping on style/link tags 2019-01-30 09:10:24 -08:00
title No yoda conditions 2018-11-21 17:54:39 +01:00
upload Move upload stash related exceptions to own files 2019-02-06 22:22:01 +01:00
user Remove comments literally repeating the next line of code 2019-02-27 17:28:40 +00:00
utils Better detection for old MS Office files 2019-01-23 09:23:17 +11:00
watcheditem Merge "Exception is never thrown in the getConnection() method" 2019-02-11 15:07:41 +00:00
widget Merge "mw.widgets.TitleWidget: Add 'excludeDynamicNamespaces' config" 2019-02-21 15:26:00 +00:00
.htaccess
ActorMigration.php ActorMigration: Remove possibility of read-both 2018-10-11 12:12:00 +11:00
AjaxDispatcher.php
AjaxResponse.php Avoid use of deprecated ObjectCache::getMainWANInstance method 2019-03-01 02:38:55 +00:00
AuthPlugin.php
AutoLoader.php build: Updating mediawiki/mediawiki-codesniffer to 24.0.0 2019-02-07 18:39:42 +00:00
Autopromote.php
Block.php Remove Target/User validation from Block::appliesToUsertalk() 2019-02-25 15:22:21 -05:00
CategoriesRdf.php
Category.php
CategoryFinder.php
CategoryViewer.php
CommentStore.php Mostly drop old comment schemas 2019-02-07 16:59:27 +11:00
CommentStoreComment.php Fix CommentStoreComment RawMessage construction 2019-02-13 11:17:10 -05:00
ConfiguredReadOnlyMode.php
ContentSecurityPolicy.php
DefaultSettings.php Merge "Add Priority Hints support" 2019-02-25 20:31:59 +00:00
Defines.php Update @deprecated comment for the DB_SLAVE constant 2019-02-12 13:05:03 +01:00
DeprecatedGlobal.php
DerivativeRequest.php Fix IP handling in DerivativeRequest 2018-10-31 20:34:58 -07:00
DevelopmentSettings.php
DummyLinker.php Drop Linker::formatTemplates, deprecated in 1.28 and unused 2019-02-08 17:43:33 -08:00
EditPage.php Mostly drop old comment schemas 2019-02-07 16:59:27 +11:00
EventRelayerGroup.php Drop EventRelayerGroup::singleton(), deprecated in 1.27 and unused 2019-02-09 07:15:34 +00:00
FauxRequest.php
Feed.php
FeedUtils.php Avoid use of deprecated ObjectCache::getMainWANInstance method 2019-03-01 02:38:55 +00:00
FileDeleteForm.php Mostly drop old comment schemas 2019-02-07 16:59:27 +11:00
ForeignResourceManager.php ForeignResourceManager: Catch responses other than 200 OK 2019-02-21 23:47:40 +00:00
ForkController.php
FormOptions.php
GitInfo.php build: Updating mediawiki/mediawiki-codesniffer to 24.0.0 2019-02-07 18:39:42 +00:00
GlobalFunctions.php Prevent PHP notice on SpecialDeletedContributions 2019-02-15 18:45:09 +00:00
HeaderCallback.php
HistoryBlob.php Safe replacement of a lot of !count() with === [] 2019-01-15 17:28:49 +01:00
Hooks.php
Html.php Remove comments literally repeating the next line of code 2019-02-27 17:28:40 +00:00
Linker.php Merge "Linker: Remove some else statements, and unnecessary temporary variables" 2019-02-11 00:43:31 +00:00
LinkFilter.php Refactor calls to deprecated function Content::getNativeData() 2019-02-15 17:48:01 +00:00
ListToggle.php
MagicWord.php
MagicWordArray.php
MagicWordFactory.php Add a way to exclude categories from Special:UnusedCategories 2018-11-16 13:32:27 +00:00
MediaWiki.php Persist sessions pre-send instead of post-send 2019-02-06 14:28:02 -08:00
MediaWikiServices.php resourceloader: Instantiate main class via ServiceWiring 2019-02-18 17:55:09 +00:00
MediaWikiVersionFetcher.php
MergeHistory.php
Message.php Message: Don't include Title objects in the serialization (part 2) 2018-12-14 14:20:41 +00:00
MovePage.php build: Updating mediawiki/mediawiki-codesniffer to 24.0.0 2019-02-07 18:39:42 +00:00
MWGrants.php
MWNamespace.php [MCR] Introduce SlotRoleHandler and SlotRoleRegistry 2018-11-30 12:29:05 -08:00
MWTimestamp.php Remove unnecesary else blocks 2018-09-24 14:08:31 +01:00
NoLocalSettings.php
OrderedStreamingForkController.php Minor OrderedStreamingForkController improvements 2018-10-10 22:37:02 +01:00
OutputHandler.php
OutputPage.php Chrome Origin Trial support 2019-02-25 18:11:35 +01:00
PageProps.php
PathRouter.php
PHPVersionCheck.php Update required PHP version to 7.0.13 2019-02-14 11:29:48 -08:00
Pingback.php
Preferences.php Preferences class deprecation, step 2 2018-11-05 10:53:43 -08:00
PrefixSearch.php
ProtectionForm.php ProtectionForm: Move JS config var to RL packageFiles 2019-02-11 12:20:01 +01:00
ProxyLookup.php
RawMessage.php
ReadOnlyMode.php
Revision.php Merge "Fix documentation for Revision::getComment and WikiPage::getComment" 2019-02-16 10:59:48 +00:00
RevisionList.php
ServiceWiring.php resourceloader: Instantiate main class via ServiceWiring 2019-02-18 17:55:09 +00:00
Setup.php objectcache: remove dangling WAN cache EventRelayer references 2019-02-16 20:22:32 -08:00
SiteConfiguration.php Use DB domain in JobQueueGroup and make WikiMap domain ID methods stricter 2018-11-07 04:46:56 +00:00
SiteStats.php Fix caller name in SiteStats::numberingroup/pagesInNs 2018-09-30 15:41:19 +02:00
SiteStatsInit.php
Status.php Add missing @return PHPDoc to __sleep() function 2019-01-24 21:17:47 +01:00
StreamFile.php
StubObject.php
TemplateParser.php
TemplatesOnThisPageFormatter.php
Title.php Avoid use of deprecated ObjectCache::getMainWANInstance method 2019-03-01 02:38:55 +00:00
TitleArray.php
TitleArrayFromResult.php
TrackingCategories.php
WebRequest.php
WebRequestUpload.php
WebResponse.php
WebStart.php
WikiMap.php Rename WikiMap DB domain ID methods to reduce confusion with web domains 2019-02-06 12:28:45 -08:00
WikiReference.php
Xml.php
XmlJsCode.php ResourceLoader: Add support for packageFiles 2019-02-05 22:05:02 +00:00
XmlSelect.php XmlSelect: Fix PHPDoc param comments for addOption() & formatOptions() 2018-12-22 00:10:43 +00:00