jenkins-bot [Fri, 17 Jul 2015 19:35:19 +0000 (19:35 +0000)]
Merge "Special:JavaScriptTest: Redirect to /qunit/plain by default"
jenkins-bot [Fri, 17 Jul 2015 19:11:01 +0000 (19:11 +0000)]
Merge "Update Namespaces, SpecialPageAliases and MagicWords for South Azerbaijani (azb)"
jenkins-bot [Fri, 17 Jul 2015 19:03:52 +0000 (19:03 +0000)]
Merge "Refine thumbnailing metrics"
Kunal Mehta [Fri, 10 Jul 2015 03:40:27 +0000 (20:40 -0700)]
Special:JavaScriptTest: Redirect to /qunit/plain by default
Currently there's only one framework, so having an error landing page
when visiting Special:JavaScriptTest isn't helpful. DWIM and send the
user to Special:JavaScriptTest/qunit/plain if that is the only framework
that is configured.
Also add the testing help link to the "/plain" view.
Change-Id: Ifc473d080ecf6f0a9add0510480ba9dad76050e9
jenkins-bot [Fri, 17 Jul 2015 16:02:03 +0000 (16:02 +0000)]
Merge "Don't break installation when the local db root user has no password"
Brion Vibber [Fri, 17 Jul 2015 13:42:37 +0000 (08:42 -0500)]
Don't break installation when the local db root user has no password
Reverts broken patch
0cf4e92d; it seems to have been intended to
validate the *to be created* db username/pass, but instead it
validates the *installation username/pass*. This made it impossible
to install if your db user had no password, as on many default dev
installations.
Bug: T85281
Change-Id: I0caaf8b9a244d6f4dad0cba32c566ea557f77fcc
Bartosz Dziewoński [Tue, 14 Jul 2015 20:30:06 +0000 (22:30 +0200)]
Implement NamespaceInputWidget
* Add PHP version of NamespaceInputWidget, co-authored by Florian,
which consists of a DropdownInputWidget offering a choice of
namespaces and two CheckboxInputWidgets allowing to also match
associated namespace (talk/content) or to invert the choice.
* Add an incomplete JS version of NamespaceInputWidget, which is only
really functional when infused from the PHP version (it can't
generate the dropdown by itself, for example). Implement some JS to
improve the experience of selecting the "all namespaces" option in
the dropdown (by disabling the checkboxes when this happens).
* Split off a 'mediawiki.widgets.styles' module, which has the basic
styles for PHP widgets which are to be loaded in the head. Make
OutputPage::enableOOUI() also add this module (which should stay
reasonably small).
* Use the new widget in HTMLForm's HTMLSelectNamespace field. It can
be seen in action on Special:LinkSearch, for example.
Co-Authored-By: Florian <florian.schmidt.welzow@t-online.de>
Co-Authored-By: Bartosz Dziewoński <matma.rex@gmail.com>
Change-Id: I5cbfa9d0f6a8641148ce476b7dbe65e9096b4485
Gilles Dubuc [Fri, 17 Jul 2015 11:48:56 +0000 (13:48 +0200)]
Refine thumbnailing metrics
Bug: T105681
Change-Id: Icf576a1718eb2e588af4c48c05362bbef3bb7942
jenkins-bot [Fri, 17 Jul 2015 03:36:25 +0000 (03:36 +0000)]
Merge "Namespace names for Western Punjabi (pnb)"
Amir E. Aharoni [Thu, 16 Jul 2015 21:39:31 +0000 (16:39 -0500)]
Namespace names for Western Punjabi (pnb)
Written at the Wikimania Hackathon 2015 with Khalid Mahmood.
Change-Id: I8d349cc2aaf9e469afda5203b4c4bcbc7387af05
jenkins-bot [Thu, 16 Jul 2015 23:32:22 +0000 (23:32 +0000)]
Merge "Ignore some ScopedCallback IDE warnings"
jenkins-bot [Thu, 16 Jul 2015 22:26:32 +0000 (22:26 +0000)]
Merge "Tweaked User::READ_LOCKING to use LOCK IN SHARE MODE"
jenkins-bot [Thu, 16 Jul 2015 22:10:32 +0000 (22:10 +0000)]
Merge "TitleInputWidget: Correct links when 'relative' option used"
jenkins-bot [Thu, 16 Jul 2015 21:55:03 +0000 (21:55 +0000)]
Merge "This should fix T105373"
jenkins-bot [Thu, 16 Jul 2015 21:40:41 +0000 (21:40 +0000)]
Merge "InfoAction: Use watchlist query group for watchlist queries"
Alex Monk [Thu, 16 Jul 2015 20:42:53 +0000 (15:42 -0500)]
InfoAction: Use watchlist query group for watchlist queries
Bug: T105852
Change-Id: I8fd38caf04e60f34f76077cd66e447f09fa2f487
jenkins-bot [Thu, 16 Jul 2015 20:29:50 +0000 (20:29 +0000)]
Merge "Use deferred updates in place of $wgActivityUpdatesUseJobQueue"
mjbmr [Thu, 16 Jul 2015 20:05:53 +0000 (20:05 +0000)]
Update Namespaces, SpecialPageAliases and MagicWords for South Azerbaijani (azb)
* https://translatewiki.net/wiki/MediaWiki:Sp-translate-data-Namespaces/azb
* https://translatewiki.net/wiki/MediaWiki:Sp-translate-data-SpecialPageAliases/azb
* https://translatewiki.net/wiki/MediaWiki:Sp-translate-data-MagicWords/azb
Change-Id: Ibffd0e7a2d0d8e70b3433876641c0b562c2114e9
jenkins-bot [Thu, 16 Jul 2015 19:52:16 +0000 (19:52 +0000)]
Merge "Improve serialization of Message, Title"
jenkins-bot [Thu, 16 Jul 2015 19:38:27 +0000 (19:38 +0000)]
Merge "mediawiki.page.ready: When infusing, infuse by id, not by element"
Bartosz Dziewoński [Thu, 16 Jul 2015 18:37:16 +0000 (20:37 +0200)]
TitleInputWidget: Correct links when 'relative' option used
Previously, the links in the suggestions dropdown also pointed to
the relative version, e.g. "/wiki/Foo" instead of "/wiki/Template:Foo".
This also corrects missing dependency for mediawiki.util, which
is no longer used directly (although mediawiki.Title depends on it,
so the code worked correctly in spite of missing dependency).
Follow-up to
ddca1c657e21bd49c01ead2e5e0fbcdb9ee26255.
Change-Id: I8f9293636c597cd617e68b4c238d7424915cf351
Bartosz Dziewoński [Thu, 16 Jul 2015 18:59:11 +0000 (20:59 +0200)]
OOUIHTMLForm: Make sure arguments to OOUI\HtmlSnippet are really strings
Catchable fatal error: Method OOUI\HtmlSnippet::__toString()
must return a string value in
/var/www/html/w/vendor/oojs/oojs-ui/php/Element.php on line 245
$this->getHelpText() can return null.
Maybe OOUI\HtmlSnippet should be doing the casting instead, but it
currently doesn't.
Follow-up to
3ec3f08ca5c7bfae820bbc8085eff0809abd688b.
Change-Id: I0bb2a1594ea5ffd86bf8abd41c13f9451df256d5
Mukunda Modell [Thu, 16 Jul 2015 19:01:55 +0000 (14:01 -0500)]
This should fix T105373
See also Ia481d8a4cd9ed347874d351fa58b2712f3077a47
which is the same change on 1.26wmf14, but in a different file
because this class moved since the branch cut for wmf14.
Bug: T105373
Change-Id: Ib46e82a8c14f1f1955da268ef0ade2ab9cb39ab7
Bartosz Dziewoński [Tue, 14 Jul 2015 20:06:07 +0000 (22:06 +0200)]
mediawiki.page.ready: When infusing, infuse by id, not by element
Workaround for T105828 in OOUI.
Change-Id: I0cf5c9bc527d20c22d4238624985c8c54a20b4d4
Translation updater bot [Thu, 16 Jul 2015 18:41:23 +0000 (18:41 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Translation updater bot [Thu, 16 Jul 2015 18:36:47 +0000 (20:36 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I09b03449679e9389e167c25d80cef52ba206dd3e
jenkins-bot [Thu, 16 Jul 2015 18:33:13 +0000 (18:33 +0000)]
Merge "HTMLForm: Add 'title' type"
jenkins-bot [Thu, 16 Jul 2015 18:31:48 +0000 (18:31 +0000)]
Merge "Change "included" to "transcluded" in messages about cascading"
jenkins-bot [Thu, 16 Jul 2015 18:14:44 +0000 (18:14 +0000)]
Merge "OOUIHTMLForm: Wrap help text in OOUI\HtmlSnippet"
Bartosz Dziewoński [Mon, 13 Jul 2015 18:14:21 +0000 (20:14 +0200)]
mediawiki.api.upload: Correct response handling of #uploadWithFormData
* Reject instead of resolving when API reports errors, like #uploadWithIframe
* Purge bad tokens correctly, like #uploadWithIframe
Change-Id: I42fe6f6e921fe29dd96ce5b75ad61014a7346fc9
Mark Holmquist [Thu, 16 Jul 2015 14:15:52 +0000 (09:15 -0500)]
Fix issue with needToken patch to Api.upload
Fails currently for formData-enabled browsers where a token is not needed.
Change-Id: If5f1e9257fae770ea63a50ba8454e6617c77a455
jenkins-bot [Thu, 16 Jul 2015 13:58:07 +0000 (13:58 +0000)]
Merge "Normalize message name in Allmessages"
Chiefwei [Thu, 16 Jul 2015 03:51:39 +0000 (11:51 +0800)]
Chinese Conversion Table Update 2015-6
Update the Chinese conversion table routinely to fix bugs reported from
https://zh.wikipedia.org/wiki/Wikipedia:%E5%AD%97%E8%AF%8D%E8%BD%AC%E6%8D%A2/%E4%BF%AE%E5%A4%8D%E8%AF%B7%E6%B1%82 .
It is only data changes and only works for Chinese WikiProjects.
Change-Id: Ibf6d776d07a611a2afcb2c6c984074c39c8c0d70
jenkins-bot [Thu, 16 Jul 2015 03:38:06 +0000 (03:38 +0000)]
Merge "API: Fixed documentation for hasmg parameter"
quiddity [Thu, 16 Jul 2015 02:58:58 +0000 (21:58 -0500)]
API: Fixed documentation for hasmg parameter
The API returns a plural "messages" key.
Bug: T105120
Change-Id: I385609b6b24ca767a0b0d26cfaec30ed423c3460
Bryan Davis [Sun, 24 May 2015 20:02:13 +0000 (22:02 +0200)]
Convert MWExceptionHandler to use structured logging
Replace wfDebugLog() calls in MWExceptionHandler with direct use of
LoggerFactory and LoggerInterface. Logged exceptions are added to the
log message context.
LegacyLogger is also updated to append stack traces to any log event
when $wgLogExceptionBacktrace is true and the PSR-3 recommendation of
passing the exception as an 'exception' context item.
Handling of context data in LegacyLogger is expanded to support arrays,
exceptions and common object types.
Bug: T88649
Change-Id: I71499d895582bdea033a2516c902e23e38084080
Aaron Schulz [Wed, 15 Jul 2015 23:47:46 +0000 (16:47 -0700)]
Use deferred updates in place of $wgActivityUpdatesUseJobQueue
* This is simpler and does not require custom queue loops
Bug: T91284
Change-Id: Icb8b6aaeb496a4ff3cd3a7e20cdbea0c7dabd677
jenkins-bot [Wed, 15 Jul 2015 23:17:59 +0000 (23:17 +0000)]
Merge "MonologSpi: Add method to provide additional configuration"
jenkins-bot [Wed, 15 Jul 2015 21:18:56 +0000 (21:18 +0000)]
Merge "Add a bailout method for getEditToken"
Aaron Schulz [Wed, 15 Jul 2015 01:01:11 +0000 (18:01 -0700)]
Ignore some ScopedCallback IDE warnings
Change-Id: Iefe24ee5dae90d70c2acaaae9dc5d44c1758d53a
Mark Holmquist [Wed, 15 Jul 2015 20:41:36 +0000 (15:41 -0500)]
Add a bailout method for getEditToken
getEditToken is right handy for doing requests on the local wiki, but
CentralAuth yells at you if you leave a token= parameter in the request,
so we need to be able to turn this off.
Change-Id: I6212c6aa2f52671f22e227950a37dde6b65d5316
jenkins-bot [Wed, 15 Jul 2015 20:54:41 +0000 (20:54 +0000)]
Merge "Moved LoadMonitorMySQL to a separate file"
Geoffrey Mon [Mon, 13 Jul 2015 16:35:11 +0000 (12:35 -0400)]
Normalize message name in Allmessages
* Normalize the message name returned by allmessages
* Separate message key normalization into
MessageCache::normalizeKey()
Bug: T63894
Change-Id: I1d89fc73fea705243d390bab91255a635d8f9eee
jenkins-bot [Wed, 15 Jul 2015 20:35:28 +0000 (20:35 +0000)]
Merge "Revert Count API module instantiations and Hook runs"
Translation updater bot [Wed, 15 Jul 2015 18:50:58 +0000 (20:50 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Id26fe6fad7a66a5e500ee1c7a2e8f23afc888af3
jenkins-bot [Wed, 15 Jul 2015 15:05:03 +0000 (15:05 +0000)]
Merge "Support mustache partials in server-side templates"
jenkins-bot [Wed, 15 Jul 2015 09:39:45 +0000 (09:39 +0000)]
Merge "Hygiene: Use strtr() instead of str_replace() for character swapping"
jenkins-bot [Wed, 15 Jul 2015 07:40:36 +0000 (07:40 +0000)]
Merge "mediawiki.jqueryMsg: Use load urls instead of file urls for debug"
jenkins-bot [Wed, 15 Jul 2015 07:36:56 +0000 (07:36 +0000)]
Merge "Upgraded User::saveSettings logged errors to exceptions"
jenkins-bot [Wed, 15 Jul 2015 07:30:24 +0000 (07:30 +0000)]
Merge "Add MediaWiki-Timestamp header to ResourceLoader requests"
jenkins-bot [Wed, 15 Jul 2015 07:30:21 +0000 (07:30 +0000)]
Merge "Fixed User class IDE warnings"
Ori Livneh [Fri, 3 Jul 2015 02:20:41 +0000 (19:20 -0700)]
Add MediaWiki-Timestamp header to ResourceLoader requests
To help distinguish cache hits from cache misses, send a MediaWiki-Timestamp
header on ResourceLoader responses, indicating the current time as fractional
seconds since epoch, with microsecond precision.
Change-Id: I954a96ced1435a47d458de12411b257fe6b4ea34
jenkins-bot [Wed, 15 Jul 2015 05:30:24 +0000 (05:30 +0000)]
Merge "resourceloader: Make tests less susceptible to timestamp races"
jenkins-bot [Wed, 15 Jul 2015 05:28:38 +0000 (05:28 +0000)]
Merge "Record timing of thumbnail generation and store pull"
jenkins-bot [Wed, 15 Jul 2015 05:15:08 +0000 (05:15 +0000)]
Merge "SpecialLinkSearch: Switch to OOUI form"
jenkins-bot [Wed, 15 Jul 2015 05:14:20 +0000 (05:14 +0000)]
Merge "OOUIHTMLForm: Implement HTMLSelectNamespace"
jenkins-bot [Wed, 15 Jul 2015 04:59:00 +0000 (04:59 +0000)]
Merge "OOUIHTMLForm: Support setWrapperLegend()"
jenkins-bot [Wed, 15 Jul 2015 04:08:05 +0000 (04:08 +0000)]
Merge "TitleInputWidget: Correct CSS class name in PHP code to match JS code"
jenkins-bot [Wed, 15 Jul 2015 03:29:59 +0000 (03:29 +0000)]
Merge "TitleInputWidget: Override getJavaScriptClassName and remove infuse hack"
Aaron Schulz [Wed, 15 Jul 2015 01:32:18 +0000 (18:32 -0700)]
Moved LoadMonitorMySQL to a separate file
Change-Id: I529402416b8f12a511300b007b4f4aaf79054ad7
jenkins-bot [Tue, 14 Jul 2015 21:38:06 +0000 (21:38 +0000)]
Merge "Fix MultiHttpClient to return correct errors"
Niklas Laxström [Wed, 13 May 2015 09:38:21 +0000 (11:38 +0200)]
Fix MultiHttpClient to return correct errors
Bug: T89758
Change-Id: Ia1f1986d150df1a9f463d48f1a914a04608550f8
Bartosz Dziewoński [Tue, 14 Jul 2015 18:57:07 +0000 (20:57 +0200)]
TitleInputWidget: Correct CSS class name in PHP code to match JS code
Change-Id: If05c5fbc052310b0b663da6ff283d821ed00ea73
csteipp [Tue, 14 Jul 2015 19:26:46 +0000 (12:26 -0700)]
Add "purpose" to password validity check
Allow callers to specify why they are checking a passwords validity, so
some checks can be modified. Only check the default policy on creation,
since the account doesn't exist it's not a member of any groups.
Bug: T104615
Change-Id: I56b66002562aaa1493d94a90309bc8e4ae3841c8
Translation updater bot [Tue, 14 Jul 2015 19:44:31 +0000 (19:44 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Translation updater bot [Tue, 14 Jul 2015 19:34:56 +0000 (21:34 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ia8dd7a672283dc0ea984965ef587ea21375fa9ea
jenkins-bot [Tue, 14 Jul 2015 19:33:28 +0000 (19:33 +0000)]
Merge "Update OOjs UI to v0.12.0"
Aaron Schulz [Tue, 14 Jul 2015 18:13:01 +0000 (11:13 -0700)]
Tweaked User::READ_LOCKING to use LOCK IN SHARE MODE
* This better alignes with IDBAccessObject docs and
still locks out INSERTs
Change-Id: Ib8713938e0afa14bee6f90bc51d6331eaf356447
jenkins-bot [Tue, 14 Jul 2015 13:17:48 +0000 (13:17 +0000)]
Merge "API: improve pageswithprop explanation"
Gilles Dubuc [Tue, 14 Jul 2015 09:21:21 +0000 (11:21 +0200)]
Record timing of thumbnail generation and store pull
Bug: T105681
Change-Id: If2edf285dc47736abde957a117ac4b40716072aa
James D. Forrester [Mon, 13 Jul 2015 23:56:21 +0000 (16:56 -0700)]
Update OOjs UI to v0.12.0
Release notes:
https://git.wikimedia.org/blob/oojs%2Fui.git/v0.12.0/History.md
Change-Id: I3436db714409adfc844598e36790258667d6d9fd
Aaron Schulz [Mon, 13 Jul 2015 23:25:36 +0000 (23:25 +0000)]
Merge "Set $wgMainWANCache to none for PHPUnit, as is done for $wgMainCacheType"
Aaron Schulz [Mon, 13 Jul 2015 21:45:11 +0000 (14:45 -0700)]
Set $wgMainWANCache to none for PHPUnit, as is done for $wgMainCacheType
Change-Id: I0518876d7df7027c934d1199543a3185732df663
jenkins-bot [Mon, 13 Jul 2015 23:17:50 +0000 (23:17 +0000)]
Merge "Revert "Add 'AuthPluginStrict' log to identify users who are unable to authenticate""
Legoktm [Mon, 13 Jul 2015 23:07:02 +0000 (23:07 +0000)]
Revert "Add 'AuthPluginStrict' log to identify users who are unable to authenticate"
Does not work as it will also log failed login attempts due
to a wrong password.
This reverts commit
9a97a7530f2a637cbb95603cfa4e0b51da753207.
Change-Id: I6abd19da4e6939315a7fe6f7debe5227b68d38a7
Aaron Schulz [Mon, 13 Jul 2015 19:11:16 +0000 (12:11 -0700)]
Fixed edit stash inclusion queries
* These are hit when the stashed edit is several seconds
old. The old code was not using makeList() correctly.
Bug: T105597
Change-Id: I265307715996c50d819915a55ea34bbc0ed6c5c9
jenkins-bot [Mon, 13 Jul 2015 21:35:12 +0000 (21:35 +0000)]
Merge "objectcache: Add WANObjectCache::resetCheckKey() method"
Aaron Schulz [Mon, 13 Jul 2015 21:18:55 +0000 (14:18 -0700)]
Fixed User class IDE warnings
Change-Id: I68c30fd81a266aa1acdf74162bfa864b67922347
Aaron Schulz [Thu, 28 May 2015 17:04:19 +0000 (10:04 -0700)]
objectcache: Add WANObjectCache::resetCheckKey() method
Change-Id: I6f8b97c1f4511534e1ab2656f472adee491f9d9f
S Page [Mon, 13 Jul 2015 20:09:40 +0000 (13:09 -0700)]
API: improve pageswithprop explanation
Minor rephrase.
Change-Id: I80fb3e3866f2e3e487f5fc980615f34def5558a3
Translation updater bot [Mon, 13 Jul 2015 19:23:25 +0000 (19:23 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Translation updater bot [Mon, 13 Jul 2015 19:18:35 +0000 (21:18 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I173f63580cb22316ee1085dc8ef932d28c4e290d
Ori Livneh [Mon, 13 Jul 2015 18:26:27 +0000 (11:26 -0700)]
Move StatsD key normalization from ProfilerOutputStats to BufferingStatsdDataFactory
I'm not sure why I stuck `normalizeMetricKey' in ProfilerOutputStats, because
the transformation it applies are suitable for converting any arbitrary string
into a StatsD-safe metric key. This patch moves the method to
BufferingStatsdDataFactory, which ensures it applies to all metrics logged
within MediaWiki, and not just the Profiler.
Supercedes If0237cdd0d.
Change-Id: I496ed748000d28f5399fee6e3cc271a1f68bd058
jenkins-bot [Mon, 13 Jul 2015 18:38:22 +0000 (18:38 +0000)]
Merge "Remove <code/> from 'linksearch-text' message"
jenkins-bot [Mon, 13 Jul 2015 18:02:46 +0000 (18:02 +0000)]
Merge "Add mw.Upload for easy tracking of uploads"
jenkins-bot [Mon, 13 Jul 2015 17:53:44 +0000 (17:53 +0000)]
Merge "Add stash support for mw.Api.upload"
Mark Holmquist [Mon, 6 Jul 2015 20:38:05 +0000 (15:38 -0500)]
Add mw.Upload for easy tracking of uploads
This class will be used in an mw-ooui upload widget, as well
as several other places, to create a simpler upload pipeline.
Bug: T103413
Change-Id: Ifbfa626421b1b55ecaa522c5e5ef1f7ea45c6527
jenkins-bot [Mon, 13 Jul 2015 17:51:48 +0000 (17:51 +0000)]
Merge "Add support for FormData in mw.Api.upload"
jenkins-bot [Mon, 13 Jul 2015 17:50:15 +0000 (17:50 +0000)]
Merge "Add frontend API for uploading via iframe"
Mark Holmquist [Mon, 29 Jun 2015 14:41:05 +0000 (09:41 -0500)]
Add stash support for mw.Api.upload
Bug: T103399
Change-Id: I2be7d5d874861e4cc24897316cd4933eb85b2c8f
Mark Holmquist [Wed, 24 Jun 2015 19:48:12 +0000 (14:48 -0500)]
Add support for FormData in mw.Api.upload
Bug: T103398
Change-Id: I6185551468cf9799127f57e20e5a4134ca2a2a0f
Mark Holmquist [Wed, 24 Jun 2015 19:00:19 +0000 (14:00 -0500)]
Add frontend API for uploading via iframe
Coming next: File API support, stash support
Bug: T64513
Change-Id: I06fa61e7155efe8126ba12cda9376c37f1c45e8e
Kunal Mehta [Fri, 10 Jul 2015 16:20:43 +0000 (09:20 -0700)]
Add 'AuthPluginStrict' log to identify users who are unable to authenticate
To be able to identify any users who are unable to log in when switching
from allowing local authentication to strict.
Change-Id: I2ebdccdad9c7794d1c1b13db6a646a43bc770c4e
Bartosz Dziewoński [Sat, 11 Jul 2015 17:21:36 +0000 (19:21 +0200)]
SpecialLinkSearch: Switch to OOUI form
This demonstrates two recent features:
* Support for wrapped forms (I847c5e18ae5469aa3a68cc9fa37b2a6614476ca2)
* Support for namespace selector (I5e97e5c661582f726153533ad00695b450caed46)
Change-Id: I46ba066b324e005bf2efa67036e6db739b0dea32
Bartosz Dziewoński [Sat, 11 Jul 2015 17:12:10 +0000 (19:12 +0200)]
OOUIHTMLForm: Implement HTMLSelectNamespace
* Extracted some common code between this and Html::namespaceSelector
into a new method Html::namespaceSelectorOptions().
Change-Id: I5e97e5c661582f726153533ad00695b450caed46
Bartosz Dziewoński [Sat, 11 Jul 2015 16:46:05 +0000 (18:46 +0200)]
OOUIHTMLForm: Support setWrapperLegend()
Changed FormSpecialPage not to call setWrapperLegend() for OOUI
forms to preserve current default behavior.
Bonus:
* Correct documentation of setWrapperLegend() to state that it
HTML-escapes legend text.
* Remove hard-coded class="visualClear" in getFormAttributes().
* Allow setWrapperLegend( true ) to display the wrapper without
legend text.
* Rejigger things so that we can put the legend and "header HTML"
into correct order.
Bug: T103026
Change-Id: I847c5e18ae5469aa3a68cc9fa37b2a6614476ca2
jenkins-bot [Mon, 13 Jul 2015 17:06:11 +0000 (17:06 +0000)]
Merge "mediawiki.jqueryMsg: Remove toLowerCase from {{int:}} substitution"
Ed Sanders [Fri, 12 Jun 2015 15:09:07 +0000 (16:09 +0100)]
mediawiki.jqueryMsg: Remove toLowerCase from {{int:}} substitution
While it is recommended that message keys be lower case, it is
not a requirement, nor is it enforced anywhere else (including the
PHP version of this function).
Only lowercase the first letter (which is case-insensitive) for
compatibility with messages data provided by ResourceLoader.
Change-Id: I1be039e9c76d114e251baa585b58efd2c8602a8a
Bartosz Dziewoński [Sat, 11 Jul 2015 17:18:12 +0000 (19:18 +0200)]
Remove <code/> from 'linksearch-text' message
It provides no value and looks really ugly.
Would be nice to automatically fix all translations too, if possible.
Change-Id: Ib27e4e94401061bd51f45901d7f9d8246bf35c2c
Željko Filipin [Sat, 11 Jul 2015 09:55:41 +0000 (11:55 +0200)]
browsertests: upgrade watir-webdriver
Speed up elements lookup over network (such as with SauceLabs)
by bumping the watir-webdriver version.
Upgrade other Ruby gems to the latest released versions
The latest version of:
- bundler adds it’s version to Gemfile.lock
- watir-webdriver speeds up element lookup
- rubocop found some minor problems (fixed)
Bug: T92613
Change-Id: I06bde19f5a2e0b6b3fc7af9c01a66a137ba352ba