jenkins-bot [Tue, 7 Jul 2015 13:47:50 +0000 (13:47 +0000)]
Merge "mediawiki.searchSuggest: Allow multiple suggestion fields"
jenkins-bot [Tue, 7 Jul 2015 04:45:24 +0000 (04:45 +0000)]
Merge "mediawiki.ui: Add @activeColor argument to the .button-colors() mixin"
Prateek Saxena [Fri, 27 Mar 2015 06:26:07 +0000 (11:56 +0530)]
mediawiki.ui: Add @activeColor argument to the .button-colors() mixin
Have kept the colors same for now except for .mw-ui-button:active and
.mw-ui-button.mw-ui-checked . Can be changed later once the design
team has decided.
Change-Id: I7c418b970c5e5fa95f740ecf3d90622bf7f02364
Bryan Davis [Mon, 6 Jul 2015 22:46:45 +0000 (16:46 -0600)]
Update composer-merge-plugin to v1.2.1
Fixes bug in optimized autoloader generation on initial plugin install.
Change-Id: If637d2b5583b32895fe8839478e7e553927f1d68
Requires: I22d1fd4044320613c6ba61ac5e84263e5af4ff27
Bug: T104037
jenkins-bot [Mon, 6 Jul 2015 22:41:31 +0000 (22:41 +0000)]
Merge "TitleInputWidget: Add 'relative' option"
jenkins-bot [Mon, 6 Jul 2015 20:29:23 +0000 (20:29 +0000)]
Merge "Allow hooks to abort lines in EnhancedRC"
jenkins-bot [Mon, 6 Jul 2015 20:17:39 +0000 (20:17 +0000)]
Merge "API: Avoid caching when prop=info&intestactions=... is used"
jenkins-bot [Mon, 6 Jul 2015 20:04:58 +0000 (20:04 +0000)]
Merge "Add hook EnhancedChangesListModifyBlockLineData"
jenkins-bot [Mon, 6 Jul 2015 19:30:12 +0000 (19:30 +0000)]
Merge "Add tests for Special:BlankPage"
Translation updater bot [Mon, 6 Jul 2015 19:29:52 +0000 (19:29 +0000)]
Merge "Localisation updates from https://translatewiki.net."
jenkins-bot [Mon, 6 Jul 2015 19:29:01 +0000 (19:29 +0000)]
Merge "Add SpecialPageTestBase to simplify testing of special pages"
addshore [Mon, 6 Jul 2015 10:49:58 +0000 (12:49 +0200)]
Add tests for Special:BlankPage
This uses SpecialPageTestBase and demonstrates how that class
should be used.
Change-Id: Ibbf3fdcb172d7c1c71491d27b534faa65fd9be63
addshore [Sat, 9 Aug 2014 00:37:44 +0000 (01:37 +0100)]
Add SpecialPageTestBase to simplify testing of special pages
This is copied from Wikibase. A follow up change adds a test
for Special:BlankPage to demonstrate how it works.
Change-Id: I3c34fd17ceb0049b160ec4f821474de457533983
Translation updater bot [Mon, 6 Jul 2015 19:05:31 +0000 (21:05 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ifcf5396c7f9a8a6abb43dd9233dc6c55b6ca00c1
jenkins-bot [Mon, 6 Jul 2015 16:57:53 +0000 (16:57 +0000)]
Merge "Add {{bidi:}} syntax for directionality-safe arguments"
Brad Jorsch [Mon, 6 Jul 2015 16:07:45 +0000 (12:07 -0400)]
API: Avoid caching when prop=info&intestactions=... is used
Whether the actions pass or not depends on the current user, including
the results of several hooks and whether the current user is blocked.
Also, we can clean up the test for public inprops slightly.
Change-Id: I7e2610dd609c52711355b640778f795520a4ff8c
jenkins-bot [Mon, 6 Jul 2015 14:58:09 +0000 (14:58 +0000)]
Merge "mediawiki.jqueryMsg: Declare dependency on user.options"
jenkins-bot [Mon, 6 Jul 2015 08:46:45 +0000 (08:46 +0000)]
Merge "editWarning: Declare dependency on user.options"
jenkins-bot [Mon, 6 Jul 2015 07:41:28 +0000 (07:41 +0000)]
Merge "Count API module instantiations and Hook runs"
Kunal Mehta [Sat, 4 Jul 2015 07:39:41 +0000 (00:39 -0700)]
TitleInputWidget: Add 'relative' option
Currently the JavaScript widget will return a value that is relative to
the namespace, so for "Category:Foo", it will return "Foo". This is
problematic for server-side forms that want a full title returned, so
make this configurable.
Change-Id: I605df2ca41831cae1c8f0a3331600d4487e7798f
Derk-Jan Hartman [Sun, 5 Jul 2015 20:34:53 +0000 (22:34 +0200)]
editWarning: Declare dependency on user.options
Bug: T102564
Change-Id: Ia4bc7860e6783c1ff9d94a9097c4e19cd34d57f8
Derk-Jan Hartman [Sun, 5 Jul 2015 20:38:00 +0000 (22:38 +0200)]
mediawiki.jqueryMsg: Declare dependency on user.options
Change-Id: I8219a78fdecf6cdc33a677811fd4160cd56a46b7
Translation updater bot [Sun, 5 Jul 2015 19:38:02 +0000 (21:38 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ic760a22b691004d0b1f8bae63aacf33ad1c4fc99
Douglas Gardner [Mon, 8 Jun 2015 19:17:42 +0000 (20:17 +0100)]
i18nize [[Special:RandomInCategory]] submit button
This commit fixes a regression caused by an earlier refactor of the
Special:RandomInCategory page, which introduced message reuse. This
commit splits the message again.
Bug: T101717
Change-Id: Iabfe172b2e1d8464262b244337789bca388460f8
jenkins-bot [Sun, 5 Jul 2015 16:55:34 +0000 (16:55 +0000)]
Merge "Use localization for server default timezone on Special:Preferences"
jenkins-bot [Sun, 5 Jul 2015 12:42:28 +0000 (12:42 +0000)]
Merge "Removing obsolete `-moz-inline-block` property"
Translation updater bot [Sat, 4 Jul 2015 17:56:59 +0000 (19:56 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Iaf200f28c06c3dddc582581c5c69bbb260e8351e
Fomafix [Sat, 4 Jul 2015 12:47:36 +0000 (12:47 +0000)]
mediawiki.searchSuggest: Allow multiple suggestion fields
Store form data in context instead of a single private variable.
Bug: T104763
Change-Id: I9c8827eab1e074cf2b5a573942cf983dbda07149
umherirrender [Sun, 19 Apr 2015 17:39:23 +0000 (19:39 +0200)]
Use localization for server default timezone on Special:Preferences
The timezone list on Special:Preferences contains all time zones with a
localized region and also an option to use the system default value.
The message for this option gets the current server timezone as
parameter, but that parameter is not localized.
Refactor the timezone list processing into a new function and call it at
the beginning to do a lookup for the localized name and use it, if it
exists in the array.
Also changed from procedural style to object oriented style for the
DateTime processing.
Bug: T33516
Change-Id: I00e81324d0d16fbe6c9811480210ab6513461823
Translation updater bot [Fri, 3 Jul 2015 18:16:54 +0000 (20:16 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: If1a80bd1be0256e5ba3d60b15454f194515f1d47
jenkins-bot [Fri, 3 Jul 2015 12:55:08 +0000 (12:55 +0000)]
Merge "Add missing dependency to mediawiki.widgets"
Bartosz Dziewoński [Fri, 3 Jul 2015 10:41:56 +0000 (12:41 +0200)]
Removing obsolete `-moz-inline-block` property
Bug: T103605
Change-Id: Id689cfd629d94a82999020121d4275c5daac4e58
Matthias Mullie [Thu, 2 Jul 2015 12:32:50 +0000 (14:32 +0200)]
Allow hooks to abort lines in EnhancedRC
Bug: T104564
Change-Id: I4a2f97d83f38071984d571773a6b09b6b6643d6d
Matthias Mullie [Thu, 2 Jul 2015 12:09:41 +0000 (14:09 +0200)]
Add hook EnhancedChangesListModifyBlockLineData
Introduce a new hook to allow (single) block-level entries.
Very similar to EnhancedChangesListModifyLineData.
Bug: T104399
Change-Id: I6b4715277d44e5f09d7a230b33e956676aeab1c2
jenkins-bot [Fri, 3 Jul 2015 08:12:07 +0000 (08:12 +0000)]
Merge "RawAction: Clean up max-age/s-maxage computation"
jenkins-bot [Fri, 3 Jul 2015 06:19:16 +0000 (06:19 +0000)]
Merge "API: Use message-per-value for apihelp-query+revisions+base-param-prop"
Brad Jorsch [Thu, 2 Jul 2015 18:59:00 +0000 (14:59 -0400)]
API: Remove some unused i18n messages
apihelp-query+deletedrevisions-param-limit and
apihelp-query+deletedrevisions-param-prop aren't actually used. Instead
these are documented with apihelp-query+revisions+base-param-limit and
apihelp-query+revisions+base-param-prop, respectively.
Change-Id: I4a337e21695c34ab5fe44411978fcce78dce4ac7
umherirrender [Thu, 2 Jul 2015 18:29:32 +0000 (20:29 +0200)]
API: Use message-per-value for apihelp-query+revisions+base-param-prop
Use message-per-value for message
apihelp-query+revisions+base-param-prop to allow smaller strings
for translation and to add a parameter for the contentmodel for
prop=parsetree, as already done for action=parse&prop=parsetree.
Each prop in a message also will show up a new parameter on the help
page without the adjust of the translation (but than in english instead
of fully skip it).
Change-Id: I8aaa061cb59ec788f8f8e09e8088ba1064e3aa1e
Timo Tijhof [Fri, 3 Jul 2015 01:38:50 +0000 (02:38 +0100)]
FauxRequest: Add @since for new setHeaders and setCookie methods
Follows-up
53b0df09ab69.
Change-Id: Ia854aef848062624eccc6a5b25b7d1f1f8fbc444
Timo Tijhof [Fri, 3 Jul 2015 01:27:05 +0000 (02:27 +0100)]
RawAction: Clean up max-age/s-maxage computation
No behavioural change, but makes the code easier to understand.
It was somewhat all scattered.
* Remove outdated comment about 24 hours.
- ForcedRawSMaxage defaults to 5 minutes.
- SquidMaxage defaults to 5 hours (wmf-config: 31 days).
Change-Id: I7f3b67780ba9e8c024dcbd68772495b91abb2d01
Ori Livneh [Thu, 2 Jul 2015 00:25:24 +0000 (17:25 -0700)]
Count API module instantiations and Hook runs
We previously had counts for hooks and modules as a side-effect of having them
profiled. We removed the profiling for performance reasons, which left us
without counts also. But the performance of counters is not a concern, and
their signal value not insubstantial. So introduce them here.
Fix getModulePath() to not crash while we're at it.
Change-Id: Ic04daf475b936b942833362c7a979dde671b3ef4
jenkins-bot [Thu, 2 Jul 2015 22:39:15 +0000 (22:39 +0000)]
Merge "Log http error in ForeignAPIRepo::httpGet"
jenkins-bot [Thu, 2 Jul 2015 19:03:45 +0000 (19:03 +0000)]
Merge "Add cookies and improve headers in FauxRequest"
Translation updater bot [Thu, 2 Jul 2015 18:55:02 +0000 (20:55 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: If712259c32498a8c9ce1242e828bebe9c04f8805
Brad Jorsch [Thu, 2 Jul 2015 16:40:35 +0000 (12:40 -0400)]
Add cookies and improve headers in FauxRequest
For testing, it can be useful for a FauxRequest to actually contain
cookies. And for convenience, it's useful to allow setting headers by
passing an array rather than by making multiple calls to ->setHeader().
Change-Id: I3b84246e954aae594490927d2b0a57336af2e3a5
jenkins-bot [Thu, 2 Jul 2015 15:02:08 +0000 (15:02 +0000)]
Merge "Revision: Interpret a NULL rev_content_model as the default model"
jenkins-bot [Thu, 2 Jul 2015 10:27:08 +0000 (10:27 +0000)]
Merge "Correct mw-ui-icon size"
jenkins-bot [Thu, 2 Jul 2015 08:14:36 +0000 (08:14 +0000)]
Merge "Made SqlBagOStuff set() wrap setMulti()"
jenkins-bot [Thu, 2 Jul 2015 08:12:47 +0000 (08:12 +0000)]
Merge "Declare and document $wgStatsdServer and $wgStatsdMetricPrefix"
jenkins-bot [Thu, 2 Jul 2015 08:10:29 +0000 (08:10 +0000)]
Merge "Add class to items in changeslist legend"
jenkins-bot [Thu, 2 Jul 2015 08:09:14 +0000 (08:09 +0000)]
Merge "Make an apihelp message less repetitive"
jenkins-bot [Thu, 2 Jul 2015 08:07:48 +0000 (08:07 +0000)]
Merge "SpecialDoubleRedirects: Remove redirect=no for action=edit"
jenkins-bot [Thu, 2 Jul 2015 08:03:28 +0000 (08:03 +0000)]
Merge "Fix reference to nonexistent ApiBase::getModulePathString in inline docs"
Timo Tijhof [Fri, 26 Jun 2015 03:01:49 +0000 (04:01 +0100)]
Declare and document $wgStatsdServer and $wgStatsdMetricPrefix
Follows-up
87dfc20.
Change-Id: Ie1b799a8f2a73b974ba8c930cfabc00e377d6eee
Kunal Mehta [Thu, 2 Jul 2015 07:40:40 +0000 (00:40 -0700)]
Revision: Interpret a NULL rev_content_model as the default model
If a revision using the default content model is saved, the
rev_content_model field will be set to NULL in order to save space.
However, Revision::getContentModel() was using Title::getContentModel()
when it found a NULL, which will return the current content model rather
than the default. So change that to use the default content model, as
returned by ContentHandler::getDefaultModelFor() rather than the current
one.
Change-Id: I7011812b6b131170b3c593917ad263bcba83898d
Aaron Schulz [Fri, 22 May 2015 05:46:25 +0000 (22:46 -0700)]
Made WANObjectCache::getCheckKey() automatically init the key
* This still allows If-Modified-Since logic but does not
need to broadcast initialization values just because a
key fell out of cache. The value can differ between DCs
anyway via skew, this just lets them drift more. Actual
purge events are still broadcasted, which is what matters.
* The User class has now been simplified given this change.
* Added more general comments to getCheckKeyTime().
Change-Id: Ic1f4bbb1947e0d1dd47499c9e9dc86991c30580c
jenkins-bot [Thu, 2 Jul 2015 03:09:08 +0000 (03:09 +0000)]
Merge "Improved job pickup time stats for delayed jobs"
Kunal Mehta [Thu, 2 Jul 2015 02:15:07 +0000 (19:15 -0700)]
Change "? :" to "?:"
Anomie pointed out that I am the only person who writes it as "? :", and
that all other instances in core use no space.
Change-Id: I01b68eed5f866fa7582fb4257f795c4c2d1244d1
Ori Livneh [Thu, 2 Jul 2015 01:48:34 +0000 (18:48 -0700)]
Fix reference to nonexistent ApiBase::getModulePathString in inline docs
Change-Id: Iad6420ea88c4cf94c234be7f01a2ed2854e02919
Ori Livneh [Thu, 2 Jul 2015 00:38:25 +0000 (17:38 -0700)]
Ensure DerivativeContext has a $stats property
Should have been a part of Ie10db1c15 but wasn't.
Change-Id: I4552390e1476766ae2d0946df3836a8a14182b34
jenkins-bot [Wed, 1 Jul 2015 23:57:51 +0000 (23:57 +0000)]
Merge "Account for unset visiting watchers"
jdlrobson [Wed, 1 Jul 2015 23:16:54 +0000 (16:16 -0700)]
Correct mw-ui-icon size
Icons should be 24px by 24px
1em = 16px,
1.5em = 24px
Change-Id: I98564ad2b02668efa616a6f3c536c78440edcac9
Kunal Mehta [Wed, 1 Jul 2015 20:40:53 +0000 (13:40 -0700)]
Don't try looking for phpunit if it is already loaded
If phpunit is installed via composer, it will already be present in the
autoloader, so including other paths won't do anything.
Also add some output to make it easier to figure out where phpunit is
being loaded from.
Change-Id: Id6d23626b158779f6ff56e6d0f20d519f2f4ad18
Aaron Schulz [Wed, 1 Jul 2015 19:30:06 +0000 (12:30 -0700)]
Improved job pickup time stats for delayed jobs
* The delay time should not count
Bug: T102743
Change-Id: I9e8b1f33b65681fd9f4f667233bce280bf6f227d
Amir E. Aharoni [Wed, 1 Jul 2015 20:32:08 +0000 (23:32 +0300)]
Add explicit GENDER to logentry-contentmodel-change
Change-Id: Iad544e1b61661acd3e54777859e72a59349fabb5
Translation updater bot [Wed, 1 Jul 2015 19:51:45 +0000 (19:51 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Translation updater bot [Wed, 1 Jul 2015 19:49:03 +0000 (21:49 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I730d53aaf52bb6000ff33d06f325e5ec30280f87
jenkins-bot [Wed, 1 Jul 2015 19:38:31 +0000 (19:38 +0000)]
Merge "Update OOjs UI to v0.11.7"
jenkins-bot [Wed, 1 Jul 2015 19:24:21 +0000 (19:24 +0000)]
Merge "mw.Title: Handle empty this.title"
Alex Monk [Wed, 1 Jul 2015 15:40:22 +0000 (16:40 +0100)]
mw.Title: Handle empty this.title
Otherwise we break code like this:
mw.Title.newFromText( '.foo' ).getPrefixedText()
because this.title[0] won't be set and you can't uppercase it
Bug: T104377
Change-Id: I1dae1e63e474757da725f76bced442ebd5b76c25
James D. Forrester [Wed, 1 Jul 2015 19:11:28 +0000 (12:11 -0700)]
Update OOjs UI to v0.11.7
Release notes:
https://git.wikimedia.org/blob/oojs%2Fui.git/v0.11.7/History.md
Change-Id: I0b78334f118ff351277652a5af0d240ef262769c
David Chan [Mon, 29 Jun 2015 21:48:41 +0000 (14:48 -0700)]
Add {{bidi:}} syntax for directionality-safe arguments
In parallel with jquery.i18n version:
https://github.com/wikimedia/jquery.i18n/pull/76
Bug: T104472
Change-Id: I25afa50ab1e0521bd0b3779cbd16b6c190d72722
jenkins-bot [Wed, 1 Jul 2015 16:09:14 +0000 (16:09 +0000)]
Merge "API: Remove WDDX and dump formats"
jenkins-bot [Wed, 1 Jul 2015 15:43:39 +0000 (15:43 +0000)]
Merge "API: Deprecate generatexml of modules revisions/deletedrevisions/parse"
Max Semenik [Fri, 10 Apr 2015 16:34:11 +0000 (19:34 +0300)]
API: Remove WDDX and dump formats
Per RFC: https://www.mediawiki.org/wiki/Requests_for_comment/Ditch_crappy_API_formats
Change-Id: I4c9e64875be509906021255d70b90688f2e5ddf3
jenkins-bot [Wed, 1 Jul 2015 15:13:22 +0000 (15:13 +0000)]
Merge "Pass user to WikiPage::doDeleteArticleReal"
jenkins-bot [Wed, 1 Jul 2015 13:56:38 +0000 (13:56 +0000)]
Merge "Better error message via api when content model does not allow editing"
Federico Leva [Wed, 1 Jul 2015 12:27:55 +0000 (14:27 +0200)]
Account for unset visiting watchers
Followup to
09a21c4af8dd53644edd31fe731638b60f91594a
Now with `|| $user->isAllowed( 'unwatchedpages' )` we can enter
line 337 without having any count to show.
Change-Id: I6826e1c59899d2c8cbbc6d079874d0d583f8783a
Federico Leva [Mon, 2 Mar 2015 16:16:58 +0000 (17:16 +0100)]
Attempt to count actual watchers in the info action
Proposed threshold to be considered an "active" watcher:
two times $wgRCMaxAge, configurable with the new
configuration setting $wgWatchersMaxAge.
The information is not displayed when the number given would
be 1 or 0, so that the number (or absence thereof) doesn't
"disclose" that the page is (potentially) unpatrolled or
completely unwatched and hence easier to vandalise.
Configurable with $wgUnwatchedPageSecret too.
Also, we don't display this row at all when the user doesn't
have the right to see the count of total watchers.
Bug: T51506
Change-Id: I10d294a339b131eee94839ed7088ab20d746d881
Erik Bernhardson [Fri, 19 Jun 2015 22:39:48 +0000 (15:39 -0700)]
Better error message via api when content model does not allow editing
Change-Id: I699b4f5fd2eac8dfc4c54922474f939262bc803d
Kunal Mehta [Wed, 1 Jul 2015 05:23:25 +0000 (22:23 -0700)]
Add missing dependency to mediawiki.widgets
mw.widgets.TitleOptionWidget.js depends upon jquery.autoEllipsis.
Change-Id: I042d0630fce576911daaa891e1ab55650d1823a0
jenkins-bot [Wed, 1 Jul 2015 04:19:14 +0000 (04:19 +0000)]
Merge "Replace some MWException usage in User"
Aaron Schulz [Thu, 25 Jun 2015 20:02:18 +0000 (13:02 -0700)]
Replace some MWException usage in User
Change-Id: I61dbd6223354530311c497ad0f45ed49a573d0cb
Timo Tijhof [Wed, 1 Jul 2015 03:33:13 +0000 (04:33 +0100)]
resourceloader: Make minify cache keys globally shared instead of local
The keys already contain a hash of the contents and the version of
the filter system. No need for these to be fragmented by wiki.
Previously wiki farms would minify the same module build for
every wiki. For e.g. Wikimedia this should bring down minification
runs for a new module version from ~800x to something lower.
It won't be 1 since modules may still vary by language, or config.
This should speed up load.php responses when a new module version
is deployed.
It will also reduce response time for page views of logged-in
users due to improved minification cache of embedded modules.
Change-Id: Iee884208c5c4ba40b46abd332271df698c6afb6f
jenkins-bot [Tue, 30 Jun 2015 22:14:35 +0000 (22:14 +0000)]
Merge "Automatically infuse any infusable OOUI widgets present on the page"
jenkins-bot [Tue, 30 Jun 2015 20:37:33 +0000 (20:37 +0000)]
Merge "tooltip-ca-edit: Simplify wording to align with others"
jenkins-bot [Tue, 30 Jun 2015 20:30:11 +0000 (20:30 +0000)]
Merge "Add maintenance script to populate page,revision,archive.*_content_* fields"
jenkins-bot [Tue, 30 Jun 2015 20:30:06 +0000 (20:30 +0000)]
Merge "Add Special:ChangeContentModel"
jenkins-bot [Tue, 30 Jun 2015 20:22:54 +0000 (20:22 +0000)]
Merge "MediaWiki.php: Redirect non-standard title urls to canonical"
Kunal Mehta [Mon, 29 Jun 2015 20:51:39 +0000 (13:51 -0700)]
Add maintenance script to populate page,revision,archive.*_content_* fields
Bug: T103388
Co-Authored-By: Roan Kattouw <roan.kattouw@gmail.com>
Change-Id: I65ab629d25c394751c05ce6b5c1a27464893896d
jenkins-bot [Tue, 30 Jun 2015 20:19:01 +0000 (20:19 +0000)]
Merge "OOUIHTMLForm: Make setting 'readonly' on a text field actually work"
Kunal Mehta [Sun, 29 Mar 2015 03:36:01 +0000 (20:36 -0700)]
Add Special:ChangeContentModel
Special:ChangeContentModel allows for users with the 'editcontentmodel'
right to change the content model of a page.
Visiting Special:ChangeContentModel will contain an input field for a
page title. The user will then be sent to
Special:ChangeContentModel?pagetitle=<input> where the page title is
read only, with a content model selector and optional reason field.
The special page only allows converting between content models that
extend TextContent for simplicity. Advanced conversions should be done
via the API.
All content model changes via the special page or API generate a null
revision in the page history and a log entry at
Special:Log/contentmodel. The log entry has a revert link for
convenience (like the move log).
Bug: T72592
Co-Authored-By: Lewis Cawte <lewis@lewiscawte.me>
Change-Id: I296a67c09fcbc880c8c3a648eb5086580725ea46
Kunal Mehta [Tue, 30 Jun 2015 20:03:58 +0000 (13:03 -0700)]
OOUIHTMLForm: Make setting 'readonly' on a text field actually work
Previously 'readOnly' was set to an empty string, which casts to boolean
false.
Change-Id: I7d1e7f02731c7235da2ae1e0a5e3d0be2b44d978
Bartosz Dziewoński [Mon, 29 Jun 2015 19:05:50 +0000 (21:05 +0200)]
Parser: Correct setHook() documentation
Change-Id: Iaeaac9ea79b696dfa39adb6608ed68edd3754516
umherirrender [Fri, 5 Jun 2015 09:22:17 +0000 (11:22 +0200)]
API: Deprecate generatexml of modules revisions/deletedrevisions/parse
Deprecate 'generatexml=' by adding 'prop=parsetree' to revisions,
deletedrevisions and action=parse.
'generatexml' of action=expandtemplates is already deprecated and
replaced by 'prop=parsetree'.
Reason: Api parameter to control the output of a module usually gets
added as type to prop=, not added as new parameter. New parameter
usually used as input parameter for the module.
For revisions and deletedrevisions this allows to get the parsetree
without getting the whole content (makes the result smaller, when just
one is needed)
Change-Id: I7403110d7bd07e9eb2a10e1b398d97f0f40298be
Translation updater bot [Tue, 30 Jun 2015 18:41:31 +0000 (20:41 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I553f3c84db5ceb3b5bffb03c024671a74f6d20ef
Roan Kattouw [Mon, 25 May 2015 09:58:36 +0000 (11:58 +0200)]
Automatically infuse any infusable OOUI widgets present on the page
Change-Id: I931df032c3d8dc5807c7590a763b8d9060c5ee87
Amir E. Aharoni [Tue, 30 Jun 2015 08:21:22 +0000 (11:21 +0300)]
Make an apihelp message less repetitive
Avoid saying "format" twice.
Change-Id: I4c389944cf8777fffac9234852ce7eb29a82a777
Fomafix [Tue, 30 Jun 2015 07:39:25 +0000 (07:39 +0000)]
SpecialDoubleRedirects: Remove redirect=no for action=edit
action=edit does not resolve redirects. The URL parameter redirect=no is not necessary.
Change-Id: I5a287f3dcb0ee03f51bb8924a68b0d9698dcfe79
Timo Tijhof [Tue, 30 Jun 2015 01:12:40 +0000 (02:12 +0100)]
resourceloader: Move applyFilter() stats back to filter()
Follow-up
b88e88b, which converted the count stats to include
timing information but incidentally moved the gathering point
inside the method, which meant it now also applied to uncached
minifications from logged-in user html views (called from one
branch higher in the filter method).
This should reset the 'resourceloader_cache.minify-js.miss.count'
back to normal levels.
Change-Id: I7761242f016e9026f5012352ec2f7297c1753f25