Moriel Schottlender [Wed, 5 Apr 2017 23:05:51 +0000 (16:05 -0700)]
RecentChanges: Allow resetting date selection
Add a link that resets the date selection if it is selected.
Bug: T160028
Change-Id: I4ecff943025635f42eb70fc70c6dfdf34c314707
jenkins-bot [Wed, 5 Apr 2017 22:39:45 +0000 (22:39 +0000)]
Merge "Fix incorrect index name in new 1.28.0 installations"
Tim Starling [Mon, 3 Apr 2017 03:00:30 +0000 (13:00 +1000)]
Fix incorrect index name in new 1.28.0 installations
This index name should be the same in new installations as in all other
MySQL installations. This is necessary so that
Special:DeletedContributions does not give an SQL error. Release notes
will go in the 1.28 branch.
Bug: T154872
Change-Id: I535a5513ab56203139c4cf64874ea7e7498990e3
jenkins-bot [Wed, 5 Apr 2017 21:20:59 +0000 (21:20 +0000)]
Merge "Rename BaseTemplate::clear to getClear to avoid conflicts with Example skin and derivatives"
Isarra [Wed, 5 Apr 2017 20:33:26 +0000 (20:33 +0000)]
Rename BaseTemplate::clear to getClear to avoid conflicts
with Example skin and derivatives
Also it's a bit more consistent with everything else anyway.
Change-Id: I2745d51267790e93fe2b92a75e88621abbb57fd1
Translation updater bot [Wed, 5 Apr 2017 19:59:32 +0000 (21:59 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ia1e572056c019182ccb486df6c75de2acfe44459
jenkins-bot [Wed, 5 Apr 2017 19:42:31 +0000 (19:42 +0000)]
Merge "Add deleted archive titles search"
jenkins-bot [Wed, 5 Apr 2017 19:04:26 +0000 (19:04 +0000)]
Merge "Apply image styling to mw:Video / mw:Audio for Parsoid content"
Stanislav Malyshev [Sat, 2 Apr 2016 05:57:20 +0000 (08:57 +0300)]
Add deleted archive titles search
Allows search engine to suggest deleted titles for undelete search.
Note that the titles are still verified against the archive table,
to ensure search engine is not out-of-date.
Bug: T109561
Change-Id: Id6099fe9fbf18481068a6f0a329bbde0d218135f
jenkins-bot [Wed, 5 Apr 2017 18:54:40 +0000 (18:54 +0000)]
Merge "ClassicInterwikiLookup: Call static function selectFields statically"
jenkins-bot [Wed, 5 Apr 2017 18:50:57 +0000 (18:50 +0000)]
Merge "Clarify release notes for Opera 12.0-12.10 being Grade C"
jenkins-bot [Wed, 5 Apr 2017 18:39:48 +0000 (18:39 +0000)]
Merge "mw.language.specialcharacters: Add Canadian Aboriginal group"
Arlo Breault [Wed, 5 Apr 2017 18:27:34 +0000 (14:27 -0400)]
Apply image styling to mw:Video / mw:Audio for Parsoid content
* For I53c6fa8d862c152bb1c8dd3ae96f4ee464a60d32
Change-Id: Icb26ffb802150c1d1f8c6e0aab05b25e503077e2
Reedy [Tue, 4 Apr 2017 13:53:12 +0000 (14:53 +0100)]
ClassicInterwikiLookup: Call static function selectFields statically
Change-Id: I5260ccad99057323d0f3a669a420bbd723363986
Tpt [Sun, 2 Apr 2017 20:10:24 +0000 (22:10 +0200)]
mw.language.specialcharacters: Add Canadian Aboriginal group
Bug: T108626
Change-Id: Ia337d42c6ef7f9645f1dd843ef0e7553857f6aa3
jenkins-bot [Wed, 5 Apr 2017 18:09:52 +0000 (18:09 +0000)]
Merge "Update OOjs to v2.0.0"
jenkins-bot [Wed, 5 Apr 2017 17:42:46 +0000 (17:42 +0000)]
Merge "Make API documentation links language aware"
Bartosz Dziewoński [Tue, 4 Apr 2017 21:40:57 +0000 (23:40 +0200)]
Clarify release notes for Opera 12.0-12.10 being Grade C
Follow-up to
09fcee61106146adbc8889f3950a2ea02cda0da6.
Change-Id: Ibbdaa85a35af4e5560e092deaede626bc0a504e6
James D. Forrester [Wed, 5 Apr 2017 15:40:22 +0000 (08:40 -0700)]
Update OOjs to v2.0.0
Release notes:
https://phabricator.wikimedia.org/diffusion/GOJS/browse/master/History.md;v2.0.0
Change-Id: I5bbc3e0ec7c4789c6b476c0fb039e0292027c014
Baha [Tue, 4 Apr 2017 22:52:57 +0000 (18:52 -0400)]
Make API documentation links language aware
Links generated by the API are now aware of the user's preferred
language and will show documents in that language if available.
To test, log in to mediawiki.org and set your language preference to 'es',
then on an MediaWiki installation with this patch view the generated
expanded API help at `api.php?action=help&recursivesubmodules=1&modules=main`.
Each link to documentation on mediawiki.org should take you to its
translated /es subpage, if one exists.
Bug: T104518
Change-Id: I339a1f3ae1bce9d759cf251899d57c32b1def91e
Eddie Greiner-Petter [Wed, 5 Apr 2017 03:18:26 +0000 (05:18 +0200)]
Improve qqq for i18n message at Special:Userrights
Remove vagueness by adding documentation for this, as translators had
problems with the terms "put back" and "bring forward". Also fix minor
lack of precision in those messages.
Bug: T157587
Change-Id: Idef412556ce54820eb65cce0b53dec09f5d95f9e
jenkins-bot [Wed, 5 Apr 2017 01:09:23 +0000 (01:09 +0000)]
Merge "Send integer ms to DB lag time guage instead of seconds"
jenkins-bot [Tue, 4 Apr 2017 23:42:49 +0000 (23:42 +0000)]
Merge "RCFilters: Work around IE11 rendering issues"
jenkins-bot [Tue, 4 Apr 2017 22:41:21 +0000 (22:41 +0000)]
Merge "mw.loader: Remove redundant compat code for IE <= 9"
jenkins-bot [Tue, 4 Apr 2017 22:26:39 +0000 (22:26 +0000)]
Merge "Add class for service discovery using DNS SRV records"
Timo Tijhof [Tue, 4 Apr 2017 22:20:02 +0000 (15:20 -0700)]
mw.loader: Remove redundant compat code for IE <= 9
Follows-up
09fcee6110. Search for "Support: " in resources/src/.
* addEmbeddedCSS(): Remove IE9 compat code.
Also remove now-unused variables.
* addLink(): Remove IE7-8 compat comment.
Keep code as-is since properties are preferable in general.
Change-Id: I8a31ac96441ee78dfa2f4f2b49e0e91181430237
jenkins-bot [Tue, 4 Apr 2017 22:13:12 +0000 (22:13 +0000)]
Merge "mediawiki.log: Improve documentation"
jenkins-bot [Tue, 4 Apr 2017 21:58:04 +0000 (21:58 +0000)]
Merge "Add some common functions to BaseTemplate"
Timo Tijhof [Tue, 4 Apr 2017 21:50:41 +0000 (14:50 -0700)]
mediawiki.log: Improve documentation
* Clarify that all mw.log submethods use the native console
when available and are otherwise no-ops. Their behaviour is
not influenced by whether or not debug mode is enabled.
* Move mw.log() method doc to mediawiki.js and clarify that it
is for verbose logging in debug mode (no-op in production mode).
Behaviour is not changed in this commit, only documentation.
Change-Id: Ie6e2382632654430dc57ee8c0a6222d6ad80663d
jenkins-bot [Tue, 4 Apr 2017 21:44:08 +0000 (21:44 +0000)]
Merge "jsduck: Unbreak live demos (mwNow undefined)"
Timo Tijhof [Tue, 4 Apr 2017 21:31:56 +0000 (14:31 -0700)]
jsduck: Unbreak live demos (mwNow undefined)
* Update the mock startup.js in jsduck/eg-iframe.html
to define mwNow.
* Remove dead reference to sha1.js.
* Remove dead reference to mediawiki.startUp.js.
* Fix broken reference to oojs-ui-local.css.
Test plan:
* Exec `npm install && npm run doc` (requires 'jsduck')
* View /w/docs/js/#!/api/mw.html
* Verify that "Live Preview" works and no JS or 404 errors
in the console.
Change-Id: Ie891eaae70021ba5fbcddeb4eec7c929ccd8707d
jenkins-bot [Tue, 4 Apr 2017 21:27:55 +0000 (21:27 +0000)]
Merge "Replace deprecated jQuery.isArray by Array.isArray"
jenkins-bot [Tue, 4 Apr 2017 21:08:44 +0000 (21:08 +0000)]
Merge "resourceloader: Use Date.now() for mw.now() instead of '+new Date'"
jenkins-bot [Tue, 4 Apr 2017 21:07:12 +0000 (21:07 +0000)]
Merge "resourceloader: Use Object.keys() instead of map() to get keys"
jenkins-bot [Tue, 4 Apr 2017 21:07:06 +0000 (21:07 +0000)]
Merge "resourceloader: Use Array#map instead of jQuery#map for arrays"
jenkins-bot [Tue, 4 Apr 2017 21:06:59 +0000 (21:06 +0000)]
Merge "Remove support for jquery.placeholder shim"
jenkins-bot [Tue, 4 Apr 2017 21:03:16 +0000 (21:03 +0000)]
Merge "startup: Drop JavaScript support for ES3-only browsers"
Translation updater bot [Tue, 4 Apr 2017 19:54:51 +0000 (21:54 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I78124a764a2b8c0a7fc26c251621a68bdf86a92f
jenkins-bot [Tue, 4 Apr 2017 19:33:35 +0000 (19:33 +0000)]
Merge "Move new external libraries to correct RELEASE-NOTES section"
jenkins-bot [Tue, 4 Apr 2017 19:18:38 +0000 (19:18 +0000)]
Merge "Update oyejorge/less.php v1.7.0.13 to v1.7.0.14"
jenkins-bot [Tue, 4 Apr 2017 19:09:45 +0000 (19:09 +0000)]
Merge "Update cssjanus/cssjanus from 1.1.3 to 1.2.0"
jenkins-bot [Tue, 4 Apr 2017 19:09:39 +0000 (19:09 +0000)]
Merge "Update composer-merge-plugin from 1.3.1 to 1.4.0"
jenkins-bot [Tue, 4 Apr 2017 19:09:34 +0000 (19:09 +0000)]
Merge "Update monolog from 1.18.2 to 1.22.1"
Aaron Schulz [Thu, 23 Mar 2017 18:55:07 +0000 (11:55 -0700)]
Send integer ms to DB lag time guage instead of seconds
Previously, this sent the floating point value in seconds,
which is not what statsd expects here.
Bug: T149210
Change-Id: I8fcd58d7c9e183952df1257b1520d9426a42fd26
Fomafix [Fri, 17 Mar 2017 05:31:13 +0000 (06:31 +0100)]
Replace deprecated jQuery.isArray by Array.isArray
jQuery.isArray gets deprecated in jQuery 3.2.0. [1]
Array.isArray is supported since the following browser versions: [2]
* Chrome 5
* Firefox (Gecko) 4.0 (2.0)
* Internet Explorer 9
* Opera 10.5
* Safari 5
Performed using:
find resources/src tests -type f -name \*.js -exec sed -i -e 's/\$\.isArray/Array.isArray/g' {} \;
[1] https://blog.jquery.com/2017/03/16/jquery-3-2-0-is-out/
[2] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray#Browser_compatibility
Bug: T160953
Change-Id: I1f5fe19d247ec420810e1c4a6db779425b69de23
Timo Tijhof [Sat, 25 Mar 2017 04:23:12 +0000 (21:23 -0700)]
resourceloader: Use Object.keys() instead of map() to get keys
Bug: T160953
Change-Id: I2a6a6cec0df21678cc054b4dcb95531e8e7dc582
Timo Tijhof [Wed, 8 Mar 2017 20:38:19 +0000 (12:38 -0800)]
Remove support for jquery.placeholder shim
Browser support according to MDN:
* input placeholder:
- Chrome 10
- Firefox 4
- IE 10
- Opera 11.00
- Safari 5.0
* textarea placeholder:
- Chrome
- Firefox 4
- IE 10
- Opera 11.50
- Safari 5.0
<https://developer.mozilla.org/en/docs/Web/HTML/Element/input>
<https://developer.mozilla.org/en/docs/Web/HTML/Element/textarea>
Bug: T159911
Change-Id: I388e99c5760681049abbe8d9c173b83af9121b02
Timo Tijhof [Sat, 25 Mar 2017 03:41:14 +0000 (20:41 -0700)]
resourceloader: Use Date.now() for mw.now() instead of '+new Date'
Now that ES5 is required, use Date.now(). Performs better by not
requiring object construction.
Bug: T160953
Change-Id: Ifea106a325659c2024f40e77ff016db9dc8a55fb
Timo Tijhof [Sat, 25 Mar 2017 04:15:04 +0000 (21:15 -0700)]
resourceloader: Use Array#map instead of jQuery#map for arrays
Upto 50% faster, depending on the browser.
https://gist.github.com/Krinkle/
4a22236022027af511b8d33feab0c4c2#gistcomment-
2037282
Also change confusing parameter name 'i' to 'obj' in getModuleNames().
This one can't be changed since it loops over an object, not an array.
Bug: T160953
Change-Id: I85d6348670703c7ef061ba735ea441a1fc008062
jenkins-bot [Tue, 4 Apr 2017 02:23:39 +0000 (02:23 +0000)]
Merge "Split out some internal methods in QuorumLockManager for readability"
James D. Forrester [Thu, 2 Mar 2017 21:54:19 +0000 (13:54 -0800)]
startup: Drop JavaScript support for ES3-only browsers
Bug: T128115
Change-Id: I95400637d1b85d2c607cd91bcb39ce21733295c8
Aaron Schulz [Wed, 29 Mar 2017 20:45:31 +0000 (13:45 -0700)]
Split out some internal methods in QuorumLockManager for readability
Change-Id: I74930b930b18110c9f20b945c87790f898258ad5
Reedy [Tue, 4 Apr 2017 01:04:46 +0000 (02:04 +0100)]
Move new external libraries to correct RELEASE-NOTES section
Change-Id: I420ee75026847ce33d91b04534c9e960db557130
Reedy [Tue, 4 Apr 2017 01:03:50 +0000 (02:03 +0100)]
Update oyejorge/less.php v1.7.0.13 to v1.7.0.14
https://github.com/oyejorge/less.php/releases/tag/v1.7.0.14
https://github.com/oyejorge/less.php/compare/v1.7.0.13...v1.7.0.14
Change-Id: Ibf7cc4704fae5890093e6855403d93b0a2b1b97f
Depends-On: Ie641cf2954c39fd84ab26a92ad3028a49c15926d
Reedy [Tue, 4 Apr 2017 01:03:12 +0000 (02:03 +0100)]
Update cssjanus/cssjanus from 1.1.3 to 1.2.0
https://github.com/cssjanus/php-cssjanus/releases/tag/v1.2.0
https://github.com/cssjanus/php-cssjanus/compare/v1.1.3...v1.2.0
Change-Id: Iad2ea202b7724edc8360ce74943e2026f57e1f06
Depends-On: Iec366b794e38710102deaba771dba5cf7b412d5a
Reedy [Tue, 4 Apr 2017 01:02:21 +0000 (02:02 +0100)]
Update composer-merge-plugin from 1.3.1 to 1.4.0
https://github.com/wikimedia/composer-merge-plugin/releases/tag/v1.4.0
https://github.com/wikimedia/composer-merge-plugin/compare/v1.3.1...v1.4.0
Change-Id: I3e01a632b764f7903291d0141243e6210da9bebe
Depends-On: I0c96d9a630ab25ff4269af25a660c5bd7837a9dc
Reedy [Tue, 21 Feb 2017 21:44:18 +0000 (21:44 +0000)]
Update monolog from 1.18.2 to 1.22.1
https://github.com/Seldaek/monolog/releases/tag/1.19.0
https://github.com/Seldaek/monolog/releases/tag/1.20.0
https://github.com/Seldaek/monolog/releases/tag/1.21.0
https://github.com/Seldaek/monolog/releases/tag/1.22.0
https://github.com/Seldaek/monolog/releases/tag/1.22.1
https://github.com/Seldaek/monolog/compare/1.18.2...1.22.1
Bug: T158707
Change-Id: Icfb87911486aee8b712ce643f0041f91eb6cc078
Depends-On: Id5a96aaba77e52290a5afaff2c01b29c285e67af
Bartosz Dziewoński [Mon, 3 Apr 2017 22:55:18 +0000 (00:55 +0200)]
RCFilters: Work around IE11 rendering issues
Bug: T162098
Change-Id: Ia9410f2c41036f263decd47290899f20144e0a51
Translation updater bot [Mon, 3 Apr 2017 19:59:59 +0000 (21:59 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I60c8477ebebcc647c3d9b3e0ac0902401fe10f28
jenkins-bot [Mon, 3 Apr 2017 18:47:56 +0000 (18:47 +0000)]
Merge "RC Filters: Hooks for highlight guided tour"
jenkins-bot [Mon, 3 Apr 2017 18:25:37 +0000 (18:25 +0000)]
Merge "Valid tags on a gallery should correspond to unordered list"
jenkins-bot [Mon, 3 Apr 2017 17:00:29 +0000 (17:00 +0000)]
Merge "Document return string as JavaScript code for getScript"
jenkins-bot [Mon, 3 Apr 2017 16:43:52 +0000 (16:43 +0000)]
Merge "Fix two bugs in installer session error display"
Brad Jorsch [Mon, 3 Apr 2017 13:41:21 +0000 (09:41 -0400)]
Fix ApiMainTest::testApiErrorFormatterCreation
API tests are all subclasses of MediaWikiLangTestCase, which overrides
the content language when the tests are actually running. So we need to
always use 'en' to match that.
Bug: T162007
Change-Id: Ie001576fb62ae88c9141e471fd8fcbc49592be32
Fomafix [Mon, 3 Apr 2017 08:24:41 +0000 (10:24 +0200)]
Document return string as JavaScript code for getScript
Change-Id: I01055c2b6a11dbe6284d1aff2352ba428ed9bee2
jenkins-bot [Mon, 3 Apr 2017 08:19:43 +0000 (08:19 +0000)]
Merge "Move atj in RELEASE-NOTES-1.29 to language section"
jenkins-bot [Mon, 3 Apr 2017 07:34:33 +0000 (07:34 +0000)]
Merge "SpecialRecentchanges.php: Use ResourceLoader::makeMessageSetScript"
Tim Starling [Mon, 3 Apr 2017 03:55:48 +0000 (13:55 +1000)]
Fix two bugs in installer session error display
If Installer::startSession() returns false, then showError() is called
before setParserLanguage(), which causes DB access via
Title::getContentModel(). The code which was meant to handle DB access
from the parser did not do so, since the exception class which is thrown
on attempted DB access has changed.
Change-Id: I1478ec06a441851c5336bdde15734642615d45e9
jenkins-bot [Mon, 3 Apr 2017 02:35:34 +0000 (02:35 +0000)]
Merge "Update comment for indexName(), explaining why it exists"
jenkins-bot [Mon, 3 Apr 2017 02:30:19 +0000 (02:30 +0000)]
Merge "Make the indexName functions more obviously laid out"
Tim Starling [Thu, 30 Mar 2017 04:17:47 +0000 (15:17 +1100)]
Update comment for indexName(), explaining why it exists
Bug: T154872
Change-Id: Idf64b85dc56dcc28f3a25b2b8ded44c5490cf56c
Reedy [Sun, 2 Apr 2017 23:47:44 +0000 (00:47 +0100)]
Move atj in RELEASE-NOTES-1.29 to language section
Change-Id: I5ca54f5c749d2c65435647f1e8737fa139e641a9
Translation updater bot [Sun, 2 Apr 2017 19:53:56 +0000 (21:53 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I4e9b249b425cdd6cd5ccda7d63a4d61748c387c5
Fomafix [Sun, 2 Apr 2017 09:04:34 +0000 (11:04 +0200)]
SpecialRecentchanges.php: Use ResourceLoader::makeMessageSetScript
Change-Id: Ie0c8a8e5290e966935a9765cd8cc6c781b19f759
Subramanya Sastry [Sun, 2 Apr 2017 04:00:20 +0000 (23:00 -0500)]
Tweak Parsoid CSS for images with borders
* This fixes rendering diffs seen in visual diff testing.
Change-Id: I15f469b580d5d05d764a22d88b06237ce3571b62
Brian Wolff [Sat, 1 Apr 2017 21:45:13 +0000 (21:45 +0000)]
Release notes for CACHE_ANYTHING being CACHE_NONE (
c5a0fa5bed4c)
Change-Id: I88d967b73e623d25249a14c286eee7a9a98bd3f3
Brian Wolff [Sat, 1 Apr 2017 20:39:06 +0000 (20:39 +0000)]
Release notes for no <html> in system messages (
1c7889446)
Change-Id: I501d00974c6a5c00b36d070ca3d0495971529ed7
Translation updater bot [Sat, 1 Apr 2017 19:54:23 +0000 (21:54 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ib10af896efdc2a9e354ca77776b17bb546357518
jenkins-bot [Sat, 1 Apr 2017 15:37:50 +0000 (15:37 +0000)]
Merge "mw.widgets.TitleOptionWidget: Apply styles for redirects/disambiguation links"
Arlo Breault [Sat, 1 Apr 2017 13:59:21 +0000 (09:59 -0400)]
Valid tags on a gallery should correspond to unordered list
* This was introduced in
4d3446a8e3e when galleries were tables.
However, in
05579cf0e60, it switched to ul's, but missed updating the
sanitization.
* As an example, the test shows that summary is currently wrongly
permitted.
Change-Id: I8c52477dc65499d0c8a1ee5cc661a5f9ae78cc07
Fomafix [Sat, 1 Apr 2017 07:28:28 +0000 (09:28 +0200)]
mediawiki.libs.jpegmeta.js: Map mediaWiki to mw in closure
Change-Id: I938b4a36058a9549ceedf5785eb1494247227a70
jenkins-bot [Sat, 1 Apr 2017 02:59:01 +0000 (02:59 +0000)]
Merge "ObjectFactory: Complete code coverage for ObjectFactoryTest"
jenkins-bot [Sat, 1 Apr 2017 02:57:18 +0000 (02:57 +0000)]
Merge "objectcache: Complete code coverage for HashBagOStuff"
jenkins-bot [Sat, 1 Apr 2017 02:56:46 +0000 (02:56 +0000)]
Merge "resourceloader: Complete code coverage for MessageBlobStore"
jenkins-bot [Sat, 1 Apr 2017 02:51:00 +0000 (02:51 +0000)]
Merge "phpunit: Remove unused assertNotTag() and assertTag() overrides"
jenkins-bot [Sat, 1 Apr 2017 02:48:40 +0000 (02:48 +0000)]
Merge "changes: Remove assertTag from RCCacheEntryFactoryTest"
jenkins-bot [Sat, 1 Apr 2017 02:46:50 +0000 (02:46 +0000)]
Merge "resourceloader: Improve code coverage for WikiModuleTest"
jenkins-bot [Sat, 1 Apr 2017 02:43:37 +0000 (02:43 +0000)]
Merge "FauxRequest: Complete code coverage for FauxRequestTest"
Timo Tijhof [Sat, 1 Apr 2017 01:35:09 +0000 (18:35 -0700)]
resourceloader: Improve code coverage for WikiModuleTest
preloadTitleInfo:
* Add missing case for empty $moduleNames.
* Add missing case for invalid page names.
getContent:
* Add missing case for bad title
* Add missing case for dead redirect.
* Add missing case for no content found.
Change-Id: I44dde13cb0db19d91c4ff15a5abefd17353cad90
Timo Tijhof [Sat, 1 Apr 2017 01:22:58 +0000 (18:22 -0700)]
FauxRequest: Complete code coverage for FauxRequestTest
Follows-up
d18d030d57b88.
* Add missing case of session being a Session object.
Change-Id: I7da0c6d4a6483d53bcfd56751cd1cb669bd5023e
Timo Tijhof [Sat, 1 Apr 2017 01:13:09 +0000 (18:13 -0700)]
Html: Add a few @covers for HtmlTest
Change-Id: I0804e87ebc732d7adf082915af6d137f82f310b6
Timo Tijhof [Sat, 1 Apr 2017 01:07:59 +0000 (18:07 -0700)]
ObjectFactory: Complete code coverage for ObjectFactoryTest
Cover missing case of expandClosures() where the array contains
both a closure and a non-closure.
Change-Id: I30ea8cf3fb909a499a95bf9bd24792f4dd6b5c64
Timo Tijhof [Sat, 1 Apr 2017 01:03:17 +0000 (18:03 -0700)]
objectcache: Complete code coverage for HashBagOStuff
Change-Id: I06cb9778df8239706bf82c0c39cccb419eade4b2
Timo Tijhof [Sat, 1 Apr 2017 00:58:43 +0000 (17:58 -0700)]
resourceloader: Complete code coverage for MessageBlobStore
Change-Id: I6269843ed51c67bf2d300eb58a613122ffdae740
jenkins-bot [Sat, 1 Apr 2017 00:33:56 +0000 (00:33 +0000)]
Merge "objectcache: Never use CACHE_NONE for CACHE_ANYTHING"
jenkins-bot [Sat, 1 Apr 2017 00:31:46 +0000 (00:31 +0000)]
Merge "ResourceLoaderModuleTest: Exchange expected and actual parameter"
Timo Tijhof [Fri, 31 Mar 2017 23:32:24 +0000 (16:32 -0700)]
phpunit: Remove unused assertNotTag() and assertTag() overrides
Deprecated since PHPUnit 4.2, we use PHPUnit 4.8 and would like
to be compatible with PHPUnit 5 which no longer has this method.
The current hack was only enough to avoid the deprecation warning,
the underlying logic in Xml::findNodes() was also removed in PHPUnit 5.
Follows-up
23ec64745c,
dba0522f70, T71505.
* assertNotTag() is not used anywhere in Wikimedia Git.
* assertTag() was used in 1 test in core, fixed in the parent commit.
Match in mediawiki/skins/chameleon is unrelated.
Change-Id: I56b8f1f88124d69190938fc522ea75419e96c49c
Timo Tijhof [Fri, 31 Mar 2017 23:57:05 +0000 (16:57 -0700)]
changes: Remove assertTag from RCCacheEntryFactoryTest
Use PHPUnit's Xml::load() to validate that all tags and attributes
are balanced.
Use simple assertEquals or assertRegexp for the specific parts.
Change-Id: I25796954a3bb9903e88256b8345ef751c767d7d5
jenkins-bot [Fri, 31 Mar 2017 22:01:28 +0000 (22:01 +0000)]
Merge "API: Allow returning parse warnings for action=parse"
Bartosz Dziewoński [Fri, 31 Mar 2017 20:33:34 +0000 (22:33 +0200)]
mw.widgets.TitleOptionWidget: Apply styles for redirects/disambiguation links
Bug: T63072
Change-Id: I3e0b67b021c6ad42f131a5c9d3d0d5053d4316a0