| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: Id4dc28e255cf141f3912afbda8ab07b045f23385
|
|
|
|
| |
Change-Id: I3996915584a07378f6e7efd9e97b30c7f566bd9b
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a legend at the top of the inline diff display, showing the
meanings of the colours of the inserted and deleted highlighting.
Also add the same text as tooltips on the highlighted elements.
The legend is added as part of a new area above the diff table
that can be modified via a new TextSlotDiffRendererTablePrefix
hook, so that extensions can add other buttons etc. there as
required.
This is a follow-up to the previous attempt, which added the
legend in DifferenceEngine::showDiff() and was called from
too many places. This patch moves it to be called in
DifferenceEngine::showDiffPage().
Bug: T324759
Change-Id: I2a3c67bcfa47313dee597e602a62073e4e298cd2
Follow-up: I6de30bf79eb5ac262285951792782b870d075e00
|
|/
|
|
|
|
|
| |
Mark as deprecated in 1.40 ahead of removal 1.41.
More details in the removal change at Ifea09c5de50af16160.
Change-Id: I24ee0e5b4162ae36971360bd6d38c2fdb34fd155
|
|
|
|
| |
Change-Id: I4cf0a3b3e8e39aa2965f7278f037e78b74cb1741
|
|
|
|
|
| |
Follow-Up: I1587380f669d5434c7f32ed359ab48fc6f79ce6b
Change-Id: I9b062d3d62f160109ba9ce1062fb1ec949b3e3ab
|
|
|
|
|
| |
Bug: T310244
Change-Id: Ic403f1e1ea384ff05716ae0037a73d0f4fd1ea38
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There were so many of them that we decided to do them separately
Bug: T334010
Bug: T321882
Bug: T166010
Change-Id: Ied1051c6cc0232d03eec41c2b2cbd28d11fc0f21
|
|/
|
|
|
|
|
|
|
|
|
|
| |
<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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| | |
Bug: T330228
Change-Id: I2caddfb8f2991034adce372f12bf81b0c2acb965
|
| |
| |
| |
| | |
Change-Id: Ieb502530389b3afedfce265a95892b01e04c20b2
|
| |
| |
| |
| |
| |
| |
| |
| | |
renderAfterPortlet() and getAfterPortlet() in the BaseTemplate class
were hard deprecated and now removed.
Bug: T320350
Change-Id: I23b0204e4bae4c09190e9e79f7e48284bf724c79
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Deprecated in MW 1.39 in commits:
* Ic75bd597b210e14612ca3aebb531b659897e8294
* I4e2f36b543462aa5d852733da650fb70d49ebf06
Depends-On: I8b3adfe907ae16279ec3d480b7eedec5901884f2
Depends-On: I376361bc86a6085fe94a5439b04239ab123a515c
Change-Id: I09e9203b19e3808af9348db8a889d5e118282230
|
|/ /
| |
| |
| |
| |
| | |
Follow-up to I72f5b2f95db0fa266d355a47f6b568c24f916bb3
Change-Id: I4dcb28044640329536b42ce1be6356a03174dd95
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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®ex=1&namespaces=2%2C4%2C8
Depends-On: Ice09b523dfbefd67493175554eeb525771e8f29d
Change-Id: I55ef3a659a515fb074fd44beed754ae2206a3499
|
| | |
| | |
| | |
| | | |
Change-Id: If0928477afac51006654aa5fe308a27b49ad9861
|
| | |
| | |
| | |
| | | |
Change-Id: I8bf58cdf16c53931943a0f1c7c3307e430f5f7f6
|
| | |
| | |
| | |
| | | |
Change-Id: I93b2a71e528de68ffc57f23d565755c170f80df9
|
| | |
| | |
| | |
| | | |
Change-Id: I73e9042a29a24773fde00c8e59f9588e31d636d9
|
| | |
| | |
| | |
| | | |
Change-Id: Iaefbbc713e3b81f7bd45d82ff42ba4f017c1fff1
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: I107c04e05585c975dc37ce402746a4671f2f43b5
|
|\| | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: I8284289f3d37c763eabdecba9b8d0c4beed4e5de
|
|\ \ \ \ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Bug: T274817
Change-Id: I5c1ee557db9be3ebce8592d06dac520df2dd1cad
|
| |/ / / / /
|/| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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
|
|\ \ \ \ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
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
|
|\ \ \ \ \ \ \ |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- Language::getParentLanguage
- Language::factory
Bug: T325986
Change-Id: I0077630232587860ea4c7e37790cb24fc17f6e92
|