wiki.techinc.nl/includes
Timo Tijhof 62e3da7e58 objectcache: Document the primary entry points people should use
There are imho too many ObjectCache methods, $wg*Cache* variables,
CACHE_ types, and wfGet*Cache() functions to know which ones
should actually be used publicly. This should make it easier to
know which ones should be used.

The difference between them was also harder to understand with the
main documentation sections about each of these living in
conceptually different places:
- classes (WANObjectCache)
- methods (ObjectCache::getMainStashInstance)
- variables (DefaultSettings: wgMainCacheType, wgMainWANCache, wgMainStash)

Also:
* Correct wfGetCache() documentation.
* Add the missing keywords for 'public' visibility.

Change-Id: I3b05fdb8b7888bf7e3f05bdca36538f3484556b8
2015-08-25 03:11:15 +02:00
..
actions Added wfTransactionalTimeLimit() method and applied it 2015-08-12 22:09:40 +00:00
api Localisation updates from https://translatewiki.net. 2015-08-24 21:10:42 +02:00
cache objectcache: Make first parameter of newAccelerator optional 2015-08-24 23:43:19 +02:00
changes Revert "Enable users to watch category membership changes" 2015-08-20 10:35:56 -07:00
changetags Avoid full RC table scans in ChangeTags::updateTags() 2015-08-19 02:25:18 -07:00
clientpool Throw exception on falsy server in RedisConnectionPool. 2015-07-30 17:40:21 -04:00
compat Cleanup after extraction of utfnormal library 2015-08-17 02:57:04 -04:00
composer
config Added getDefaultInstance() return type doc 2015-05-13 09:55:48 -07:00
content Implement redirects in CssContent 2015-07-28 17:53:47 +00:00
context Add base interface for setters in RequestContext and DerivativeContext 2015-08-03 11:55:41 +00:00
dao Fix some space-related phpcs warnings in includes/ 2015-08-15 08:56:03 +00:00
db objectcache: Use newAccelerator() fallback instead of try/catch 2015-08-25 01:03:10 +02:00
debug Monolog: Add Formatter that uses MWExceptionHandler::getRedactedTraceAsString 2015-07-31 13:02:39 -06:00
deferred Revert "Enable users to watch category membership changes" 2015-08-20 10:35:56 -07:00
diff Remove unneeded empty lines at begin of if/else/foreach body 2015-06-19 20:05:45 +02:00
exception Fix some space-related phpcs warnings in includes/ 2015-08-15 08:56:03 +00:00
externalstore
filebackend objectcache: Use newAccelerator() fallback instead of try/catch 2015-08-25 01:03:10 +02:00
filerepo Fixed BufferingStatsdDataFactory::timing() callers to use ms 2015-08-19 01:01:49 +00:00
gallery Pass context to parent constructor in PackedImageGallery 2015-07-11 11:35:34 +02:00
htmlform OOUIHTMLForm: Display errors in a nicer way, part 2 2015-08-21 18:50:13 +00:00
installer Localisation updates from https://translatewiki.net. 2015-08-24 21:10:42 +02:00
interwiki Converted Interwiki using WAN cache 2015-04-30 01:33:22 +00:00
jobqueue Include job attempt count for redis in showJobs.php 2015-08-21 13:09:14 -07:00
json Fix whitespace issues around parentheses 2015-06-16 22:14:02 +03:00
libs Merge "Fixed HashRing IDE errors" 2015-08-24 17:41:42 +00:00
logging Migrate move protect log to new log system 2015-08-18 22:20:35 +00:00
mail Set 'List-Help' header for watchlist emails 2015-08-19 09:37:45 +00:00
media Fix some space-related phpcs warnings in includes/ 2015-08-15 08:56:03 +00:00
objectcache objectcache: Document the primary entry points people should use 2015-08-25 03:11:15 +02:00
page Revert "Enable users to watch category membership changes" 2015-08-20 10:35:56 -07:00
pager Timestamp from Year/Month selector on forms should be wiki time 2015-05-15 15:57:28 +02:00
parser Merge "Tiny clean up of Parser::doQuotes()" 2015-08-21 21:31:01 +00:00
password Add "purpose" to password validity check 2015-07-14 20:04:23 +00:00
poolcounter Fix some PHPCS issues 2015-06-26 01:32:28 -04:00
profiler Move StatsD key normalization from ProfilerOutputStats to BufferingStatsdDataFactory 2015-07-13 19:07:02 +00:00
rcfeed RC: Handle getLine returning null, which breaks Redis engine (at least HHVM) 2015-08-18 23:08:36 -04:00
registration objectcache: Make first parameter of newAccelerator optional 2015-08-24 23:43:19 +02:00
resourceloader Introduce mediawiki.ForeignApi 2015-08-21 17:00:01 +00:00
revisiondelete Cleaned up various revisiondelete IDE warnings 2015-05-29 21:40:36 +00:00
search Merge "PostgreSQL: Fix text search on moved pages" 2015-07-20 23:03:58 +00:00
site Enforce an alphabetic default order for SiteList entries 2015-08-06 16:24:33 +02:00
skins Rename mediawiki.legacy.feeds to mediawiki.feedlink 2015-08-16 16:07:36 +02:00
specialpage Revert "Enable users to watch category membership changes" 2015-08-20 10:35:56 -07:00
specials Merge "SpecialVersion: Handle Closures in $wgHooks nicer" 2015-08-22 23:23:22 +00:00
templates Allow extensions to add a banner to UserLogin and CreateAccount special pages 2015-07-16 17:28:00 +02:00
title Fix some PHPCS issues 2015-06-26 01:32:28 -04:00
upload The http-invalid-url message has a parameter, so send it 2015-07-24 07:11:11 -06:00
utils objectcache: Use newAccelerator() fallback instead of try/catch 2015-08-25 01:03:10 +02:00
widget TitleInputWidget: Add 'maxLength' of 255 and use $.byteLimit 2015-08-20 17:25:18 +02:00
.htaccess
AjaxDispatcher.php Fix some line indent of string concat 2015-06-19 20:52:43 +02:00
AjaxResponse.php Fix whitespace issues around parentheses 2015-06-16 22:14:02 +03:00
AuthPlugin.php
AutoLoader.php
Autopromote.php
Block.php Uncomment wfDeprecated call from I6ccd4df 2015-06-19 14:20:25 -04:00
Category.php
CategoryFinder.php Fixed some <code> tags for doxygen 2015-04-29 06:01:59 +01:00
CategoryViewer.php Fix whitespace issues around parentheses 2015-06-16 22:14:02 +03:00
Collation.php Use mediawiki/at-ease library for suppressing warnings 2015-06-11 18:49:29 +00:00
DefaultSettings.php resourceloader: Remove old experimental "AsyncLoading" feature 2015-08-21 17:25:25 +00:00
Defines.php Revert "Enable users to watch category membership changes" 2015-08-20 10:35:56 -07:00
DeprecatedGlobal.php
EditPage.php Pass user to WikiPage::doEditContent from EditPage 2015-08-14 14:51:32 +02:00
Export.php Hygiene: Use strtr() instead of str_replace() for character swapping 2015-07-06 20:25:19 +00:00
Fallback.php
Feed.php
FeedUtils.php
FileDeleteForm.php Use Linker::linkKnown for some links to MediaWiki pages from navigation 2015-06-19 18:55:30 +02:00
ForkController.php
FormOptions.php
GitInfo.php Use mediawiki/at-ease library for suppressing warnings 2015-06-11 18:49:29 +00:00
GlobalFunctions.php objectcache: Document the primary entry points people should use 2015-08-25 03:11:15 +02:00
HistoryBlob.php Use mediawiki/at-ease library for suppressing warnings 2015-06-11 18:49:29 +00:00
Hooks.php Revert "Count API and hook calls, with 1:1000 sampling" 2015-08-21 20:22:05 +00:00
Html.php OOUIHTMLForm: Implement HTMLSelectNamespace 2015-07-13 19:20:09 +02:00
HtmlFormatter.php
HttpFunctions.php Log errors in Http::request() 2015-07-28 22:24:00 +00:00
Import.php Fixed spacing 2015-06-17 20:22:32 +00:00
Licenses.php
limit.sh
Linker.php Delete "Currently unused" regarding generateTOC 2015-08-03 19:08:05 +00:00
LinkFilter.php
MagicWord.php
MediaWiki.php Support redirects in JavaScriptContent 2015-07-20 15:36:49 +00:00
MediaWikiVersionFetcher.php
Message.php Merge "Allow constructing a Message from a MessageSpecifier" 2015-07-20 23:05:26 +00:00
mime.info Add image/pjpeg as an alias for image/jpeg 2015-06-11 12:09:09 -06:00
mime.types
MimeMagic.php Basic support for WebP 2015-06-26 19:38:38 +00:00
MovePage.php Merge "Migrate move protect log to new log system" 2015-08-18 23:17:03 +00:00
MWNamespace.php Hide edit toolbar Signature button in non-discussion namespaces 2015-08-03 11:20:44 -07:00
MWTimestamp.php Made MWTimestamp handle UNIX floats 2015-08-20 00:10:11 -07:00
NoLocalSettings.php
OutputHandler.php
OutputPage.php resourceloader: Remove old experimental "AsyncLoading" feature 2015-08-21 17:25:25 +00:00
PathRouter.php
PHPVersionCheck.php Rework PHP and vendor check 2015-07-21 22:51:20 +02:00
PHPVersionError.php Check for dependencies in entry point and Maintenance.php 2015-05-23 15:05:11 +00:00
Preferences.php Revert "Enable users to watch category membership changes" 2015-08-20 10:35:56 -07:00
PrefixSearch.php
ProtectionForm.php Use XmlSelect in ProtectionForm 2015-07-30 20:00:41 +00:00
Revision.php Revision::newNullRevision: Make sure the Title is set in the constructor 2015-07-31 17:00:48 -07:00
RevisionList.php Added $res var docs for RevisionListBase 2015-05-23 13:08:12 +00:00
Sanitizer.php Merge "Remove unreachable block" 2015-08-20 19:15:19 +00:00
Setup.php objectcache: Remove use of deprecated $wgSessionsInMemcached 2015-08-24 22:11:22 +02:00
SiteConfiguration.php
SiteStats.php Prevent SiteStats::loadAndLazyInit from reloading in $wgMiserMode 2015-04-08 09:35:56 -07:00
SquidPurgeClient.php Use mediawiki/at-ease library for suppressing warnings 2015-06-11 18:49:29 +00:00
Status.php Status: Correct documentation 2015-08-06 13:50:47 +02:00
StreamFile.php Fix whitespace issues around parentheses 2015-06-16 22:14:02 +03:00
StubObject.php
TemplateParser.php objectcache: Make first parameter of newAccelerator optional 2015-08-24 23:43:19 +02:00
tidy.conf
Title.php Merge "tiny optimization Title::isValidRedirectTarget()" 2015-07-21 11:11:26 +00:00
TitleArray.php
TitleArrayFromResult.php
User.php Optimized notification timestamp clearing 2015-08-12 15:37:57 -07:00
UserArray.php
UserArrayFromResult.php
UserRightsProxy.php Converted User object cache to the WAN cache 2015-04-30 01:30:06 +00:00
WatchedItem.php Use deferred updates in place of $wgActivityUpdatesUseJobQueue 2015-07-15 23:52:55 +00:00
WebRequest.php FauxRequest: Add @since for new setHeaders and setCookie methods 2015-07-03 03:38:38 +00:00
WebResponse.php WebResponse: Implement statusHeader() using the new HttpStatus::header() 2015-06-04 02:27:30 +00:00
WebStart.php Fix some space-related phpcs warnings in includes/ 2015-08-15 08:56:03 +00:00
WikiMap.php
Xml.php Use XmlSelect to simplify Xml::monthSelector 2015-06-06 20:26:57 -04:00
XmlSelect.php XmlSelect: Tweak documentation 2015-07-31 12:27:10 +00:00
ZhConversion.php Chinese Conversion Table Update 2015-6 2015-07-16 05:08:51 +00:00