wiki.techinc.nl/includes
Daimona Eaytoy ec09c19fba Create an HTMLForm field for selecting a timezone
This patch introduces HTMLTimezoneField, an HTMLForm field type that
allows the user to select a timezone, either from a geographic zone, by
manually entering an offset, or using the wiki/browser default. This
logic is extracted from DefaultPreferencesFactory so that it can be
reused elsewhere.

The widget itself is really just an HTMLSelectOrOtherField, it's just
the list of options and the JS logic that is special.

Bug: T309629
Change-Id: I99a00dff7e3319ce45883191daee16bec1ed68ba
2022-09-23 18:35:51 +02:00
..
actions actions: Migrate to SelectQueryBuilder API 2022-08-29 10:27:48 +01:00
api Merge "Add cancreateaccount property to userinfo API" 2022-09-12 06:54:26 +00:00
auth Fix block handling in CheckBlocksSecondaryAuthenticationProvider 2022-08-30 19:06:16 -07:00
block Merge "Block: Expose list of block types as constant" 2022-08-29 17:59:42 +00:00
cache BackLinkCache::queryLinks: Make janky filter more robust 2022-09-12 08:36:51 +00:00
changes Setup: Remove internal short-cut config $wgUseEnotif 2022-08-17 23:41:30 +02:00
changetags ChangeTags: Improve database query hygine 2022-08-01 19:36:39 +02:00
collation IcuCollation: Add mappings for versions 70 and 71 2022-08-28 19:17:45 +01:00
CommentFormatter Get rid of warnings on PHP 8.1 2022-06-13 04:42:20 -04:00
composer
config [php8] Don't use strlen on potentially null string 2022-07-24 06:37:11 -07:00
content content: Fix comments in ContentModelChange 2022-09-02 21:08:26 +02:00
context Merge "DerivativeContext: Create WikiPage from derivated title" 2022-08-06 22:05:06 +00:00
dao Simplify assertion for false around wiki id and domain id 2022-06-18 09:49:13 +02:00
db rdbms: Move Database::factory() to DatabaseFactory service 2022-08-31 10:53:50 +10:00
debug Do minor code cleanup 2022-06-24 13:52:42 +02:00
deferred Merge "Replace trivial usages of code in strings with concatenation" 2022-08-26 16:54:56 +00:00
diff Use default ParserOutput::getText() options for injectTOC 2022-09-08 15:56:14 -04:00
edit ParsoidOutputStash: make storage backend configurable. 2022-06-14 14:11:37 +01:00
editpage EditPage: Disentangle edit summary and section title 2022-07-19 09:56:05 +00:00
exception Use MainConfigNames constant to refer configs 2022-08-17 21:27:48 +02:00
export Allow DB config to be reloaded on the fly 2022-08-05 17:32:12 +02:00
externalstore externalstore: Migrate Database::select usages to SelectQueryBuilder 2022-08-05 18:40:37 +02:00
filebackend filebackend: Remove LBFactory dep from LockManager service 2022-08-02 22:22:48 -07:00
filerepo filerepo: avoid PHP 8 warnings in File::splitMime() if $mime is null 2022-08-23 17:12:01 -07:00
gallery Set alt in galleries, despite caption being visible 2022-06-07 18:20:26 -04:00
historyblob Merge "DiffHistoryBlob: Remove workarounds for old PECL xdiff versions" 2022-06-09 16:14:42 +00:00
Hook TempUser CentralAuth integration 2022-05-10 09:06:05 +10:00
HookContainer Deprecate PersonalUrls hook 2022-09-08 21:04:12 +00:00
htmlform Create an HTMLForm field for selecting a timezone 2022-09-23 18:35:51 +02:00
http Use MainConfigNames instead of string literals, #3 2022-04-26 14:31:26 +03:00
import ImportStreamSource::newFromURL() Prevent passing null to fwrite 2022-08-16 13:39:39 +01:00
installer Localisation updates from https://translatewiki.net. 2022-09-12 09:21:48 +02:00
interwiki Merge "interwiki: Adjust documentation for InterwikiLookup::getAllPrefixes" 2022-03-09 22:28:04 +00:00
jobqueue Merge "Replace trivial usages of code in strings with concatenation" 2022-08-26 16:54:56 +00:00
json Add return type to jsonSerialize() 2022-07-02 15:34:02 +00:00
language docs: Fix broken references to docs/Configuration.md 2022-09-07 16:36:21 +00:00
languages Fix the autonym of the Iñupiaq language 2022-08-17 15:58:15 +03:00
libs Merge "rdbms: Log warning if ChronologyProtector finds data under presumed clientID" 2022-09-08 22:22:50 +00:00
linkeddata
linker Add support for write new for templatelinks migration 2022-07-12 14:46:54 +02:00
logging Merge "Show namespace instead of SpecialAllPages in plaintext block log message" 2022-07-28 21:38:58 +00:00
mail mail: Replace deprecated User::getOption 2022-08-05 22:31:05 +00:00
media Move isWellFormedLanguageTag from Language to LanguageCode 2022-08-30 11:39:26 +00:00
Message
Navigation Restore compatibility with overrides for IndexPager::makeLink() 2022-09-12 07:52:13 +02:00
objectcache Merge "SqlBagOStuff: Fix modtoken comparison" 2022-08-19 22:44:58 +00:00
page Use default ParserOutput::getText() options for injectTOC 2022-09-08 15:56:14 -04:00
pager Restore compatibility with overrides for IndexPager::makeLink() 2022-09-12 07:52:13 +02:00
ParamValidator/TypeDef Fix many typos in comments 2022-05-10 12:46:11 +00:00
parser Merge "parser: Use a <meta> tag for the internal TOC_PLACEHOLDER" 2022-09-09 21:12:34 +00:00
password Use MainConfigNames instead of string literals, #4 2022-04-26 19:03:37 +03:00
Permissions Merge "RestrictionStore: Do not return upload as a restriction for non-existent titles" 2022-09-06 16:56:50 +00:00
poolcounter poolcounter: Avoid calling parent::doWork in PoolWorkArticleView classes 2022-05-13 20:36:25 +00:00
preferences Create an HTMLForm field for selecting a timezone 2022-09-23 18:35:51 +02:00
profiler profiler: Remove deprecated 'trace' feature in SectionProfiler 2022-04-29 11:18:50 +00:00
rcfeed Use MainConfigNames instead of string literals, #4 2022-04-26 19:03:37 +03:00
registration Collect autoloader info in ExtensionProcessor 2022-06-07 17:39:00 +02:00
ResourceLoader VueComponentParser: Use Zest's getElementsByTagName() rather than PHP's 2022-09-11 02:45:27 -07:00
Rest Remove references to revision_actor_temp, aliased as temp_rev_user 2022-09-06 20:17:56 +02:00
Revision Improve docs of various ::getQueryInfo functions 2022-08-13 21:18:44 +02:00
revisiondelete Call IContextSource::getAuthority instead of IContextSource::getUser 2022-06-29 22:22:44 +02:00
revisionlist Get rid of warnings on PHP 8.1 2022-06-13 04:42:20 -04:00
search Merge "Outstanding improvements to the results layout on special:search page" 2022-09-07 10:50:12 +00:00
session SessionManager: write default edit token during session creation 2022-08-16 21:22:25 +00:00
Settings SettingsBuilder: report warnings 2022-07-15 12:24:20 +02:00
shell Replace trivial usages of code in strings with concatenation 2022-08-26 12:26:44 +00:00
site site: Consistently return null from Site::getDomain() 2022-07-06 19:07:01 +00:00
skins Merge "Deprecate PersonalUrls hook" 2022-09-08 21:23:10 +00:00
sparql Replace some more usages of Wikimedia\(suppress|restore)Warnings() 2022-02-24 20:27:46 +00:00
specialpage docs: Fix broken references to docs/Configuration.md 2022-09-07 16:36:21 +00:00
specials docs: Fix broken references to docs/Configuration.md 2022-09-07 16:36:21 +00:00
Storage Storage: Remove using LoadBalancer::getConnectionRef in NameTableStore 2022-08-08 15:16:14 +00:00
templates Remove errorbox class 2022-02-11 22:22:23 +00:00
tidy Merge "parser: Use a <meta> tag for the internal TOC_PLACEHOLDER" 2022-09-09 21:12:34 +00:00
title docs: Clarify that functions returning namespace names include underscores (not spaces) 2022-08-30 21:15:19 +00:00
upload UploadStash: Check if us_prop is set in the fileMetadata 2022-08-02 18:15:33 +01:00
user Simplify timezone-related code for user preferences 2022-09-12 12:23:48 +00:00
utils filerepo: avoid PHP 8 warnings in File::splitMime() if $mime is null 2022-08-23 17:12:01 -07:00
watcheditem Remove references to removed 'watchlist' query group 2022-08-16 20:33:43 +02:00
watchlist Setup: Remove internal short-cut config $wgUseEnotif 2022-08-17 23:41:30 +02:00
widget Make use of ?? and ?: operators where it makes sense 2022-08-04 21:43:12 +02:00
xml Fix many typos in comments 2022-05-10 12:46:11 +00:00
.htaccess
ActorMigration.php
ActorMigrationBase.php Improve docs of various ::getQueryInfo functions 2022-08-13 21:18:44 +02:00
AutoLoader.php Merge "Collect autoloader info in ExtensionProcessor" 2022-06-08 06:11:58 +00:00
BadFileLookup.php
BootstrapHelperFunctions.php Setup.php: clarify the use of $IP. 2022-05-03 11:53:05 +02:00
CategoriesRdf.php phan: Disable scalar_implicit_cast setting 2022-03-18 18:52:24 +00:00
Category.php Category: Migrate to use SelectQueryBuilder in ::getMembers 2022-07-07 07:50:43 +00:00
CategoryViewer.php Use SelectQueryBuilder instead of IDatabase::select() 2022-08-01 15:56:20 +01:00
CommentStore.php Improve docs of various ::getQueryInfo functions 2022-08-13 21:18:44 +02:00
CommentStoreComment.php
config-merge-strategies.php Turn DefaultSettings.php into a deprecated stub 2022-05-17 16:50:56 +02:00
config-schema.php ResourceLoader: Remove $wgIncludeLegacyJavaScript and simplify code 2022-09-11 16:52:07 +02:00
config-vars.php ResourceLoader: Remove $wgIncludeLegacyJavaScript and simplify code 2022-09-11 16:52:07 +02:00
ConfiguredReadOnlyMode.php Use type hints in ReadOnlyMode/ConfiguredReadOnlyMode and improve docs 2022-06-20 19:49:51 +02:00
ContentSecurityPolicy.php Use MainConfigNames instead of string literals, #4 2022-04-26 19:03:37 +03:00
DefaultSettings.php Turn DefaultSettings.php into a deprecated stub 2022-05-17 16:50:56 +02:00
Defines.php Prepare active branch following REL1_39 cut, labelling as 1.40-alpha 2022-09-05 20:30:54 -04:00
DeprecatedGlobal.php
DerivativeRequest.php
DevelopmentSettings.php debug: Fix $wgDebugRawPage to work with PSR-3 debug logging 2022-04-13 00:29:40 +00:00
DummyLinker.php
EditPage.php EditPage: Refactor large showIntro method 2022-08-29 15:45:19 -07:00
Emptiable.php
EventRelayerGroup.php
ExtensionInfo.php
FauxRequest.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
FauxRequestUpload.php
FauxResponse.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
FeedUtils.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
FileDeleteForm.php SpecialDelete: check permissions again when deleting 2022-04-11 12:47:47 -04:00
ForeignResourceManager.php ForeignResourceManager: Property and function docblocks 2022-08-16 21:42:46 +00:00
ForkController.php Hard deprecate JobQueueGroup::singleton()/destroySingletons() 2022-06-24 18:48:31 +02:00
FormOptions.php Type hints for ArrayAccess and JsonSerializable 2022-04-11 15:06:27 +03:00
GitInfo.php GitInfo: simplify and prepare for converting to a service 2022-06-30 00:09:48 +00:00
GlobalFunctions.php Fix documentation of wfTimestamp() 2022-08-24 18:25:38 -07:00
HeaderCallback.php
Hooks.php
Html.php Handle null passed to wfShorthandToInteger() and Html::element() 2022-07-12 13:21:18 +00:00
HtmlHelper.php Add HtmlHelper::modifyElements() for small HTML modifications 2022-05-08 15:55:00 +02:00
Linker.php Linker: Omit default value '' on Html::rawElement 2022-08-23 08:38:49 +00:00
LinkFilter.php Make use of ?? and ?: operators where it makes sense 2022-08-04 21:43:12 +02:00
ListToggle.php
MagicWord.php Fix various documentation related to null types 2022-02-26 10:31:24 +01:00
MagicWordArray.php
MagicWordFactory.php Add {{=}} as a built-in magic word 2022-05-20 13:08:20 -04:00
MainConfigNames.php ResourceLoader: Remove $wgIncludeLegacyJavaScript and simplify code 2022-09-11 16:52:07 +02:00
MainConfigNames.template Update docstring per introduction of maintenance/generateConfigSchema.php 2022-08-04 09:42:47 +02:00
MainConfigSchema.php Merge "ResourceLoader: Remove $wgIncludeLegacyJavaScript and simplify code" 2022-09-12 08:24:23 +00:00
MediaWiki.php rdbms: Remove synchronous pre-send waitForReplication fallback 2022-08-24 20:52:17 +00:00
MediaWikiServices.php Merge "rdbms: Move Database::factory() to DatabaseFactory service" 2022-09-02 01:51:38 +00:00
MediaWikiVersionFetcher.php
MergeHistory.php Remove unneeded use of TitleValue::newFromPage 2022-07-31 12:26:11 +00:00
MovePage.php Use SelectQueryBuilder instead of IDatabase::select() 2022-08-01 15:56:20 +01:00
MWGrants.php Hard deprecated the MWGrants class 2022-07-11 17:10:36 +00:00
MWTimestamp.php Hard-deprecate MWTimestamp::getHumanTimestamp 2022-06-20 02:20:25 +00:00
NoLocalSettings.php
OrderedStreamingForkController.php
OutputHandler.php Remove Flash cross-domain policy mangling 2022-07-22 11:44:49 +10:00
OutputPage.php Merge "OutputPage::addParserOutputText(): use default ParserOutput options from skin" 2022-09-09 18:10:25 +00:00
PageProps.php PageProps: Migrate Database::select usages to SelectQueryBuilder 2022-08-05 18:35:48 +02:00
PathRouter.php
PHPVersionCheck.php Prepare active branch following REL1_39 cut, labelling as 1.40-alpha 2022-09-05 20:30:54 -04:00
Pingback.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
ProtectionForm.php Replace deprecated wfReadOnly/wfReadOnlyReason 2022-06-20 15:35:24 +00:00
ProxyLookup.php
RawMessage.php
ReadOnlyMode.php Use type hints in ReadOnlyMode/ConfiguredReadOnlyMode and improve docs 2022-06-20 19:49:51 +02:00
ServiceWiring.php Merge "rdbms: Move Database::factory() to DatabaseFactory service" 2022-09-02 01:51:38 +00:00
Setup.php Remove deprecated $wgParser 2022-08-03 14:40:16 +02:00
SetupDynamicConfig.php docs: Fix broken references to docs/Configuration.md 2022-09-07 16:36:21 +00:00
SiteConfiguration.php Merge "SiteConfiguration: Document some non-obvious optimizations" 2022-08-04 23:32:07 +00:00
SiteStats.php SiteStats: Migrate Database::select usages to SelectQueryBuilder 2022-08-05 18:45:48 +02:00
SiteStatsInit.php SiteStats: Make sure initSiteStats.php re-distribute values 2022-08-22 12:24:56 +00:00
Status.php ResourceLoader namespace (attempt 2) 2022-05-24 15:41:46 +00:00
StreamFile.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
StubGlobalUser.php
StubObject.php Use updated ObjectFactory namespace 2022-03-09 23:04:51 +00:00
StubUserLang.php
TemplateParser.php Fix many typos in comments 2022-05-10 12:46:11 +00:00
TemplatesOnThisPageFormatter.php TemplatesOnThisPageFormatter: Use PageIdentity 2022-05-23 19:38:40 +02:00
Title.php Restore negative response cache in getDbPageLanguageCode 2022-09-06 05:56:45 +00:00
TitleArray.php
TitleArrayFromResult.php Get rid of warnings on PHP 8.1 2022-06-13 04:42:20 -04:00
TitleFactory.php
TrackingCategories.php Add {{=}} as a built-in magic word 2022-05-20 13:08:20 -04:00
WebRequest.php Support CDN query parameter re-ordering 2022-08-09 01:53:38 +00:00
WebRequestUpload.php
WebResponse.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
WebStart.php Setup.php: Remove internal use of $IP 2022-05-13 16:32:09 +00:00
WikiMap.php Fix many typos in comments 2022-05-10 12:46:11 +00:00
WikiReference.php