2024-05-04 19:01:21 +00:00
|
|
|
|
= MediaWiki 1.43 =
|
2024-04-08 23:37:54 +00:00
|
|
|
|
|
2025-01-04 23:52:17 +00:00
|
|
|
|
PHP 8.1 workboard: https://phabricator.wikimedia.org/tag/php_8.1_support/
|
|
|
|
|
|
PHP 8.2 workboard: https://phabricator.wikimedia.org/tag/php_8.2_support/
|
|
|
|
|
|
PHP 8.3 workboard: https://phabricator.wikimedia.org/tag/php_8.3_support/
|
|
|
|
|
|
PHP 8.4 workboard: https://phabricator.wikimedia.org/tag/php_8.4_support/
|
|
|
|
|
|
|
2025-07-01 13:51:55 +00:00
|
|
|
|
== MediaWiki 1.43.4 ==
|
|
|
|
|
|
|
|
|
|
|
|
THIS IS NOT A RELEASE YET
|
|
|
|
|
|
|
|
|
|
|
|
=== Changes since MediaWiki 1.43.3 ===
|
|
|
|
|
|
* Localisation updates.
|
2025-09-22 11:16:53 +00:00
|
|
|
|
* Rest: Move ModuleConfigurationException into correct folder.
|
|
|
|
|
|
* Cache: Move MessageCache hook interfaces into correct folder.
|
|
|
|
|
|
* uppercaseTitlesForUnicodeTransition: Add missing return.
|
|
|
|
|
|
* installer: Always check return of IDatabase::fieldInfo in postgres.
|
|
|
|
|
|
* autoload: Expand Autoloader::CORE_NAMESPACES.
|
|
|
|
|
|
* (T378163) mediawiki.page.ready: Fix undefined mw.user during temp user logout.
|
|
|
|
|
|
* (T375530) Define and store MediaWiki REST API ‘page’ endpoint responses as
|
|
|
|
|
|
JSON schemas.
|
|
|
|
|
|
* (T376603) REST: JSON schema definitions for additional response bodies.
|
|
|
|
|
|
* (T399672) mime: Add mime types for *.less.
|
|
|
|
|
|
* (T391180) docs: Add link to CORS setting for REST API.
|
|
|
|
|
|
* (T388729) Parser: Handle regex failure in extractBody method.
|
|
|
|
|
|
* (T399064) Parser::extractBody: Use possessive matcher and once-only
|
|
|
|
|
|
subpattern.
|
|
|
|
|
|
* (T399793) PermissionManager: Fix missingPermissionError() not returning early
|
|
|
|
|
|
when $short is true.
|
|
|
|
|
|
* rdbms: Fix GTID style detection for MySQL servers.
|
|
|
|
|
|
* ParserCacheSerializationTestCases: back port ParserOutput changes from 1.45.
|
|
|
|
|
|
* ParserCacheSerializationTestCases: distinguish empty ToC from missing ToC.
|
|
|
|
|
|
* Fix attachLatest --regenerate-all creating invalid SQL command.
|
|
|
|
|
|
* diff: Avoid Phan warning with some Wikidiff2 versions.
|
|
|
|
|
|
* (T327439) ParserOutput: Prepare to allow JsonCodec serialization of TOCData.
|
|
|
|
|
|
* media: Remove pass-by-ref in Exif::exifGPStoNumber.
|
|
|
|
|
|
* (T386208) Exif: Handle malformed gps tags.
|
|
|
|
|
|
* i18n: Add Special:MyLanguage to mediawiki.org links.
|
|
|
|
|
|
* (T380423) Show user a human readable message when $wgLocaltimezone is set to
|
|
|
|
|
|
an invalid timezone.
|
|
|
|
|
|
* maintenance: Fix sql for touched-only option of refreshLinks script.
|
|
|
|
|
|
* (T393028) ImagePage: Remove PNG previews line for native SVG rendering.
|
|
|
|
|
|
* (T374042) PostgresUpdater: Fix typo in sites_group index renaming instruction.
|
|
|
|
|
|
* (T401088) maintenance: Fix paging in findMissingFiles.php.
|
|
|
|
|
|
* (T401570) rdbms: Fix read-only detection for MariaDB 12.
|
|
|
|
|
|
* (T400881) filerepo: Improve identification of ForeignAPIRepo requests.
|
|
|
|
|
|
* (T397900) Don't use RequestContext in CommentParserFactory construction.
|
|
|
|
|
|
* (T402037) config: Change Reauthenticate Time Default.
|
|
|
|
|
|
* WebPHandler: Read all of the VP8L canvas height.
|
|
|
|
|
|
* (T264389, T161647) Make Content JsonCodecable.
|
|
|
|
|
|
* maintenance: Fix SQL range for moveToExternal.
|
|
|
|
|
|
* Use JsonCodec to serialize SelserContext.
|
|
|
|
|
|
* Forward-compat data for SelserContext w/ JSON-encoded Content.
|
|
|
|
|
|
* (T372444, T404230) DeletedContribsPager: Use the UserIdentity object instead
|
|
|
|
|
|
of the raw target string.
|
2025-07-01 13:51:55 +00:00
|
|
|
|
|
2025-06-25 00:25:10 +00:00
|
|
|
|
== MediaWiki 1.43.3 ==
|
|
|
|
|
|
|
2025-07-01 13:47:09 +00:00
|
|
|
|
This is a maintenance release of the MediaWiki 1.43 branch.
|
2025-06-25 00:25:10 +00:00
|
|
|
|
|
|
|
|
|
|
=== Changes since MediaWiki 1.43.2 ===
|
|
|
|
|
|
* Localisation updates.
|
2025-07-01 13:47:09 +00:00
|
|
|
|
* Fix test failures related to 1.43.2.
|
|
|
|
|
|
* (T398269) Fixup vendor issues related to symfony/polyfill-php.
|
2025-06-25 00:25:10 +00:00
|
|
|
|
|
2025-04-09 15:15:21 +00:00
|
|
|
|
== Mediawiki 1.43.2 ==
|
|
|
|
|
|
|
2025-06-25 00:24:40 +00:00
|
|
|
|
This is a security and maintenance release of the MediaWiki 1.43 branch.
|
2025-04-09 15:15:21 +00:00
|
|
|
|
|
|
|
|
|
|
=== Changes since MediaWiki 1.43.1 ===
|
|
|
|
|
|
* Localisation updates.
|
2025-06-24 20:51:31 +00:00
|
|
|
|
* (T388708) Diffs: avoid getContentHandler on null error.
|
|
|
|
|
|
* filebackend: Avoid passing null to FileBackend::normalizeContainerPath.
|
|
|
|
|
|
* (T390001) UploadBase: makeWarningsSerializable() should accept MessageParam
|
|
|
|
|
|
objects.
|
|
|
|
|
|
* tests: Add test cases for UploadFromChunks.
|
|
|
|
|
|
* (T382086) swagger-ui: Add licenses of packages used by Swagger UI bundle.
|
|
|
|
|
|
* (T392086) specials: Fix PHP Warning on Special:PasswordReset for crafted
|
|
|
|
|
|
input.
|
2025-06-25 00:24:40 +00:00
|
|
|
|
* (T386175, CVE-2025-32072) SECURITY: Escape newpage message in FeedUtils.
|
2025-06-24 20:51:31 +00:00
|
|
|
|
* (T391179) installer: fix MySQL create user permissions check.
|
|
|
|
|
|
* (T391169) INSTALL: Document requirement for bcmath/gmp on 32-bit systems.
|
|
|
|
|
|
* (T389260) language: Avoid warning when 'namespaceGenderAliases' is null.
|
|
|
|
|
|
* (T391867) http: Handle accept header with incomplete q.
|
|
|
|
|
|
* Update Pingback address.
|
|
|
|
|
|
* (T387684) filerepo: No exception on redirect without width in
|
|
|
|
|
|
ThumbnailEntryPoint.
|
|
|
|
|
|
* (T393879) objectcache: Cast explicitly to integer.
|
|
|
|
|
|
* tests: Use GLOB_BRACE in JsonSchemaAssertionTraitTest.
|
|
|
|
|
|
* tests: Fix casing of MediaWiki in @covers.
|
|
|
|
|
|
* (T394989) FormatMetadata::formatFraction: Don't risk passing null to
|
|
|
|
|
|
preg_match.
|
|
|
|
|
|
* (T374314) Link mw.Uri migration guide in docs and log warnings.
|
|
|
|
|
|
* (T395214) title: Reset cached Title objects between tests.
|
|
|
|
|
|
* (T395214) phpunit: Remove superfluous Title::clearCaches() calls.
|
|
|
|
|
|
* (T221560) Remove hyphens from legal search characters for MySQL-based database
|
|
|
|
|
|
searches.
|
|
|
|
|
|
* (T393628) Use anonymous user when creating named account from temp account.
|
|
|
|
|
|
* (T71997, T382963) Update RfC links to bypass redirect.
|
|
|
|
|
|
* (T351055) Improve BrokenRedirects display.
|
|
|
|
|
|
* (T382963) Sync up core repo with Parsoid.
|
|
|
|
|
|
* (T382963) Update wikimedia/parsoid to 0.20.3.
|
|
|
|
|
|
* (T395834) Treat File::getShortDesc() as possibly unsafe HTML.
|
|
|
|
|
|
* tests: Match deprecation message under php8.4 in DeprecationHelperTest.
|
|
|
|
|
|
* (T379445) debug: Migrate E_USER_ERROR to throw Error in DeprecationHelper.
|
|
|
|
|
|
* (T221560) Setup: Switch vendor error from echo+E_USER_ERROR to echo+exit.
|
|
|
|
|
|
* Setup: Update error message for composer dependencies check.
|
|
|
|
|
|
* (T381341, T379445) widget: Remove outdated try/catch wrapper from
|
|
|
|
|
|
SpinnerWidget.
|
|
|
|
|
|
* (T379445) phpunit: Remove unused trigger_error from TestLogger.
|
|
|
|
|
|
* (T356451) logger: Make log() methods return void.
|
|
|
|
|
|
* (T328921, T359868) Drop PHP 7.4/8.0 support from master (forward-port from MW
|
|
|
|
|
|
1.42).
|
|
|
|
|
|
* Drop a few phan PhanImpossibleTypeComparison suppressions now we've dropped
|
|
|
|
|
|
PHP 7.4.
|
|
|
|
|
|
* Clean up resource type and phan suppression in postgres code.
|
|
|
|
|
|
* structure tests: allow PHP 8.1 syntax and autoload enums.
|
2025-06-25 00:24:40 +00:00
|
|
|
|
* rdbms: fix table prefixing in "FOR UPDATE" clause generation in Postgres.
|
|
|
|
|
|
* (T388406) RefreshLinksJob: Check hastext before comparing HTML.
|
|
|
|
|
|
* (T397521) Api: Fix permission checks in action=compare.
|
|
|
|
|
|
* (T397883, T397643) htmlform: fix min/max validations on empty input in
|
|
|
|
|
|
int/float fields.
|
|
|
|
|
|
* specials: SpecialTalkPage: Use config from request context.
|
|
|
|
|
|
* (T380456) exception: Avoid service container init in exception handler.
|
|
|
|
|
|
* (T387408) exception: Skip use of HookRunner when not autoloaded.
|
|
|
|
|
|
* (T397470) Remove feature flagged Swagger UI based Special:RestSandbox.
|
|
|
|
|
|
* (T391343, CVE-2025-6589) SECURITY: BlockList: Hide rows containing suppressed
|
|
|
|
|
|
users.
|
|
|
|
|
|
* (T392746, CVE-2025-6590) SECURITY: Escape usernames in HTMLUserTextField
|
|
|
|
|
|
validation errors.
|
|
|
|
|
|
* (T392276, CVE-2025-6591) SECURITY: API: Escape i18n messages in
|
|
|
|
|
|
action=feedcontributions.
|
|
|
|
|
|
* (T396230, T31856, CVE-2025-6593) SECURITY: fix IP leak to unverified email.
|
|
|
|
|
|
* (T395063, CVE-2025-6594) SECURITY: apisandbox: Fix reflected XSS when invalid
|
|
|
|
|
|
'format' is provided.
|
|
|
|
|
|
* (T389009, CVE-2025-6597) SECURITY: Do not treat autocreation as login for
|
|
|
|
|
|
reauthentication.
|
|
|
|
|
|
* (T389010, CVE-2025-6926) SECURITY: Allow extensions to supress the reauth
|
|
|
|
|
|
flag on login.
|
|
|
|
|
|
* (T397595, CVE-2025-6927) SECURITY: Fix autoblocks visibility when
|
|
|
|
|
|
bl_deleted=1.
|
|
|
|
|
|
* (T397595, CVE-2025-6927) SECURITY: Fix leak of hidden usernames via autoblocks
|
|
|
|
|
|
of those users.
|
2025-04-09 15:15:21 +00:00
|
|
|
|
|
2025-01-04 23:52:17 +00:00
|
|
|
|
== MediaWiki 1.43.1 ==
|
|
|
|
|
|
|
2025-06-24 20:51:31 +00:00
|
|
|
|
This is a security and maintenance release of the MediaWiki 1.43 branch.
|
2025-01-04 23:52:17 +00:00
|
|
|
|
|
2025-04-09 15:14:08 +00:00
|
|
|
|
=== Changes since MediaWiki 1.43.0 ===
|
2025-01-04 23:52:17 +00:00
|
|
|
|
* Localisation updates.
|
2025-03-24 14:30:58 +00:00
|
|
|
|
* (T375707) exception: Convert E_STRICT errors to E_USER_NOTICE.
|
|
|
|
|
|
* (T380755) session: Do not set session.use_trans_sid.
|
2025-01-04 23:52:17 +00:00
|
|
|
|
* (T382987) $wgDnsBlacklistUrls now defaults to an empty array. See the comment
|
|
|
|
|
|
in the "Configuration changes for system administrators" section.
|
2025-03-24 14:30:58 +00:00
|
|
|
|
* (T383037) MimeMap: add gltf and glb mime types.
|
|
|
|
|
|
* (T383037) MimeAnalyzer: detect magic number for gltf binary.
|
|
|
|
|
|
* Commit swagger-ui's NOTICE.
|
|
|
|
|
|
* (T382484) dumps: Use proc_close() to close proc_open() subprocess.
|
|
|
|
|
|
* (T375707) MWExceptionHandler: Add error suppression to constant( 'E_STRICT' ).
|
|
|
|
|
|
* (T384879) FormatMetadata: Prevent running preg_match() on null.
|
|
|
|
|
|
* (T384995) specialpage: Improve handling of invalid lang codes on login/signup.
|
|
|
|
|
|
* (T385055) resourceloader: Fix hash computation for virtual files with
|
|
|
|
|
|
versionFilePath.
|
|
|
|
|
|
* (T385169) MultiUsernameFilter: Don't try to split ids if they're not a string.
|
|
|
|
|
|
* (T385567) parser: Gracefully handle invalid ParsoidRenderID keys.
|
|
|
|
|
|
* (T385568) rest: Return a 400 for invalid render IDs.
|
|
|
|
|
|
* (T383646) installer: Simplify the information box.
|
|
|
|
|
|
* (T384524) installer: Fix conflation between warning and info messages.
|
|
|
|
|
|
* (T376711) language: Use fallback chain to create NumberFormatter.
|
|
|
|
|
|
* (T384524) installer: Restore success messages.
|
|
|
|
|
|
* (T384524) installer: Restore "complete" success message.
|
|
|
|
|
|
* (T385332) feeds: Fix str_replace() deprecation warnings on PHP 8.
|
|
|
|
|
|
* (T386891) Revert "maintenance: Use DatabaseSqlite for type-hinting instead of
|
|
|
|
|
|
DBConnRef".
|
|
|
|
|
|
* (T381205) Add explanation text for "Allow emails from brand-new users".
|
|
|
|
|
|
* (T380880) ExternalLinks: fix mailto: links reversal.
|
|
|
|
|
|
* (T381033) RateLimiter: Fix peek mode.
|
|
|
|
|
|
* initEditCount: Join from user to actor to revision.
|
2025-04-09 15:14:08 +00:00
|
|
|
|
* (T387130,CVE-2025-32699) SECURITY: Update wikimedia/parsoid to 0.20.2.
|
2025-03-24 14:30:58 +00:00
|
|
|
|
* (T385519) Sanitizer::normalizeWhitespace warn on preg_replace error.
|
|
|
|
|
|
* (T387638) RevDelList: Ensure setVisibility always includes itemStatuses in
|
|
|
|
|
|
value if applicable.
|
|
|
|
|
|
* (T388296) ImportImages: Exit with non-zero code if import fails.
|
|
|
|
|
|
* Request: Improve log message when headers already sent.
|
|
|
|
|
|
* (T386368, T387397) REST page metadata endpoints: handle supressed data
|
|
|
|
|
|
gracefully.
|
|
|
|
|
|
* (T388066) Avoid trying to load the session user in MW_NO_SESSION endpoints.
|
|
|
|
|
|
* (T388171) HttpError: Cast Message to string.
|
|
|
|
|
|
* (T384197) permissions: Avoid potential infinite loop if BlockDisablesLogin =
|
|
|
|
|
|
true.
|
|
|
|
|
|
* (T388255) ApiLogin: Don't break BotPasswords if password or user is blank,
|
|
|
|
|
|
just error.
|
|
|
|
|
|
* (T388924) MagicWord::replace*: Make sure we don't pass null into preg_match/
|
|
|
|
|
|
preg_replace.
|
|
|
|
|
|
* (T388944) Html: Fix "substr(): Passing null to parameter #1 ($string) of type
|
|
|
|
|
|
string is deprecated".
|
|
|
|
|
|
* (T388728, T385519) Sanitizer::normalizeSectionNameWhitespace: Apply same
|
|
|
|
|
|
anti-null fix as 270499b.
|
|
|
|
|
|
* (T387690) upload: Suppress warnings from iconv().
|
|
|
|
|
|
* (T388733) Sanitizer::normalizeWhitespace: simplify redundant preg_replace.
|
2025-04-09 12:31:07 +00:00
|
|
|
|
* (T315573) Fix GREATEST usage in site_stats.
|
2025-04-09 15:14:08 +00:00
|
|
|
|
* (T304474, CVE-2025-32696) SECURITY: Apply proper restrictions on file revert
|
|
|
|
|
|
action.
|
|
|
|
|
|
* (T24521, T62109, T140010, CVE-2025-32697) SECURITY: PermissionManager:
|
|
|
|
|
|
Differentiate between cascading protection of file content and file pages.
|
2025-04-09 12:31:07 +00:00
|
|
|
|
* (T387507) ResourceLoader: update wikimedia/minify from 2.8.0 to 2.8.1.
|
|
|
|
|
|
* (T388273, T388335) Upgrading pear/net_url2 (v2.2.2 => v2.2.3).
|
|
|
|
|
|
* (T390063, T277675) ResourceLoader: update wikimedia/minify to 2.9.0.
|
|
|
|
|
|
* (T384851) FileBackend: PHP Deprecated: strrpos(): Passing null to parameter #1
|
|
|
|
|
|
($haystack).
|
|
|
|
|
|
* (T378622) Parameterize ChangeTags::buildTagFilterSelector to support various
|
|
|
|
|
|
tag sets.
|
|
|
|
|
|
* (T344352) ChangeTags: Optimize label and description parsing.
|
|
|
|
|
|
* In .htaccess deny files, use "Satisfy All".
|
|
|
|
|
|
* (T322672, T387478) REST: Remove unused setUseParserCache() as potential
|
|
|
|
|
|
footgun.
|
|
|
|
|
|
* (T389028) block: Fix DBS::acquireTarget() race using GET_LOCK().
|
|
|
|
|
|
* (T388807) LanguageConverter: Only set mTablesLoaded once they're really
|
|
|
|
|
|
loaded.
|
2025-04-09 15:14:08 +00:00
|
|
|
|
* RestrictionStore: Remove short-circuit mode when fetching cascading sources.
|
|
|
|
|
|
* (T385958, CVE-2025-32698) SECURITY: LogPager.php: Restriction enforcer
|
|
|
|
|
|
functions do not correctly enforce suppression restrictions.
|
|
|
|
|
|
* (T387130, CVE-2025-32699) SECURITY: Potential javascript injection attack
|
|
|
|
|
|
enabled by Unicode normalization in Action API.
|
|
|
|
|
|
* (T358689, CVE-2025-3469) SECURITY: i18n XSS vulnerability in
|
|
|
|
|
|
HTMLMultiSelectField when sections are used.
|
2025-01-04 23:52:17 +00:00
|
|
|
|
|
|
|
|
|
|
== MediaWiki 1.43.0 ==
|
|
|
|
|
|
|
2024-12-20 14:14:39 +00:00
|
|
|
|
=== Changes since MediaWiki 1.43.0-rc.0 ===
|
|
|
|
|
|
* (T381728) Use PHP 8.3 in MediaWiki-Docker
|
|
|
|
|
|
* (T382375) Misaligned label margins on Special:MathStatus
|
|
|
|
|
|
* (T382196) \overbrace rendered below (not above) in MathML and client-side
|
|
|
|
|
|
Mathjax
|
|
|
|
|
|
* (T381310) Math Popup not working in newer version of Popup-Extension
|
|
|
|
|
|
* (T380079) This page is using the deprecated ResourceLoader module
|
|
|
|
|
|
"mediawiki.Uri" on page load
|
|
|
|
|
|
* (T381311) Preview has wrong location in MathML mode
|
|
|
|
|
|
* (T381046) Preview not working with MathML rendering
|
|
|
|
|
|
* (T381102) <math>\left(a\right)'</math> in MathML and MathJax renders
|
|
|
|
|
|
with one prime symbol too much
|
|
|
|
|
|
* (T380184) <math>\operatorname{vec}</math> crashes with native MathML
|
|
|
|
|
|
* (T380654) vertical space between multline equations is ignored
|
|
|
|
|
|
* (T375274) mediawiki_function_names math functions eat the following paren in
|
|
|
|
|
|
native MML mode
|
|
|
|
|
|
* (T373732) Audit SUL3 shared-domain i18n messages for XSS
|
|
|
|
|
|
* (T381068) PHP Deprecated: Creation of dynamic property
|
|
|
|
|
|
MediaWiki\\Auth\\ButtonAuthenticationRequest::$skipReset is deprecated
|
|
|
|
|
|
at AuthenticationRequest.php:182
|
|
|
|
|
|
* (T20110) Define AbuseFilter consequence to display a CAPTCHA
|
|
|
|
|
|
* (T332743) On private wikis the ellipsis should not appear above 720px
|
|
|
|
|
|
(wikitech, office, translate wiki)
|
|
|
|
|
|
|
2024-04-08 23:37:54 +00:00
|
|
|
|
== MediaWiki 1.43.0-PRERELEASE ==
|
|
|
|
|
|
|
|
|
|
|
|
== Upgrading notes for 1.43 ==
|
|
|
|
|
|
Don't forget to always back up your database before upgrading!
|
|
|
|
|
|
|
|
|
|
|
|
See the file UPGRADE for more detailed per-version upgrade instructions from the
|
|
|
|
|
|
oldest supported upgrading version, MediaWiki 1.35.
|
|
|
|
|
|
|
|
|
|
|
|
Some specific notes for MediaWiki 1.43 upgrades are below:
|
|
|
|
|
|
|
2024-05-05 08:56:08 +00:00
|
|
|
|
* It is now necessary that the OpenSSL PHP extension is installed.
|
2024-10-15 11:04:21 +00:00
|
|
|
|
* update.php updates the Linter database table with two migration scripts that
|
|
|
|
|
|
can take a long time to run: with the provided settings, each migration
|
|
|
|
|
|
script update roughly 500 rows per second. If at all possible, it is
|
|
|
|
|
|
highly recommended to let update.php run these migration scripts.
|
|
|
|
|
|
|
|
|
|
|
|
If this is deemed too long a maintenance operation (depending on the number
|
|
|
|
|
|
of rows in the Linter database table), it is possible, for a upgrade from
|
|
|
|
|
|
1.40 onwards, to run the migration scripts before updating the MediaWiki
|
|
|
|
|
|
and extensions files to 1.43. Set $wgLinterWriteNamespaceColumnStage and
|
|
|
|
|
|
$wgLinterWriteTagAndTemplateColumnsStage to true, and run the
|
|
|
|
|
|
extensions/Linter/maintenance/migrateNamespace.php and
|
|
|
|
|
|
extensions/Linter/maintenance/migrateTagTemplate.php migration scripts
|
|
|
|
|
|
before proceeding with any other code update.
|
|
|
|
|
|
When upgrading from a version <= 1.39, a multi-step update is necessary to
|
|
|
|
|
|
be able to run the migration scripts independently from update.php: first
|
|
|
|
|
|
update to 1.42, then proceed as indicated.
|
|
|
|
|
|
|
2024-04-08 23:37:54 +00:00
|
|
|
|
For notes on 1.42.x and older releases, see HISTORY.
|
|
|
|
|
|
|
|
|
|
|
|
=== Configuration changes for system administrators in 1.43 ===
|
|
|
|
|
|
|
2024-04-09 03:26:02 +00:00
|
|
|
|
* $wgBlockTargetMigrationStage, which was introduced in 1.42, is now deprecated
|
|
|
|
|
|
and has no effect.
|
2025-01-04 23:52:17 +00:00
|
|
|
|
* (T382987) The default value of 'http.dnsbl.sorbs.net.' in $wgDnsBlacklistUrls
|
|
|
|
|
|
has been removed. This is because sorbs.net have stopped providing their
|
|
|
|
|
|
services. This means that if you have $wgEnableDnsBlacklist set to true, it
|
|
|
|
|
|
will no longer provide any value unless you add other servers to
|
|
|
|
|
|
$wgDnsBlacklistUrls.
|
2024-04-08 23:37:54 +00:00
|
|
|
|
|
|
|
|
|
|
==== New configuration ====
|
|
|
|
|
|
|
2022-10-13 21:03:32 +00:00
|
|
|
|
* (T13555) $wgParserEnableLegacyHeadingDOM - Defaults to `true`, can be set to
|
|
|
|
|
|
`false` to enable new, more accessible HTML markup for wikitext headings.
|
|
|
|
|
|
Note that each skin must also use the 'supportsMwHeading' option to allow it.
|
|
|
|
|
|
More information: https://www.mediawiki.org/wiki/Heading_HTML_changes
|
|
|
|
|
|
In a future release the new markup will become the default,
|
|
|
|
|
|
and later this option will be removed.
|
2024-05-19 17:22:43 +00:00
|
|
|
|
* (T12347) $wgEnableProtectionIndicators - Defaults to false, setting it to true
|
|
|
|
|
|
shows a lock icon indicator on protected pages.
|
2024-08-27 20:26:26 +00:00
|
|
|
|
* (T373480) $wgSortedCategories - Defaults to false, setting it to true will
|
|
|
|
|
|
sort the categories shown on article pages. This is an experimental setting;
|
|
|
|
|
|
its future will depend on community adoption and feedback on the phab task
|
|
|
|
|
|
is welcome.
|
2024-09-25 15:59:32 +00:00
|
|
|
|
* (T45646) $wgAllowRawHtmlCopyrightMessages - Defaults to true, can be set to
|
|
|
|
|
|
false to disable the use of the localisation messages 'copyright' and
|
|
|
|
|
|
'history_copyright' and the hook 'SkinCopyrightFooter', which have been
|
|
|
|
|
|
deprecated in this release. This helps protect your wiki against attacks by
|
|
|
|
|
|
a rogue administrator account and will become the default in the future.
|
2024-10-27 06:46:15 +00:00
|
|
|
|
* (T4085) $wgParserEnableUserLanguage - Defaults to false, can be set to
|
|
|
|
|
|
true to let {{USERLANGUAGE}} magic word return the user's language,
|
|
|
|
|
|
instead of the page language. Beware that accessing the user language may
|
|
|
|
|
|
reduce the efficiency of the parser cache.
|
2024-04-08 23:37:54 +00:00
|
|
|
|
|
|
|
|
|
|
==== Changed configuration ====
|
|
|
|
|
|
|
2024-04-25 16:57:53 +00:00
|
|
|
|
* wgPageLinksSchemaMigrationStage – (T299947) This temporary setting, which
|
|
|
|
|
|
controls the database schema migration for the page links table, is now set
|
|
|
|
|
|
by default to write to both old and new data and read from the new data.
|
2024-05-04 13:38:00 +00:00
|
|
|
|
* wgFooterIcons – (T256190) The default "Powered by MediaWiki" button icon has
|
|
|
|
|
|
been updated to an SVG icon, and the footer icons are now wrapped as buttons
|
|
|
|
|
|
in HTML, rather than faking it within the icons themselves. You should adjust
|
|
|
|
|
|
any footer icons you provide or over-ride to match.
|
exception: Remove "error-json" debug log channel
This was introduced to allow maintainers during local development,
and e.g. when debugging in production, to capture silenced runtime
warnings, such as those silenced via AtEase or the `@` PHP operator.
These are not expected to be of interest to capture by default on
web requests, hence placed in a separate channel that e.g. one would
only enable during development, or when debugging.
When this was introduced, MediaWiki was only just starting to
experiment with PSR-3 structuerd logging, and thus it hardcoded JSON.
Now that we support structured logging natively, this has been
obsoleted by the "error" channel (for warnings in production),
and (since last December) the "silenced-error" channel (for debugging
and development) with commit f6cb39979b (I34b19837c3).
With the above two alternatives available, there is no longer a need
for the duplicate "error-json" channel.
Bug: T193472
Change-Id: I7a6e6fa52a47a29ec04411a6c8b05e005a0a4fc7
2024-05-13 14:47:33 +00:00
|
|
|
|
* The "error-json" channel, configurable via $wgDebugLogGroups, has been
|
|
|
|
|
|
removed. For structured logging, use the "error" channel directly instead.
|
|
|
|
|
|
Since MediaWiki 1.25, structured logging is supported via Monolog for all
|
|
|
|
|
|
channels, including the "error" channel. For silenced errors, you use the
|
|
|
|
|
|
"silenced-error" channel added in MediaWiki 1.42. (T193472)
|
2024-08-15 00:26:21 +00:00
|
|
|
|
* wgResourceLoaderUseObjectCacheForDeps - (T343492) This is now enabled by
|
|
|
|
|
|
default. This means ResourceLoader writes information to the MainStash
|
|
|
|
|
|
instead of a core database table, which can be set to a separate database
|
|
|
|
|
|
via wgMainStash. If you find issues, please drop a comment on T343492.
|
2024-08-21 10:21:06 +00:00
|
|
|
|
It is now deprecated and will be removed in MediaWiki 1.44.
|
2024-04-08 23:37:54 +00:00
|
|
|
|
|
|
|
|
|
|
==== Removed configuration ====
|
|
|
|
|
|
|
2024-05-05 08:56:08 +00:00
|
|
|
|
* wgSessionInsecureSecrets has been removed since OpenSSL is now a required
|
|
|
|
|
|
PHP extension.
|
2024-05-15 20:04:28 +00:00
|
|
|
|
* $wgTemplateLinksSchemaMigrationStage has been removed.
|
Stats: Remove $wgSamplingStatsdClient, deprecate SamplingStatsdClient class
== Motivation ==
* Reduce amount of configuration switches relating to MW Stats component,
to reduce noise for MW sysadmins and devs.
* Reduce amount of code in the legacy Statsd implementation.
== Background ==
* commit e56f7b6c63 (2015, MW 1.26): Add statsd sampling.
Refers to T106457 under T106450 ("hook usage counts"), which used it
in https://gerrit.wikimedia.org/r/226640 which was reverted shortly
after in https://gerrit.wikimedia.org/r/233045 due to too high
overhead of stats code for something as hot as hooks, regardless
of actual sampling/stats sending.
* commit b203ec5fcd (2016, MW 1.29): Make statsd sampling configurable.
Use case unknown, but it is not used today in wmf-config, and
appears to have never been set in the past either:
```
operations-mediawiki-config (master)
$ git log -p wmf-config/ | grep wgStatsdSamplingRates
24s ec=1$
```
Looking for unmerged patches, I do find an abandoned patch for
the Wikibase extension that attempted to use to instrument database
load in 2020. It was abandoned in favour of dedicated DB tooling
to inspect database queries, which offer more detail as well.
https://gerrit.wikimedia.org/r/q/message:wgStatsdSamplingRates
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/593335
== Future ==
In 10 years, we've not needed sampling anywhere even at our scale.
StatsD absorbs high traffic very well, with controlled flushing to
Graphite as backend. Prometheus exporters are similarly buffered
close to the producer with controlled scraping intervals. This
should make sampling unlikely to be needed.
We did have one experiment where sampling was attempted, which led
to the developments this commit removes. That instrumentation was
removed because the code was far too frequently called and hot that
it posed a latency problem, even before we factor in whether it
sends the metric. The overhead of the stats code itself added too
much overhead to Hook::run / HookContainer.
The new StatsFactory service class does feature per-metric sampling,
although this is similarly without use case at the moment:
https://codesearch.wmcloud.org/search/?q=%3EsetSampleRate&excludeFiles=test
New instrumentations should use StatsFactory, and if sampling were
needed in the future, it could be experimented by calling setSampleRate
on Metric objects (as part of the instrumentation, rather than in
site config, unless the feature in question makes it configurable).
That seems enough upfront investment for a theoretical future need.
Change-Id: I5f68e48d6d2c880a43f83915234d3c9f32a2d1ef
2024-08-07 18:43:26 +00:00
|
|
|
|
* $wgSamplingStatsdClient has been removed. It was introduced in MW 1.28 for
|
|
|
|
|
|
use in the Wikibase extension, but never used. The new StatsFactory service
|
|
|
|
|
|
should be used for new instrumentations, which already supports sampling.
|
|
|
|
|
|
Beware that sampling is generally not needed even at scale, and that sampling
|
|
|
|
|
|
does not significantly reduce runtime overhead, thus making it slow to
|
|
|
|
|
|
instrument very hot code even with built-in sampling.
|
2024-02-15 20:23:23 +00:00
|
|
|
|
* (T294397) The 'writeapi' userright, which controlled access to some API
|
|
|
|
|
|
modules, has been removed.
|
2024-10-15 11:04:21 +00:00
|
|
|
|
* (T331883) The variables $wgLinterWriteTagAndTemplateColumnsStage,
|
|
|
|
|
|
$wgLinterUserInterfaceTagAndTemplateStage, $wgLinterWriteNamespaceColumnStage,
|
|
|
|
|
|
and $wgLinterUseNamespaceColumnStage have been removed. The namespace,
|
|
|
|
|
|
tag and template column of the Linter database table are now written and used.
|
|
|
|
|
|
The existing data from the Linter database is migrated to the new columns
|
|
|
|
|
|
by extensions/Linter/maintenance/migrateNamespace.php and
|
|
|
|
|
|
extensions/Linter/maintenance/migrateTagTemplate.php, which are both called
|
|
|
|
|
|
by the update script (T367207).
|
2024-04-08 23:37:54 +00:00
|
|
|
|
|
|
|
|
|
|
=== New user-facing features in 1.43 ===
|
|
|
|
|
|
|
2024-05-11 10:40:01 +00:00
|
|
|
|
* (T338341) Support reading XMP and EXIF from WebP files
|
2024-06-12 21:10:21 +00:00
|
|
|
|
* (T365636) Wiki's with wgAllowExternalImages enabled now detect urls
|
|
|
|
|
|
with AVIF, SVG and WebP images.
|
2020-01-10 13:52:02 +00:00
|
|
|
|
* (T242346) Special:TalkPage is a new special page that will redirect to the
|
|
|
|
|
|
associated talk namespace page, e.g. [[Special:TalkPage/Foo]] redirects to
|
|
|
|
|
|
[[Talk:Foo]]; [[Special:TalkPage/Project:Foo]] goes to [[Project talk:Foo]].
|
|
|
|
|
|
This allows for links by templates and tools without having to parse what
|
|
|
|
|
|
namespaces are valid and have associated talk pages.
|
2024-02-20 02:23:27 +00:00
|
|
|
|
* New preference: "Send password reset emails only when both email address
|
|
|
|
|
|
and username are provided."
|
2019-05-06 09:24:05 +00:00
|
|
|
|
* (T4085) Added new magic word {{USERLANGUAGE}} which returns the language code
|
|
|
|
|
|
of the interface set by the user.
|
2024-11-21 23:02:42 +00:00
|
|
|
|
* (T263513) Special:NamespaceInfo is a new special page that displays a list
|
|
|
|
|
|
of namespaces available on the wiki, their descriptions and configuration.
|
2024-04-08 23:37:54 +00:00
|
|
|
|
|
|
|
|
|
|
=== New developer features in 1.43 ===
|
|
|
|
|
|
|
2024-04-02 23:32:58 +00:00
|
|
|
|
* StatusValue class gained new method getMessages(): MessageSpecifier[],
|
|
|
|
|
|
allowing the errors to be inspected and displayed more easily, for example:
|
|
|
|
|
|
foreach ( $status->getMessages() as $msg ) {
|
|
|
|
|
|
if ( $msg->getKey() !== 'ignored-message' ) {
|
|
|
|
|
|
$this->getOutput()->addWikiMsg( $msg );
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
Make Message and MessageValue compatible
Fix two problems that made it difficult to convert between Message
and MessageValue, or to write code that could accept both of them,
as exemplified by the StatusValue class:
* Implement a common interface
* Use the same internal format for message parameters
While these changes should be compatible with most of existing code,
where the authors were courteous enough to simply call methods such
as Message::numParam() and not look inside the values they return,
it is potentially a breaking change for anything that depended on
the formatted params being arrays or accessed their keys.
Example patches: https://gerrit.wikimedia.org/r/q/topic:message-param
Notable changes:
* Message and MessageValue now both implement MessageSpecifier
(only Message implemented it before).
* Message::numParam() and other static methods for encoding params
now return MessageParam objects, instead of special arrays.
Use these MessageParam objects internally in Message.
* Narrow down the return type of MessageSpecifier::getParams() (it
was just `array`, allowing any type in the array). Narrow down the
types for Message::params() and MessageValue::params() to match.
* Deprecate MediaWiki\Message\Converter. As a replacement add
MessageValue::newFromSpecifier(), which is analogous to
Message::newFromSpecifier(), but without weird legacy edge cases.
* Make StatusValue::getMessages() return MessageValues. Remove code
that converted between Message and MessageValue, no longer needed.
* Update many type declarations and comments to use MessageSpecifier
instead of MessageValue, as well as a couple of tests that depended
on implementation details.
Bug: T358779
Change-Id: I625a48a6ecd3fad5c2ed76b23343a0fef91e1b83
2024-02-29 19:20:30 +00:00
|
|
|
|
* (T358779) The MessageValue class can now be used instead of Message in most
|
|
|
|
|
|
places (in methods that accept the MessageSpecifier interface). This allows
|
|
|
|
|
|
using localisation messages in code that doesn't know the user's language,
|
|
|
|
|
|
such as many hooks, without relying on global state. To convert between them,
|
|
|
|
|
|
use MessageValue::newFromSpecifier() and Message::newFromSpecifier().
|
2024-04-18 15:58:57 +00:00
|
|
|
|
* The REST API framework now supports defining redirects in route definition
|
|
|
|
|
|
files. See MediaWiki\Rest\Handler\RedirectHandler for details.
|
2022-10-13 21:03:32 +00:00
|
|
|
|
* (T13555) Skins can enable the 'supportsMwHeading' option for new, more
|
|
|
|
|
|
accessible HTML markup for wikitext headings. MediaWiki's own styles and
|
|
|
|
|
|
scripts have been updated to support it, but your skin may also need updates.
|
|
|
|
|
|
More information: https://www.mediawiki.org/wiki/Heading_HTML_changes
|
|
|
|
|
|
A future release will emit deprecation warnings for skins with
|
|
|
|
|
|
'supportsMwHeading' set to false.
|
2024-05-22 14:03:32 +00:00
|
|
|
|
* The AuthPreserveQueryParams hook was added.
|
2024-05-04 07:18:19 +00:00
|
|
|
|
* (T219397) New `Language::formatDurationBetweenTimestamps()` function added
|
|
|
|
|
|
which takes two timestamps and a precision in order to calculate a more
|
|
|
|
|
|
accurate text representation of duration.
|
2024-05-04 14:28:00 +00:00
|
|
|
|
* Added an interactive mode to the install.php maintenance script.
|
2024-09-27 17:43:25 +00:00
|
|
|
|
* The ResourceLoaderModifyEmbeddedSourceUrls hook was added.
|
2024-07-28 14:54:28 +00:00
|
|
|
|
* The AuthManagerFilterProviders hook was added.
|
auth: Add AuthManagerVerifyAuthentication hook
Add a new hook that can be used to prevent authentication just
before AuthManager takes the main action (writing the session
for login, creating the local user account for account creation).
The driving use case is a wiki which supports both a local and
a central (wiki-farm-level) login or signup flow - various
security options (such as 2FA) are needed during local login
but unnecessary during central login (which will have those
security features centrally), so we need to skip much of the
security when the user is taking the central route, and a bug
in how that's done could result in circumvention of security
features during local login. The hook makes it easy to inspect
and potentially interrupt login near the end, when we know for
sure what route it took. (Specifically, we know which primary
provider was used. The hook doesn't expose other details,
such as the list of preauth or secondary provders that were
invoked, because they were not needed for the immediate use
case, but they are easy to add in the future.)
The hook is called after the secondary providers for login
and before them for account creation, since secondaries can
interrupt login but cannot interrupt account creation.
A shortcoming is that since the hook is called after a primary
provider succeeded, it cannot prevent the primary provider from
doing work, ie. it cannot prevent creation of the remote account
during account creation (although it will prevent the creation
of the local account). This is not great but acceptable, since
creating a new account isn't very security-sensitive.
This also means the hook would not be useful during account
linking, as AuthManager does not do anything there, all the work
happens in the primary provider. This is even less great but
few authentication extensions implement account linking.
The hook is not called for authentication happening via
CreatedAccountAuthenticationRequest, which is a weird internal
hack hook handlers should not have to know about.
Also rename a confusingly named variable.
Change-Id: I835b2fe2f43e6e81f23348165cbb9c93832e6583
2024-08-18 11:13:17 +00:00
|
|
|
|
* The AuthManagerVerifyAuthentication hook was added.
|
2024-08-09 22:17:01 +00:00
|
|
|
|
* The OutputPageRenderCategoryLink hook was added, as a replacement for the
|
2024-08-14 19:45:03 +00:00
|
|
|
|
deprecated OutputPageMakeCategoryLinks hook.
|
2024-09-05 14:30:32 +00:00
|
|
|
|
* PreAuthenticationProvider, PrimaryAuthenticationProvider, and
|
|
|
|
|
|
SecondaryAuthenticationProvider now receive a `canAlwaysAutocreate` flag in
|
|
|
|
|
|
the options of the `testUserForCreation` invocation. This flag is true when
|
|
|
|
|
|
the session provider is exempt from autocreate user permissions checks.
|
2024-09-10 03:56:08 +00:00
|
|
|
|
* The CentralIdLookup service gained the isOwned() method, which can be used
|
|
|
|
|
|
to check if a local username is reserved for a central user, even if a local
|
|
|
|
|
|
user account does not exist yet. This can be used by extensions to look
|
|
|
|
|
|
up information about the central user.
|
2024-09-11 22:15:26 +00:00
|
|
|
|
* (T251790) A Jest-based test suite has been introduced for testing front-end
|
|
|
|
|
|
code such as Vue components. Tests can be run via `npm run jest`, and test
|
|
|
|
|
|
files live in `tests/jest/`. See https://www.mediawiki.org/wiki/Jest
|
|
|
|
|
|
for more information.
|
2024-09-23 23:02:24 +00:00
|
|
|
|
* The SpreadAnyEditBlock hook was added.
|
2024-10-10 14:34:51 +00:00
|
|
|
|
* The ConditionalDefaultOptionsAddCondition hook was added.
|
2024-04-08 23:37:54 +00:00
|
|
|
|
|
|
|
|
|
|
=== External library changes in 1.43 ===
|
|
|
|
|
|
|
2024-02-29 22:47:26 +00:00
|
|
|
|
* The OOjs Router library has been merged into core and will be archived
|
|
|
|
|
|
upstream.
|
|
|
|
|
|
|
2024-04-08 23:37:54 +00:00
|
|
|
|
===== New development-only external libraries =====
|
|
|
|
|
|
|
2024-09-11 22:15:26 +00:00
|
|
|
|
* (T251790) Some development-only external libraries have been added for the new
|
|
|
|
|
|
testing tools for front-end Vue components:
|
2024-10-15 21:39:43 +00:00
|
|
|
|
* Added jest and jest-environment-jsdom at v29.7.0.
|
|
|
|
|
|
* Added @vue/test-utils v2.4.6.
|
|
|
|
|
|
* Added @vue/vue3-jest v29.2.6.
|
|
|
|
|
|
* Added @babel/preset-env v7.25.4.
|
|
|
|
|
|
* Added pinia v2.0.16 (already available via ResourceLoader).
|
|
|
|
|
|
* Added @pinia/testing v0.0.12.
|
|
|
|
|
|
* Codex, already available via ResourceLoader, now has the npm versions, i.e.
|
|
|
|
|
|
@wikimedia/codex and @wikimedia/codex-icons, also installed for testing.
|
2024-04-08 23:37:54 +00:00
|
|
|
|
|
|
|
|
|
|
==== Changed external libraries ====
|
2024-07-03 07:41:05 +00:00
|
|
|
|
|
2024-04-17 20:39:01 +00:00
|
|
|
|
* Updated codex, codex-design-tokens and codex-icons
|
2024-10-16 15:39:59 +00:00
|
|
|
|
from v1.3.6 to v1.14.0.
|
2024-10-07 13:26:22 +00:00
|
|
|
|
* Updated composer/semver from 3.4.0 to 3.4.3.
|
2024-10-27 22:36:18 +00:00
|
|
|
|
* Updated guzzlehttp/guzzle from 7.7.1 to 7.9.2.
|
2024-07-22 20:03:17 +00:00
|
|
|
|
* Updated jquery.i18n from 1.0.7 to 1.0.10.
|
2024-11-09 20:38:47 +00:00
|
|
|
|
* Updated justinrainbow/json-schema from 5.2.13 to 5.3.0.
|
2024-11-09 22:55:30 +00:00
|
|
|
|
* Updated pear/mail from 1.6.0 to 2.0.0.
|
2024-05-03 13:51:19 +00:00
|
|
|
|
* Updated pear/net_smtp from 1.11.1 to 1.12.1.
|
2024-11-11 02:11:40 +00:00
|
|
|
|
* Updated mck89/peast from v1.16.2 to 1.16.3.
|
2024-05-03 19:55:00 +00:00
|
|
|
|
* Updated monolog/monolog from 2.9.2 to 2.9.3.
|
2024-11-09 22:30:39 +00:00
|
|
|
|
* Updated symfony/yaml from 5.4.35 to 5.4.45.
|
2024-11-13 16:44:23 +00:00
|
|
|
|
* Updated OOUI from v0.49.1 to v0.51.2.
|
2024-10-15 14:02:56 +00:00
|
|
|
|
* Updated wikimedia/at-ease from 2.1.0 to 3.0.0.
|
2024-11-09 05:52:49 +00:00
|
|
|
|
* Updated wikimedia/json-codec from 3.0.1 to 3.0.3.
|
2024-11-14 12:37:05 +00:00
|
|
|
|
* Updated wikimedia/less.php from 4.2.1 to 5.1.2.
|
2025-04-09 12:31:07 +00:00
|
|
|
|
* Updated wikimedia/minify from 2.7.0 to 2.9.0.
|
2024-11-12 20:04:46 +00:00
|
|
|
|
* Updated wikimedia/normalized-exception from 1.0.1 to 2.0.0.
|
2024-10-15 14:00:36 +00:00
|
|
|
|
* Updated wikimedia/php-session-serializer from 2.0.1 to 3.0.0.
|
2024-11-11 02:04:01 +00:00
|
|
|
|
* Updated wikimedia/purtle from 1.0.8 to 2.0.0.
|
2024-11-12 00:49:33 +00:00
|
|
|
|
* Updated wikimedia/relpath from 4.0.0 to 4.0.1.
|
2024-11-05 21:10:48 +00:00
|
|
|
|
* Updated wikimedia/remex-html from 4.1.0 to 4.1.1.
|
2024-11-12 20:03:25 +00:00
|
|
|
|
* Updated wikimedia/request-timeout from 1.2.0 to 2.0.0.
|
2024-11-09 20:56:41 +00:00
|
|
|
|
* Updated wikimedia/scoped-callback from 4.0.0 to 5.0.0.
|
2024-11-09 14:27:39 +00:00
|
|
|
|
* Updated wikimedia/services from 3.0.0 to 4.0.0.
|
2024-10-29 21:16:51 +00:00
|
|
|
|
* Updated wikimedia/shellbox from 4.0.2 to 4.1.1.
|
2024-11-09 00:37:53 +00:00
|
|
|
|
* Updated wikimedia/xmp-reader from 0.9.1 to 0.9.4.
|
2024-05-16 04:16:59 +00:00
|
|
|
|
* Updated vue from 3.3.9 to 3.4.27.
|
2024-11-09 22:30:39 +00:00
|
|
|
|
* Updated symfony/polyfill-php80 from 1.29.0 to 1.31.0.
|
|
|
|
|
|
* Updated symfony/polyfill-php81 from 1.29.0 to 1.31.0.
|
|
|
|
|
|
* Updated symfony/polyfill-php82 from 1.29.0 to 1.31.0.
|
|
|
|
|
|
* Updated symfony/polyfill-php83 from 1.29.0 to 1.31.0.
|
2024-04-08 23:37:54 +00:00
|
|
|
|
|
|
|
|
|
|
===== Changed development-only external libraries =====
|
|
|
|
|
|
|
2024-05-03 18:21:35 +00:00
|
|
|
|
* Updated doctrine/dbal from 3.7.2 to 3.8.4.
|
2024-08-11 11:08:16 +00:00
|
|
|
|
* Updated eslint-config-wikimedia from 0.26.0 to 0.27.0.
|
2024-10-07 13:26:22 +00:00
|
|
|
|
* Updated mediawiki/mediawiki-codesniffer from 43.0.0 to 45.0.0.
|
2024-05-03 19:56:51 +00:00
|
|
|
|
* Updated phpunit/phpunit from 9.6.16 to 9.6.19.
|
2024-08-11 11:08:16 +00:00
|
|
|
|
* Updated seld/jsonlint from 1.10.1 to 1.10.2.
|
2024-04-08 23:37:54 +00:00
|
|
|
|
|
|
|
|
|
|
=== Bug fixes in 1.43 ===
|
|
|
|
|
|
|
2024-06-18 20:12:26 +00:00
|
|
|
|
* When using the 'runMaintenance' method in a LoadExtensionSchemaUpdates hook
|
|
|
|
|
|
handler, only the script's class name is required, not its path. (T367918)
|
2021-03-26 12:48:27 +00:00
|
|
|
|
* QueryPage::recache() (used by the updateSpecialPages.php maintenance script)
|
|
|
|
|
|
no longer attempts to ignore database errors. (T278543)
|
2024-04-08 23:37:54 +00:00
|
|
|
|
|
|
|
|
|
|
=== Action API changes in 1.43 ===
|
|
|
|
|
|
|
2024-03-24 17:30:50 +00:00
|
|
|
|
* APIQueryUserInfo now returns null in the field registrationdate for users
|
|
|
|
|
|
created before December 2005 (their registration date was not recorded).
|
2024-04-08 23:37:54 +00:00
|
|
|
|
|
|
|
|
|
|
=== Languages updated in 1.43 ===
|
|
|
|
|
|
MediaWiki supports over 350 languages. Many localisations are updated regularly.
|
|
|
|
|
|
Below only new and removed languages are listed, as well as changes to languages
|
|
|
|
|
|
because of Phabricator reports.
|
|
|
|
|
|
|
2024-10-21 08:59:09 +00:00
|
|
|
|
* (T375891) Updated the autonym for Kadazan Dusun (dtp)
|
2023-05-27 08:21:19 +00:00
|
|
|
|
* (T357853) Added unidirectional script conversion for Meitei to Bengali script.
|
2024-07-02 00:52:18 +00:00
|
|
|
|
* (T367377) Updated the autonym for Tai Nuea (tdd)
|
2024-09-28 03:02:31 +00:00
|
|
|
|
* (T375947) Updated the autonym for Komering (kge)
|
2023-05-27 08:21:19 +00:00
|
|
|
|
* (T354937, T362041) Added language support for Minnan (Traditional Han script)
|
|
|
|
|
|
(nan-hant).
|
2023-09-08 12:14:44 +00:00
|
|
|
|
* (T290657) Added language support for Levantine Arabic (apc).
|
2024-05-06 07:49:47 +00:00
|
|
|
|
* (T364291) Added language support for Musi, also known as Palembang (mui).
|
2024-05-13 12:51:51 +00:00
|
|
|
|
* (T364737) Added language support for Haryanvi (bgc).
|
2024-05-20 14:44:02 +00:00
|
|
|
|
* (T365365) Added language support for Chakma (ccp).
|
2024-06-29 22:49:07 +00:00
|
|
|
|
* (T367991) Added language support for Iban (iba).
|
2024-07-10 18:51:08 +00:00
|
|
|
|
* (T367688) Added language support for Interslavic (Latin) (isv-latn).
|
2024-09-23 14:10:16 +00:00
|
|
|
|
* (T375360) Added language support for Interslavic (Cyrillic) (isv-cyrl).
|
2024-07-17 22:51:14 +00:00
|
|
|
|
* (T370123) Added language support for Nupe (nup).
|
2024-07-25 19:38:38 +00:00
|
|
|
|
* (T371051) Added language support for Saint Lucian Creole (acf).
|
2023-05-27 08:21:19 +00:00
|
|
|
|
* (T354937, T370987) Added language support for Minnan (Pe̍h-ōe-jī)
|
|
|
|
|
|
(nan-latn-pehoeji).
|
2024-08-15 07:37:35 +00:00
|
|
|
|
* (T354937, T369899) Added language support for Minnan (Tâi-lô)
|
|
|
|
|
|
(nan-latn-tailo).
|
2024-09-20 16:09:01 +00:00
|
|
|
|
* (T375052) Added language support for Tigre (tig).
|
2024-09-30 14:08:32 +00:00
|
|
|
|
* (T375999) Added language support for Luba-Lulua (lua).
|
2024-10-02 02:30:22 +00:00
|
|
|
|
* (T376248) Added language support for Duala (dua).
|
2024-09-23 13:42:30 +00:00
|
|
|
|
* (T375377) Added language support for Southern Ndebele (nr).
|
|
|
|
|
|
This is done experimentally, with only a Names.php entry and
|
|
|
|
|
|
namespace translations, before we have actual localized strings.
|
|
|
|
|
|
For details, see https://www.mediawiki.org/wiki/Future_of_Language_Incubation.
|
2024-10-15 18:35:03 +00:00
|
|
|
|
* (T356144) Deprecated the Kanuri language (kr) and replaced it
|
|
|
|
|
|
with Central Kanuri (knc). The language code kr is kept for
|
|
|
|
|
|
backwards compatibility and falls back to knc.
|
2024-04-08 23:37:54 +00:00
|
|
|
|
|
|
|
|
|
|
=== Breaking changes in 1.43 ===
|
|
|
|
|
|
|
Make Message and MessageValue compatible
Fix two problems that made it difficult to convert between Message
and MessageValue, or to write code that could accept both of them,
as exemplified by the StatusValue class:
* Implement a common interface
* Use the same internal format for message parameters
While these changes should be compatible with most of existing code,
where the authors were courteous enough to simply call methods such
as Message::numParam() and not look inside the values they return,
it is potentially a breaking change for anything that depended on
the formatted params being arrays or accessed their keys.
Example patches: https://gerrit.wikimedia.org/r/q/topic:message-param
Notable changes:
* Message and MessageValue now both implement MessageSpecifier
(only Message implemented it before).
* Message::numParam() and other static methods for encoding params
now return MessageParam objects, instead of special arrays.
Use these MessageParam objects internally in Message.
* Narrow down the return type of MessageSpecifier::getParams() (it
was just `array`, allowing any type in the array). Narrow down the
types for Message::params() and MessageValue::params() to match.
* Deprecate MediaWiki\Message\Converter. As a replacement add
MessageValue::newFromSpecifier(), which is analogous to
Message::newFromSpecifier(), but without weird legacy edge cases.
* Make StatusValue::getMessages() return MessageValues. Remove code
that converted between Message and MessageValue, no longer needed.
* Update many type declarations and comments to use MessageSpecifier
instead of MessageValue, as well as a couple of tests that depended
on implementation details.
Bug: T358779
Change-Id: I625a48a6ecd3fad5c2ed76b23343a0fef91e1b83
2024-02-29 19:20:30 +00:00
|
|
|
|
* (T358779) The format of parameters used by the Message class has changed.
|
|
|
|
|
|
Instead of arrays in a special format, they are now MessageParam objects.
|
|
|
|
|
|
Code that simply called methods like Message::numParam() and didn't look
|
|
|
|
|
|
inside the values they return should be unaffected. Code that depended on
|
|
|
|
|
|
the formatted params being arrays or accessed their keys will need updates.
|
|
|
|
|
|
Example patches: https://gerrit.wikimedia.org/r/q/topic:message-param
|
2024-04-03 18:49:04 +00:00
|
|
|
|
* ErrorPageError public properties 'msg' and 'title' may now contain
|
|
|
|
|
|
any MessageSpecifier object, not just Message.
|
2024-04-15 07:39:20 +00:00
|
|
|
|
* Reset button functionality suppressReset() and $mShowReset from HTMLForm
|
|
|
|
|
|
was removed without replacement.
|
2024-04-21 19:03:24 +00:00
|
|
|
|
* UserGroupMembership::getGroupName(), deprecated in 1.38, and
|
|
|
|
|
|
UserGroupMembership::getGroupMemberName(), deprecated in 1.40, have
|
|
|
|
|
|
been removed.
|
2024-04-23 14:48:24 +00:00
|
|
|
|
* SerializedValueContainer::isUnified(), deprecated in 1.42, has been
|
|
|
|
|
|
removed.
|
2024-04-21 19:05:20 +00:00
|
|
|
|
* Parser::getFreshParser(), deprecated in 1.39, has been removed.
|
2024-06-14 03:54:52 +00:00
|
|
|
|
* ParserOutput::getLanguageLinks() no longer returns a reference to the
|
|
|
|
|
|
internal array.
|
2024-04-21 20:19:26 +00:00
|
|
|
|
* ConfigFactory::getDefaultInstance(), deprecated since 1.27, has been
|
|
|
|
|
|
removed.
|
2024-09-06 19:18:02 +00:00
|
|
|
|
* wfGetLangObj(), deprecated since 1.41, has been removed in favor of
|
|
|
|
|
|
LanguageFactory::getLanguage().
|
2024-09-06 18:19:08 +00:00
|
|
|
|
* wfRemoveDotSegments(), deprecated in 1.39, has been removed.
|
2024-04-30 16:16:20 +00:00
|
|
|
|
* IReadableDatabase::getReplicaPos() has been removed without deprecation
|
|
|
|
|
|
as it's not used anywhere.
|
2024-10-04 06:44:53 +00:00
|
|
|
|
* CommentFormatter::formatStringsAsBlock() has been removed without deprecation
|
|
|
|
|
|
as it's not used anywhere.
|
2024-04-30 16:24:08 +00:00
|
|
|
|
* ILoadBalancer::laggedReplicaUsed() has been moved to ILoadBalancerForOwner::
|
|
|
|
|
|
effectively making it internal.
|
2024-08-25 20:55:15 +00:00
|
|
|
|
* Define DB_MASTER, deprecated since 1.36, has been removed.
|
|
|
|
|
|
* ILoadBalancer::DB_MASTER, deprecated since 1.36, has been removed.
|
2023-12-14 16:48:29 +00:00
|
|
|
|
* Overriding MWException::getHTML(), ::getText(), ::getPageTitle(), and
|
|
|
|
|
|
::reportHTML() in order to display custom exception messages is no
|
|
|
|
|
|
longer supported.
|
2023-10-30 16:04:41 +00:00
|
|
|
|
* In PageHandlerTestTrait, the newRouter() method was renamed to
|
|
|
|
|
|
newRouterForPageHandler() to avoid a conflict with a method of the same
|
|
|
|
|
|
name in RestTestTrait. Also, PageHandlerTestTrait is no longer marked as
|
|
|
|
|
|
"stable to use". It was marked this way by accident, the functionality it
|
|
|
|
|
|
provides is specific to certain handlers implemented in MediaWiki core.
|
2024-08-25 21:16:07 +00:00
|
|
|
|
* MediaWikiIntegrationTestCase::addCoreDBData(), deprecated since 1.41, has
|
|
|
|
|
|
been removed.
|
2024-09-07 03:17:57 +00:00
|
|
|
|
* wfUnpack(), deprecated since 1.42, has been removed in favor of
|
|
|
|
|
|
StringUtils::unpack().
|
2024-09-04 01:34:37 +00:00
|
|
|
|
* UIDGenerator, deprecated since 1.35, has been removed.
|
2024-04-30 17:28:57 +00:00
|
|
|
|
* TablePager::getBody(), final and deprecated since 1.24, has been removed.
|
|
|
|
|
|
Use ::getBodyOutput() or ::getFullOutput() instead.
|
2024-04-30 17:25:48 +00:00
|
|
|
|
* ImportableUploadRevisionImporter::downloadSource(), deprecated in 1.31, is now
|
|
|
|
|
|
private. Its only known external caller was removed in 1.40.
|
2024-04-21 20:16:40 +00:00
|
|
|
|
* The following methods in the User class have been removed:
|
|
|
|
|
|
* Deprecated in 1.33:
|
|
|
|
|
|
* User::isBlockedFrom()
|
|
|
|
|
|
* Deprecated in 1.34:
|
|
|
|
|
|
* User::isBlocked()
|
|
|
|
|
|
* Deprecated in 1.35:
|
|
|
|
|
|
* User::addGroup()
|
|
|
|
|
|
* User::getAllGroups()
|
|
|
|
|
|
* User::getGroups()
|
|
|
|
|
|
* User::getGroupMemberships()
|
|
|
|
|
|
* User::getImplicitGroups()
|
|
|
|
|
|
* User::getOption()
|
|
|
|
|
|
* User::removeGroup()
|
|
|
|
|
|
* Deprecated in 1.37:
|
|
|
|
|
|
* User::isBlockedFromCreateAccount()
|
2024-05-03 11:32:38 +00:00
|
|
|
|
* BotPassword::invalidateAllPasswordsForCentralId() and
|
|
|
|
|
|
BotPassword::removeAllPasswordsForCentralId(), deprecated in 1.37,
|
|
|
|
|
|
have been removed.
|
2024-05-03 18:00:29 +00:00
|
|
|
|
* Title::getBrokenLinksFrom(), deprecated in 1.42, has been removed.
|
2024-05-03 18:07:49 +00:00
|
|
|
|
* The $type parameter to Skin::getCopyright(), deprecated in 1.40, has been
|
|
|
|
|
|
removed.
|
2024-08-25 03:43:09 +00:00
|
|
|
|
* The module `mediawiki.icon`, deprecated in 1.42, has been removed.
|
2024-08-27 11:48:49 +00:00
|
|
|
|
* The `@vue/composition-api` module, a deprecated alias for `vue` since 1.41,
|
|
|
|
|
|
has been removed. Use `vue` directly.
|
2024-07-22 12:44:59 +00:00
|
|
|
|
* SiteConfiguration::extractVar() and ::extractGlobal(), deprecated in 1.41,
|
|
|
|
|
|
have been removed.
|
2024-05-03 18:09:00 +00:00
|
|
|
|
* Skin::footerLink(), deprecated in 1.40, has been removed.
|
2024-05-03 18:09:00 +00:00
|
|
|
|
* Skin::getAction(), deprecated in 1.39, has been removed.
|
2024-10-17 22:38:51 +00:00
|
|
|
|
* Skin::makeSearchInput(), deprecated in 1.35, has been removed.
|
|
|
|
|
|
* Skin::makeSearchButton(), deprecated in 1.39, has been removed.
|
|
|
|
|
|
* SkinTemplate::buildContentNavigationUrls(), deprecated in 1.38,
|
|
|
|
|
|
has been removed.
|
2024-05-03 18:03:20 +00:00
|
|
|
|
* Title::getCdnUrls() and Title::purgeSquid(), deprecated in 1.35, have been
|
|
|
|
|
|
removed.
|
2024-08-25 13:14:51 +00:00
|
|
|
|
* The `mediawiki.pager.tablePager` module, deprecated in 1.38, has been
|
|
|
|
|
|
removed in favor of the more generic `mediawiki.pager.styles`.
|
2024-07-05 19:30:10 +00:00
|
|
|
|
* BagOStuff::setNewPreparedValues(), deprecated in 1.40, has been removed.
|
2024-05-04 15:04:36 +00:00
|
|
|
|
* Constructing MWHttpRequest objects now requires timeout and connectTimeout to
|
|
|
|
|
|
be set; this was deprecated in 1.35.
|
2024-05-13 14:49:11 +00:00
|
|
|
|
* Hooks that were run from SpecialContributions are now run from the parent,
|
|
|
|
|
|
ContributionsSpecialPage. The page passed in is a ContributionsSpecialPage
|
|
|
|
|
|
type, and documentation and type comparisons may need to be updated. Affected
|
|
|
|
|
|
hooks are: ContributionsBeforeMainOutputHook, ContributionsToolLinksHook,
|
|
|
|
|
|
SpecialContributions__getForm__filtersHook.
|
|
|
|
|
|
* Hooks that were run from ContribsPager are now run from the parent,
|
|
|
|
|
|
ContributionsPager. If a pager is passed in, it is a ContributionsPager type,
|
|
|
|
|
|
and documentation and type comparisons may need to be updated. Affected
|
|
|
|
|
|
hooks are: ContribsPager__reallyDoQueryHook, ContribsPager__getQueryInfoHook,
|
|
|
|
|
|
ContributionsLineEndingHook, SpecialContributions__formatRow__flagsHook.
|
2024-08-06 15:18:51 +00:00
|
|
|
|
* Hooks that were run from DeletedContribsPager are now run from the parent,
|
|
|
|
|
|
ContributionsPager. If a pager is passed in, it is a ContributionsPager type,
|
|
|
|
|
|
and documentation and type comparisons may need to be updated. Affected
|
|
|
|
|
|
hooks are: DeletedContribsPager__reallyDoQueryHook and
|
|
|
|
|
|
DeletedContributionsLineEndingHook.
|
2024-08-02 12:18:54 +00:00
|
|
|
|
* The public method ContributionsSpecialPage::getUserLinks has been made
|
|
|
|
|
|
protected. Although not marked @internal, the method was public to be called
|
|
|
|
|
|
from SpecialDeletedContributions (call now removed), and was not called from
|
|
|
|
|
|
anywhere else.
|
2024-05-04 15:13:59 +00:00
|
|
|
|
* DatabaseBlock::purgeExpired, deprecated since 1.38, has been removed.
|
2024-05-04 15:22:03 +00:00
|
|
|
|
* AbstractBlock::getPermissionsError, deprecated since 1.35, has been removed.
|
2024-05-08 16:08:22 +00:00
|
|
|
|
* IDatabase::namedLocksEnqueue() has been removed without deprecation.
|
2024-05-15 11:34:35 +00:00
|
|
|
|
* IDatabase::getTopologyRole() has been removed without deprecation.
|
2024-05-08 16:08:22 +00:00
|
|
|
|
* IDatabase::getTopologyBasedServerId() has been removed without deprecation.
|
|
|
|
|
|
Use IDatabase::getServerName() instead.
|
2024-06-04 13:55:18 +00:00
|
|
|
|
* IReadableDatabase::wasReadOnlyError() has been removed without deprecation.
|
|
|
|
|
|
Use IDatabase::isReadOnly() instead.
|
2024-05-31 14:06:01 +00:00
|
|
|
|
* IReadableDatabase::wasDeadlock() has been removed without deprecation.
|
2024-05-29 11:57:58 +00:00
|
|
|
|
* ILoadBalancer::getWriterIndex() has been removed without deprecation.
|
|
|
|
|
|
Use ServerInfo::WRITER_INDEX constant instead.
|
2024-08-21 18:59:34 +00:00
|
|
|
|
* MaintainableDBConnRef, deprecated since 1.39, has been removed.
|
2024-08-23 18:11:35 +00:00
|
|
|
|
* ILoadBalancer::reuseConnection(), deprecated since 1.39, has been removed.
|
2024-09-19 23:31:41 +00:00
|
|
|
|
* The $domain parameter to ILoadBalancer::getReadOnlyReason(), deprecated in
|
|
|
|
|
|
1.40, has been removed.
|
2024-05-05 07:48:24 +00:00
|
|
|
|
* WikiPage::doDeleteArticleBatched, hard deprecated since 1.37, has been
|
|
|
|
|
|
removed.
|
|
|
|
|
|
* SpecialEmailUser::submit, deprecated since 1.41, has been removed.
|
2024-05-05 07:51:15 +00:00
|
|
|
|
* SpecialEmailUser::validateTarget, deprecated since 1.41, has been removed.
|
2024-05-06 13:15:22 +00:00
|
|
|
|
* SpecialEmailUser::getPermissionsError, deprecated since 1.41 has been
|
|
|
|
|
|
removed.
|
2024-05-04 16:31:48 +00:00
|
|
|
|
* SpecialBlock::getTargetAndType, deprecated since 1.36, has been removed.
|
2024-04-09 03:26:02 +00:00
|
|
|
|
* ApiQueryBlockInfoTrait::addBlockInfoToQuery(), deprecated since 1.42, has been
|
|
|
|
|
|
removed.
|
Move Linker::makeExternalLink() to the LinkRenderer service
Move Linker::makeExternalLink to the LinkRenderer service, as has been
done with the other static methods of Linker.
In order to allow phan's SecurityCheckPlugin to perform a more accurate
analysis of taintedness, tweak the API of Linker::makeExternalLink to
clearly indicate via the type system whether the link text has already
been escaped or not: a `string` argument will always be escaped, and
if the argument is already escaped it should be passed as an HtmlArmor
object. In refactoring, `Message` arguments were also common, and accept
them as-is to avoid the caller having to think about whether to call
Message::text() or Message::escaped().
This allows us to provide a more precise taint type to the $text argument,
avoids an opaque boolean argument, and avoids spurious errors from
SecurityCheck.
We also require the caller to explicitly pass a Title context, instead
of implicitly relying on the global $wgTitle. This works cleanly
everywhere except for CommentParser, which has a $selfLinkTarget which
generally works as the title context for the external link, but which
is nullable. The original Linker::makeExternalLink() used $wgTitle as
a fallback, but $wgTitle can also be null in some circumstances. The
title context only determines how $wgNoFollowNsExceptions is handled,
so existing code basically just ignored $wgNoFollowNsExceptions when
$wgTitle was null, which isn't terrible. A future refactor could/should
clean up CommentParser to ensure that there is always a non-null title
context that can be used.
Change-Id: I9bcf4780f388ba639a9cc882dd9dd42eda5736ae
2024-02-09 20:19:38 +00:00
|
|
|
|
* Linker::makeExternalLink() has been deprecated in favor of
|
|
|
|
|
|
LinkRenderer::makeExternalLink(), which has a improved API to help phan's
|
|
|
|
|
|
SecurityCheckPlugin provide more accurate checks for escaping issues.
|
2024-05-01 16:32:58 +00:00
|
|
|
|
* Linker::makeHeadline(), Linker::generateTOC(), Linker::tocIndent(),
|
|
|
|
|
|
Linker::tocUnindent(), Linker::tocLine(), Linker::tocLineEnd(), and
|
|
|
|
|
|
Linker::tocList(), deprecated in 1.42, have been removed.
|
|
|
|
|
|
* Linker::formatComment(), Linker::formatLinksInComment(),
|
|
|
|
|
|
Linker::commentBlock(), and Linker::revComment(), deprecated in 1.38,
|
|
|
|
|
|
have been removed.
|
2024-07-13 19:44:35 +00:00
|
|
|
|
* UserCache::singleton(), deprecated in 1.43, now emits deprecation warnings.
|
|
|
|
|
|
Use MediaWikiServices::getInstance()->getUserCache() instead.
|
2024-02-08 23:17:47 +00:00
|
|
|
|
* DummyLinker has been removed. The former DummyLinker parameter
|
|
|
|
|
|
to the 'ImageBeforeProduceHTML' hook is now null.
|
2024-05-29 11:49:39 +00:00
|
|
|
|
* The following methods of IDatabase have been moved to internal interface
|
|
|
|
|
|
IDatabaseForOwner without deprecation. These methods are internal and
|
|
|
|
|
|
shouldn't be used outside of rdbms library:
|
|
|
|
|
|
- ::pendingWriteCallers()
|
|
|
|
|
|
- ::flushSession()
|
|
|
|
|
|
- ::lastDoneWrites()
|
|
|
|
|
|
- ::setTransactionListener()
|
|
|
|
|
|
- ::serverIsReadOnly()
|
|
|
|
|
|
- ::getPrimaryPos()
|
|
|
|
|
|
- ::pendingWriteQueryDuration()
|
|
|
|
|
|
- ::writesOrCallbacksPending()
|
|
|
|
|
|
- ::writesPending()
|
2024-06-07 12:09:14 +00:00
|
|
|
|
- ::primaryPosWait()
|
2024-04-11 19:36:10 +00:00
|
|
|
|
* IMaintainableDatabase::listViews(), deprecated since 1.42, has been removed.
|
2024-04-11 19:20:41 +00:00
|
|
|
|
* IMaintainableDatabase::truncate(), deprecated since 1.42, has been removed.
|
2024-04-11 18:58:28 +00:00
|
|
|
|
* IMaintainableDatabase::textFieldSize() was removed without deprecation.
|
2024-09-04 03:57:06 +00:00
|
|
|
|
* ReplicatedBagOStuff, deprecated since 1.42, has been removed.
|
|
|
|
|
|
* The 'replicaOnly' option to SqlBagOStuff has been removed without deprecation.
|
|
|
|
|
|
It existed for internal use by SqlBagOStuff only.
|
2024-05-23 10:46:12 +00:00
|
|
|
|
* Support for WinCache as local server cache has been removed, because WinCache
|
|
|
|
|
|
is not available for supported versions of PHP. The WinCacheBagOStuff class
|
|
|
|
|
|
has been removed. Use MediaWikiServices::getLocalServerObjectCache() instead,
|
|
|
|
|
|
or the CACHE_ACCEL type instead, which automatically selects APCu when
|
|
|
|
|
|
available.
|
|
|
|
|
|
The "wincache" cache type (e.g. to ObjectCache::getInstance, and in
|
|
|
|
|
|
"wg*CacheType" configuration) remains supported as an alias for CACHE_ACCEL.
|
2024-04-18 07:56:23 +00:00
|
|
|
|
* LockManager::sha1Base16Absolute(), has been removed without deprecation.
|
2024-05-28 02:49:47 +00:00
|
|
|
|
* The "options" parameter to User::createNew() and the $data parameter to
|
|
|
|
|
|
UserOptionsManager::loadUserOptions() were removed.
|
2024-06-01 06:35:27 +00:00
|
|
|
|
* `.list-style-image()` mixin from mediawiki.mixins.less, deprecated since 1.38,
|
|
|
|
|
|
has been removed.
|
2024-06-01 06:40:34 +00:00
|
|
|
|
* `.background-image()` mixin from mediawiki.mixins.less, deprecated since 1.38,
|
|
|
|
|
|
has been removed.
|
2024-04-16 20:26:56 +00:00
|
|
|
|
* IDatabase::nextSequenceValue(), deprecated since 1.30, was removed.
|
2024-06-24 16:10:39 +00:00
|
|
|
|
* $wgAPIRequestLog was removed without deprecation. Use "api" and "api-request"
|
|
|
|
|
|
wgDebugLogGroups channels or SPI instead.
|
2024-06-07 06:41:15 +00:00
|
|
|
|
* The setStats() method in MediaWiki\Rest\Router now expects a StatsFactory
|
|
|
|
|
|
rather than a StatsdDataFactoryInterface. The method has been marked @internal
|
|
|
|
|
|
and should not be called by extensions.
|
2024-06-26 14:28:07 +00:00
|
|
|
|
* All `@width-breakpoint-*` Less variables have been removed. Use
|
|
|
|
|
|
`@min-width-breakpoint-*`/`@max-width-breakpoint-*` instead.
|
2024-08-28 14:50:57 +00:00
|
|
|
|
* The MessageContent class, deprecated since 1.38, is now removed. This also
|
|
|
|
|
|
means that the Message::content() method is also removed.
|
2024-06-26 01:48:08 +00:00
|
|
|
|
* The following ParserOption methods, deprecated since 1.35, were removed:
|
|
|
|
|
|
- ::setAllowExternalImages()
|
|
|
|
|
|
- ::setAllowExternalImagesFrom()
|
|
|
|
|
|
- ::setEnableImageWhitelist()
|
2024-06-26 01:55:49 +00:00
|
|
|
|
* Sanitizer::removeHTMLtags(), deprecated since 1.38, has been removed.
|
2024-06-26 01:37:03 +00:00
|
|
|
|
* OutputPage::getCSPNonce(), deprecated since 1.35, has been removed.
|
2024-06-26 01:30:19 +00:00
|
|
|
|
* UserMailer::rfc822Phrase(), deprecated since 1.38, has been removed.
|
2024-07-30 20:21:12 +00:00
|
|
|
|
* QueryPage::getSQL(), deprecated since 1.39, has been removed. The replacement
|
|
|
|
|
|
QueryPage::getQueryInfo() is now abstract.
|
2024-09-13 01:26:27 +00:00
|
|
|
|
* update-keys.sql was removed. It is not recommended to install MediaWiki by
|
|
|
|
|
|
manually sourcing SQL files, but if you are doing this, run
|
|
|
|
|
|
`update.php --initial` instead of sourcing update-keys.sql.
|
2024-10-03 17:30:59 +00:00
|
|
|
|
* MediaWikiVersionFetcher, deprecated since 1.42 has been removed.
|
2024-10-20 20:30:03 +00:00
|
|
|
|
* Support for using Skin::addToBodyAttributes() method, which was deprecated
|
|
|
|
|
|
in 1.35, has been removed. Use OutputPageBodyAttributesHook instead.
|
2024-10-16 03:47:00 +00:00
|
|
|
|
* Skins since 1.39 have not supported rendering content outside the body tag.
|
|
|
|
|
|
The bodyOnly=false option has now been removed, meaning this is no longer
|
|
|
|
|
|
supported.
|
2024-10-31 00:32:33 +00:00
|
|
|
|
* CentralIdLookup::factoryNonLocal(), deprecated since 1.37, has been removed.
|
Remove CryptHKDF and MWCryptHKDF
MWCryptHKDF was added ten years ago (in af66c04d39ad96a0), and as far as
I can tell, it was never used anywhere. It seems unlikely that CryptHKDF
will be used in the future, at least in its current form, for several
reasons:
* PHP 7.1.2+ has hash_hkdf(), so HKDF() would not be needed.
* At the time MWCryptHKDF was created, access to a CSPRNG was dependent
on server configuration: operating system, enabled PHP extensions,
open_basedir, etc. The "clock drift" RNG used as a last resort was not
considered to be secure or fast enough for generating large amounts of
output.[1] random_bytes(), added in PHP 7, changed the situation.
* Depleting the input pool of Linux's RNG is no longer a concern; there
is no more blocking output pool for /dev/random.[2][3] In 2022, this
change and others, including some that improved performance,[4] were
backported to stable kernels as old as 4.9.[5]
* $wgAuthenticationTokenVersion obviated the primary use case of
quickly resetting the user_token field for all users, assuming all
the existing tokens are unique.
* CryptHKDF seems to perform much slower than random_bytes(), at least
on Linux, making it pointless to use given that the other reasons for
its existence no longer apply.
[1]: https://bots.wmflabs.org/logs/%23mediawiki-core/20161004.txt
[2]: https://lwn.net/Articles/808575/
[3]: https://lore.kernel.org/all/cover.1577088521.git.luto@kernel.org/
[4]: https://www.zx2c4.com/projects/linux-rng-5.17-5.18/
[5]: https://lore.kernel.org/all/Yo3pmh9hiUFtQz77@zx2c4.com/T/
Change-Id: I29136fad826341d21728671aa30285d5551f1162
2024-06-09 23:03:41 +00:00
|
|
|
|
* CryptHKDF and MWCryptHKDF were removed without deprecation, in part because no
|
|
|
|
|
|
past or present use could be found. hash_hkdf() can be used instead of HKDF().
|
|
|
|
|
|
While generate() and generateHex() have no direct replacement, random_bytes()
|
|
|
|
|
|
and MWCryptRand::generateHex() can be used instead.
|
2024-04-08 23:37:54 +00:00
|
|
|
|
|
|
|
|
|
|
=== Deprecations in 1.43 ===
|
|
|
|
|
|
|
2024-04-02 23:32:58 +00:00
|
|
|
|
* The methods StatusValue::getErrors() and StatusValue::getErrorsByType(),
|
|
|
|
|
|
as well as Status::getErrorsArray() and Status::getWarningsArray(), have
|
|
|
|
|
|
been deprecated in favor of new method StatusValue::getMessages().
|
2024-06-05 22:02:49 +00:00
|
|
|
|
* PermissionManager::getPermissionErrors() has been deprecated in favor
|
|
|
|
|
|
of getPermissionStatus().
|
2024-08-09 10:27:38 +00:00
|
|
|
|
* PermissionStatus::toLegacyErrorArray() is deprecated with no replacement.
|
2024-08-12 19:26:59 +00:00
|
|
|
|
* PermissionsError properties $errors and $permission are deprecated.
|
|
|
|
|
|
To display the error, throw it or use ->report().
|
2024-05-21 21:00:16 +00:00
|
|
|
|
* (T166010) All PHP code in MediaWiki is slowly being moved to be in a class
|
|
|
|
|
|
namespace as appropriate, so that we can use PSR-4 auto-loading, which will
|
|
|
|
|
|
speed up general code loading of MediaWiki. The old global namespace class
|
|
|
|
|
|
names are being left behind as deprecated aliases.
|
|
|
|
|
|
|
2025-01-07 20:25:04 +00:00
|
|
|
|
In this release of MediaWiki, 2236 classes now have a namespace and 509 do
|
|
|
|
|
|
not yet (81% done, up from 69% in MediaWiki 1.42.0). The following have newly
|
2024-05-21 21:00:16 +00:00
|
|
|
|
been moved:
|
2024-09-25 16:17:29 +00:00
|
|
|
|
- MediaWiki\Api:
|
|
|
|
|
|
- ApiAMCreateAccount
|
|
|
|
|
|
- ApiAcquireTempUserName
|
|
|
|
|
|
- ApiAuthManagerHelper
|
|
|
|
|
|
- ApiBase
|
|
|
|
|
|
- ApiBlock
|
|
|
|
|
|
- ApiBlockInfoTrait
|
|
|
|
|
|
- ApiCSPReport
|
|
|
|
|
|
- ApiChangeAuthenticationData
|
|
|
|
|
|
- ApiChangeContentModel
|
|
|
|
|
|
- ApiCheckToken
|
|
|
|
|
|
- ApiClearHasMsg
|
|
|
|
|
|
- ApiClientLogin
|
|
|
|
|
|
- ApiComparePages
|
|
|
|
|
|
- ApiContinuationManager
|
|
|
|
|
|
- ApiCreateTempUserTrait
|
|
|
|
|
|
- ApiDelete
|
|
|
|
|
|
- ApiDisabled
|
|
|
|
|
|
- ApiEditPage
|
|
|
|
|
|
- ApiEmailUser
|
|
|
|
|
|
- ApiErrorFormatter
|
|
|
|
|
|
- ApiErrorFormatter_BackCompat
|
|
|
|
|
|
- ApiExpandTemplates
|
|
|
|
|
|
- ApiFeedContributions
|
|
|
|
|
|
- ApiFeedRecentChanges
|
|
|
|
|
|
- ApiFeedWatchlist
|
|
|
|
|
|
- ApiFileRevert
|
|
|
|
|
|
- ApiFormatBase
|
|
|
|
|
|
- ApiFormatFeedWrapper
|
|
|
|
|
|
- ApiFormatJson
|
|
|
|
|
|
- ApiFormatNone
|
|
|
|
|
|
- ApiFormatPhp
|
|
|
|
|
|
- ApiFormatRaw
|
|
|
|
|
|
- ApiFormatXml
|
|
|
|
|
|
- ApiFormatXmlRsd
|
|
|
|
|
|
- ApiHelp
|
|
|
|
|
|
- ApiHelpParamValueMessage
|
|
|
|
|
|
- ApiImageRotate
|
|
|
|
|
|
- ApiImport
|
|
|
|
|
|
- ApiImportReporter
|
|
|
|
|
|
- ApiLinkAccount
|
|
|
|
|
|
- ApiLogin
|
|
|
|
|
|
- ApiLogout
|
|
|
|
|
|
- ApiMain
|
|
|
|
|
|
- ApiManageTags
|
|
|
|
|
|
- ApiMergeHistory
|
|
|
|
|
|
- ApiMessage
|
|
|
|
|
|
- ApiMessageTrait
|
|
|
|
|
|
- ApiModuleManager
|
|
|
|
|
|
- ApiMove
|
|
|
|
|
|
- ApiOpenSearch
|
|
|
|
|
|
- ApiOpenSearchFormatJson
|
|
|
|
|
|
- ApiOptions
|
|
|
|
|
|
- ApiOptionsBase
|
|
|
|
|
|
- ApiPageSet
|
|
|
|
|
|
- ApiParamInfo
|
|
|
|
|
|
- ApiParse
|
|
|
|
|
|
- ApiPatrol
|
|
|
|
|
|
- ApiProtect
|
|
|
|
|
|
- ApiPurge
|
|
|
|
|
|
- ApiQuery
|
|
|
|
|
|
- ApiQueryAllCategories
|
|
|
|
|
|
- ApiQueryAllDeletedRevisions
|
|
|
|
|
|
- ApiQueryAllImages
|
|
|
|
|
|
- ApiQueryAllLinks
|
|
|
|
|
|
- ApiQueryAllMessages
|
|
|
|
|
|
- ApiQueryAllPages
|
|
|
|
|
|
- ApiQueryAllRevisions
|
|
|
|
|
|
- ApiQueryAllUsers
|
|
|
|
|
|
- ApiQueryAuthManagerInfo
|
|
|
|
|
|
- ApiQueryBacklinks
|
|
|
|
|
|
- ApiQueryBacklinksprop
|
|
|
|
|
|
- ApiQueryBase
|
|
|
|
|
|
- ApiQueryBlockInfoTrait
|
|
|
|
|
|
- ApiQueryBlocks
|
|
|
|
|
|
- ApiQueryCategories
|
|
|
|
|
|
- ApiQueryCategoryInfo
|
|
|
|
|
|
- ApiQueryCategoryMembers
|
|
|
|
|
|
- ApiQueryContributors
|
|
|
|
|
|
- ApiQueryDeletedRevisions
|
|
|
|
|
|
- ApiQueryDeletedrevs
|
|
|
|
|
|
- ApiQueryDisabled
|
|
|
|
|
|
- ApiQueryDuplicateFiles
|
|
|
|
|
|
- ApiQueryExtLinksUsage
|
|
|
|
|
|
- ApiQueryExternalLinks
|
|
|
|
|
|
- ApiQueryFileRepoInfo
|
|
|
|
|
|
- ApiQueryFilearchive
|
|
|
|
|
|
- ApiQueryGeneratorBase
|
|
|
|
|
|
- ApiQueryIWBacklinks
|
|
|
|
|
|
- ApiQueryIWLinks
|
|
|
|
|
|
- ApiQueryImageInfo
|
|
|
|
|
|
- ApiQueryImages
|
|
|
|
|
|
- ApiQueryInfo
|
|
|
|
|
|
- ApiQueryLangBacklinks
|
|
|
|
|
|
- ApiQueryLangLinks
|
|
|
|
|
|
- ApiQueryLanguageinfo
|
|
|
|
|
|
- ApiQueryLinks
|
|
|
|
|
|
- ApiQueryLogEvents
|
|
|
|
|
|
- ApiQueryMyStashedFiles
|
|
|
|
|
|
- ApiQueryPagePropNames
|
|
|
|
|
|
- ApiQueryPageProps
|
|
|
|
|
|
- ApiQueryPagesWithProp
|
|
|
|
|
|
- ApiQueryPrefixSearch
|
|
|
|
|
|
- ApiQueryProtectedTitles
|
|
|
|
|
|
- ApiQueryQueryPage
|
|
|
|
|
|
- ApiQueryRandom
|
|
|
|
|
|
- ApiQueryRecentChanges
|
|
|
|
|
|
- ApiQueryRevisions
|
|
|
|
|
|
- ApiQueryRevisionsBase
|
|
|
|
|
|
- ApiQuerySearch
|
|
|
|
|
|
- ApiQuerySiteinfo
|
|
|
|
|
|
- ApiQueryStashImageInfo
|
|
|
|
|
|
- ApiQueryTags
|
|
|
|
|
|
- ApiQueryTokens
|
|
|
|
|
|
- ApiQueryUserContribs
|
|
|
|
|
|
- ApiQueryUserInfo
|
|
|
|
|
|
- ApiQueryUsers
|
|
|
|
|
|
- ApiQueryWatchlist
|
|
|
|
|
|
- ApiQueryWatchlistRaw
|
|
|
|
|
|
- ApiRawMessage
|
|
|
|
|
|
- ApiRemoveAuthenticationData
|
|
|
|
|
|
- ApiResetPassword
|
|
|
|
|
|
- ApiResult
|
|
|
|
|
|
- ApiRevisionDelete
|
|
|
|
|
|
- ApiRollback
|
|
|
|
|
|
- ApiRsd
|
|
|
|
|
|
- ApiSerializable
|
|
|
|
|
|
- ApiSetNotificationTimestamp
|
|
|
|
|
|
- ApiSetPageLanguage
|
|
|
|
|
|
- ApiStashEdit
|
|
|
|
|
|
- ApiTag
|
|
|
|
|
|
- ApiUnblock
|
|
|
|
|
|
- ApiUndelete
|
|
|
|
|
|
- ApiUpload
|
|
|
|
|
|
- ApiUsageException
|
|
|
|
|
|
- ApiUserrights
|
|
|
|
|
|
- ApiValidatePassword
|
|
|
|
|
|
- ApiWatch
|
|
|
|
|
|
- ApiWatchlistTrait
|
|
|
|
|
|
- IApiMessage
|
|
|
|
|
|
- SearchApi
|
2024-05-21 21:00:16 +00:00
|
|
|
|
- MediaWiki\Content:
|
2024-08-08 09:14:35 +00:00
|
|
|
|
- AbstractContent
|
2024-08-06 09:36:07 +00:00
|
|
|
|
- CodeContentHandler
|
2024-08-08 09:14:35 +00:00
|
|
|
|
- Content
|
|
|
|
|
|
- ContentHandler
|
2024-08-07 21:37:34 +00:00
|
|
|
|
- ContentModelChange
|
2024-05-21 21:00:16 +00:00
|
|
|
|
- CssContent
|
|
|
|
|
|
- CssContentHandler
|
2024-05-21 19:11:48 +00:00
|
|
|
|
- FallbackContent
|
|
|
|
|
|
- FallbackContentHandler
|
2024-08-07 06:03:02 +00:00
|
|
|
|
- FileContentHandler
|
2024-05-21 21:00:16 +00:00
|
|
|
|
- JavaScriptContent
|
|
|
|
|
|
- JavaScriptContentHandler
|
|
|
|
|
|
- JsonContent
|
|
|
|
|
|
- JsonContentHandler
|
|
|
|
|
|
- TextContent
|
|
|
|
|
|
- TextContentHandler
|
2024-08-06 13:40:20 +00:00
|
|
|
|
- WikitextContent
|
|
|
|
|
|
- WikitextContentHandler
|
|
|
|
|
|
- WikiTextStructure
|
2024-05-21 21:00:16 +00:00
|
|
|
|
- MediaWiki\Debug:
|
|
|
|
|
|
- DeprecationHelper
|
|
|
|
|
|
- MWDebug
|
|
|
|
|
|
- MediaWiki\Deferred:
|
|
|
|
|
|
- RefreshSecondaryDataUpdate
|
|
|
|
|
|
- MediaWiki\FileBackend:
|
|
|
|
|
|
- FileBackendGroup – FIXME: Should this be in Wikimedia\FileBackend instead?
|
|
|
|
|
|
- MediaWiki\Json:
|
|
|
|
|
|
- FormatJson
|
2024-08-08 09:39:26 +00:00
|
|
|
|
- MediaWiki\Language:
|
|
|
|
|
|
- Language
|
|
|
|
|
|
- LanguageCode
|
|
|
|
|
|
- ILanguageConverter
|
|
|
|
|
|
- LanguageConverter
|
|
|
|
|
|
- ConverterRule
|
|
|
|
|
|
- ReplacementArray
|
2024-08-11 16:32:58 +00:00
|
|
|
|
- MediaWiki\Maintenance:
|
|
|
|
|
|
- BackupDumper
|
|
|
|
|
|
- Benchmarker
|
|
|
|
|
|
- DeleteLocalPasswords
|
|
|
|
|
|
- FakeMaintenance
|
|
|
|
|
|
- LoggedUpdateMaintenance
|
|
|
|
|
|
- MWDoxygenFilter
|
|
|
|
|
|
- Maintenance
|
|
|
|
|
|
- SchemaMaintenance
|
|
|
|
|
|
- SevenZipStream
|
|
|
|
|
|
- TextPassDumper
|
2024-10-03 18:39:06 +00:00
|
|
|
|
- MediaWiki\Parser:
|
|
|
|
|
|
- BlockLevelPass
|
|
|
|
|
|
- CacheTime
|
|
|
|
|
|
- CoreMagicVariables
|
|
|
|
|
|
- CoreParserFunctions
|
|
|
|
|
|
- CoreTagHooks
|
|
|
|
|
|
- DateFormatter
|
|
|
|
|
|
- DateFormatterFactory
|
|
|
|
|
|
- LinkHolderArray
|
|
|
|
|
|
- MWTidy
|
|
|
|
|
|
- PPCustomFrame_Hash
|
|
|
|
|
|
- PPDPart_Hash
|
|
|
|
|
|
- PPDStackElement_Hash
|
|
|
|
|
|
- PPDStack_Hash
|
|
|
|
|
|
- PPFrame
|
|
|
|
|
|
- PPFrame_Hash
|
|
|
|
|
|
- PPNode
|
|
|
|
|
|
- PPNode_Hash_Array
|
|
|
|
|
|
- PPNode_Hash_Attr
|
|
|
|
|
|
- PPNode_Hash_Text
|
|
|
|
|
|
- PPNode_Hash_Tree
|
|
|
|
|
|
- PPTemplateFrame_Hash
|
|
|
|
|
|
- ParserCache
|
|
|
|
|
|
- ParserFactory
|
|
|
|
|
|
- ParserOptions
|
|
|
|
|
|
- Preprocessor
|
|
|
|
|
|
- Preprocessor_Hash
|
|
|
|
|
|
- StripState
|
2024-05-21 21:00:16 +00:00
|
|
|
|
- MediaWiki\RCFeed:
|
|
|
|
|
|
- FormattedRCFeed
|
|
|
|
|
|
- IRCColourfulRCFeedFormatter
|
|
|
|
|
|
- JSONRCFeedFormatter
|
|
|
|
|
|
- MachineReadableRCFeedFormatter
|
|
|
|
|
|
- RCFeed
|
|
|
|
|
|
- RCFeedFormatter
|
|
|
|
|
|
- RedisPubSubFeedEngine
|
|
|
|
|
|
- UDPRCFeedEngine
|
|
|
|
|
|
- XMLRCFeedFormatter
|
|
|
|
|
|
- MediaWiki\RenameUser:
|
|
|
|
|
|
- RenameUserJob
|
2024-08-10 05:17:59 +00:00
|
|
|
|
- MediaWiki\Registration:
|
|
|
|
|
|
- ExtensionDependencyError
|
|
|
|
|
|
- ExtensionJsonValidationError
|
|
|
|
|
|
- ExtensionJsonValidator
|
|
|
|
|
|
- ExtensionProcessor
|
|
|
|
|
|
- ExtensionRegistry
|
|
|
|
|
|
- MissingExtensionException
|
|
|
|
|
|
- Processor
|
|
|
|
|
|
- VersionChecker
|
2024-05-21 21:00:16 +00:00
|
|
|
|
- MediaWiki\RevisionList:
|
|
|
|
|
|
- RevisionItem
|
|
|
|
|
|
- RevisionItemBase
|
|
|
|
|
|
- RevisionList
|
|
|
|
|
|
- RevisionListBase
|
|
|
|
|
|
- MediaWiki\Watchlist:
|
|
|
|
|
|
- ActivityUpdateJob
|
2024-05-21 20:19:18 +00:00
|
|
|
|
- ClearUserWatchlistJob
|
|
|
|
|
|
- ClearWatchlistNotificationsJob
|
|
|
|
|
|
- NoWriteWatchedItemStore
|
2024-05-21 21:00:16 +00:00
|
|
|
|
- WatchedItem
|
|
|
|
|
|
- WatchedItemQueryService
|
|
|
|
|
|
- WatchedItemQueryServiceExtension
|
|
|
|
|
|
- WatchedItemStore
|
2024-05-21 20:19:18 +00:00
|
|
|
|
- WatchedItemStoreInterface
|
2024-05-21 21:00:16 +00:00
|
|
|
|
- WatchlistExpiryJob
|
|
|
|
|
|
- MediaWiki\Xml:
|
|
|
|
|
|
- Xml
|
|
|
|
|
|
- XmlSelect
|
|
|
|
|
|
- Wikimedia\FileBackend:
|
2024-09-27 19:20:56 +00:00
|
|
|
|
- FSFileBackend
|
|
|
|
|
|
- FSFileBackendDirList
|
|
|
|
|
|
- FSFileBackendFileList
|
|
|
|
|
|
- FSFileBackendList
|
2024-05-21 21:00:16 +00:00
|
|
|
|
- FileBackend
|
2024-09-27 19:20:56 +00:00
|
|
|
|
- FileBackendError
|
|
|
|
|
|
- FileBackendMultiWrite
|
|
|
|
|
|
- FileBackendStore
|
|
|
|
|
|
- FileBackendStoreShardDirIterator
|
|
|
|
|
|
- FileBackendStoreShardFileIterator
|
|
|
|
|
|
- FileBackendStoreShardListIterator
|
|
|
|
|
|
- FileOpBatch
|
|
|
|
|
|
- HTTPFileStreamer
|
|
|
|
|
|
- MemoryFileBackend
|
|
|
|
|
|
- SwiftFileBackend
|
|
|
|
|
|
- SwiftFileBackendDirList
|
|
|
|
|
|
- SwiftFileBackendFileList
|
|
|
|
|
|
- SwiftFileBackendList
|
|
|
|
|
|
- Wikimedia\FileBackend\FileOps:
|
|
|
|
|
|
- CopyFileOp
|
|
|
|
|
|
- CreateFileOp
|
|
|
|
|
|
- DeleteFileOp
|
|
|
|
|
|
- DescribeFileOp
|
|
|
|
|
|
- FileOp
|
|
|
|
|
|
- FileStatePredicates
|
|
|
|
|
|
- MoveFileOp
|
|
|
|
|
|
- NullFileOp
|
|
|
|
|
|
- StoreFileOp
|
|
|
|
|
|
- Wikimedia\FileBackend\FileOpHandle:
|
|
|
|
|
|
- FSFileOpHandle
|
|
|
|
|
|
- SwiftFileOpHandle
|
|
|
|
|
|
- FileBackendStoreOpHandle
|
|
|
|
|
|
- Wikimedia\FileBackend\FSFile:
|
|
|
|
|
|
- FSFile
|
|
|
|
|
|
- TempFSFile
|
|
|
|
|
|
- TempFSFileFactory
|
2024-05-21 21:00:16 +00:00
|
|
|
|
- Wikimedia\Http:
|
|
|
|
|
|
- MultiHttpClient
|
2024-07-28 12:06:24 +00:00
|
|
|
|
- Wikimedia\Message:
|
|
|
|
|
|
- MessageSpecifier
|
2024-09-27 18:21:33 +00:00
|
|
|
|
- Wikimedia\Mime:
|
|
|
|
|
|
- MSCompoundFileReader
|
|
|
|
|
|
- MimeAnalyzer
|
|
|
|
|
|
- XmlTypeCheck
|
2024-07-09 13:37:44 +00:00
|
|
|
|
- Wikimedia\ObjectCache:
|
|
|
|
|
|
- APCUBagOStuff
|
|
|
|
|
|
- BagOStuff
|
|
|
|
|
|
- CachedBagOStuff
|
|
|
|
|
|
- EmptyBagOStuff
|
|
|
|
|
|
- HashBagOStuff
|
|
|
|
|
|
- IStoreKeyEncoder
|
|
|
|
|
|
- MediumSpecificBagOStuff
|
|
|
|
|
|
- MemcachedBagOStuff
|
|
|
|
|
|
- MemcachedPeclBagOStuff
|
|
|
|
|
|
- MemcachedPhpBagOStuff
|
|
|
|
|
|
- MultiWriteBagOStuff
|
|
|
|
|
|
- RESTBagOStuff
|
|
|
|
|
|
- RedisBagOStuff
|
2024-09-27 18:13:02 +00:00
|
|
|
|
- WANObjectCache
|
2024-07-09 13:37:44 +00:00
|
|
|
|
- WinCacheBagOStuff
|
2024-10-28 03:26:05 +00:00
|
|
|
|
- RedisConnectionPool
|
|
|
|
|
|
- RedisConnRef
|
2024-09-27 16:12:27 +00:00
|
|
|
|
- Wikimedia\Rdbms:
|
|
|
|
|
|
- DBAccessObjectUtils
|
|
|
|
|
|
- IDBAccessObject
|
2024-09-27 18:21:33 +00:00
|
|
|
|
- Wikimedia\Stats:
|
|
|
|
|
|
- BufferingStatsdDataFactory
|
|
|
|
|
|
- IBufferingStatsdDataFactory
|
|
|
|
|
|
- NullStatsdDataFactory
|
|
|
|
|
|
- PrefixingStatsdDataFactoryProxy
|
|
|
|
|
|
- SamplingStatsdClient
|
|
|
|
|
|
- StatsdAwareInterface
|
2022-09-16 12:27:03 +00:00
|
|
|
|
* MessageCache::get() with $language other than Language or null is
|
|
|
|
|
|
deprecated and emits deprecation warnings. For high-level access,
|
|
|
|
|
|
use wfMessage() or RequestContext::msg() instead.
|
2024-07-20 19:55:56 +00:00
|
|
|
|
* Manually constructing a Language object, deprecated in 1.35, now emits
|
|
|
|
|
|
deprecation warnings. Use LanguageFactory instead.
|
2024-09-17 18:22:45 +00:00
|
|
|
|
* MediaWiki\Languages\Data\Names::$names is deprecated.
|
2024-04-16 14:07:10 +00:00
|
|
|
|
* SearchEngineConfig::getConfig() has been deprecated, use DI with
|
|
|
|
|
|
ServiceOptions to inject the required options.
|
2024-05-13 11:16:27 +00:00
|
|
|
|
* ObjectCache::isDatabaseId() and ::getLocalClusterInstance() have been
|
|
|
|
|
|
deprecated. Use their equivalents in ObjectCacheFactory.
|
2024-04-06 09:35:21 +00:00
|
|
|
|
* Using the "post" source in parameter declarations returned from
|
|
|
|
|
|
Handler::getParamSettings() is deprecated, use "body" instead.
|
2024-04-05 17:09:25 +00:00
|
|
|
|
* ISQLPlatform::tableNamesN() is now deprecated.
|
2024-04-05 17:10:50 +00:00
|
|
|
|
* The implementation in SQLPlatform of ISQLPlatform::tableNames(), deprecated in
|
|
|
|
|
|
MediaWiki 1.39, now emits deprecation warnings.
|
2024-01-26 19:03:25 +00:00
|
|
|
|
* Title::getTitleProtection(), deprecated in 1.37, now emits warnings. You can
|
|
|
|
|
|
use RestrictionStore::getCreateProtection() instead.
|
2024-01-26 19:04:13 +00:00
|
|
|
|
* Title::loadRestrictions(), deprecated in 1.37, now emits warnings.
|
2024-01-26 19:07:22 +00:00
|
|
|
|
* Title::flushRestrictions(), deprecated in 1.37, now emits warnings.
|
2024-01-26 19:10:09 +00:00
|
|
|
|
* Title::getPageViewLanguage(), deprecated in 1.42, now emits warnings.
|
2024-09-05 14:40:52 +00:00
|
|
|
|
* wfUrlProtocols(), deprecated in 1.39, now emits warnings.
|
2024-09-06 13:16:19 +00:00
|
|
|
|
* wfGetServerUrl(), deprecated in 1.39, now emits warnings.
|
2024-09-07 03:32:49 +00:00
|
|
|
|
* wfExpandIRI(), deprecated in 1.39, now emits warnings.
|
2023-08-19 02:45:46 +00:00
|
|
|
|
* The following methods, previously deprecated, now emit deprecation warnings:
|
|
|
|
|
|
- ContentHandler::getDefaultModelFor(), deprecated since 1.33
|
|
|
|
|
|
- ContentHandler::getAllContentFormats(), deprecated since 1.35
|
|
|
|
|
|
- ContentHandler::getContentModels(), deprecated since 1.35
|
|
|
|
|
|
- ContentHandler::getForContent(), deprecated since 1.35
|
|
|
|
|
|
- ContentHandler::getForModelID(), deprecated since 1.35
|
|
|
|
|
|
- ContentHandler::getContentText(), deprecated since 1.37
|
2023-08-10 16:37:09 +00:00
|
|
|
|
* Passing a Message argument to OutputPage::setPageTitle(), which was
|
|
|
|
|
|
deprecated in 1.41, now emits warnings.
|
2024-04-25 22:10:06 +00:00
|
|
|
|
* OutputPage::showFatalError() is deprecated, use showErrorPage() instead.
|
2024-06-27 20:47:51 +00:00
|
|
|
|
* OutputPage::showPermissionsErrorPage() is deprecated,
|
|
|
|
|
|
use showPermissionStatus() instead.
|
2024-08-09 10:27:38 +00:00
|
|
|
|
* OutputPage::formatPermissionsErrorMessage(), deprecated since 1.36,
|
|
|
|
|
|
now emits deprecation warnings. Use formatPermissionStatus() instead.
|
2024-08-27 20:24:16 +00:00
|
|
|
|
* OutputPage::setCategoryLinks() has been deprecated and emits deprecation
|
|
|
|
|
|
warnings. Use ::addCategoryLinks() instead.
|
2024-06-14 03:54:52 +00:00
|
|
|
|
* OutputPage::setLanguageLinks() has been deprecated; use ::addLanguageLinks()
|
|
|
|
|
|
instead.
|
2024-10-18 14:44:48 +00:00
|
|
|
|
* Passing 'index' to OutputPage::setIndexPolicy() and
|
|
|
|
|
|
OutputPage::setRobotPolicy() after previously passing 'noindex' has
|
|
|
|
|
|
been deprecated; in a future release OutputPage will behave like
|
|
|
|
|
|
ParserOutput::setIndexPolicy(), where 'noindex' takes precedence
|
|
|
|
|
|
over 'index'.
|
2024-10-06 18:34:57 +00:00
|
|
|
|
* (T375975) Language::embedBidi() has been deprecated; use <bdi> HTML tag
|
|
|
|
|
|
instead.
|
2024-10-03 21:17:30 +00:00
|
|
|
|
* (T375975) Language::getDirMark() has been deprecated; use <bdi> HTML tag
|
|
|
|
|
|
instead.
|
2024-10-01 16:07:40 +00:00
|
|
|
|
* (T375975) Language::getDirMarkEntity() has been hard deprecated; use
|
|
|
|
|
|
<bdi> HTML tag instead.
|
2024-10-05 17:39:44 +00:00
|
|
|
|
* (T375975) The unused third parameter of Language::specialList is removed as
|
|
|
|
|
|
the method isolates the title unconditionally from the details.
|
2024-04-17 12:47:05 +00:00
|
|
|
|
* LoadBalancer::getConnectionRef(), deprecated since 1.39, now emits deprecation
|
|
|
|
|
|
warnings. Use ::getConnection() instead.
|
2024-05-02 05:44:49 +00:00
|
|
|
|
* DBAccessObjectUtils::getDBOptions() is deprecated, use
|
|
|
|
|
|
SelectQueryBuilder::recency() instead.
|
2024-04-28 20:08:51 +00:00
|
|
|
|
* IDatabase::lockForUpdate is deprecated, use
|
|
|
|
|
|
SelectQueryBuilder::acquireRowLocks instead.
|
2024-09-23 22:33:35 +00:00
|
|
|
|
* ILBFactory::flushReplicaSnapshots() is deprecated no longer needed.
|
2024-04-30 17:24:34 +00:00
|
|
|
|
* wfGetUrlUtils() is deprecated; instead, get a UrlUtils from services.
|
|
|
|
|
|
* DerivedPageDataUpdater::getPreparedEdit(), provided for back-compatibility, is
|
|
|
|
|
|
now deprecated; use the getters directly, instead.
|
|
|
|
|
|
* AuthManager::forcePrimaryAuthenticationProviders(), provided for back-
|
|
|
|
|
|
compatibility, is now deprecated.
|
|
|
|
|
|
* WikiPage::hasDifferencesOutsideMainSlot(), provided as a stop-gap before
|
|
|
|
|
|
refactoring to support MCR, is now deprecated.
|
|
|
|
|
|
* ChangesList::getTimestamp() has been deprecated; use ::revDateLink() instead.
|
2024-07-09 21:29:54 +00:00
|
|
|
|
* RecentChange::doMarkPatrolled() is deprecated, use
|
|
|
|
|
|
RecentChange::markPatrolled() instead.
|
2024-07-20 08:02:35 +00:00
|
|
|
|
* LogFormatter::newFromRow() and LogFormatter::newFromEntry(), deprecated since
|
|
|
|
|
|
1.42, now emit deprecation warnings.
|
2024-07-30 00:09:38 +00:00
|
|
|
|
* LinksUpdate::getAddedLinks(), ::getRemovedLinks(), deprecated since 1.38, now
|
|
|
|
|
|
emit deprecation warnings.
|
|
|
|
|
|
* TitleLinksTable::getTitleArray(), deprecated since 1.38, now emits deprecation
|
|
|
|
|
|
warnings.
|
2024-04-30 17:24:34 +00:00
|
|
|
|
* SiteConfig::variants() has been deprecated; use ::variantsFor().
|
|
|
|
|
|
* ObjectCache::$instances and ::getInstance() have been deprecated; instead, use
|
|
|
|
|
|
ObjectCacheFactory::getInstance().
|
2024-07-11 15:28:21 +00:00
|
|
|
|
* WANObjectCache::clearLastError() and BagOStuff::clearLastError have been hard
|
|
|
|
|
|
deprecated, use ::watchErrors() together with ::getLastErrors() instead.
|
2024-07-05 19:02:26 +00:00
|
|
|
|
* BagOStuff::getSegmentationSize() and ::getSegmentedValueMaxSize() no longer
|
|
|
|
|
|
have any usage. The subclass' method in MediumSpecificBagOStuff overrides also
|
|
|
|
|
|
have no usage as well.
|
2024-07-09 21:54:17 +00:00
|
|
|
|
* ApiBase::errorArrayToStatus() is deprecated with no replacement.
|
2024-04-30 17:24:34 +00:00
|
|
|
|
* ApiTestCase::setExpectedApiException() has been deprecated; instead, use
|
|
|
|
|
|
::expectApiErrorCode() to test error codes instead of messages.
|
2024-07-19 22:09:15 +00:00
|
|
|
|
* ApiPageSet::getTitles(), ApiPageSet::getGoodTitles(),
|
|
|
|
|
|
ApiPageSet::getMissingTitles(), ApiPageSet::getGoodAndMissingTitles(),
|
|
|
|
|
|
ApiPageSet::getRedirectTitles() and ApiPageSet::getSpecialTitles, deprecated
|
|
|
|
|
|
since 1.37, now emit deprecation warnings.
|
2024-07-24 16:20:23 +00:00
|
|
|
|
* QueryPage::setDBLoadBalancer() and ::getDBLoadBalancer() have been deprecated,
|
|
|
|
|
|
use QueryPage::setDatabaseProvider() or ::getDatabaseProvider() instead.
|
2024-04-23 16:43:29 +00:00
|
|
|
|
* User::isBlockedGlobally(), deprecated since 1.40, now emits deprecation
|
|
|
|
|
|
warnings.
|
|
|
|
|
|
* User::isBlockedFromEmailuser() and User::canSendEmail(), deprecated since
|
|
|
|
|
|
1.41, now emit deprecation warnings.
|
2024-06-06 01:05:36 +00:00
|
|
|
|
* wfMergeErrorArrays() has been deprecated.
|
2024-10-19 14:27:34 +00:00
|
|
|
|
* wfArrayDiff2() has been deprecated.
|
2024-06-29 10:07:22 +00:00
|
|
|
|
* User::whoIs() and User::whoIsReal(), have been deprecated.
|
2024-07-12 18:07:08 +00:00
|
|
|
|
* UserCache class and MediaWikiServices::getUserCache(), have been deprecated.
|
2024-05-04 08:58:57 +00:00
|
|
|
|
* JsonUnserializable and related classes have been renamed to JsonDeserializable
|
|
|
|
|
|
to make it clearer that they're related to converting serialized content back
|
|
|
|
|
|
into JSON, rather than stating that things are not representable in JSON. The
|
|
|
|
|
|
previous class names have been left behind as deprecated aliases:
|
|
|
|
|
|
- JsonUnserializable -> JsonDeserializable
|
|
|
|
|
|
- JsonUnserializableTrait -> JsonDeserializableTrait
|
|
|
|
|
|
- JsonUnserializer -> JsonDeserializer
|
|
|
|
|
|
Additionally, JsonCodec's unserialize() and unserializeArray() methods have
|
|
|
|
|
|
also been renamed to deserialize() and deserializeArray(), with the old names
|
|
|
|
|
|
deprecated.
|
2024-07-11 07:06:13 +00:00
|
|
|
|
* In the REST framework, the the BodyValidator interface and all functionality
|
|
|
|
|
|
related to it are deprecated. They have been replaced by
|
|
|
|
|
|
Handler::getBodyParamSettings() and Handler::parseBodyData(). The following
|
|
|
|
|
|
interfaces, classes, and methods are affected:
|
|
|
|
|
|
- interface BodyValidator
|
|
|
|
|
|
- class JsonBodyValidator
|
|
|
|
|
|
- class NullValidator
|
|
|
|
|
|
- function Handler::getBodyValidator
|
|
|
|
|
|
- function Validator::validateBody
|
2024-04-12 22:31:33 +00:00
|
|
|
|
* StatusValue will emit deprecation warnings when an error is given as
|
|
|
|
|
|
a MessageSpecifier combined with a parameters array, which is usually
|
|
|
|
|
|
a mistake, as the parameters have always been ignored.
|
2024-04-15 21:07:11 +00:00
|
|
|
|
* In StatusValue::replaceMessage(), ::hasMessage() and ::hasMessagesExcept()
|
|
|
|
|
|
passing MessageSpecifier or MessageValue as $source has been deprecated.
|
2024-07-21 08:09:02 +00:00
|
|
|
|
* PageArchive::undeleteAsUser, deprecated since 1.35, now emits deprecation
|
|
|
|
|
|
warnings.
|
2024-04-09 03:26:02 +00:00
|
|
|
|
* DatabaseBlock::getQueryInfo() and DatabaseBlock::getRangeCond() are
|
|
|
|
|
|
deprecated and emit deprecation warnings. Use the equivalent methods in
|
|
|
|
|
|
DatabaseBlockStore.
|
|
|
|
|
|
* DatabaseBlockStore::getReadStage() and ::getWriteStage() are deprecated.
|
|
|
|
|
|
Use the new schema unconditionally.
|
2024-05-27 06:15:03 +00:00
|
|
|
|
* UserOptionsManager::resetOptions(), ::listOptionKinds and ::getOptionKinds are
|
|
|
|
|
|
deprecated and will emit deprecation warnings. Use the corresponding methods
|
|
|
|
|
|
in PreferencesFactory and UserOptionsManager::resetOptionsByName().
|
2024-09-17 20:48:30 +00:00
|
|
|
|
* The `i18n-all-lists-margins` and `interface-message-box` module of SkinModule
|
|
|
|
|
|
are deprecated. The former has been merged into the `elements` module, the
|
|
|
|
|
|
latter has no required replacement. See JavaScript console for instructions.
|
2024-05-17 16:42:00 +00:00
|
|
|
|
* ParsoidOutputAccess and all of its methods have been deprecated. Use
|
|
|
|
|
|
ParserOutputAccess with ParserOptions::setUseParsoid() instead.
|
2023-07-31 22:38:16 +00:00
|
|
|
|
* ParserOutput::addJsConfigVars(), deprecated since 1.38, now emits deprecation
|
|
|
|
|
|
warnings. Use ParserOutput::setJsConfigVar() instead.
|
2024-08-30 23:03:08 +00:00
|
|
|
|
* The following methods of ParserOutput, most of which used to return an
|
|
|
|
|
|
array by reference, have been deprecated. Use the
|
|
|
|
|
|
ParserOutput::getLinkList(...) method with an appropriate link type
|
|
|
|
|
|
instead:
|
|
|
|
|
|
* ParserOutput::getFileSearchOptions() - ParserOutputLinkTypes::MEDIA
|
|
|
|
|
|
* ParserOutput::getImages() - ParserOutputLinkTypes::MEDIA
|
|
|
|
|
|
* ParserOutput::getInterwikiLinks() - ParserOutputLinkTypes::INTERWIKI
|
|
|
|
|
|
* ParserOutput::getLanguageLinks() - ParserOutputLinkTypes::LANGUAGE
|
|
|
|
|
|
* ParserOutput::getLinks() - ParserOutputLinkTypes::LOCAL
|
|
|
|
|
|
* ParserOutput::getLinksSpecial() - ParserOutputLinkTypes::SPECIAL
|
|
|
|
|
|
* ParserOutput::getTemplates() - ParserOutputLinkTypes::TEMPLATE
|
|
|
|
|
|
* ParserOutput::getTemplateIds() - ParserOutputLinkTypes::TEMPLATE
|
2024-10-02 18:53:34 +00:00
|
|
|
|
* ParserOutput::setLanguageLinks(null) now emits deprecation warnings. Use
|
|
|
|
|
|
an empty array as an argument, not `null`.
|
2024-09-05 16:26:37 +00:00
|
|
|
|
* ParserOutput::setPageProperty() now emits deprecation warnings when called
|
|
|
|
|
|
with non-string values, which has been deprecated since 1.42.
|
2024-10-21 16:41:27 +00:00
|
|
|
|
* Use of the reference to the internal array returned by
|
|
|
|
|
|
ParserOutput::getExternalLinks() has been deprecated. In a future release
|
|
|
|
|
|
it will return a copy of the array.
|
2024-05-28 21:39:58 +00:00
|
|
|
|
* To support a future change allowing serializing of MessageValue objects
|
|
|
|
|
|
as JSON, the methods MessageValue::objectParams(), Message::objectParams()
|
|
|
|
|
|
and Message::objectParam() are deprecated. The UserGroupMembershipParam
|
2024-06-18 00:33:18 +00:00
|
|
|
|
class and the ParamType::OBJECT constant are likewise deprecated.
|
2024-11-02 12:08:37 +00:00
|
|
|
|
* Passing null or boolean values as message parameters, which are converted
|
|
|
|
|
|
to strings "" and "1", is deprecated.
|
2024-06-01 12:05:44 +00:00
|
|
|
|
* The Less mixin .column-break-after-avoid() is deprecated. Use just the
|
|
|
|
|
|
CSS rule `break-after: avoid-column;` instead now.
|
2024-09-04 04:15:56 +00:00
|
|
|
|
* The Less mixins .horizontal-gradient and .vertical-gradient are deprecated.
|
|
|
|
|
|
Use CSS rule linear-gradient directly.
|
2024-06-05 15:49:49 +00:00
|
|
|
|
* The following method are deprecated; instead call the appropriate
|
|
|
|
|
|
constructor method in PageRestHelperFactory with the appropriate
|
|
|
|
|
|
initialization arguments:
|
|
|
|
|
|
* HtmlOutputRendererHelper::init()
|
|
|
|
|
|
* HtmlMessageOutputHelper::init()
|
|
|
|
|
|
* HtmlInputTransformHelper::init()
|
|
|
|
|
|
Similarly, calling the constructor method in PageRestHelperFactory
|
|
|
|
|
|
without the appropriate initialization arguments is now deprecated.
|
2024-10-18 22:18:34 +00:00
|
|
|
|
* Calling HtmlToContentTransform::setMetrics() and
|
|
|
|
|
|
HtmlInputTransformHelper::setMetrics() with a StatsdDataFactoryInterface
|
|
|
|
|
|
is deprecated and emits warnings. Pass a StatsFactory instead.
|
2024-07-19 22:38:07 +00:00
|
|
|
|
* HTMLForm methods getPreText, setPreText, addPreText, getPostText,
|
|
|
|
|
|
setPostText, addPostText, getHeaderText, setHeaderText, addHeaderText,
|
|
|
|
|
|
getFooterText, setFooterText and addFooterText, deprecated since 1.38, now
|
|
|
|
|
|
emit deprecation warnings.
|
|
|
|
|
|
* FormSpecialPage methods preText and postText, deprecated since 1.38, now
|
|
|
|
|
|
emit deprecation warnings.
|
2024-07-21 14:40:27 +00:00
|
|
|
|
* EditPage::internalAttemptSave() is deprecated as part of cleaning up how
|
|
|
|
|
|
edits are saved, see T157658 for details.
|
2024-07-30 20:04:24 +00:00
|
|
|
|
* The MessageCache::get hook, deprecated since 1.41, now emits deprecation
|
|
|
|
|
|
warnings.
|
2024-07-31 18:34:34 +00:00
|
|
|
|
* Twelve deprecated properties of OutputPage now will emit warnings; their
|
|
|
|
|
|
relevant getters or setters should be used instead:
|
|
|
|
|
|
* mCategoryLinks - getCategoryLinks() and setCategoryLinks()
|
|
|
|
|
|
* mCategories - getCategories()
|
|
|
|
|
|
* mIndicators - getIndicators() and setIndicators()
|
|
|
|
|
|
* mHeadItems - getHeadItemsArray(), hasHeadItem(), addHeadItem(),
|
|
|
|
|
|
and addHeadItems()
|
|
|
|
|
|
* mModules - getModules() and addModules()
|
|
|
|
|
|
* mModuleStyles - getModuleStyles() and addModuleStyles()
|
|
|
|
|
|
* mJsConfigVars - getJsConfigVars() and addJsConfigVars()
|
|
|
|
|
|
* mTemplateIds - getTemplateIds()
|
|
|
|
|
|
- mEnableClientCache - Set with enableClientCache() and disableClientCache()
|
|
|
|
|
|
- mNewSectionLink - Get with showNewSectionLink()
|
|
|
|
|
|
- mHideNewSectionLink - Set with forceHideNewSectionLink()
|
|
|
|
|
|
- mNoGallery - getNoGallery()
|
2024-07-31 15:31:10 +00:00
|
|
|
|
* The following methods from the OutputPage class were deprecated; use
|
|
|
|
|
|
corresponding methods on the ParserOutput returned from
|
|
|
|
|
|
OutputPage::getMetadata() instead. (For example, instead of
|
|
|
|
|
|
$output->setIndexPolicy() use $output->getMetadata()->setIndexPolicy().)
|
|
|
|
|
|
- ::getIndexPolicy()
|
|
|
|
|
|
- ::setIndexPolicy() (setting 'index' after 'noindex' is deprecated)
|
2024-07-31 18:12:34 +00:00
|
|
|
|
- ::getPreventClickjacking()
|
|
|
|
|
|
- ::setPreventClickjacking()
|
2024-08-30 23:03:08 +00:00
|
|
|
|
* The hook OutputPageMakeCategoryLinks is deprecated. Use the new hook
|
|
|
|
|
|
OutputPageRenderCategoryLink instead.
|
2024-09-10 12:39:44 +00:00
|
|
|
|
* mw.cookie.getCrossSite() has been deprecated due to the removal of
|
|
|
|
|
|
$wgUseSameSiteLegacyCookies in MW 1.42. Use mw.cookie.get().
|
2024-07-21 16:13:39 +00:00
|
|
|
|
* The 'help' key in HTMLForm descriptors is deprecated. Use the 'help-raw'
|
|
|
|
|
|
key instead.
|
2024-08-21 16:14:38 +00:00
|
|
|
|
* ImageGalleryBase::setWidths() and ::setHeights() will now emit a deprecation
|
|
|
|
|
|
warning if they are called without ImageGalleryBase::setParser() having been
|
|
|
|
|
|
called. Please set the parser appropriately when using the image gallery.
|
2024-09-25 15:59:32 +00:00
|
|
|
|
* (T45646) The localisation messages 'copyright' and 'history_copyright' are
|
|
|
|
|
|
deprecated in favor of 'copyright-footer' and 'copyright-footer-history'.
|
|
|
|
|
|
The new messages are parsed as wikitext instead of being treated as raw HTML.
|
|
|
|
|
|
* (T45646) The hook 'SkinCopyrightFooter' is deprecated in favor of
|
|
|
|
|
|
'SkinCopyrightFooterMessage'. The new hook allows specifying copyright
|
|
|
|
|
|
messages that are parsed as wikitext instead of being treated as raw HTML.
|
2024-10-03 13:43:01 +00:00
|
|
|
|
* (T374314) The 'mw.Uri' module has been deprecated in favour of the browser-
|
|
|
|
|
|
native URL interface, which is now provided in all supported user agents. For
|
|
|
|
|
|
details, see <https://developer.mozilla.org/en-US/docs/Web/API/URL>.
|
2024-10-01 08:28:00 +00:00
|
|
|
|
* The parameter $default in WebRequest::getRawVal() is deprecated. Use ??
|
|
|
|
|
|
instead.
|
2024-09-11 20:11:12 +00:00
|
|
|
|
* SpecialBlock::processForm(), SpecialBlock::parseExpiryInput() and
|
|
|
|
|
|
SpecialBlock::canBlockEmail(), deprecated since 1.36, and
|
|
|
|
|
|
SpecialBlock::getSuggestedDurations(), deprecated since 1.42, now emit
|
|
|
|
|
|
deprecation warnings.
|
2024-10-30 21:20:39 +00:00
|
|
|
|
* The following soft deprecated Skin methods will now emit warnings:
|
|
|
|
|
|
- Skin::makeSpecialUrl (use SkinComponentUtils::makeSpecialUrl instead)
|
|
|
|
|
|
- Skin::makeSpecialUrlSubpage (use SkinComponentUtils::makeSpecialUrlSubpage
|
|
|
|
|
|
instead)
|
|
|
|
|
|
* The SkinFactory::getSkinNames deprecated in 1.37 now emits warnings,
|
|
|
|
|
|
use getInstalledSkins instead.
|
2024-04-08 23:37:54 +00:00
|
|
|
|
|
|
|
|
|
|
=== Other changes in 1.43 ===
|
|
|
|
|
|
|
2024-02-17 00:35:09 +00:00
|
|
|
|
* Class aliases to support the old PHPUnit 4 style un-namespaced `PHPUnit_`
|
|
|
|
|
|
classes (such as PHPUnit_Framework_Error) have been removed.
|
2024-03-04 19:58:48 +00:00
|
|
|
|
* [Temporary accounts] If $wgAutoCreateTempUser is enabled, then MediaWiki
|
|
|
|
|
|
will create a temporary account and log the user in for unsuccessful edit
|
|
|
|
|
|
attempts and null edits, in addition to edits that change content. This is
|
|
|
|
|
|
a change from the previous paradigm, where temporary accounts were created
|
|
|
|
|
|
only for successful edits. This change is done to support better logging
|
|
|
|
|
|
support and moderation, to ensure that hooks run in a pre-save context have
|
|
|
|
|
|
a user object to associate log entries and other actions with.
|
2022-09-24 21:16:43 +00:00
|
|
|
|
* Several entries have been removed from the default list of interwikis used
|
|
|
|
|
|
when installing new wikis. This does not affect existing wikis.
|
2024-01-28 04:13:58 +00:00
|
|
|
|
* User auto-creations are now performed as the target user instead of
|
|
|
|
|
|
anonymous IP user.
|
2024-05-14 11:52:01 +00:00
|
|
|
|
* [Temporary accounts] T359043 Temporary accounts for anonymous edits are
|
2024-05-22 20:20:00 +00:00
|
|
|
|
enabled in DevelopmentSettings.php. To disable the feature, set
|
|
|
|
|
|
`$wgAutoCreateTempUser['enabled'] = false;` in LocalSettings.php
|
2024-05-16 17:53:16 +00:00
|
|
|
|
* Corrected the interpretation of empty arrays in extension configuration when
|
|
|
|
|
|
the default value is null. Previously, an empty array specified by the
|
|
|
|
|
|
administrator would transform into the default null value. It now
|
|
|
|
|
|
appropriately retains its empty array state.
|
2024-05-27 08:46:53 +00:00
|
|
|
|
* (T362536) Exempted "deletedhistory", "deletedtext", and "viewsuppressed"
|
|
|
|
|
|
rights from namespace protection ($wgNamespaceProtection) since that's
|
|
|
|
|
|
only meant to prevent write actions.
|
2018-05-15 23:09:01 +00:00
|
|
|
|
* Image captions are no longer trimmed.
|
2024-09-01 18:42:40 +00:00
|
|
|
|
* 'SpecialPasswordResetOnSubmit' hook handlers can now receive both the
|
|
|
|
|
|
username and the email provided by the user, instead of only one of them.
|
2024-06-16 22:29:38 +00:00
|
|
|
|
* (T231827, T249976) Searchindex now uses utf8mb4,
|
|
|
|
|
|
si_page is marked as PK and si_title can handle longer title values.
|
2024-04-08 23:37:54 +00:00
|
|
|
|
|
|
|
|
|
|
== Compatibility ==
|
|
|
|
|
|
|
|
|
|
|
|
MediaWiki 1.43 requires PHP 8.1.0 or later and the following PHP extensions:
|
|
|
|
|
|
|
|
|
|
|
|
* ctype
|
|
|
|
|
|
* dom
|
|
|
|
|
|
* fileinfo
|
|
|
|
|
|
* iconv
|
|
|
|
|
|
* intl
|
|
|
|
|
|
* json
|
|
|
|
|
|
* mbstring
|
2024-05-05 08:56:08 +00:00
|
|
|
|
* openssl
|
2024-04-08 23:37:54 +00:00
|
|
|
|
* xml
|
|
|
|
|
|
|
|
|
|
|
|
MariaDB is the recommended database software. MySQL, PostgreSQL, or SQLite can
|
|
|
|
|
|
be used instead, but support for them is somewhat less mature.
|
|
|
|
|
|
|
|
|
|
|
|
The supported versions are:
|
|
|
|
|
|
|
|
|
|
|
|
* MariaDB 10.3 or higher
|
|
|
|
|
|
* MySQL 5.7.0 or higher
|
|
|
|
|
|
* PostgreSQL 10 or later
|
|
|
|
|
|
* SQLite 3.8.0 or later
|
|
|
|
|
|
|
|
|
|
|
|
== Online documentation ==
|
|
|
|
|
|
Documentation for both end-users and site administrators is available on
|
|
|
|
|
|
MediaWiki.org, and is covered under the GNU Free Documentation License (except
|
|
|
|
|
|
for pages that explicitly state that their contents are in the public domain):
|
|
|
|
|
|
|
|
|
|
|
|
<https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation>
|
|
|
|
|
|
|
|
|
|
|
|
== Mailing list ==
|
|
|
|
|
|
A mailing list is available for MediaWiki user support and discussion:
|
|
|
|
|
|
|
|
|
|
|
|
<https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/>
|
|
|
|
|
|
|
|
|
|
|
|
A low-traffic announcements-only list is also available:
|
|
|
|
|
|
|
|
|
|
|
|
<https://lists.wikimedia.org/postorius/lists/mediawiki-announce.lists.wikimedia.org/>
|
|
|
|
|
|
|
|
|
|
|
|
It's highly recommended that you sign up for one of these lists if you're
|
|
|
|
|
|
going to run a public MediaWiki, so you can be notified of security fixes.
|
|
|
|
|
|
|
|
|
|
|
|
== IRC help ==
|
|
|
|
|
|
There's usually someone online in #mediawiki on irc.libera.chat.
|