Commit graph

102900 commits

Author SHA1 Message Date
James D. Forrester
c968e772e7 CREDITS: Update for REL1_36
Change-Id: I9c4cdd33a104259725e0621b9702dc5e9939d925
2021-04-10 17:14:12 -07:00
jenkins-bot
258442202c Merge "Document $wgLegacyJavaScriptGlobals as already deprecated in 1.36" 2021-04-10 22:18:23 +00:00
Amir Sarabadani
72cf766c75 Document $wgLegacyJavaScriptGlobals as already deprecated in 1.36
Prepare for removal in a couple of weeks. It is already implicitly
called deprecated in HISTORY. Making it explicit.

Bug: T72470
Change-Id: Ieb1d130038823e90d6196d236f02733fd47e03d4
2021-04-10 21:53:45 +00:00
Amir Sarabadani
4acdf1669d Final fixes of Postgres updater for REL1_36
Tested upgrade from 1.35 locally, and it broke due to two issues:
 - text table didn't exist, making renaming the table the first update.
 - the update was using user instead of mwuser. That was intentional on
   the grounds that it'll be fixed soon, but it seems I746714f7b3a is
   not going to make to the release.

Bug: T164898
Change-Id: I0c152f339954a001c5a5a0b94b8ad48e5b077290
2021-04-10 19:37:55 +00:00
jenkins-bot
22a5c0a806 Merge "Fix typo in code 'defintion'" 2021-04-10 10:05:08 +00:00
anjali041
480c126305 Fix typo in code 'defintion'
Changed the typo 'defintion' to 'definition'

Bug: T201491
Change-Id: I6e866283b5fd8a2b2f237a770942ac03f735c138
2021-04-10 14:22:52 +05:30
Timo Tijhof
a6a25a1efc objectcache: Replace 'cluster' and 'mcrouterAware' with 'broadcastRoutingPrefix'
Also remove the unused 'region' option.

Added release notes, and updated the notes for coalesceKeys as well
to reside in the configuration section instead.

Change-Id: I219ea67416c6d121ce1488d99dab9a3a089f27d9
2021-04-09 23:04:41 +00:00
jenkins-bot
7ba5fa41f5 Merge "Convert WatchAction to PageIdentity" 2021-04-09 18:48:03 +00:00
jenkins-bot
63c2f13e44 Merge "objectcache: Implement 'onHostRoutingPrefix' option in WANObjectCache" 2021-04-09 17:56:36 +00:00
jenkins-bot
c0015a3e52 Merge "Revert "Localisation updates from https://translatewiki.net."" 2021-04-09 17:28:41 +00:00
Umherirrender
f7404ae08e Revert "Localisation updates from https://translatewiki.net."
This reverts commit 07bdda2222.

Reason for revert: Removed cant-block-nonexistent-page from qqq.json which breaks banana linter. Let's revert and get a fresh export next time

Change-Id: Id09d60bf5975581ad0b0ddec34238de304e3a960
2021-04-09 16:54:12 +00:00
jenkins-bot
e5d1c50c6f Merge "Some reorganisation of DefaultSettings.php" 2021-04-09 07:36:22 +00:00
jenkins-bot
682903a107 Merge "Add parser test for {{safesubst:self}}" 2021-04-09 07:26:27 +00:00
jenkins-bot
42921d49bc Merge "Hard deprecate JobQueue::getWiki" 2021-04-09 07:26:20 +00:00
jenkins-bot
893b1d2fd7 Merge "Follow-up a87fa8287: Split release notes into sysadmin- and user-facing" 2021-04-09 07:23:28 +00:00
jenkins-bot
07951e3d92 Merge "rdbms: Remove unused 'hostname' in LBFactory and LoadBalancer" 2021-04-09 07:05:46 +00:00
jenkins-bot
b88dc0e34a Merge "Localisation updates from https://translatewiki.net." 2021-04-09 07:03:18 +00:00
Translation updater bot
07bdda2222 Localisation updates from https://translatewiki.net.
Change-Id: I96db73dc0241a655b37e113d823ceb276720ae2f
2021-04-09 08:56:56 +02:00
jenkins-bot
5a9114075b Merge "LoadBalancer: Include flags in connection log" 2021-04-09 06:53:29 +00:00
Timo Tijhof
6910c3c243 rdbms: Remove unused 'hostname' in LBFactory and LoadBalancer
One less thing to inject and pass down, one less thing where MW-specific
wiring varies from the default.

Bug: T228895
Change-Id: I1bb181a0b9b081050e544eb4b2a6c4287ee89528
2021-04-08 23:35:18 -07:00
jenkins-bot
12961b74ce Merge "build: Update eslint-config-wikimedia to 0.20.0" 2021-04-09 02:51:46 +00:00
James D. Forrester
98ef72049d Follow-up a87fa8287: Split release notes into sysadmin- and user-facing
Bug: T268230
Change-Id: I0e49737f291ee73830705e87c9c39ff228bc7821
2021-04-09 02:45:16 +00:00
Ed Sanders
6d8ad558b8 build: Update eslint-config-wikimedia to 0.20.0
Change-Id: Ia26ba71e1c41e7564ec60d78d4eb1492de7269d2
2021-04-08 19:05:31 -07:00
jenkins-bot
6911bd7ffe Merge "UPGRADE: Remove nbsp, replace with a space" 2021-04-09 01:56:21 +00:00
jenkins-bot
41814a56f5 Merge "PermissionManager: Clarify what 'index' passed to getNamespaceRestrictionLevels means" 2021-04-09 01:52:27 +00:00
Reedy
383ab7aa2e UPGRADE: Remove nbsp, replace with a space
Change-Id: I02077e37fa4e8a4d56f75529c74f29d3d44deb2d
2021-04-08 18:32:57 -07:00
Timo Tijhof
16ac6980f8 objectcache: Implement 'onHostRoutingPrefix' option in WANObjectCache
Renamed several methods for clarity and updated various comments

Use explicit number_format() instead of casting floats to strings
when making purge values

Fix LocalRepoTest mocking of WANObjectCache::makeGlobalKey()

Bug: T264604
Change-Id: Ib03b97fcab8a34d38d3a8a12da6e28e12feef4ad
2021-04-09 00:27:13 +00:00
Reedy
8efb0e894a HISTORY: Add 1.31.13, 1.31.14, 1.35.2
Bug: T270458
Change-Id: I5c12cfc1bf127e5daa236d8d310568b9354014cc
2021-04-08 23:27:46 +01:00
jenkins-bot
888664b377 Merge "SECURITY: ContentModelChange: Check that user can create pages" 2021-04-08 22:12:43 +00:00
jenkins-bot
fd8721f54c Merge "SECURITY: Non-admin deleted enwiki page in fast double move" 2021-04-08 22:12:36 +00:00
jenkins-bot
0b225ae7cd Merge "SECURITY: Allow user to only apply protection they have right to do so via action=protect" 2021-04-08 22:12:29 +00:00
jenkins-bot
db705b4a77 Merge "PageRecord: make language optional" 2021-04-08 21:42:29 +00:00
jenkins-bot
369c0fb7f3 Merge "Use ::class for class name" 2021-04-08 21:41:24 +00:00
DannyS712
188a91754e SECURITY: ContentModelChange: Check that user can create pages
Co-authored-by: Taavi Väänänen <hi@tassu.me>
Change-Id: I2e3b79f36fa7c0a3ec4130de0ae9c68104cb3fdd
2021-04-08 20:55:51 +01:00
Tim Starling
e9a12612d3 SECURITY: Non-admin deleted enwiki page in fast double move
Bug: T272386
Change-Id: I8bf163e9dd056bccdbe9ad39537c46eb115da01a
2021-04-08 20:55:46 +01:00
Reedy
6b9be9c0e9 SECURITY: Allow user to only apply protection they have right to do so via action=protect
'apierror-protect-invalidlevel' potentially wants updating at a later point as the
message isn't necessarily clear what the error is; the protection may be valid
but the users right to do so is not.

Bug: T270713
Change-Id: I72fe67264baa4123599ec424a7d780192ca54bcc
2021-04-08 20:55:25 +01:00
jenkins-bot
497b53853d Merge "ParserCache: fix stats for metadata cache missed" 2021-04-08 19:40:55 +00:00
Reedy
09f9868600 PermissionManager: Clarify what 'index' passed to getNamespaceRestrictionLevels means
Change-Id: I23199bbbb34fd30016d10ec2188f46f8620973c6
2021-04-08 20:18:27 +01:00
Umherirrender
cfcb3e4785 Use ::class for class name
This works also for non-existing classes,
because it is resolved on compile time

Change-Id: Id3132341856fb1eb20e8b494bb4acdfe3a394db6
2021-04-08 21:17:42 +02:00
daniel
a4b73eb217 PageRecord: make language optional
Title::getPageLanguage has complex logic to determine the effictive
language of the page. PageRecord is a storage layer primitive and should
not haveknowledge of such logic, nor should PageStore.

The effective content language of a page needs to be determined
programmatically, see discussion on the ticket.

Bug: T278591
Change-Id: Ic26f6f7690499b3dd87982e3822881fd473cfd68
2021-04-08 20:16:36 +02:00
DannyS712
a2d3a0f599 Hard deprecate JobQueue::getWiki
Deprecated since 1.33 and unused

Change-Id: I1ee72782facc0c0e432128bd9abf5bbb90f59a4b
2021-04-08 17:15:52 +00:00
jenkins-bot
06dcac30cf Merge "Add Serhio Magpie to CREDITS" 2021-04-08 17:14:10 +00:00
jenkins-bot
182882e09b Merge "Installer: Fix foundation.wikimedia.org link in config-pingback-help" 2021-04-08 16:58:00 +00:00
jenkins-bot
99f9ae676b Merge "Add Dagbani (dag) to Names.php" 2021-04-08 16:46:37 +00:00
Kunal Mehta
a0249f9642 Add Serhio Magpie to CREDITS
Creator of the new MediaWiki logo, but won't be picked up by the
normal updateCredits.php script.

Change-Id: I44ddd1162bbd4ac11903bf9340040adbe67c7011
2021-04-08 09:34:19 -07:00
Reedy
835f068931 Installer: Fix foundation.wikimedia.org link in config-pingback-help
Change-Id: Iaf0269e9039ad1e00c47b08fc549c926a8f8f912
2021-04-08 17:29:12 +01:00
daniel
489e2826e0 ParserCache: fix stats for metadata cache missed
Cache misses in metadata were miscounted as miss.unserialize.
Count them as miss.absent.metadata instead.

Change-Id: Idff062325a34445478a4543709a9f2b3cc365f60
2021-04-08 17:54:01 +02:00
jenkins-bot
3f95be13bf Merge "Don't allow blocking on pages that don't exist" 2021-04-08 15:52:57 +00:00
jenkins-bot
3c0c12e7de Merge "Hard deprecate MediaWikiServices::getWatchlistNotificationManager()" 2021-04-08 15:50:29 +00:00
jenkins-bot
28fbfbc910 Merge "Rename WatchlistNotificationManager to WatchlistManager" 2021-04-08 15:48:15 +00:00