Ori Livneh [Thu, 4 Dec 2014 07:37:56 +0000 (23:37 -0800)]
Optimize how user options are delivered to the client
We currently embed the full set of user options in a <script> tag in the HTML
output of every page. This is grossly inefficient, because the full set of
options is usually largely made up of site defaults which the user hasn't
customized.
So instead of doing that, let's emit the default options using one
ResourceLoader module and then apply the user's customizations on top.
This has the effect of slightly increasing the total bytes of JavaScript code
(because options that the user has customized will be emitted twice: once with
their default value in the user.defaults module, and then again with the
customized value in user.options). But this is more than offset by the
fact that the bulk of user options code (~4 kB uncompressed on enwiki) becomes
cacheable across requests.
Bonus round:
* Varnish gets to cache 4 kB fewer per page.
* Changes to the default options don't take 30 days to propagate.
Change-Id: I5a7e258d2d69159381bf5cc363227088b8fd6019
Timo Tijhof [Fri, 5 Dec 2014 12:03:07 +0000 (12:03 +0000)]
ResourceLoaderUserCSSPrefsModule: Remove unused dependency on mediawiki.user
Follows-up
57310ab8380.
Change-Id: I06ad8c37cf53643bb65f6cabd8b843f63d4f5ec3
umherirrender [Sun, 3 Aug 2014 20:04:45 +0000 (22:04 +0200)]
Fix backlink for RevertAction
RevertAction::getDescription cannot set subtitle on OutputPage,
because the subtitle on OutputPage gets cleared before the
result of getDescription is added and than the subtitle is gone.
Refactored the code for building the backlink into a static function
and use it.
Change-Id: Iedad0b8e040035a9a10a0b140d2322357e6b539a
jenkins-bot [Fri, 5 Dec 2014 13:47:22 +0000 (13:47 +0000)]
Merge "mediawiki.Uri: Implement support for a mutable defaultUri"
jenkins-bot [Fri, 5 Dec 2014 12:30:20 +0000 (12:30 +0000)]
Merge "jquery.client: Recognize IE12 correctly"
Roan Kattouw [Thu, 4 Dec 2014 02:01:55 +0000 (18:01 -0800)]
jquery.client: Recognize IE12 correctly
IE12's User-Agent is, unhelpfully:
Mozilla/5.0 (Windows NT 6.4; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36 Edge/12.0
Unsurprisingly, this is currently recognized as Chrome 36.
The word "Trident" also doesn't appear any more, because IE12's
new layout engine is called "Edge". So look for that string instead.
Change-Id: I94a4ff2cc37ae6ce0c677ef92eeb6a2dff30c1f4
James D. Forrester [Tue, 3 Jun 2014 20:51:39 +0000 (13:51 -0700)]
Remove jQuery Migrate and $wgIncludejQueryMigrate
As indicated in MediaWiki 1.24, removing the jQuery Migrate bridging patch
that allows legacy Javascript code that depends ancient features of
jQuery removed in jQuery 1.9 to work.
Change-Id: I0934247182e2737716c9d40f4bf93415adcdadf3
jenkins-bot [Thu, 4 Dec 2014 22:49:48 +0000 (22:49 +0000)]
Merge "Update redirect arrows to use SVG versions"
ckoerner [Tue, 2 Dec 2014 22:32:44 +0000 (16:32 -0600)]
Update redirect arrows to use SVG versions
Included updated fallback PNGs (now with transparency).
Bug: T72538
Change-Id: I1bd865d3184fad59c7e6144ec1685fe65be97916
jenkins-bot [Thu, 4 Dec 2014 22:34:23 +0000 (22:34 +0000)]
Merge "Add SVG versions of table pager icons"
Ljudusika [Thu, 4 Dec 2014 22:24:09 +0000 (23:24 +0100)]
Add SVG versions of table pager icons
Google Code-In 2014 - Ljudusika.
Bug: T71944
Change-Id: Ia9d9271fe0930a3826976585c694b561371dd32a
Marius Hoch [Thu, 4 Dec 2014 22:14:00 +0000 (23:14 +0100)]
Fix DatabaseBase::replaceVars for PHP 5.3
Change-Id: I78a535abfe3f444b2ccb99638a63b6f16c9f18af
jenkins-bot [Thu, 4 Dec 2014 21:49:15 +0000 (21:49 +0000)]
Merge "Hygiene: rename formheader to searchProfileTabs on Special:Search"
jenkins-bot [Thu, 4 Dec 2014 21:46:31 +0000 (21:46 +0000)]
Merge "Revert "Remove deprecated profiling config parameters, clarify docs""
Rob Moen [Thu, 4 Dec 2014 00:21:18 +0000 (16:21 -0800)]
Hygiene: rename formheader to searchProfileTabs on Special:Search
It's not a header, its out of the form now, boiled down, it's
some search profile terms laid out in tabs.
Change-Id: Ic6ec29817ab7deadc6bc7125f8b4cd16686baa04
Aaron Schulz [Thu, 4 Dec 2014 21:40:13 +0000 (21:40 +0000)]
Revert "Remove deprecated profiling config parameters, clarify docs"
StatCounter still needs $wgUDPProfilerHost.
This reverts commit
88c42dc1df93533286dfbe969631403f77958dca.
Change-Id: I4a56f6fb6bc454d15a9dc752f45dfb29b2b47a84
jenkins-bot [Thu, 4 Dec 2014 21:12:30 +0000 (21:12 +0000)]
Merge "Remove deprecated profiling config parameters, clarify docs"
Translation updater bot [Thu, 4 Dec 2014 20:58:32 +0000 (21:58 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I7f9787dfd402817f21686bcbe2ccafce6e224269
Chad Horohoe [Thu, 4 Dec 2014 16:47:34 +0000 (08:47 -0800)]
Remove deprecated profiling config parameters, clarify docs
We've already broken profiling completely in this release. Make
this abundantly clear in the RELEASE-NOTES and just remove the
awful back-compat attempt from I2af28cd3 and I49c0a83e.
Change-Id: Ib0b87192e2a6e87db19f7821906dd7b2063081e3
Elliott Eggleston [Thu, 4 Dec 2014 20:26:40 +0000 (12:26 -0800)]
Revert wrapping sitenotice in google tags
Reverts change I95473e22de83e585044a4f917bbd1b00db7db71b
Change-Id: Ia522064df15b959e22e81abe2c607687ec2a29cb
jenkins-bot [Thu, 4 Dec 2014 20:18:27 +0000 (20:18 +0000)]
Merge "Split things out of search element on Special:Search"
Ejegg [Thu, 4 Dec 2014 20:15:44 +0000 (20:15 +0000)]
Merge "Prevent Google indexing of the SiteNotice div"
Erik Bernhardson [Thu, 4 Dec 2014 19:08:45 +0000 (11:08 -0800)]
Hygiene: RemoveInvalidEmails maint script not in autoloader
Change-Id: Ib1a54898b07a1f47f99e7004a12e6829280a4857
Aaron Schulz [Thu, 4 Dec 2014 00:51:22 +0000 (16:51 -0800)]
Switched hook profiling to use scopedProfileIn
* Also made scopedProfileOut handle the case where the callback
was null (e.g. when there are no frame methods for xhprof).
Change-Id: Ife242bda8e046990d0d8ac27d628975b7b4a14d7
jenkins-bot [Thu, 4 Dec 2014 19:08:00 +0000 (19:08 +0000)]
Merge "Changed some DatabaseBase type hints to IDatabase"
Adam Roses Wight [Thu, 4 Dec 2014 18:50:34 +0000 (10:50 -0800)]
Prevent Google indexing of the SiteNotice div
Site notice and CentralNotice should be omitted from search snippets.
We're diluting page content.
The awkward thing about this patch is that we can only confirm the
googleoff tag is supported for the search appliance, not the public
web crawler. See here for those docs, though:
http://static.googleusercontent.com/media/www.google.com/en/us/support/enterprise/static/gsa/docs/admin/70/gsa_doc_set/admin_crawl/admin_crawl.pdf
Change-Id: I95473e22de83e585044a4f917bbd1b00db7db71b
Kunal Mehta [Thu, 4 Dec 2014 18:40:25 +0000 (10:40 -0800)]
removeInvalidEmails.php: Fix batching continuation for wikis with >500 users
Change-Id: I6343aa204ddd68e9685630b67ac0b0ca535b426b
jenkins-bot [Thu, 4 Dec 2014 09:44:46 +0000 (09:44 +0000)]
Merge "Darken the text color in successbox"
Kunal Mehta [Thu, 4 Dec 2014 07:46:47 +0000 (23:46 -0800)]
Make LocalisationCache::getMessagesDirs() public
So it can be used inside LocalisationUpdate
Change-Id: I2399ddd7fd4462f2c6d1bf81036af451a67c58b1
jenkins-bot [Thu, 4 Dec 2014 07:42:27 +0000 (07:42 +0000)]
Merge "Remove Profiler::isStub()"
jenkins-bot [Thu, 4 Dec 2014 05:30:48 +0000 (05:30 +0000)]
Merge "Fix up interwiki search results in API"
Chad Horohoe [Thu, 4 Dec 2014 03:48:27 +0000 (19:48 -0800)]
Remove Profiler::isStub()
Just check for ProfilerStub directly.
Change-Id: I503916599f182df4206da5282193ae6ec9324ee6
Ori Livneh [Thu, 4 Dec 2014 02:03:29 +0000 (18:03 -0800)]
Don't attempt to stash new section edits
The parser output of edits produced via the 'new section' interface varies on
both the edit body and the edit summary (since it determines the new section's
name). So there isn't an early point in the edit process where we can start
computing the edit output. We have to wait for the user to be completely
done, by which point edit-stashing provides no advantage.
Change-Id: Ida461e08189b75c5a508628d11dc929a6138814a
Ori Livneh [Thu, 4 Dec 2014 01:27:01 +0000 (17:27 -0800)]
Make ApiStashEdit use the StashEdit log group, rather than PreparedEdit
An early version of what ultimately became commit
3a6c9d36c used
'ApiPreparedEdit' instead of 'ApiStashEdit'. The class / file were renamed but
not the log group.
Change-Id: Ib4de1f1f21f058d3be627048bc93e7730515d340
Rob Moen [Wed, 3 Dec 2014 23:07:44 +0000 (15:07 -0800)]
Split things out of search element on Special:Search
While keeping these in the same order, pulling them out of the form
helps mobile display search suggestions on non RL devices.
Change-Id: Id267f66485b95788e682b912e8d2540c826d83fd
jenkins-bot [Thu, 4 Dec 2014 00:09:56 +0000 (00:09 +0000)]
Merge "Use quickUserCan() for the undelete link message"
Aaron Schulz [Thu, 4 Dec 2014 00:01:26 +0000 (16:01 -0800)]
Use quickUserCan() for the undelete link message
* This was taking 267.304ms on https://en.wikipedia.org/wiki/Tammar_wallaby for admins
Change-Id: I0e669869e1990502331a80de168562421ac5336d
jenkins-bot [Wed, 3 Dec 2014 23:46:58 +0000 (23:46 +0000)]
Merge "Move core message dirs from $wgMessagesDirs to LocalisationCache::getMessagesDirs()"
Aaron Schulz [Wed, 3 Dec 2014 23:31:17 +0000 (15:31 -0800)]
Removed useless "use" clause from closure
Change-Id: Ie2e0328548b185e77b919c0b8bd18a5005d94037
Aaron Schulz [Thu, 20 Nov 2014 00:33:51 +0000 (16:33 -0800)]
Added ApiStashEdit module for pre-emptive edit parsing
* This lets edits be prepared while users enter edit summaries.
* The edit form will now make use of this API, controlled by
$wgAjaxEditStash.
Change-Id: I4f4057bc0d1d4a66a8f7cfb7cdc26d443a8eb0c4
jenkins-bot [Wed, 3 Dec 2014 22:36:23 +0000 (22:36 +0000)]
Merge "If a user logs in while not on https, then the user should be sent back to the non-secure website."
Kunal Mehta [Wed, 3 Dec 2014 22:12:52 +0000 (14:12 -0800)]
Move core message dirs from $wgMessagesDirs to LocalisationCache::getMessagesDirs()
If $wgMessagesDirs is initially empty, we can optimize when batch loading
extensions:
if ( !$wgMessagesDirs ) {
$wgMessagesDirs = $cache['MessagesDirs'];
}
With APC, this should be O(1) CPU time.
This was suggested by Tim in the code review of I7074b65d07c5.
Change-Id: I66fa907cdaafe18b74b5b9afaa8b6b1db069bea3
Aaron Schulz [Wed, 3 Dec 2014 22:00:16 +0000 (14:00 -0800)]
Removed low signal wfDebugLog call in DatabaseBase
Change-Id: I231766b6a1a1651508bb03fa137e6b2b55c55e6a
Aaron Schulz [Wed, 26 Nov 2014 01:10:46 +0000 (17:10 -0800)]
Log backtraces for DB reconnections
Change-Id: Ibe7badde80bf6a44e292b89fe6c085cbda5748e2
jenkins-bot [Wed, 3 Dec 2014 21:30:34 +0000 (21:30 +0000)]
Merge "Before pseudo elements are not always perfectly in line"
jenkins-bot [Wed, 3 Dec 2014 21:13:22 +0000 (21:13 +0000)]
Merge "Database: Remove use of strencode() in replaceVars()"
jenkins-bot [Wed, 3 Dec 2014 21:11:00 +0000 (21:11 +0000)]
Merge "Add removeInvalidEmails.php maintenance script"
jenkins-bot [Wed, 3 Dec 2014 21:00:55 +0000 (21:00 +0000)]
Merge "Deprecated $wgProfilePerHost"
Translation updater bot [Wed, 3 Dec 2014 21:00:53 +0000 (21:00 +0000)]
Merge "Localisation updates from https://translatewiki.net."
jenkins-bot [Wed, 3 Dec 2014 20:59:11 +0000 (20:59 +0000)]
Merge "Deprecated $wgUDPProfilerHost, $wgUDPProfilerPort and $wgUDPProfilerFormatString"
Translation updater bot [Wed, 3 Dec 2014 20:58:20 +0000 (21:58 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I38970b3004ea686f55507fdb36bd701a511287d8
Kunal Mehta [Tue, 2 Dec 2014 20:40:23 +0000 (12:40 -0800)]
Add removeInvalidEmails.php maintenance script
The script scans the user table and removes emails
that are technically invalid which don't pass
Sanitizer::validateEmail(), and wouldn't be allowed
today. Confirmed emails are skipped entirely since
they had to be valid at some point.
Bug: T76512
Change-Id: I3cc6396ff6d8b738846b7716b4b0cddc9bf9e1a4
jenkins-bot [Wed, 3 Dec 2014 19:30:32 +0000 (19:30 +0000)]
Merge "OutputPage: Add accessors for some protected properties"
Chad Horohoe [Wed, 3 Dec 2014 19:21:03 +0000 (11:21 -0800)]
Deprecated $wgProfilePerHost
Change-Id: I2af28cd3083228136789cff5feadd7b16c509e5b
Chad Horohoe [Wed, 3 Dec 2014 18:49:48 +0000 (10:49 -0800)]
Deprecated $wgUDPProfilerHost, $wgUDPProfilerPort and $wgUDPProfilerFormatString
All can be passed as options to $wgProfiler now.
Change-Id: I49c0a83e0d386be0f66d6703fc358089e4b1f59f
Rob Moen [Tue, 2 Dec 2014 22:29:20 +0000 (14:29 -0800)]
Before pseudo elements are not always perfectly in line
This results in the psudo element's top inline with the element's
top
Change-Id: Iadd741f02155a9b5ddeb6cd8ff64fa13ae5506d7
Chad Horohoe [Wed, 3 Dec 2014 18:36:12 +0000 (10:36 -0800)]
Stop using $wgProfileToDatabase
Was not completely removed and the remaining bits were mostly
broken. $wgProfiler['output'] = 'db' is the proper way.
Fixes T75917
Change-Id: I36565e2372db2ed49b219cf533ec433e8111c52f
Kunal Mehta [Wed, 3 Dec 2014 17:40:15 +0000 (09:40 -0800)]
OutputPage: Add accessors for some protected properties
Bug: T76168
Change-Id: Iee11c217b6b0d35acfdfac916814521acda2b1a4
Kevin Israel [Wed, 18 Jun 2014 00:18:21 +0000 (20:18 -0400)]
Database: Remove use of strencode() in replaceVars()
Almost all known uses of the /*$var*/ syntax are for either the
table prefix or table options, neither of which need string
encoding. Use of that syntax inside strings has been discouraged
for a while anyway.
This is to allow deprecating strencode().
Also changed the method to replace in one pass (to not find
variables inside values of other variables).
Change-Id: Ia697ce5f14082e737b3e1c4e174bd3f6223acc5c
jenkins-bot [Wed, 3 Dec 2014 08:12:21 +0000 (08:12 +0000)]
Merge "content: Deprecate TitleIsCssOrJsPage and TitleIsWikitextPage hooks"
Aaron Schulz [Tue, 2 Dec 2014 18:44:26 +0000 (10:44 -0800)]
Changed some DatabaseBase type hints to IDatabase
Change-Id: Id945aaabbf5b467106676ea9f3eab3a6161c7f3d
Timo Tijhof [Wed, 3 Dec 2014 04:11:33 +0000 (04:11 +0000)]
content: Deprecate TitleIsCssOrJsPage and TitleIsWikitextPage hooks
They're currently documented as a 'compatibility hook'
in docs/contenthandler.txt. No longer used in any Wikimedia-hosted
git repository.
Superseded by the ContentHandlerDefaultModelFor hook.
Change-Id: I212230da7d6080cf500f930d4aa5a9024959d5f9
Timo Tijhof [Wed, 3 Dec 2014 01:52:00 +0000 (01:52 +0000)]
content: Re-arange tests to declare data provider first
For consistency with other test suites.
Change-Id: Ic4b4d8e228a9ce82a42a07d88d690a9c932960c3
jenkins-bot [Wed, 3 Dec 2014 00:12:23 +0000 (00:12 +0000)]
Merge "Update OOjs UI to v0.2.4"
jenkins-bot [Wed, 3 Dec 2014 00:06:22 +0000 (00:06 +0000)]
Merge "API: Add Access-Control-Allow-Headers in CORS preflight response"
jenkins-bot [Tue, 2 Dec 2014 21:09:22 +0000 (21:09 +0000)]
Merge "Adding check for lessphp compiler to getLessCompiler()"
jenkins-bot [Tue, 2 Dec 2014 21:08:05 +0000 (21:08 +0000)]
Merge "Add jquery.fn.serializeObject"
Timo Tijhof [Tue, 2 Dec 2014 21:07:40 +0000 (21:07 +0000)]
mediawiki.Uri: Implement support for a mutable defaultUri
Bug: T74334
Change-Id: Ib512774091626c810b25af03c15f84efaca1c633
jenkins-bot [Tue, 2 Dec 2014 21:04:46 +0000 (21:04 +0000)]
Merge "Document external libraries changes in release notes"
Translation updater bot [Tue, 2 Dec 2014 20:40:32 +0000 (21:40 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I06194421786553b0ee867ccd722a0f32a15ba594
Ori Livneh [Tue, 2 Dec 2014 19:44:38 +0000 (11:44 -0800)]
Add jquery.fn.serializeObject
Teeny-tiny jQuery plugin to get form data as an object mapping each form
control's name to its value. I needed this for something and I saw this
pattern already in use in mediawiki.searchSuggest.js, so that's two use-cases.
I thought about calling this 'jquery.formData', but since it's a close analog of
jquery.serializeArray, I think this name is appropriate.
Change-Id: I00b6a7fb75a4d5132e7d6715c8867091a161dbb6
Chad Horohoe [Wed, 26 Nov 2014 18:29:15 +0000 (10:29 -0800)]
Support offsets in prefix searching
Fixes T75522
Change-Id: I7a27a64e295a1efcb1d9728d95cf254bb8bfbe92
James D. Forrester [Tue, 2 Dec 2014 19:04:30 +0000 (11:04 -0800)]
Update OOjs UI to v0.2.4
Release notes:
https://git.wikimedia.org/blob/oojs%2Fui.git/v0.2.4/History.md
Change-Id: Ic1afd83022ad8e6eee0ca89d94f6df23ba938684
Chad Horohoe [Tue, 2 Dec 2014 18:28:52 +0000 (10:28 -0800)]
Consistently use "T1234" format for release note bug refs
This will be the format for 1.25 and beyond as we've now moved
to Phabricator.
Change-Id: Ib555a2cbe72928b697dcbfc10f8168294691f4cb
Kunal Mehta [Tue, 2 Dec 2014 17:19:18 +0000 (09:19 -0800)]
Set optimize-autoloader: true and prepend-autoloader: false in composer.json
Quoting Tim from
240fd31cfa6b in mediawiki/vendor (prepend-autoloader):
Composer's autoloader is slow, taking about 63µs per class, whereas
MediaWiki's is fast, taking about 7µs per class. This adds up to an
overhead of about 13% of CPU time on short requests such as API calls.
On those same short requests, MediaWiki's autoloader finds most of the
classes. So it makes sense to run it first, before the two Composer
autoloaders. So change the config so that composer passes
$prepend=false to spl_autoload_register().
optimize-autoloader is also just a good idea in general.
Change-Id: I383c72a85eda415da92e8a9253e83b4ed591768b
jenkins-bot [Tue, 2 Dec 2014 17:23:29 +0000 (17:23 +0000)]
Merge "InstallDocFormatter: Hyperlink Phabricator task numbers"
jenkins-bot [Tue, 2 Dec 2014 17:20:45 +0000 (17:20 +0000)]
Merge "Handle redirects during prefix search exact match"
Tim Starling [Mon, 1 Dec 2014 06:08:23 +0000 (17:08 +1100)]
resourceloader: Clear module storage if disabled by configuration
To free up space for other things that might want to use localStorage
for users where it was previously enabled.
Bug: T66721
Change-Id: Idd62a5eab72ef79c47cfe54fcd5c240d1cbb0e44
jenkins-bot [Tue, 2 Dec 2014 03:10:09 +0000 (03:10 +0000)]
Merge "Avoid FOUC on API help and pretty-printed output"
Timo Tijhof [Tue, 2 Dec 2014 00:38:01 +0000 (00:38 +0000)]
content: Minor clean up to make JsonContent match other classes
Compared to JavaScriptContentHandler:
* Add missing license header.
* Add @ingroup.
* Move class description to @class.
Change-Id: I88c6e231756ce9f6d0d3aa2cb2bb80848c8bc5b9
Timo Tijhof [Tue, 2 Dec 2014 00:35:47 +0000 (00:35 +0000)]
WikiPage: Remove premature Content::isValid check
Content classes that implement the isValid method are causing
an "Internal error" to appear when saving from EditPage because
WikiPage throws an exception that isn't handled anywhere.
Turns out that ContentHandler already has infrastructure for
this in place in Content::prepareSave (which returns a Status
object with a relevant message informing the user), and WikiPage
is actually calling this already right after this.
Content::prepareSave defaults to using Content::isValid, so this
code is simply obsolete and premature as it calls an internal
method directly without handling it accordingly.
Change-Id: I69f18d9e101c2261b0ff7bd1b0459ea7fdd7ae9f
Jackmcbarn [Tue, 2 Dec 2014 00:11:30 +0000 (19:11 -0500)]
Darken the text color in successbox
A user mentioned that there isn't currently enough contrast in successbox,
which impairs accessibility. This fixes that.
Change-Id: Id819524377108ec04fe5f3faef7979bc22fbd891
jenkins-bot [Mon, 1 Dec 2014 23:30:22 +0000 (23:30 +0000)]
Merge "Fix group separator in installer's sidebar"
kaldari [Mon, 1 Dec 2014 22:12:50 +0000 (14:12 -0800)]
Adding check for lessphp compiler to getLessCompiler()
Otherwise, PHP fatal errors will be thrown for anyone who installs
without it.
Change-Id: Ia027b7a829bbdae88b750c8119c546c846f3ae54
jenkins-bot [Mon, 1 Dec 2014 21:40:13 +0000 (21:40 +0000)]
Merge "Hide 'redirectedfrom' notice when printing articles"
Translation updater bot [Mon, 1 Dec 2014 21:00:09 +0000 (21:00 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Translation updater bot [Mon, 1 Dec 2014 20:56:04 +0000 (21:56 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I2039215565965839327236df77eccfd226fe08c8
Arlo Breault [Thu, 27 Nov 2014 22:43:12 +0000 (14:43 -0800)]
Populate revision data when expanding templates
* Add a $revid parameter to the expandtemplates api action so that,
when passed, the correct revision information is set for {{REVISIONID}}
and similar variables.
Bug: T73306
Change-Id: I93ef39fdabbaa5f394efce9b5c5e080666ff6119
m4tx [Mon, 1 Dec 2014 19:23:43 +0000 (20:23 +0100)]
Fix group separator in installer's sidebar
Uses explode() to split the sections and puts correct separators between them.
Bug: T39362
Change-Id: I9a287b6ac206debb9bd93dbfad0703a8fad0931f
jenkins-bot [Mon, 1 Dec 2014 19:00:14 +0000 (19:00 +0000)]
Merge "build: Upgrade grunt-jscs and remove legacy jshint camelcase/nomen"
Aaron Schulz [Mon, 1 Dec 2014 18:36:48 +0000 (10:36 -0800)]
Removed bogus argument in frame profiling method
* Caused "Warning: xhprof_frame_end() expects exactly 0 parameters, 1 given in includes/libs/ScopedCallback.php on line 70"
Change-Id: I1ab5a973a185738cae97de4cfdc3cca78598d35e
Brad Jorsch [Mon, 1 Dec 2014 17:33:25 +0000 (12:33 -0500)]
Avoid FOUC on API help and pretty-printed output
Bug: T76268
Change-Id: Ie1e087cad764cd7c8f84e2a7b3fb2dc5083cabaf
Brad Jorsch [Mon, 1 Dec 2014 14:42:36 +0000 (09:42 -0500)]
API: Add Access-Control-Allow-Headers in CORS preflight response
Otherwise a CORS request won't be able to properly make use of the new
header.
Bug: T76340
Change-Id: I1dbccdf928b85a4b194174d38f505787dd18f745
glaisher [Sat, 22 Nov 2014 09:35:58 +0000 (14:35 +0500)]
Hide 'redirectedfrom' notice when printing articles
Wrap the 'redirectedfrom' message in "mw-redirectedfrom" id
and then add it to commonPrint.css to hide it when printing.
Bug: 16296
Change-Id: I077bda9596c37b122a1f6964470d9d85108d834e
Translation updater bot [Sun, 30 Nov 2014 20:42:23 +0000 (21:42 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ib0e7163ff33af2d163b55db583b71195d07571c0
Timo Tijhof [Tue, 18 Nov 2014 20:44:44 +0000 (20:44 +0000)]
build: Upgrade grunt-jscs and remove legacy jshint camelcase/nomen
Follows-up
4ec6b0cce.
grunt-jscs v0.7.0 upgraded node-jscs to v0.6.0 which introduced
the ability to disable rules via inline comments.
This means we can finally remove the deprecated jshint rules for
coding style rules and restrict jshint to code quality only.
Unsuppress the equivalent rules from jscs.
Change-Id: Idacf7e552d656ee139863d927e5bfc1f86af8283
jenkins-bot [Sun, 30 Nov 2014 18:15:19 +0000 (18:15 +0000)]
Merge "Remove RELEASE-NOTES-1.24 and merge into HISTORY"
jenkins-bot [Sun, 30 Nov 2014 05:28:15 +0000 (05:28 +0000)]
Merge "Add missing visibility keywords to all LoadBalancer methods"
Kunal Mehta [Sat, 29 Nov 2014 21:28:45 +0000 (13:28 -0800)]
Remove RELEASE-NOTES-1.24 and merge into HISTORY
1.24 has been released, so any changes that need release notes
should be targeting 1.25
Change-Id: Ie55c554131d750e22e6da1bf137279623325e67d
Kunal Mehta [Sat, 29 Nov 2014 21:47:04 +0000 (13:47 -0800)]
Document external libraries changes in release notes
Bug: T1355
Change-Id: If3432d513e053742ef09f1330604e57918ab90b2