aboutsummaryrefslogtreecommitdiffstats
path: root/RELEASE-NOTES-1.40
Commit message (Collapse)AuthorAgeFilesLines
* Remove WVUI from MediaWiki coreDiesel kapasule2023-04-271-0/+1
| | | | | Bug: T310244 Change-Id: Ic403f1e1ea384ff05716ae0037a73d0f4fd1ea38
* Add Hook suffix to GetBlockErrorMessageKeyHookUmherirrender2023-04-161-2/+2
| | | | | | | | | | Common naming convention for hook runner interfaces The hook is new in 1.40 and the rename should be backported, but the old name needs alias as it is already used in extensions. Bug: T334689 Change-Id: I3f9e6d33f1bf29e937c82860fcebd088dde647da
* Merge "mime: Deprecate isPHPImageType function in MimeAnalyzer"jenkins-bot2023-04-121-0/+2
|\
| * mime: Deprecate isPHPImageType function in MimeAnalyzerrrana-wmf2023-04-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | While working on the code coverage report, I added a test case for the isPHPImageType function (https://gerrit.wikimedia.org/r/c/mediawiki/core/+/906768). However, I later discovered that the function is not being used (https://codesearch.wmcloud.org/search/?q=isPHPImageType&files=&excludeFiles=&repos=). Therefore, I have deprecated the function with the intention of removing it in the next version. Change-Id: I1460fe9da8fa4795d17ee2bcd0c73faba808dad5
* | rdbms: Hard-deprecate IDatabase::lastQueryAmir Sarabadani2023-04-121-0/+2
|/ | | | | | | | | Not used in Wikimedia-deployed code at all and all other usages are for debugging where rdbms library provides a robust debugging mechanism already. Bug: T314094 Change-Id: I44942cdea481863487880e17a03ebc161774cf0d
* RELEASE-NOTES-1.40: Update and clean-up ahead of rc.0 branchJames D. Forrester2023-04-061-74/+75
| | | | | | | | | | | | | | Most of this is moving content around to be in the proper place, plus the occasional re-writing of entries to be more consistent with our standard practices for these notes. I've upgraded our claim for language support; Names::$names has 509 entries, and even when you take out the 80 sub-languages (en-AU, zh-Hans, etc.) we're still way higher than 350 which we've had for years now, so let's be more accurate. Bug: T329082 Change-Id: I4b6611ed0b9f016e880b3db08e7d85e277ff209c
* Merge "Add namespaced classes to 1.40 release notes"jenkins-bot2023-04-051-2/+58
|\
| * Add namespaced classes to 1.40 release notesAmir Sarabadani2023-04-051-2/+58
| | | | | | | | | | | | | | | | | | There were so many of them that we decided to do them separately Bug: T334010 Bug: T321882 Bug: T166010 Change-Id: Ied1051c6cc0232d03eec41c2b2cbd28d11fc0f21
* | ResourceLoader: Update wikimedia/less.php from 3.2.1 to 4.0.0Timo Tijhof2023-04-051-1/+1
|/ | | | | | | | | | | | <https://gerrit.wikimedia.org/g/mediawiki/libs/less.php/+/v4.0.0/CHANGES.md> Relevant: * T331649: Fix url(#myid) to be treated as absolute URL. * T331688: Fix "Undefined property" PHP 8.1 warning. * Improve performance by removing MatchFuncs and NewObj overhead. Depends-On: Icb57cd4d91e4f3722c5d8a3fc0f05e493ae6c59f Change-Id: I55391bf61b28663343620650fc36403a777e6e75
* Merge "Change the default of wgParserEnableLegacyMediaDOM to false"jenkins-bot2023-03-201-0/+5
|\
| * Change the default of wgParserEnableLegacyMediaDOM to falseArlo Breault2023-03-171-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 7% increase in css shipped is because of styles added for the content-media feature, without dropping content-thumbnail. This is noted in T297984#8525146 Getting rid of content-thumbnail won't be possible until templates and extensions that mimic the parser output have been migrated, which is being worked on in T318433. Bug: T314318 Bug: T297984 Bug: T318433 Depends-On: Ib54b49d546423dd1b4416c82585bbb686950b29c Change-Id: Ic587b1b9b8d22f3aef38e8823613815faaa09d9d
* | Merge "phpunit: Check if composer dependencies are up-to-date"jenkins-bot2023-03-171-0/+4
|\ \ | |/ |/|
| * phpunit: Check if composer dependencies are up-to-dateKosta Harlan2023-03-091-0/+4
| | | | | | | | | | Bug: T330228 Change-Id: I2caddfb8f2991034adce372f12bf81b0c2acb965
* | RELEASE-NOTES-1.40: Note that the rename specials have also been namespacedJames D. Forrester2023-03-161-7/+7
| | | | | | | | Change-Id: Ieb502530389b3afedfce265a95892b01e04c20b2
* | BaseTemplate: Remove ::renderAfterPortlet & getAfterPortletrrana-wmf2023-03-161-0/+2
| | | | | | | | | | | | | | | | renderAfterPortlet() and getAfterPortlet() in the BaseTemplate class were hard deprecated and now removed. Bug: T320350 Change-Id: I23b0204e4bae4c09190e9e79f7e48284bf724c79
* | Rename PHP classes to match filenamesFomafix2023-03-161-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | Also change the letter case in the file names to be consistent to other files in includes/specials. The PHPCS exclude-pattern for these files on MediaWiki.Files.ClassMatchesFilename.NotMatch can now removed. The old class names are still available as aliases and are deprecated now. Change-Id: Id71f5a5ce456caf522c95c477487e14f366c1b40
* | Merge "Hard-deprecate deprecated pager methods/classes"jenkins-bot2023-03-151-0/+9
|\ \
| * | Hard-deprecate deprecated pager methods/classesBartosz Dziewoński2023-03-151-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Deprecated in MW 1.39 in commits: * Ic75bd597b210e14612ca3aebb531b659897e8294 * I4e2f36b543462aa5d852733da650fb70d49ebf06 Depends-On: I8b3adfe907ae16279ec3d480b7eedec5901884f2 Depends-On: I376361bc86a6085fe94a5439b04239ab123a515c Change-Id: I09e9203b19e3808af9348db8a889d5e118282230
* | | RELEASE-NOTES: Correctly reflect that Codex 0.7.0 happened in MW 1.41Roan Kattouw2023-03-151-2/+2
|/ / | | | | | | | | | | Follow-up to I72f5b2f95db0fa266d355a47f6b568c24f916bb3 Change-Id: I4dcb28044640329536b42ce1be6356a03174dd95
* | Update Codex from v0.6.2 to v0.7.0Volker E2023-03-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: T295711 Bug: T303384 Bug: T312987 Bug: T321470 Bug: T324708 Bug: T328602 Bug: T330665 Bug: T330694 Bug: T330711 Bug: T331457 Bug: T331790 Co-authored-by: Volker E. <volker.e@wikimedia.org> Depends-On: I793a4cbe51729e93e070434d40a6031fb183f9e6 Change-Id: I72f5b2f95db0fa266d355a47f6b568c24f916bb3
* | Merge "mediawiki.router: Remove publicly exposed oojs-router module"jenkins-bot2023-03-141-0/+2
|\ \
| * | mediawiki.router: Remove publicly exposed oojs-router moduleTimo Tijhof2023-03-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The wrapper only adds a single line (`exports = new OO.Router`), which isn't worth a separate module. Consolidate the internal module into the entry point and remove it. In Gerrit, as per CodeSearch Everywhere [1], there is only one call, in MultimediaViewer's mmv.js, fixed in Ice09b523dfb. The mention in NearbyPages is a false positive relating to the npm module used for local development. No known on-wiki usage [2]. [1] https://codesearch.wmcloud.org/search/?q=oojs-router%5B%27%22%5D&excludeFiles=package.%2Ajson%7Cwikipedia.org%2Fspeed-tests [2] https://global-search.toolforge.org/?q=oojs-router&regex=1&namespaces=2%2C4%2C8 Depends-On: Ice09b523dfbefd67493175554eeb525771e8f29d Change-Id: I55ef3a659a515fb074fd44beed754ae2206a3499
* | | RELEASE-NOTES-1.40: Add/correct node CI library changes, tooJames D. Forrester2023-03-131-2/+8
| | | | | | | | | | | | Change-Id: If0928477afac51006654aa5fe308a27b49ad9861
* | | RELEASE-NOTES-1.40: Add Parsoid upgrades (a little ahead of schedule)James D. Forrester2023-03-131-0/+1
| | | | | | | | | | | | Change-Id: I8bf58cdf16c53931943a0f1c7c3307e430f5f7f6
* | | RELEASE-NOTES-1.40: Alpha-sort libariesJames D. Forrester2023-03-131-5/+7
| | | | | | | | | | | | Change-Id: I93b2a71e528de68ffc57f23d565755c170f80df9
* | | Follow-up 654d1d0d: Also note langconv addition in REL-NOTsJames D. Forrester2023-03-131-0/+1
| | | | | | | | | | | | Change-Id: I73e9042a29a24773fde00c8e59f9588e31d636d9
* | | Follow-up b8f7407b2: Also note upgrade in REL-NOTsJames D. Forrester2023-03-131-1/+1
| | | | | | | | | | | | Change-Id: Iaefbbc713e3b81f7bd45d82ff42ba4f017c1fff1
* | | Merge "Allow marking recent changes about logged actions with bot flag"jenkins-bot2023-03-131-0/+2
|\ \ \
| * | | Allow marking recent changes about logged actions with bot flagMatěj Suchánek2023-03-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was no clean way to do this but using the global state. The parameter is three-state to keep backward compatibility. Bug: T304428 Change-Id: I01c5f8e9646cbe861516100c3b8d165aefb95ca0
* | | | Deprecate ParserOutput::{get,set}TOCHTML()C. Scott Ananian2023-03-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No uses in deployed code outside mediawiki-core: https://codesearch.wmcloud.org/deployed/?q=%5Bgs%5DetTOCHTML%5C%28&i=nope&files=&excludeFiles=&repos= Bug: T293513 Change-Id: I3fd82150ac581afbeb94f401672702063586fff0
* | | | Merge "Deprecate global function wfReportTime()"jenkins-bot2023-03-101-0/+1
|\ \ \ \
| * | | | Deprecate global function wfReportTime()Fomafix2023-03-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use WebRequest::getElapsedTime in OutputPage::getBottomScripts. Integrate the rest of wfReportTime in OutputPage::getBottomScripts. The configuration variable ShowHostnames can now accessed without a global variable. The generated HTML doesn't contain a separate mw.config.set() anymore. The measure of the elapsed time should be at the last possible position. Therefor the hook onSkinAfterBottomScripts gets fired before. The time deviation compared to the previous position is about 100 µs less which sometimes get rounded to 1 ms less in wgBackendResponseTime. The last usage of wfReportTime() is in the deprecated function BaseTemplate::getTrail. Change-Id: Id069f9130344b1a79bf4e954c30502a90b3602b7
* | | | | Merge "objectcache: remove deprecate BagOStuff::incr() method"jenkins-bot2023-03-101-0/+1
|\ \ \ \ \
| * | | | | objectcache: remove deprecate BagOStuff::incr() methodAaron Schulz2023-03-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I107c04e05585c975dc37ce402746a4671f2f43b5
* | | | | | Merge "objectcache: remove deprecate BagOStuff::decr() method"jenkins-bot2023-03-101-0/+1
|\| | | | |
| * | | | | objectcache: remove deprecate BagOStuff::decr() methodAaron Schulz2023-03-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8284289f3d37c763eabdecba9b8d0c4beed4e5de
* | | | | | Merge "AbstractBlock: Hard-deprecate accessing block IDs cross-wiki"jenkins-bot2023-03-101-0/+2
|\ \ \ \ \ \
| * | | | | | AbstractBlock: Hard-deprecate accessing block IDs cross-wikiAlexander Vorwerk2023-03-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: T274817 Change-Id: I5c1ee557db9be3ebce8592d06dac520df2dd1cad
* | | | | | | composer: Bump wikimedia/alea to 1.0.0; drop bcp-47-code dev-dependencyC. Scott Ananian2023-03-101-1/+2
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Parsoid's ParserTest infrastructure uses wikimedia/alea, which is why it appears in core's require-dev, and Parsoid has bumped their dependency to 1.0.0. We already have wikimedia/bcp-47-code in `require`; we don't need it also in `require-dev`. Change-Id: Ia10d7439709a5370214ce5e3b957ec09b759af27
* | | | | | Merge "Deprecate ParserOutput::getCategories()"jenkins-bot2023-03-101-0/+2
|\ \ \ \ \ \
| * | | | | | Deprecate ParserOutput::getCategories()C. Scott Ananian2023-03-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This undocumented method returns a reference to ParserOutput's private storage array, yet very few callers actually require a reference or try to use this to mutate the internal storage. Further, the keys of the array can be converted to `int` when the category names are numeric, which can further confuse users. Most users found through codesearch can/should use ::getCategoryNames() instead. Add a new ::getCategorySortKey() method to provide access to the sort keys for those few callers who require them, in a manner which doesn't expose that the internal `mCategories` array stores numeric category names as 'int'. Bug: T331727 Change-Id: I8dc85e76bfbb9ed49a603d990c14b7ee798bd821
* | | | | | | Merge "Language: Hard-deprecate Language::factory/getParentLanguage"jenkins-bot2023-03-101-0/+2
|\ \ \ \ \ \ \
| * | | | | | | Language: Hard-deprecate Language::factory/getParentLanguageUmherirrender2023-03-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Language::getParentLanguage - Language::factory Bug: T325986 Change-Id: I0077630232587860ea4c7e37790cb24fc17f6e92
* | | | | | | | Merge "Hard-deprecate manual construction of LinkBatch objects"jenkins-bot2023-03-101-0/+2
|\ \ \ \ \ \ \ \
| * | | | | | | | Hard-deprecate manual construction of LinkBatch objectsUmherirrender2023-03-081-0/+2
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: T325591 Change-Id: I4f267b052e98cbb36cb76dae59a5279b01eae97c
* | | | | | | | Merge "Remove deprecated Language::commafy and mw.language.commafy"jenkins-bot2023-03-101-0/+2
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | |
| * | | | | | | Remove deprecated Language::commafy and mw.language.commafyFomafix2023-03-101-0/+2
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Language::commafy and mw.language.commafy have been deprecated in 4bc5c761 included in MW 1.36. Bug: T331708 Change-Id: I874c2c904fa4a7f04486113d1d92709c21d1f5bb
* | | | | | | Fix typo in RELEASE-NOTES-1.40 w/r/t ParserOptions deprecationC. Scott Ananian2023-03-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I2522a83a43b7371b5b2152a0bb5c557c319b2e5e
* | | | | | | Merge "Treat $wgHooks as a regular setting"jenkins-bot2023-03-101-0/+6
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Treat $wgHooks as a regular settingdaniel2023-03-091-0/+6
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $wgHooks should be treated like a regular setting, which cannot be manipulated after bootstrapping is complete. This will allow us to greatly simplify the logic in HookContainer. Replacing $wgHooks with a fake array after bootstrapping allows us to detect any remaining live access to $wgHooks without breaking functionality. The plan is to have the fake array emit deprecation warnings in the 1.40 release, and make it throw exceptions in later releases. See Iddcb760cf8961316d6527e81b9aa968657d8354c for the deprecation warnings. Bug: T331602 Change-Id: I0ebba9a29f81b0d86ad8fd84d478fb244f9e9c15