wiki.techinc.nl/includes
Timo Tijhof d18e76dbef Setup: Move MWDebug logic to MWDebug.php
* Remove checks in HTMLFileCache.php and Article.php.

  These haven't been needed since the same check was added to Setup.php,
  many years ago. When FileCache is enabled, The Setup.php code disables
  MWDebug. There is no reason for FileCache to then also disable itself
  based on unused config. That means both of them lose.
  We now handle this logic in one place: MWDebug::setup().

* In rebuildFileCache.php, turn it off explicitly, just in case.
  The previous code there didn't work because finalSetup()
  is called after doMaintenance.php includes Setup.php, which
  is what checked this config var to decide on MWDebug::init.
  On the other hand, it's also always off in CLI mode.
  But, let's not depend on that, maybe we decide to enable it on
  CLI one day! Just keep it off explicitly here.

Bug: T189966
Change-Id: I45a8f77092249751dc6f276aa5bb67ebf5b4f64c
2019-09-04 16:33:25 +00:00
..
actions Remove usages of Title::quickUserCan 2019-08-29 11:48:30 -07:00
api Merge "Localisation updates from https://translatewiki.net." 2019-08-30 18:35:50 +00:00
auth Merge "Migrate BagOStuff::incr() calls to incrWithInit()" 2019-08-25 15:11:49 +00:00
block Improve formatting of constructor documentation for block classes 2019-08-29 13:18:50 +01:00
cache Setup: Move MWDebug logic to MWDebug.php 2019-09-04 16:33:25 +00:00
changes Remove usages of Title::quickUserCan 2019-08-29 11:48:30 -07:00
changetags Replace User::isAllowed with PermissionManager. 2019-08-20 14:43:51 -07:00
clientpool Rename CDN config variables to be generic, deprecating the old names 2019-05-24 21:09:22 +00:00
collation Remove several methods, deprecated in 1.32 2019-05-09 11:36:44 -07:00
composer Add some more missing limit parameters to explode() calls 2019-04-05 14:34:39 +00:00
config config: Change ConfigException to extend LogicException 2019-07-01 20:07:33 +00:00
content Globally unsuppress phan issues with low count 2019-08-30 09:40:47 +00:00
context Merge "context: Use getRawVal instead of getVal for 'uselang' and 'useskin'" 2019-07-31 23:07:22 +00:00
dao dao: Correct return type doc for getLoadBalancer() 2019-04-11 22:24:43 +00:00
db Make ObjectCache check the value of apc.enable_cli in CLI mode 2019-08-29 09:04:18 -07:00
debug Setup: Move MWDebug logic to MWDebug.php 2019-09-04 16:33:25 +00:00
deferred Merge "deferred: make DeferredUpdates::attemptUpdate() use callback owners for $fnameTrxOwner" 2019-08-21 19:38:13 +00:00
diff Remove usages of Title::quickUserCan 2019-08-29 11:48:30 -07:00
edit Avoid extra parse/save delay for users with non-canonical parser options 2019-04-14 02:00:16 +00:00
editpage Move getRestrictionLevels from NamespaceInfo to PermissionManager. 2019-08-22 14:32:38 -07:00
exception Remove deprecated User groups/permission static calls. 2019-08-21 19:42:01 -07:00
export Merge "Improve type hints in export related classes" 2019-07-25 21:42:32 +00:00
externalstore externalstore: use CONN_TRX_AUTOCOMMIT instead of IDatabase::clearFlag() 2019-07-27 05:08:06 -04:00
filebackend Merge "Integration tests for FileBackendGroup" 2019-08-28 17:09:44 +00:00
filerepo Merge "Unsuppress other phan issues with low count" 2019-08-30 13:55:53 +00:00
gallery BadFileLookup::isBadFile() expects null, not false 2019-08-27 17:50:36 +00:00
historyblob Unsuppress other phan issues with low count 2019-08-30 09:42:15 +00:00
htmlform Globally unsuppress phan issues with low count 2019-08-30 09:40:47 +00:00
http Return result from HttpRequestFactory get and post methods 2019-05-13 11:32:17 +02:00
import Merge "import: Fix wrong/unspecific type hints in UploadSourceAdapter" 2019-07-27 14:23:46 +00:00
installer Globally unsuppress phan issues with low count 2019-08-30 09:40:47 +00:00
interwiki Add missing newline between <?php and namespace/use section 2019-06-03 13:36:48 +00:00
jobqueue Remove more Oracle and Mssql leftovers 2019-08-25 17:21:49 +00:00
json
language Unsuppress other phan issues with low count 2019-08-30 09:42:15 +00:00
libs Merge "filebackend: fix PhpStorm warnings in FileBackend" 2019-08-30 22:27:11 +00:00
linkeddata linkeddata: Fix broken check in PageDataRequestHandler 2019-04-01 11:26:48 +00:00
linker Update LinkRenderer to use NamespaceInfo 2019-05-07 14:52:17 +02:00
logging logging: Deprecate LogEventsList::$mDefaultQuery member 2019-08-29 22:18:50 +01:00
mail mail: Avoid use of global state and use MediaWiki services DI 2019-08-27 14:19:49 +01:00
media Globally unsuppress phan issues with low count 2019-08-30 09:40:47 +00:00
Message MessageFormatterFactory 2019-08-28 12:28:05 +10:00
Navigation Refactor buildPrevNextNavigation 2019-06-05 19:32:27 -04:00
objectcache Unsuppress other phan issues with low count 2019-08-30 09:42:15 +00:00
page Setup: Move MWDebug logic to MWDebug.php 2019-09-04 16:33:25 +00:00
pager Restore some previous constructor calls 2019-08-27 09:56:38 +02:00
parser Unsuppress other phan issues with low count 2019-08-30 09:42:15 +00:00
password Remove hard deprecation of PasswordPolicyChecks::checkPopularPasswordBlacklist 2019-08-27 17:53:27 +01:00
Permissions Remove usages of Title::quickUserCan 2019-08-29 11:48:30 -07:00
poolcounter rdbms: fix some phpstorm warnings database classes 2019-07-13 21:49:51 +00:00
preferences Add more information to exception thrown 2019-08-26 19:03:09 -07:00
profiler profiler: Centralise output responsibility from ProfilerOutputText to Profiler 2019-08-28 16:07:18 +00:00
rcfeed Unsuppress other phan issues with low count 2019-08-30 09:42:15 +00:00
registration objectcache: make newFromId()/newWANcacheFromId()/getDefaultKeyspace() private 2019-08-20 13:11:27 +00:00
resourceloader Unsuppress other phan issues with low count 2019-08-30 09:42:15 +00:00
Rest MessageFormatterFactory 2019-08-28 12:28:05 +10:00
Revision rdbms: add setTempTablesOnlyMode() to suppress CONN_TRX_AUTOCOMMIT during tests 2019-08-19 18:47:21 -04:00
revisiondelete Revert "Add small HtmlCacheUpdater service class to normalize purging code" 2019-08-07 13:56:30 +00:00
revisionlist Globally unsuppress phan issues with low count 2019-08-30 09:40:47 +00:00
search Hard deprecate new SearchResult() and introduce RevisionSearchResult 2019-08-27 08:27:28 -07:00
session Globally unsuppress phan issues with low count 2019-08-30 09:40:47 +00:00
shell Avoid the use of silence operator (@) and use AtEase methods 2019-07-23 08:43:44 +01:00
site Switch various LoadBalancer::getConnection() callers to getConnectionRef() 2019-07-12 10:56:30 -07:00
skins Remove usages of Title::quickUserCan 2019-08-29 11:48:30 -07:00
sparql
specialpage Unsuppress other phan issues with low count 2019-08-30 09:42:15 +00:00
specials Merge "ContribsPage: Re-remove the getContribs() method" 2019-08-30 22:37:41 +00:00
Storage Introduce BlobStore::getBlobBatch method 2019-08-30 09:40:49 +00:00
templates Fix recent changes and watchlist separator whitespace 2019-07-30 18:46:47 +01:00
tidy tidy: Remove unused var and define $parts var to avoid undefined error 2019-06-10 14:34:54 +01:00
title Move getRestrictionLevels from NamespaceInfo to PermissionManager. 2019-08-22 14:32:38 -07:00
upload Fix call to non-existing TempFSFileFactory::getTempFSFile() 2019-08-28 21:08:58 +02:00
user user: Hard deprecate User::addNewUserLogEntryAutoCreate() method 2019-08-30 21:56:08 +00:00
utils Unsuppress other phan issues with low count 2019-08-30 09:42:15 +00:00
watcheditem watchlist: cleanup WatchedItemStore PhpStorm warnings 2019-08-05 23:26:48 -04:00
widget Merge "Allow SelectWithInput to be marked as required and handle that dynamically" 2019-07-31 13:28:54 +00:00
.htaccess
ActorMigration.php Improve documentation of getJoin() methods for static analysis 2019-07-03 15:45:01 +02:00
AjaxDispatcher.php Replace User::isAllowed with PermissionManager. 2019-08-20 14:43:51 -07:00
AjaxResponse.php Rename CDN config variables to be generic, deprecating the old names 2019-05-24 21:09:22 +00:00
AutoLoader.php MessageFormatterFactory 2019-08-28 12:28:05 +10:00
Autopromote.php Remove deprecated User groups/permission static calls. 2019-08-21 19:42:01 -07:00
BadFileLookup.php BadFileLookup to replace wfIsBadImage 2019-08-21 20:45:37 +03:00
CategoriesRdf.php
Category.php Remove more Oracle and Mssql leftovers 2019-08-25 17:21:49 +00:00
CategoryFinder.php Clean up spacing of doc comments 2019-08-05 22:29:50 +00:00
CategoryViewer.php
CommentStore.php Improve documentation of getJoin() methods for static analysis 2019-07-03 15:45:01 +02:00
CommentStoreComment.php
ConfiguredReadOnlyMode.php Don't pass Config to service constructors 2019-05-02 11:33:56 +03:00
ContentSecurityPolicy.php
DefaultSettings.php Merge "Actually assign suppression-related rights to 'suppress' group" 2019-08-30 17:00:46 +00:00
Defines.php Clean up spacing of doc comments 2019-08-05 22:29:50 +00:00
DeprecatedGlobal.php
DerivativeRequest.php
DevelopmentSettings.php DevelopmentSettings: Clarify grouping of settings and purpose 2019-08-07 14:23:58 +00:00
DummyLinker.php Linker: Force type Language for $lang in tocList and generateTOC 2019-07-16 07:03:59 +02:00
EditPage.php Unsuppress other phan issues with low count 2019-08-30 09:42:15 +00:00
EventRelayerGroup.php
FauxRequest.php WebRequest: Change getFullRequestURL() to use local getProtocol() 2019-04-20 00:58:17 +01:00
FauxResponse.php
FeedUtils.php Avoid usage of deprecated Revision::* constants 2019-07-21 18:02:58 +01:00
FileDeleteForm.php Replace User::isAllowed with PermissionManager. 2019-08-20 14:43:51 -07:00
ForeignResourceManager.php Use AtEase::quietCall() instead of Wikimedia\quietCall() 2019-06-10 14:18:19 +00:00
ForkController.php LockManagerGroupFactory to replace singletons 2019-08-27 13:19:15 +03:00
FormOptions.php Clean up spacing of doc comments 2019-08-05 22:29:50 +00:00
GitInfo.php Wording 2019-06-01 14:16:00 +02:00
GlobalFunctions.php BadFileLookup to replace wfIsBadImage 2019-08-21 20:45:37 +03:00
HeaderCallback.php Add some @since tags to HeaderCallback 2019-06-06 16:14:58 +01:00
Hooks.php
Html.php Html: Make linkButton() documentation less confusing 2019-07-10 23:04:59 +00:00
Linker.php Merge "Let Html::element do the HTML encoding" 2019-08-28 06:57:34 +00:00
LinkFilter.php Fix some docs 2019-05-22 21:50:52 +02:00
ListToggle.php
MagicWord.php Clean up spacing of doc comments 2019-08-05 22:29:50 +00:00
MagicWordArray.php Improve return types in class MagicWordArray 2019-06-03 17:52:47 +02:00
MagicWordFactory.php Clean up spacing of doc comments 2019-08-05 22:29:50 +00:00
MediaWiki.php Fix and re-apply "RedirectSpecialPage: handle interwiki redirects" 2019-07-24 03:55:49 +00:00
MediaWikiServices.php Merge "MessageFormatterFactory" 2019-08-30 22:12:28 +00:00
MediaWikiVersionFetcher.php
MergeHistory.php Replace User::isAllowed with PermissionManager. 2019-08-20 14:43:51 -07:00
MovePage.php Merge "Replace User::isAllowed with PermissionManager." 2019-08-21 08:00:33 +00:00
MWGrants.php Collapse some nested if statements 2019-04-04 19:02:22 +00:00
MWNamespace.php Move getRestrictionLevels from NamespaceInfo to PermissionManager. 2019-08-22 14:32:38 -07:00
MWTimestamp.php
NoLocalSettings.php
OrderedStreamingForkController.php
OutputHandler.php Remove $wgUseKeyHeader and OutputPage::getKeyHeader(), deprecated in 1.32 2019-06-19 15:14:54 -04:00
OutputPage.php Remove usages of Title::quickUserCan 2019-08-29 11:48:30 -07:00
PageProps.php Collapse some nested if statements 2019-04-04 19:02:22 +00:00
PathRouter.php Use [...] instead of array(...) in PHP comments and documentation 2019-06-17 21:15:09 +02:00
PHPVersionCheck.php PHPVersionCheck: remove version_compare() existence check 2019-06-14 22:23:49 +00:00
Pingback.php Pass options as array to IDatabase::insert 2019-06-07 19:12:35 +02:00
ProtectionForm.php Move getRestrictionLevels from NamespaceInfo to PermissionManager. 2019-08-22 14:32:38 -07:00
ProxyLookup.php
RawMessage.php
ReadOnlyMode.php Fix types around ILoadBalancer and IResultWrapper 2019-07-04 21:56:31 +02:00
Revision.php Move getPrevious/NextRevision logic out of Title 2019-05-05 21:08:46 +03:00
ServiceWiring.php Merge "MessageFormatterFactory" 2019-08-30 22:12:28 +00:00
Setup.php Setup: Move MWDebug logic to MWDebug.php 2019-09-04 16:33:25 +00:00
SiteConfiguration.php Get rid of unnecessary func_get_args() and friends 2019-04-12 20:17:01 +00:00
SiteStats.php Switch various LoadBalancer::getConnection() callers to getConnectionRef() 2019-07-12 10:56:30 -07:00
SiteStatsInit.php Convert LoadBalancer::getConnection() callers to LoadBalancer::getConnectionRef() 2019-07-21 01:02:49 -07:00
Status.php
StreamFile.php
StubObject.php StubObject: Use 'self' instead of 'StubObject' (or <ClassName>) 2019-04-17 14:01:17 +01:00
StubUserLang.php Split StubObject.php to have one class in one file 2019-04-14 14:20:42 +00:00
TemplateParser.php Add missing newline between <?php and namespace/use section 2019-06-03 13:36:48 +00:00
TemplatesOnThisPageFormatter.php Remove usages of Title::quickUserCan 2019-08-29 11:48:30 -07:00
Title.php Unsuppress other phan issues with low count 2019-08-30 09:42:15 +00:00
TitleArray.php Inline trivial …_internal() methods in Title/UserArray classes 2019-05-29 19:22:03 +00:00
TitleArrayFromResult.php Fix param doc of TitleArrayFromResult::setCurrent 2019-07-18 16:43:02 +00:00
TrackingCategories.php Use [...] instead of array(...) in PHP comments and documentation 2019-06-17 21:15:09 +02:00
WebRequest.php Short-circuit WebRequest::getGPCVal() for printable ASCII strings 2019-08-23 14:53:38 +00:00
WebRequestUpload.php Use https://www.php.net/ instead of https://secure.php.net/ 2019-04-12 06:44:48 +02:00
WebResponse.php
WebStart.php WebStart: Avoid DB or uselang for nonwrite-api-promise-error message 2019-08-25 19:15:34 +01:00
WikiMap.php Remove more Oracle and Mssql leftovers 2019-08-25 17:21:49 +00:00
WikiReference.php
Xml.php Collapse some nested if statements 2019-04-04 19:02:22 +00:00
XmlJsCode.php
XmlSelect.php