wiki.techinc.nl/includes
Timo Tijhof 64febce451 resourceloader: Improve wgResourceLoaderMaxage docs, minor clean up
The docs for wgResourceLoaderMaxage still described the "server"
and "client" subkeys, which have not existed since MW 1.35. This
was essentially a new configuration structure, add the `@since`
annotation to reflect this.

Clean up the ResourceLoader class and group together related class
members in a more logical way. Currently going for what I see various
other core components do:

* Constants: public, then private.
* Static: public, then private.
* Members: public (none), then ctor-assigned/injected stuff, then
  those with defaults that start as-is.

Make most protected members private, except for those intentionally
made protected for use in tests. This class is not meant to be
extended, is not marked as stable for that purpose, and Codesearch
shows no extensions that do so.

Remove unused internal '$testModuleNames' field. This was removed in
5f47d994bc and accidentally reintroduced (unused) with 440dfcf6d8,
presumably due to a bad rebase.

Bug: T32956
Change-Id: I041a320d05c9e5f30ac9cc9270ce82c4d19a957f
2022-01-06 18:52:45 +00:00
..
actions Fix typos in comments (I-J) 2021-12-30 20:38:04 +05:30
api Localisation updates from https://translatewiki.net. 2022-01-05 08:06:02 +01:00
auth Fix indent in TemporaryPasswordPrimaryAuthenticationProvider 2021-12-09 22:42:35 +01:00
block Fix typos in comments (A-B) 2021-12-26 16:43:47 +05:30
cache Prefer is_dir/is_file to file_exists 2022-01-04 11:03:09 +01:00
changes Fix typos in comments (C-D) 2021-12-30 18:00:02 +05:30
changetags Consistently order change tags 2021-12-24 01:09:47 +00:00
collation RemoteIcuCollation 2021-12-13 22:13:10 +00:00
CommentFormatter Call LinkBatch::setCaller in CommentParser 2021-12-16 22:26:40 +01:00
composer Pass link in a map 2021-12-23 17:54:05 +00:00
config
content Merge "Fix typos in comments (C-D)" 2021-12-30 14:42:56 +00:00
context Remove or replace usages of "sane" 2021-11-22 13:35:17 +00:00
dao
db rdbms: Stop calling LBFactory::setAgentName from MW wiring 2021-11-19 00:51:41 +00:00
debug DeprecationHelper: avoid closures 2021-12-10 17:15:13 +00:00
deferred Remove some more comments that literally repeat the code 2021-12-09 19:01:36 +01:00
diff Fix typos in comments (C-D) 2021-12-30 18:00:02 +05:30
edit Introduced PreparedUpdate to replace PreparedEdit 2021-12-20 21:19:52 +01:00
editpage Fix typos in comments (I-J) 2021-12-30 20:38:04 +05:30
exception Remove or replace usages of "sane" 2021-11-22 13:35:17 +00:00
export Merge "WikiExporter: Avoid bitwise op with non-integer" 2021-12-08 15:57:00 +00:00
externalstore Fix typos in comments (E-H) 2021-12-30 18:14:43 +05:30
filebackend LockManager: distinguish conflicts from other kinds of lock errors 2021-11-09 21:58:20 +00:00
filerepo Fix typos in comments (E-H) 2021-12-30 18:14:43 +05:30
gallery Add a ParserModifyImageHTML hook for PageImages 2021-12-15 15:33:16 +11:00
historyblob HistoryBlobStub: add getLocation() to get $mOldId 2021-10-19 18:23:30 +00:00
Hook Fix typos in comments (E-H) 2021-12-30 18:14:43 +05:30
HookContainer Fix typos in comments (E-H) 2021-12-30 18:14:43 +05:30
htmlform Fix typos in comments (E-H) 2021-12-30 18:14:43 +05:30
http Merge "Support $wgLocalHTTPProxy in MultiHttpClient" 2021-11-22 21:36:42 +00:00
import Fix typos in comments (I-J) 2021-12-30 20:38:04 +05:30
installer Localisation updates from https://translatewiki.net. 2022-01-06 08:18:24 +01:00
interwiki Use getWithSetCallback() instead of get() + set() 2021-11-18 18:58:13 +00:00
jobqueue Fix typos in comments (I-J) 2021-12-30 20:38:04 +05:30
json FormatJson: Optimize encode() for supported PHP versions 2021-08-20 08:03:11 -04:00
language LanguageConverter: Remove duplicate deprecation hint 2022-01-02 21:30:16 +00:00
languages Add Nheengatu (yrl) to Names.php 2021-12-30 19:52:02 +02:00
libs Merge "profiler: Remove deprecated profileIn/profileOut" 2022-01-06 00:56:20 +00:00
linkeddata
linker Add comment flag to LinkRenderer 2021-11-02 13:03:20 +01:00
logging Allow setting max execution time to several special pages 2021-12-15 22:59:06 +01:00
mail EmailNotification: fix misplaced tab 2021-09-20 22:25:20 +00:00
media Fix typos in comments (I-J) 2021-12-30 20:38:04 +05:30
Message Add Message/MessageValue user group member parameter type 2021-11-16 11:24:35 -05:00
Navigation
objectcache objectcache: Change variable name from master to primary 2021-10-14 19:40:01 +00:00
page Fix typos in comments (I-J) 2021-12-30 20:38:04 +05:30
pager AllMessagesTablePager: Avoid double class mw-datatable 2021-10-09 16:59:10 +00:00
ParamValidator/TypeDef UserDef: creating from id 0 should be unknown user, not context ip 2021-09-14 03:25:40 +00:00
parser Merge "Make Sanitizer::stripAllTags() strip css and js tag contents" 2021-12-23 12:44:22 +00:00
password Fix typos in comments (A-B) 2021-12-26 16:43:47 +05:30
Permissions Merge "Make some generic array type hints in PHPDocs more specific" 2021-12-18 16:10:42 +00:00
poolcounter Remove or replace usages of "sane" 2021-11-22 13:35:17 +00:00
preferences preferences: Introduce SignatureValidatorFactory service 2021-12-14 12:10:32 +00:00
profiler profiler: Remove deprecated profileIn/profileOut 2022-01-02 22:25:38 +01:00
rcfeed Drop User methods which were deprecated since 1.35 2021-11-12 15:35:50 +02:00
registration Fix typos in comments (E-H) 2021-12-30 18:14:43 +05:30
resourceloader resourceloader: Improve wgResourceLoaderMaxage docs, minor clean up 2022-01-06 18:52:45 +00:00
Rest Remove some more comments that literally repeat the code 2021-12-09 19:01:36 +01:00
Revision Revision: Inject local cache to RevisionStore 2021-12-17 19:23:19 +01:00
revisiondelete Remove some more comments that literally repeat the code 2021-12-09 19:01:36 +01:00
revisionlist
search SearchFormWidget: Minor cleanup 2021-12-22 15:04:48 +00:00
session Add entry point name to disabled Session exception if possible 2021-12-08 07:43:49 +01:00
Settings Settings: Fix GlobalConfigBuilder use of GLOBALS for PHP 8.1 2021-12-17 00:19:49 +00:00
shell ShellboxClientFactory: add RPCClient getters 2021-11-05 16:41:22 +00:00
site Use getWithSetCallback() instead of get() + set() 2021-11-18 18:58:13 +00:00
skins Hiding main page heading should not hide title on diff/history views 2021-12-23 22:40:27 +00:00
sparql sparql: Replace deprecated Http::userAgent() in SparqlClient 2021-08-04 13:54:13 +00:00
specialpage Fix typos in comments (A-B) 2021-12-26 16:43:47 +05:30
specials Fix typos in comments (I-J) 2021-12-30 20:38:04 +05:30
Storage Fix typos in comments (C-D) 2021-12-30 18:00:02 +05:30
templates
tidy Using @return never documentation on always-throw-function 2021-09-07 17:29:03 +02:00
title Merge "Make some generic array type hints in PHPDocs more specific" 2021-12-18 16:10:42 +00:00
upload Remove or replace usages of "sane" 2021-11-22 13:35:17 +00:00
user [docs] UserSelectQueryBuilder: Add missing @since annotation 2021-12-19 11:58:50 +00:00
utils Merge "Fix typos in comments (C-D)" 2021-12-30 14:42:56 +00:00
watcheditem Allow setting max execution time to several special pages 2021-12-15 22:59:06 +01:00
watchlist
widget Remove some more comments that literally repeat the code 2021-12-09 19:01:36 +01:00
xml Use LanguageNameUtils constants instead of strings 2021-12-05 22:13:34 +01:00
.htaccess
ActorMigration.php
ActorMigrationBase.php
AutoLoader.php Prefer is_dir/is_file to file_exists 2022-01-04 11:03:09 +01:00
BadFileLookup.php Use getWithSetCallback() instead of get() + set() 2021-11-18 18:58:13 +00:00
CategoriesRdf.php Remove some more comments that literally repeat the code 2021-12-09 19:01:36 +01:00
Category.php Remove Title from signatures in CategoryViewer 2021-09-13 16:14:06 +00:00
CategoryViewer.php Remove or replace usages of "sane" 2021-11-22 15:48:03 +00:00
CommentStore.php Fix various typos in documentation 2021-08-23 09:03:44 +00:00
CommentStoreComment.php
config-merge-strategies.php Settings: Add config merge strategies to apply on settings 2021-12-09 20:37:54 +00:00
ConfiguredReadOnlyMode.php
ContentSecurityPolicy.php Fix typos in comments (C-D) 2021-12-30 18:00:02 +05:30
DefaultSettings.php resourceloader: Improve wgResourceLoaderMaxage docs, minor clean up 2022-01-06 18:52:45 +00:00
Defines.php objectcache: make CACHE_MEMCACHED alias "memcached-php" 2021-11-10 18:55:47 +00:00
DeprecatedGlobal.php StubObject: add magic __get() and __set() 2021-09-04 05:37:25 +00:00
DerivativeRequest.php build: Update mediawiki/mediawiki-phan-config to 0.11.0 2021-09-07 17:19:05 +02:00
DevelopmentSettings.php Set $wgIncludejQueryMigrate to false as default 2021-08-29 02:09:35 +02:00
DummyLinker.php Introduce CommentFormatter 2021-09-28 11:13:03 -07:00
EditPage.php Merge "Allow EditPage's preload feature only on wikitext pages" 2021-12-20 14:57:55 +00:00
Emptiable.php
EventRelayerGroup.php
ExtensionInfo.php
FauxRequest.php
FauxRequestUpload.php
FauxResponse.php
FeedUtils.php Introduce CommentFormatter 2021-09-28 11:13:03 -07:00
FileDeleteForm.php Change return format of DeletePage again 2021-11-29 15:09:42 +00:00
ForeignResourceManager.php
ForkController.php
FormOptions.php
GitInfo.php
GlobalFunctions.php Remove deprecated global function wfIncrStats 2022-01-02 21:59:37 +01:00
HeaderCallback.php
Hooks.php Mark Hooks::runner() as @internal 2021-07-28 23:49:27 +00:00
Html.php Remove some more comments that literally repeat the code 2021-12-09 19:01:36 +01:00
Linker.php Match output for broken thumbnails 2021-12-16 21:23:20 -05:00
LinkFilter.php
ListToggle.php
MagicWord.php
MagicWordArray.php docs: Fix nullable documentation for class properties 2021-09-24 00:54:53 +00:00
MagicWordFactory.php
MediaWiki.php SECURITY: Require 'read' right for most actions 2021-12-15 16:12:27 +00:00
MediaWikiServices.php preferences: Introduce SignatureValidatorFactory service 2021-12-14 12:10:32 +00:00
MediaWikiVersionFetcher.php
MergeHistory.php Remove or replace usages of "sanity" 2021-11-19 23:19:42 +00:00
MovePage.php Drop pr_user from page_restrictions 2021-12-06 14:15:39 +01:00
MWGrants.php Reapply "GrantsInfo service to replace MWGrants" 2021-09-18 08:52:22 +00:00
MWNamespace.php Emit correct version in deprecation warnings for MWNamespace 2021-12-27 12:37:36 +00:00
MWTimestamp.php
NoLocalSettings.php NoLocalSettings: Pass an EmptyBagOStuff to TemplateParser 2021-11-03 17:23:26 +00:00
OrderedStreamingForkController.php
OutputHandler.php Remove or replace usages of "sanity" 2021-11-19 23:19:42 +00:00
OutputPage.php Prefer is_dir/is_file to file_exists 2022-01-04 11:03:09 +01:00
PageProps.php Soft deprecate PageProps::getInstance() 2021-09-26 00:22:26 +00:00
PathRouter.php
PHPVersionCheck.php Tweak error message for missing composer dependencies 2021-11-17 09:53:57 -08:00
Pingback.php
ProtectionForm.php Revert "Use CsrfTokenSet as CSRF token source" 2021-08-05 15:48:26 -07:00
ProxyLookup.php
RawMessage.php
ReadOnlyMode.php
ServiceWiring.php Merge "Introduced PreparedUpdate to replace PreparedEdit" 2021-12-20 20:41:14 +00:00
Setup.php Settings: Add config merge strategies to apply on settings 2021-12-09 20:37:54 +00:00
SiteConfiguration.php Merge "Update some documentation in SiteConfiguration" 2021-12-20 16:25:13 +00:00
SiteStats.php SiteStats: Replace usages of "sane" 2021-11-22 13:38:40 +00:00
SiteStatsInit.php Same code style and formatting for exists-style SQL queries 2021-08-12 11:37:58 +02:00
Status.php
StreamFile.php Remove or replace usages of "sanity" 2021-11-19 23:19:42 +00:00
StubGlobalUser.php Emit deprecation warnings reading from $wgUser 2021-09-15 20:17:04 -07:00
StubObject.php StubObject: add magic __get() and __set() 2021-09-04 05:37:25 +00:00
StubUserLang.php
TemplateParser.php TemplateParser: Remove support for deprecated cache-disabling parameter 2021-09-17 19:48:54 +00:00
TemplatesOnThisPageFormatter.php
Title.php DeprecationHelper: avoid closures 2021-12-10 17:15:13 +00:00
TitleArray.php docs: Declare UserArray/TitleArray as Iterator<User>/Iterator<Title> 2021-08-30 22:37:54 +02:00
TitleArrayFromResult.php docs: Declare UserArray/TitleArray as Iterator<User>/Iterator<Title> 2021-08-30 22:37:54 +02:00
TitleFactory.php Hard deprecate TitleFactory::newFromIDs and Title::newFromIDs 2021-11-29 14:23:26 -05:00
TrackingCategories.php Register omitted tracking categories 2021-10-16 12:14:47 +00:00
WebRequest.php Remove or replace usages of "sane" 2021-11-22 13:35:17 +00:00
WebRequestUpload.php
WebResponse.php
WebStart.php Using @return never documentation on always-throw-function 2021-09-07 17:29:03 +02:00
WikiMap.php Remove or replace usages of "sanity" 2021-11-19 23:19:42 +00:00
WikiReference.php Remove or replace usages of "sane" 2021-11-22 13:35:17 +00:00