wiki.techinc.nl/includes/api
Brad Jorsch 3041b5c038 Add Message::listParam()
This allows for passing a list of values that will be turned into a list
in the context of the language for which the Message is being processed.

For example, currently you'd have to do

 $msg = new Message( 'something', [ $language->commaList( $list ) ] );

which isn't going to give correct results if the message is later
changed to a different language with a different value for
'comma-separator'.

Now, you can do this instead

 $msg = new Message( 'something', [ Message::listParam( $list, 'comma' ) ] );

and it will be listified properly no matter what language is later used to
parse $msg.

Change-Id: I66868c61832260870449998fef14c842f17753ee
2016-11-30 15:54:17 +00:00
..
i18n Localisation updates from https://translatewiki.net. 2016-11-28 22:04:28 +01:00
ApiAMCreateAccount.php Include AuthManager API endpoints in authmanager channel 2016-08-05 02:17:28 +00:00
ApiAuthManagerHelper.php API: Error if sensitive AuthManager parameters are in the query string 2016-10-31 13:45:35 -04:00
ApiBase.php Add PARAM_ALL setting for multi-option API parameters 2016-11-22 04:10:38 +00:00
ApiBlock.php
ApiChangeAuthenticationData.php Call ChangeAuthenticationDataAudit from the API 2016-06-07 13:47:12 +00:00
ApiCheckToken.php Added warning for improper ending of a token 2016-11-30 07:39:00 +02:00
ApiClearHasMsg.php API: Make action=clearhasmsg require POST 2016-11-29 14:42:14 -05:00
ApiClientLogin.php Include AuthManager API endpoints in authmanager channel 2016-08-05 02:17:28 +00:00
ApiComparePages.php
ApiContinuationManager.php API: Add generator non-continuation data 2016-09-21 15:18:33 -04:00
ApiCSPReport.php Remove a few unused variables 2016-09-26 17:03:32 -07:00
ApiDelete.php Move tagging of API deletions to RC save 2016-09-21 19:18:28 +02:00
ApiDisabled.php
ApiEditPage.php Replace WikiPage::doEdit() usages 2016-09-15 21:25:32 +01:00
ApiEmailUser.php
ApiErrorFormatter.php API: Some raw message cleanup 2016-08-24 13:19:52 -04:00
ApiExpandTemplates.php Don't mention $wgUser, it's ugly and it messes my grep-fu 2016-09-02 11:15:28 -07:00
ApiFeedContributions.php Allow minor edits to be filtered out of Special:Contributions 2016-06-01 21:00:07 +10:00
ApiFeedRecentChanges.php
ApiFeedWatchlist.php
ApiFileRevert.php
ApiFormatBase.php API: Pretty-printed responses should always use HTTP status 200 2016-11-09 12:03:40 -05:00
ApiFormatFeedWrapper.php
ApiFormatJson.php API: Remove deprecated methods 2016-09-20 17:21:00 -04:00
ApiFormatNone.php
ApiFormatPhp.php SECURITY: Improve cross-domain-policy mangling 2016-05-20 09:48:11 -07:00
ApiFormatRaw.php
ApiFormatXml.php
ApiHelp.php Add PARAM_ALL setting for multi-option API parameters 2016-11-22 04:10:38 +00:00
ApiHelpParamValueMessage.php ApiHelp: Add directionality to various things that are likely English-like 2016-07-26 12:59:17 -04:00
ApiImageRotate.php API: Add a 'known' property when missing-but-known titles are output 2016-10-11 12:18:08 -04:00
ApiImport.php
ApiLinkAccount.php Remove unused imports 2016-07-05 16:52:22 +02:00
ApiLogin.php Merge "API: Remove deprecated response values from action=login" 2016-10-11 16:27:54 +00:00
ApiLogout.php
ApiMain.php Merge "API: Pretty-printed responses should always use HTTP status 200" 2016-11-10 21:02:03 +00:00
ApiManageTags.php Split off permission to delete tags from managechangetags permission 2016-05-12 21:11:04 +00:00
ApiMergeHistory.php
ApiMessage.php
ApiModuleManager.php Clean up array() in docs, Part I 2016-07-25 17:15:18 +04:30
ApiMove.php SECURITY: Rate limit moves via the API 2016-05-20 09:49:33 -07:00
ApiOpenSearch.php Rename OpenSearch qiprofile parameter back to profile 2016-07-28 10:25:33 -07:00
ApiOptions.php ApiOptions: set form field parent earlier 2016-05-04 17:09:18 +02:00
ApiPageSet.php Add Message::listParam() 2016-11-30 15:54:17 +00:00
ApiParamInfo.php Add PARAM_ALL setting for multi-option API parameters 2016-11-22 04:10:38 +00:00
ApiParse.php API: Add a 'known' property when missing-but-known titles are output 2016-10-11 12:18:08 -04:00
ApiPatrol.php
ApiProtect.php
ApiPurge.php ApiPurge: Remove setTriggeringUser call. 2016-10-19 03:37:27 +00:00
ApiQuery.php API: Add a 'known' property when missing-but-known titles are output 2016-10-11 12:18:08 -04:00
ApiQueryAllCategories.php
ApiQueryAllDeletedRevisions.php ApiQueryAllDeletedRevisions: More namespace handling fixes 2016-08-31 13:19:13 -04:00
ApiQueryAllImages.php Rename getSlaveDB() FileRepo method to getReplicaDB() 2016-11-18 07:42:39 -08:00
ApiQueryAllLinks.php
ApiQueryAllMessages.php Language: Introduce new method equals( Language $lang ) 2016-05-16 22:33:33 +00:00
ApiQueryAllPages.php Get GenderCache from MediaWikiServices 2016-11-22 23:14:43 +00:00
ApiQueryAllRevisions.php API: Add hooks for ApiQueryBase's query and row-processing 2016-10-07 03:38:59 +00:00
ApiQueryAllUsers.php
ApiQueryAuthManagerInfo.php API: Fix query+authmanagerinfo example message names 2016-09-06 16:35:29 -04:00
ApiQueryBacklinks.php
ApiQueryBacklinksprop.php API: Force straight join for prop=linkshere|transcludedin|fileusage 2016-09-14 10:13:10 -04:00
ApiQueryBase.php API: Add hooks for ApiQueryBase's query and row-processing 2016-10-07 03:38:59 +00:00
ApiQueryBlocks.php Remove Block::purgeExpired() call from block query API 2016-08-29 16:17:07 +00:00
ApiQueryCategories.php
ApiQueryCategoryInfo.php
ApiQueryCategoryMembers.php
ApiQueryContributors.php
ApiQueryDeletedRevisions.php
ApiQueryDeletedrevs.php
ApiQueryDisabled.php
ApiQueryDuplicateFiles.php Clean up array() in docs, Part I 2016-07-25 17:15:18 +04:30
ApiQueryExternalLinks.php
ApiQueryExtLinksUsage.php
ApiQueryFilearchive.php
ApiQueryFileRepoInfo.php
ApiQueryGeneratorBase.php API: Add hooks for ApiQueryBase's query and row-processing 2016-10-07 03:38:59 +00:00
ApiQueryImageInfo.php Fix and standardize Doxygen tags 2016-04-30 12:10:17 +02:00
ApiQueryImages.php
ApiQueryInfo.php Clean up array() in docs, Part I 2016-07-25 17:15:18 +04:30
ApiQueryIWBacklinks.php
ApiQueryIWLinks.php
ApiQueryLangBacklinks.php
ApiQueryLangLinks.php
ApiQueryLinks.php
ApiQueryLogEvents.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryMyStashedFiles.php Remove spaces after cast operators 2016-10-31 13:57:39 +00:00
ApiQueryPagePropNames.php
ApiQueryPageProps.php
ApiQueryPagesWithProp.php
ApiQueryPrefixSearch.php Merge "Push common search api parameters into SearchApi class" 2016-07-27 09:18:33 +00:00
ApiQueryProtectedTitles.php
ApiQueryQueryPage.php
ApiQueryRandom.php
ApiQueryRecentChanges.php API: Add hooks for ApiQueryBase's query and row-processing 2016-10-07 03:38:59 +00:00
ApiQueryRevisions.php API: Add hooks for ApiQueryBase's query and row-processing 2016-10-07 03:38:59 +00:00
ApiQueryRevisionsBase.php Merge "Use single quotes in API where possible" 2016-03-08 17:03:24 +00:00
ApiQuerySearch.php Accept 'OK' status results from search engine 2016-11-29 15:24:52 -08:00
ApiQuerySiteinfo.php API: Expose $wgGalleryOptions in the meta=siteinfo 2016-11-22 22:31:55 +00:00
ApiQueryStashImageInfo.php
ApiQueryTags.php Pass context to ChangeTags::tagDescription 2016-10-27 23:18:40 +02:00
ApiQueryTokens.php
ApiQueryUserContributions.php API: Add hooks for ApiQueryBase's query and row-processing 2016-10-07 03:38:59 +00:00
ApiQueryUserInfo.php Remove WatchedItemStore::getDefaultInstance 2016-05-06 08:47:37 +00:00
ApiQueryUsers.php API: Don't require 'users' parameter to contain all valid usernames 2016-08-22 14:22:12 -04:00
ApiQueryWatchlist.php Add hooks for WatchedItemQueryService / ApiQueryWatchlist 2016-11-03 11:41:40 +00:00
ApiQueryWatchlistRaw.php Refactor database-related code in ApiQueryWatchlistRaw 2016-07-06 12:57:39 +00:00
ApiRemoveAuthenticationData.php Call ChangeAuthenticationDataAudit from the API 2016-06-07 13:47:12 +00:00
ApiResetPassword.php Remove passwordreset capture feature 2016-11-23 00:02:33 +00:00
ApiResult.php API: Remove deprecated methods 2016-09-20 17:21:00 -04:00
ApiRevisionDelete.php
ApiRollback.php RollbackAction: Implement AJAX interface and require POST 2016-05-23 20:00:48 +01:00
ApiRsd.php Update weblinks in comments from HTTP to HTTPS 2016-11-07 15:24:46 +01:00
ApiSerializable.php
ApiSetNotificationTimestamp.php API: Add a 'known' property when missing-but-known titles are output 2016-10-11 12:18:08 -04:00
ApiStashEdit.php Use namespaced ScopedCallback 2016-10-17 15:46:05 -07:00
ApiTag.php Rename DB_SLAVE constant to DB_REPLICA 2016-09-05 22:55:53 -07:00
ApiTokens.php
ApiUnblock.php
ApiUndelete.php
ApiUpload.php Add API warnings when upload is same as older versions 2016-09-06 18:43:00 +00:00
ApiUserrights.php
ApiWatch.php Use different message when (un)watching a page in talk namespace 2016-08-07 13:32:52 +00:00
SearchApi.php Pass User to SearchEngine::getProfiles 2016-09-20 20:22:23 +00:00