lhc/web/wiklou.git
5 years agoMerge "HISTORY: Add MediaWiki 1.1 post-release change notes"
jenkins-bot [Thu, 28 Mar 2019 23:35:03 +0000 (23:35 +0000)]
Merge "HISTORY: Add MediaWiki 1.1 post-release change notes"

5 years agoMerge "Recalculate user default options for each test"
jenkins-bot [Thu, 28 Mar 2019 22:45:54 +0000 (22:45 +0000)]
Merge "Recalculate user default options for each test"

5 years agoHISTORY: Add MediaWiki 1.1 post-release change notes
Nikita Rana [Thu, 28 Mar 2019 19:03:51 +0000 (00:33 +0530)]
HISTORY: Add MediaWiki 1.1 post-release change notes

Add MediaWiki 1.1 post-release change notes, sourced from
https://www.mediawiki.org/wiki/Release_notes/1.1

Bug: T213714
Change-Id: If443cbd6ee67f5e6e311fd6a7c8899b9874061f2

5 years agoMerge "HISTORY: Add pre-MediaWiki 1.1.0 post-release change notes"
jenkins-bot [Thu, 28 Mar 2019 22:34:14 +0000 (22:34 +0000)]
Merge "HISTORY: Add pre-MediaWiki 1.1.0 post-release change notes"

5 years agoMerge "Enable mediawiki.checkboxtoggle on mobile"
jenkins-bot [Thu, 28 Mar 2019 22:30:17 +0000 (22:30 +0000)]
Merge "Enable mediawiki.checkboxtoggle on mobile"

5 years agoEnable mediawiki.checkboxtoggle on mobile
jdlrobson [Thu, 28 Mar 2019 22:07:36 +0000 (15:07 -0700)]
Enable mediawiki.checkboxtoggle on mobile

There is no reason for this to be excluded by the targets
system and it is needed for the history page on mobile
Change-Id: I3edd053372c0754d684ed3091ca43d40cee26165

5 years agoMerge "Move PrefixSearch classes to own files"
jenkins-bot [Thu, 28 Mar 2019 21:42:50 +0000 (21:42 +0000)]
Merge "Move PrefixSearch classes to own files"

5 years agoMerge "Map WikiMap treat a schema of "dbo" similar to "mediawiki" to account for...
jenkins-bot [Thu, 28 Mar 2019 21:17:09 +0000 (21:17 +0000)]
Merge "Map WikiMap treat a schema of "dbo" similar to "mediawiki" to account for mssql""

5 years agoMerge "resourceloader: Improve test cases for MessageBlobStore"
Krinkle [Thu, 28 Mar 2019 20:37:42 +0000 (20:37 +0000)]
Merge "resourceloader: Improve test cases for MessageBlobStore"

5 years agoMerge "Subtitle is wrapped in a DIV"
jenkins-bot [Thu, 28 Mar 2019 20:36:29 +0000 (20:36 +0000)]
Merge "Subtitle is wrapped in a DIV"

5 years agoSubtitle is wrapped in a DIV
jdlrobson [Thu, 28 Mar 2019 20:14:49 +0000 (13:14 -0700)]
Subtitle is wrapped in a DIV

Skins should be able to style this as they wish. This wraps the
link and text in an element so it can be styled as a component
of the page.

Change-Id: I34bd361e0384f6b127ca0ac1e06d3298a2a2c457

5 years agoMerge "Change 'mediawiki.Title' to use 'packageFiles'"
jenkins-bot [Thu, 28 Mar 2019 20:12:38 +0000 (20:12 +0000)]
Merge "Change 'mediawiki.Title' to use 'packageFiles'"

5 years agoMerge "Remove deprecated wfSplitWikiID() function"
jenkins-bot [Thu, 28 Mar 2019 19:51:22 +0000 (19:51 +0000)]
Merge "Remove deprecated wfSplitWikiID() function"

5 years agoChange 'mediawiki.Title' to use 'packageFiles'
Bartosz Dziewoński [Thu, 28 Mar 2019 19:40:47 +0000 (20:40 +0100)]
Change 'mediawiki.Title' to use 'packageFiles'

Seems neater.

Change-Id: Ib9a64f1b2efcc224e2d6eaf306eefa9527b6a2dd

5 years agoMerge "Remove jquery.ui.spinner"
jenkins-bot [Thu, 28 Mar 2019 19:40:39 +0000 (19:40 +0000)]
Merge "Remove jquery.ui.spinner"

5 years agoMerge "rdbms: add IDatabase::UNION_* constants for readability"
jenkins-bot [Thu, 28 Mar 2019 19:40:20 +0000 (19:40 +0000)]
Merge "rdbms: add IDatabase::UNION_* constants for readability"

5 years agoMerge "Title: Add scripts for generating/updating phpCharToUpper.js"
jenkins-bot [Thu, 28 Mar 2019 19:20:22 +0000 (19:20 +0000)]
Merge "Title: Add scripts for generating/updating phpCharToUpper.js"

5 years agoMerge "History styles marked as available on mobile"
jenkins-bot [Thu, 28 Mar 2019 19:20:14 +0000 (19:20 +0000)]
Merge "History styles marked as available on mobile"

5 years agoRemove deprecated wfSplitWikiID() function
Aaron Schulz [Tue, 26 Mar 2019 22:03:45 +0000 (15:03 -0700)]
Remove deprecated wfSplitWikiID() function

Change-Id: I87c5532effde9d433aef537228aa804f6d751f9b

5 years agoHISTORY: Add pre-MediaWiki 1.1.0 post-release change notes
Nikita Rana [Thu, 28 Mar 2019 19:17:36 +0000 (00:47 +0530)]
HISTORY: Add pre-MediaWiki 1.1.0 post-release change notes

Add pre-MediaWiki 1.1.0 post-release change notes, sourced from
https://www.mediawiki.org/wiki/Release_notes/pre-1.1.0

Bug: T213714
Change-Id: I72f7cfd7f35ded969da6e65108a52db682570ed6

5 years agoMerge "Separate content from presentation for user tools list"
jenkins-bot [Thu, 28 Mar 2019 18:58:50 +0000 (18:58 +0000)]
Merge "Separate content from presentation for user tools list"

5 years agoRemove jquery.ui.spinner
Ed Sanders [Wed, 27 Mar 2019 15:03:55 +0000 (15:03 +0000)]
Remove jquery.ui.spinner

Bug: T219403
Change-Id: Ifed9074cb49d146b4cd7e366bfc028854daf027b

5 years agoMap WikiMap treat a schema of "dbo" similar to "mediawiki" to account for mssql"
Aaron Schulz [Thu, 28 Mar 2019 18:41:47 +0000 (11:41 -0700)]
Map WikiMap treat a schema of "dbo" similar to "mediawiki" to account for mssql"

Change-Id: I07ae057dffc2c7203cde2c24ebb27067338b5096

5 years agoMerge "HISTORY: Add MediaWiki 1.3 post-release change notes"
jenkins-bot [Thu, 28 Mar 2019 18:38:12 +0000 (18:38 +0000)]
Merge "HISTORY: Add MediaWiki 1.3 post-release change notes"

5 years agoRecalculate user default options for each test
Erik Bernhardson [Wed, 27 Mar 2019 23:55:09 +0000 (16:55 -0700)]
Recalculate user default options for each test

Statically caching the default user options means tests that change
the inputs, and expect to see the result in their code, are foiled
and the reasons shrowded in mystery.  Recalculate default user options
on a per test basis.

Change-Id: I9075cc9c05546a857850e8b4b4dea9f51873451b

5 years agoMerge "Make ApiStashEdit::pruneExcessStashedEntries use user name"
jenkins-bot [Thu, 28 Mar 2019 18:07:15 +0000 (18:07 +0000)]
Merge "Make ApiStashEdit::pruneExcessStashedEntries use user name"

5 years agordbms: add IDatabase::UNION_* constants for readability
Aaron Schulz [Thu, 28 Mar 2019 17:58:42 +0000 (10:58 -0700)]
rdbms: add IDatabase::UNION_* constants for readability

Change-Id: I0d39242d1c4bd8c2236f0b0cd21eb3f604b7d2bd

5 years agoMerge "objectcache: remove some unneeded code from BagOStuff::mergeViaCas"
jenkins-bot [Thu, 28 Mar 2019 17:57:46 +0000 (17:57 +0000)]
Merge "objectcache: remove some unneeded code from BagOStuff::mergeViaCas"

5 years agoMerge "objectcache: rename SET_DELAY_HIGH_SEC => SET_DELAY_HIGH_MS and lower it"
jenkins-bot [Thu, 28 Mar 2019 17:56:14 +0000 (17:56 +0000)]
Merge "objectcache: rename SET_DELAY_HIGH_SEC => SET_DELAY_HIGH_MS and lower it"

5 years agoHistory styles marked as available on mobile
jdlrobson [Thu, 28 Mar 2019 17:54:59 +0000 (10:54 -0700)]
History styles marked as available on mobile

The history page is currently overriden on the mobile site but
this will soon change. Making this module accessible is going to
be important!

Bug: T219349
Change-Id: Ia4232060325daeb16a867d9a55a3a6044088a1fb

5 years agoMerge "objectcache: make WANObjectCache prefer ADD over GET/CAS for misses"
jenkins-bot [Thu, 28 Mar 2019 17:37:09 +0000 (17:37 +0000)]
Merge "objectcache: make WANObjectCache prefer ADD over GET/CAS for misses"

5 years agoSeparate content from presentation for user tools list
jdlrobson [Wed, 27 Mar 2019 20:16:59 +0000 (13:16 -0700)]
Separate content from presentation for user tools list

Change-Id: Iec2cf0a4a9a0384fa01e2421a0b6f6ee58a3e8d3

5 years agoMerge "specials: Fix incomplete documentation of execute() param"
jenkins-bot [Thu, 28 Mar 2019 17:05:56 +0000 (17:05 +0000)]
Merge "specials: Fix incomplete documentation of execute() param"

5 years agoMerge "Replace strlen() calls with strict string comparisons"
jenkins-bot [Thu, 28 Mar 2019 17:05:11 +0000 (17:05 +0000)]
Merge "Replace strlen() calls with strict string comparisons"

5 years agoHISTORY: Add MediaWiki 1.3 post-release change notes
Nikita Rana [Thu, 28 Mar 2019 08:27:02 +0000 (13:57 +0530)]
HISTORY: Add MediaWiki 1.3 post-release change notes

Add MediaWiki 1.3 post-release change notes, sourced from
https://www.mediawiki.org/wiki/Release_notes/1.3

Bug: T213714
Change-Id: I197d52a7b7a685b6fcb9e751983a5c11d9ed96ad

5 years agospecials: Fix incomplete documentation of execute() param
Thiemo Kreuz [Thu, 28 Mar 2019 11:24:26 +0000 (12:24 +0100)]
specials: Fix incomplete documentation of execute() param

The parameter passed to the execute() method of each special page can
be null, and usually is. In some of these files this fact was already
mentioned in the comment, but not listed as a type.

In this patch I also remove comments that do not explain much. Saying
that the execute() method of a special page "executes a special page" or
is the "main entry point to a special page" is not super helpful. That's
usually what the documentation in the parent class shoudl explain.
We can add @inheritDoc tags in all these cases if you prefer. Please
tell me.

Change-Id: I1d811ab0c6d5c956e36f6a74120a425abc4332e6

5 years agoresources: Allow mediawiki.action.edit.editWarning on mobile target
James D. Forrester [Thu, 28 Mar 2019 14:52:00 +0000 (07:52 -0700)]
resources: Allow mediawiki.action.edit.editWarning on mobile target

Bug: T219476
Change-Id: Ifa745d937b954647dfde2b185064cd86a3cc8320

5 years agoMerge "profileinfo: Remove unused constructor call parameter"
jenkins-bot [Thu, 28 Mar 2019 11:54:16 +0000 (11:54 +0000)]
Merge "profileinfo: Remove unused constructor call parameter"

5 years agoMerge "title: Rewrite Title::getBaseText() for performance/readability"
jenkins-bot [Thu, 28 Mar 2019 11:40:37 +0000 (11:40 +0000)]
Merge "title: Rewrite Title::getBaseText() for performance/readability"

5 years agoReplace strlen() calls with strict string comparisons
Thiemo Kreuz [Wed, 27 Mar 2019 10:13:08 +0000 (11:13 +0100)]
Replace strlen() calls with strict string comparisons

Note there is an important difference between the two ways to express
this: strlen() does a string cast, but the `=== ''` and `!== ''`
comparisons will only detect empty strings, but not null, false, or any
other falsy value that becomes an empty string when cast to be one.

I am only touching code where I'm sure the variable is guaranteed to be
a string.

This change is done because I find the strict comparisons much more
readable. The code does exactly one thing now, and no magic casts any
more.

Change-Id: I3e908a0c7c7b6c29b0e5a1414f2ba9062a215b93

5 years agoobjectcache: rename SET_DELAY_HIGH_SEC => SET_DELAY_HIGH_MS and lower it
Aaron Schulz [Thu, 28 Mar 2019 10:59:43 +0000 (03:59 -0700)]
objectcache: rename SET_DELAY_HIGH_SEC => SET_DELAY_HIGH_MS and lower it

Change-Id: I92a1e9a713f60288eb02bdea4881d104bdf7d0f5

5 years agoMerge "Move HistoryBlob classes to own files"
jenkins-bot [Thu, 28 Mar 2019 10:55:48 +0000 (10:55 +0000)]
Merge "Move HistoryBlob classes to own files"

5 years agoobjectcache: make WANObjectCache prefer ADD over GET/CAS for misses
Aaron Schulz [Thu, 28 Mar 2019 03:09:06 +0000 (20:09 -0700)]
objectcache: make WANObjectCache prefer ADD over GET/CAS for misses

This avoids an extra cache query and also avoids I/O if another thread
already saved the value in the meantime, bloating the GET response.

Bug: T203786
Change-Id: I05539873f55d3254e2b9ecad0df158db1e6a1a1a

5 years agoMerge "Remove temporary rollback confirmation toggle"
jenkins-bot [Thu, 28 Mar 2019 09:28:12 +0000 (09:28 +0000)]
Merge "Remove temporary rollback confirmation toggle"

5 years agoMerge "mw.widgets.DateInputWidget: Deactivate after blurring if focus was on calendar"
jenkins-bot [Thu, 28 Mar 2019 06:04:53 +0000 (06:04 +0000)]
Merge "mw.widgets.DateInputWidget: Deactivate after blurring if focus was on calendar"

5 years agoMerge "Only show config-install-success on command line installer where it makes...
jenkins-bot [Thu, 28 Mar 2019 04:00:53 +0000 (04:00 +0000)]
Merge "Only show config-install-success on command line installer where it makes sense"

5 years agoMerge "Deprecate Block::isValid method"
jenkins-bot [Thu, 28 Mar 2019 03:56:20 +0000 (03:56 +0000)]
Merge "Deprecate Block::isValid method"

5 years agoMerge "resourceloader: Improve test cases for DerivativeResourceLoaderContext"
jenkins-bot [Thu, 28 Mar 2019 03:31:17 +0000 (03:31 +0000)]
Merge "resourceloader: Improve test cases for DerivativeResourceLoaderContext"

5 years agoMerge "Change name of main page in Sardinian (sc)"
jenkins-bot [Thu, 28 Mar 2019 03:13:38 +0000 (03:13 +0000)]
Merge "Change name of main page in Sardinian (sc)"

5 years agoMerge "Revert "Provide direct deprecation message for jquery.ui.spinner""
jenkins-bot [Thu, 28 Mar 2019 03:13:29 +0000 (03:13 +0000)]
Merge "Revert "Provide direct deprecation message for jquery.ui.spinner""

5 years agoMerge "Add namespace translation for N'Ko"
jenkins-bot [Thu, 28 Mar 2019 03:08:57 +0000 (03:08 +0000)]
Merge "Add namespace translation for N'Ko"

5 years agoRevert "Provide direct deprecation message for jquery.ui.spinner"
Jforrester [Tue, 26 Mar 2019 20:49:40 +0000 (20:49 +0000)]
Revert "Provide direct deprecation message for jquery.ui.spinner"

This reverts commit 5b812305da96b4acfade7feab5885580886bb0d3.

Reason for revert:

Everything about jQuery UI is terrible, including the naming of modules.

Change-Id: Ide2bb589a4af3b166c46bcd163e6269a80b6d5c0

5 years agoobjectcache: remove some unneeded code from BagOStuff::mergeViaCas
Aaron Schulz [Thu, 28 Mar 2019 02:11:17 +0000 (19:11 -0700)]
objectcache: remove some unneeded code from BagOStuff::mergeViaCas

Change-Id: Ib92090fe4e1b1eb2c4f9e031f8476b24189392c8

5 years agoMake ApiStashEdit::pruneExcessStashedEntries use user name
Aaron Schulz [Thu, 28 Mar 2019 01:25:46 +0000 (18:25 -0700)]
Make ApiStashEdit::pruneExcessStashedEntries use user name

Follow up to c334883309778

Change-Id: I35213d83a00b50bb469aab5bf8fbeb52239cff5e

5 years agoMerge "Annotate different parts of the contributions UI with classes"
jenkins-bot [Thu, 28 Mar 2019 00:46:55 +0000 (00:46 +0000)]
Merge "Annotate different parts of the contributions UI with classes"

5 years agoMerge "objectcache: fix changeTTL() in RedisBagOStuff for edge cases"
jenkins-bot [Thu, 28 Mar 2019 00:43:22 +0000 (00:43 +0000)]
Merge "objectcache: fix changeTTL() in RedisBagOStuff for edge cases"

5 years agoAnnotate different parts of the contributions UI with classes
jdlrobson [Wed, 27 Mar 2019 18:31:39 +0000 (11:31 -0700)]
Annotate different parts of the contributions UI with classes

Distinguish the user tools (talk, block, block log etc)
from the pager navigation navigation bar so that skins can style
them.

Change-Id: I32950aa452347aabb8a37253bafc5f20d518c110

5 years agoMerge "objectcache: improve "version" documentation for WANObjectCache::getWithSetCal...
jenkins-bot [Thu, 28 Mar 2019 00:11:46 +0000 (00:11 +0000)]
Merge "objectcache: improve "version" documentation for WANObjectCache::getWithSetCallback()"

5 years agoobjectcache: fix changeTTL() in RedisBagOStuff for edge cases
Aaron Schulz [Tue, 26 Mar 2019 22:54:31 +0000 (15:54 -0700)]
objectcache: fix changeTTL() in RedisBagOStuff for edge cases

Change-Id: I2bb4bf843c8de8cefaf4188a8866ae51a28bbf71

5 years agoresourceloader: Improve test cases for MessageBlobStore
Timo Tijhof [Wed, 27 Mar 2019 20:23:02 +0000 (20:23 +0000)]
resourceloader: Improve test cases for MessageBlobStore

Move source code to includes/resourceloader to match
test case. This is part of ResourceLoader and not meant
to be used elsewhere.

Merge two similar test cases for getting blobs and fetching
messages which were doing the same thing.

Rewrite the test names to be a better reflection of the stories
they test, add comments for why, and re-order them to put related
tests together.

Move test-utilities to the bottom and make them actually private.

Change-Id: I7a437eebf3ba6a722e286dfe77c2f9fe49ad222f

5 years agoMerge "Make LinksDeletionUpdate a subclass of LinksUpdate"
jenkins-bot [Wed, 27 Mar 2019 23:19:22 +0000 (23:19 +0000)]
Merge "Make LinksDeletionUpdate a subclass of LinksUpdate"

5 years agoMerge "SpecialPreferences: Use real OOUI PHP layouts"
jenkins-bot [Wed, 27 Mar 2019 23:09:41 +0000 (23:09 +0000)]
Merge "SpecialPreferences: Use real OOUI PHP layouts"

5 years agoDeprecate Block::isValid method
Thalia [Wed, 27 Mar 2019 16:36:30 +0000 (16:36 +0000)]
Deprecate Block::isValid method

Block::isValid checks whether the block target equals null. It seems to
have been unused since commit 40a926ab2c566052eefd08c36f246d6b5321afc5.
It was called from Block::newFromDB, which was removed in favour of
Block::newFromTarget, which has its own logic for checking the target.

Since the method is public, it should be deprecated before removal.

Change-Id: Ibcfb377a382f55e80933836960be7e3589908390

5 years agoMake LinksDeletionUpdate a subclass of LinksUpdate
daniel [Tue, 5 Mar 2019 21:07:13 +0000 (22:07 +0100)]
Make LinksDeletionUpdate a subclass of LinksUpdate

This is proposed as an alternative to I0b636dc144f34bb.

The idea is to ensure that page deletion causes the exact same
database updates to be performed, and the exact same hooks to
be fired, as a page edit.

Bug: T216249
Change-Id: I665320e27da8edc2867b47d181cc0f324e75d102

5 years agoSpecialPreferences: Use real OOUI PHP layouts
Ed Sanders [Fri, 22 Mar 2019 15:11:17 +0000 (15:11 +0000)]
SpecialPreferences: Use real OOUI PHP layouts

Change-Id: Id8c798c0d5be07afd1c4d6584af22c54c3465621

5 years agoMerge "HISTORY: Add MediaWiki 1.5 post-release change notes"
jenkins-bot [Wed, 27 Mar 2019 22:20:17 +0000 (22:20 +0000)]
Merge "HISTORY: Add MediaWiki 1.5 post-release change notes"

5 years agoTitle: Add scripts for generating/updating phpCharToUpper.js
Ed Sanders [Tue, 26 Mar 2019 13:42:29 +0000 (13:42 +0000)]
Title: Add scripts for generating/updating phpCharToUpper.js

Bug: T141723
Change-Id: I8355990f06b793e889d5279bada81e6ef3c242d1

5 years agoHISTORY: Add MediaWiki 1.5 post-release change notes
Nikita Rana [Wed, 27 Mar 2019 19:06:44 +0000 (00:36 +0530)]
HISTORY: Add MediaWiki 1.5 post-release change notes

Add MediaWiki 1.5 post-release change notes, sourced from
https://www.mediawiki.org/wiki/Release_notes/1.5

Bug: T213714
Change-Id: I6c29cca7903df3f9f718aa13512c500c5fced63c

5 years agomw.widgets.DateInputWidget: Deactivate after blurring if focus was on calendar
Bartosz Dziewoński [Wed, 27 Mar 2019 21:56:39 +0000 (22:56 +0100)]
mw.widgets.DateInputWidget: Deactivate after blurring if focus was on calendar

Bug: T219189
Change-Id: I5f03dbd12afac31f1d72fc1aeb78125647595b5d

5 years agoUse DateInputWidget for date inputs which do not need time
jdlrobson [Tue, 26 Mar 2019 23:18:53 +0000 (16:18 -0700)]
Use DateInputWidget for date inputs which do not need time

For those that still need the precision of time, the
DateTimeInputWidget can be used.

Bug: T107069
Change-Id: I2e0b0168b53594760c2630dc4ecd4e6af7404a7c

5 years agoobjectcache: improve "version" documentation for WANObjectCache::getWithSetCallback()
Aaron Schulz [Wed, 27 Mar 2019 21:39:26 +0000 (14:39 -0700)]
objectcache: improve "version" documentation for WANObjectCache::getWithSetCallback()

Change-Id: Ia48f21945e6da7f2d7892677d559718f824b62c1

5 years agoMerge "Localisation updates from https://translatewiki.net."
jenkins-bot [Wed, 27 Mar 2019 21:03:59 +0000 (21:03 +0000)]
Merge "Localisation updates from https://translatewiki.net."

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 27 Mar 2019 21:02:11 +0000 (22:02 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I54b566c6b6f484b068911e49dabe15213ffdf9b6

5 years agoMerge "objectcache: merge getWithToken() into doGet() for simplicity"
jenkins-bot [Wed, 27 Mar 2019 20:58:25 +0000 (20:58 +0000)]
Merge "objectcache: merge getWithToken() into doGet() for simplicity"

5 years agoMerge "HISTORY: Add MediaWiki 1.8 post-release change notes"
jenkins-bot [Wed, 27 Mar 2019 20:42:28 +0000 (20:42 +0000)]
Merge "HISTORY: Add MediaWiki 1.8 post-release change notes"

5 years agoMove PrefixSearch classes to own files
Umherirrender [Wed, 27 Mar 2019 20:40:33 +0000 (21:40 +0100)]
Move PrefixSearch classes to own files

Move all into search subfolder

Change-Id: I4097b9745d22545afe6761da1fa67cf98af5b811

5 years agoobjectcache: merge getWithToken() into doGet() for simplicity
Aaron Schulz [Tue, 26 Mar 2019 23:23:26 +0000 (16:23 -0700)]
objectcache: merge getWithToken() into doGet() for simplicity

Change-Id: I581f866521e1086ca350973d9cdeff6656f48fe8

5 years agoMerge "Fix reference to removed truncate() function"
jenkins-bot [Wed, 27 Mar 2019 19:57:02 +0000 (19:57 +0000)]
Merge "Fix reference to removed truncate() function"

5 years agoresourceloader: Improve test cases for DerivativeResourceLoaderContext
Timo Tijhof [Wed, 27 Mar 2019 19:47:05 +0000 (19:47 +0000)]
resourceloader: Improve test cases for DerivativeResourceLoaderContext

Make the methods more descriptive of the stories and use cases
they cover, and less method-oriented given they don't only
just test a getter or setter anyway (and doing so is arguably
not useful).

Also fold the "testGetInherited" case into the specific ones,
add additional assertions for inheritence that was previously
not tested (specifically, for getVersion and getRaw).

Change-Id: I01c72112e517e66cea5ecf9e2ab53b9039fb99bb

5 years agoMerge "HISTORY: Add MediaWiki 1.4 post-release change notes"
jenkins-bot [Wed, 27 Mar 2019 19:41:15 +0000 (19:41 +0000)]
Merge "HISTORY: Add MediaWiki 1.4 post-release change notes"

5 years agoMerge "HISTORY: Add MediaWiki 1.6 post-release change notes"
jenkins-bot [Wed, 27 Mar 2019 19:41:03 +0000 (19:41 +0000)]
Merge "HISTORY: Add MediaWiki 1.6 post-release change notes"

5 years agoHISTORY: Add MediaWiki 1.8 post-release change notes
Nikita Rana [Wed, 27 Mar 2019 12:15:22 +0000 (17:45 +0530)]
HISTORY: Add MediaWiki 1.8 post-release change notes

Add MediaWiki 1.8 post-release change notes, sourced from https://www.mediawiki.org/wiki/Release_notes/1.8

Bug:T213714
Change-Id: Ib821066ad1a4940be02aa1127ddec80065f688db

5 years agoMerge "rdbms: add ATTR_SCHEMAS_AS_TABLE_GROUPS attribute"
jenkins-bot [Wed, 27 Mar 2019 19:22:07 +0000 (19:22 +0000)]
Merge "rdbms: add ATTR_SCHEMAS_AS_TABLE_GROUPS attribute"

5 years agoHISTORY: Add MediaWiki 1.4 post-release change notes
Nikita Rana [Wed, 27 Mar 2019 18:57:40 +0000 (00:27 +0530)]
HISTORY: Add MediaWiki 1.4 post-release change notes

Add MediaWiki 1.4 post-release change notes, sourced from https://www.mediawiki.org/wiki/Release_notes/1.4

Bug:T213714
Change-Id: Ibbfd4bfe604910a81f3d741f0f7c0d7178679071

5 years agoMerge "objectcache: remove redundant merge() definitions"
jenkins-bot [Wed, 27 Mar 2019 18:34:47 +0000 (18:34 +0000)]
Merge "objectcache: remove redundant merge() definitions"

5 years agoMerge "objectcache: defined some missing methods in MultiWriteBagOStuff"
jenkins-bot [Wed, 27 Mar 2019 18:34:30 +0000 (18:34 +0000)]
Merge "objectcache: defined some missing methods in MultiWriteBagOStuff"

5 years agoobjectcache: remove redundant merge() definitions
Aaron Schulz [Tue, 26 Mar 2019 22:56:43 +0000 (15:56 -0700)]
objectcache: remove redundant merge() definitions

Change-Id: Ide24dd395b300f8d747b2be307dbbad08f6b221d

5 years agoMerge "objectcache: define some missing methods in ReplicatedBagOStuff"
jenkins-bot [Wed, 27 Mar 2019 18:13:12 +0000 (18:13 +0000)]
Merge "objectcache: define some missing methods in ReplicatedBagOStuff"

5 years agoMerge "Make EnqueueableDataUpdate use DB domain IDs"
jenkins-bot [Wed, 27 Mar 2019 18:11:43 +0000 (18:11 +0000)]
Merge "Make EnqueueableDataUpdate use DB domain IDs"

5 years agoMerge "Update OOUI to v0.31.2"
jenkins-bot [Wed, 27 Mar 2019 18:11:24 +0000 (18:11 +0000)]
Merge "Update OOUI to v0.31.2"

5 years agoMerge "Remove unused rollback module"
jenkins-bot [Wed, 27 Mar 2019 18:11:11 +0000 (18:11 +0000)]
Merge "Remove unused rollback module"

5 years agoMerge "objectcache: fix return value type in SqlBagOStuff::incr"
jenkins-bot [Wed, 27 Mar 2019 18:10:56 +0000 (18:10 +0000)]
Merge "objectcache: fix return value type in SqlBagOStuff::incr"

5 years agoMerge "objectcache: fix race condition in SqlBagOStuff::changeTTL"
jenkins-bot [Wed, 27 Mar 2019 18:10:43 +0000 (18:10 +0000)]
Merge "objectcache: fix race condition in SqlBagOStuff::changeTTL"

5 years agoMerge "Replace misplaced strlen() checks with strict `false` comparisons"
jenkins-bot [Wed, 27 Mar 2019 18:01:36 +0000 (18:01 +0000)]
Merge "Replace misplaced strlen() checks with strict `false` comparisons"

5 years agoMake EnqueueableDataUpdate use DB domain IDs
Aaron Schulz [Tue, 19 Mar 2019 16:01:24 +0000 (09:01 -0700)]
Make EnqueueableDataUpdate use DB domain IDs

This makes it consistent with what JobQueueGroup actually expects.

Change-Id: Id6c6b3bf19fb1e85a2e3e231d216974d831a2f7c

5 years agoRemove unused rollback module
Tim Eulitz [Tue, 26 Mar 2019 15:18:54 +0000 (16:18 +0100)]
Remove unused rollback module

The mediawiki.page.rollback module was previously introduced in this
patch:

https://gerrit.wikimedia.org/r/c/mediawiki/core/+/242050

However, the change was reverted soon after and this module alongside
its JavaScript were left in the code, even though they are not used and
have been replaced by the mediawiki.page.rollback.confirmation module.

Bug: T218574
Change-Id: I2c71adcfcf86e5032e82c237760a9d85a63de3f8

5 years agoHISTORY: Add MediaWiki 1.6 post-release change notes
Nikita Rana [Wed, 27 Mar 2019 17:31:10 +0000 (23:01 +0530)]
HISTORY: Add MediaWiki 1.6 post-release change notes

Add MediaWiki 1.6 post-release change notes, sourced from https://www.mediawiki.org/wiki/Release_notes/1.6

Bug:T213714
Change-Id: I283478823d62c0ee6844062f18e7018cec043705

5 years agoobjectcache: defined some missing methods in MultiWriteBagOStuff
Aaron Schulz [Wed, 27 Mar 2019 02:40:40 +0000 (19:40 -0700)]
objectcache: defined some missing methods in MultiWriteBagOStuff

Also, reorder some method definitions to match the base class.
This makes it easier to compare the two. In addition, refactor
the doWrite() method to make the calls clearer.

Change-Id: I795b395b9c54645f62962461a28067ae38b291ed

5 years agoMerge "Move logic for checking block behaviour to Block class"
jenkins-bot [Wed, 27 Mar 2019 17:17:41 +0000 (17:17 +0000)]
Merge "Move logic for checking block behaviour to Block class"

5 years agoMerge "linkeddata: Remove unnecessary arguments and shrink if...else"
jenkins-bot [Wed, 27 Mar 2019 17:05:36 +0000 (17:05 +0000)]
Merge "linkeddata: Remove unnecessary arguments and shrink if...else"