New data provider and test method were added to ensure file paths are correct and the file is present.
Bug: T231430
Change-Id: Iadafe0df1104de8829ea87632d65b3008cf80d76
$mLastShown, $mFirstShown and $mPastTheEndIndex should be arrays
since 6786aa5d8e, but classes that
override doQuery do not all honour this.
Cast these to arrays as they are passed to implode.
Bug: T244941
Change-Id: I1e6d9bee852e304e6b10733f53f942942cc0ff52
KSS is no longer in use anywhere. The only official style guide is
at https://design.wikimedia.org/style-guide.
Change-Id: I688a78e9a71a082c499af55bd01e8fd615130486
This class duplicates a bunch of code from IndexPager, and that code was
changed in 6786aa5d8e in a way that broke
this code. Update it to account for the fact that mFirstShown,
mLastShown and mPastTheEndIndex are now arrays. Also update the
documentation in IndexPager to reflect that.
Bug: T244937
Change-Id: I51a50b6d3be1467f4ee399446d1d12cfed71a06c
Bring on par with OOUI where similar change has been merged in
Ie7e6a19009168d78713.
Also reducing top padding of `.mw-ui-input-large` to unified `8px`.
Bug: T244823
Change-Id: Icb5d06dba7f891f617696b4455fd3956f75f90ef
There was an unintentional breaking change to this API in OOUI in
f70fa9df0 (v0.31.3 / 2019-04-03). It only supports an array of files
now. This fixes uploading by dragging-and-dropping or copy-pasting
an image into VisualEditor editing surface.
Change-Id: I6dcd109c085d2542b0256e37bfbf130c92261e2e
I had suggested this code myself during code review, but forgot that a
Config object is available in the callback. We should use that instead
of a global variable.
Follow-up to 036cde7a04
Change-Id: I8b104e411dc32250a0ebca535c2b0dc3d63993a0
Changed
- ContentHandlerFactory with legacy support
- ContentHandlerFactoryTests
Added
- MediaWikiIntegrationNoDbTestCase for test without preparing DB
New
- tests
Bug: T243560
Change-Id: I693dda56af55bd03e48d62a2f1ade42f65a8fac9
For all successfully submitted (i.e. valid input) password reset
requests, display the same information. This removes the
distinction between email and username resets, and only shows the
user what they've already submitted.
Bug: T238961
Change-Id: Ic17acecf1e44401f7607cdaf90dcee1a26b8405f
`$this->getModule()` returns a RL object or a null. The check above already
makes sure that $module is not null so we can just set file dependencies
from the RL object returned.
In addition, this is an optimization as we reduce repeated calls to
`$this->getModule()`. Similar logic already exist in the same file from
L#116 - L#118.
Change-Id: If50c28ff5cd8eb435c9fa4f277e2d1038b52ca74
The status object, which can be returned after validating an HTMLForm,
can contain message objects. These message objects can be constructed
with the full feature set provided by Message, e.g. raw parameters.
The handling of these status objects in HTMLForm basically prevented
some features of the Message object in the status, as it parsed the
messages through the Parser, which does not recognize these raw
parameters as such and escapes them wrongly.
This behaviour is fixed with this change.
Bug: T240774
Change-Id: I152ec51f317799572bf6791e110cd72c42da82a0
This prevents an overlap of
* messagebox
* errorbox
* warningbox
* successbox
with floating objects.
Bug: T244659
Change-Id: I75a19576a4ba36b333223db3cf44533f7e79aad8