jenkins-bot [Sat, 24 Jan 2015 22:48:47 +0000 (22:48 +0000)]
Merge "Make data provider in MediaHandlerTest static"
Translation updater bot [Sat, 24 Jan 2015 21:48:37 +0000 (22:48 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I3bfbe8a79a988dd00d0945c26097e45be2434d51
jenkins-bot [Sat, 24 Jan 2015 20:43:41 +0000 (20:43 +0000)]
Merge "resourceloader: Make 'script' argument to mw.loader.implement optional"
jenkins-bot [Sat, 24 Jan 2015 07:07:05 +0000 (07:07 +0000)]
Merge "mediawiki.ui: Remove color and background-color 'inherit' from inputs"
jenkins-bot [Sat, 24 Jan 2015 01:41:32 +0000 (01:41 +0000)]
Merge "LSG: Fix Makefile"
Legoktm [Sat, 24 Jan 2015 01:34:13 +0000 (01:34 +0000)]
Merge "Output number of conflicts"
jenkins-bot [Sat, 24 Jan 2015 01:32:48 +0000 (01:32 +0000)]
Merge "mediawiki.cookie: Re-add documentation about non-zero default expiration"
Timo Tijhof [Sat, 24 Jan 2015 01:13:13 +0000 (17:13 -0800)]
mediawiki.cookie: Re-add documentation about non-zero default expiration
Follows-up
81319eb28d7538d12ff6b. The statement was accurate, but
somewhat confusingly phrased.
Change-Id: I718831ff23309187e30ba7e304fbd0e0ed0182fd
Sam Reed [Sat, 24 Jan 2015 00:43:26 +0000 (00:43 +0000)]
Output number of conflicts
Change-Id: I1e52db4c3bc60ab41cff3f86aa565a99ffc564ef
Sam Reed [Sat, 24 Jan 2015 00:37:53 +0000 (00:37 +0000)]
Fix stdClass typo in namespaceDupes.php
Change-Id: I129c0d0ad5770d3d9bcdbc1881757f3c13f37c35
Erik Bernhardson [Wed, 14 Jan 2015 18:50:18 +0000 (10:50 -0800)]
ApiPageSet lazy loads content models
A preceding patch, I7eff0bff, adjusts multiple Title methods to load the
content model from the database if it is not known. This patch
adjusts ApiPageSet to query for the content model with the initial data
load rather than allowing the lazy loading to pull in the content
model one at a time as requested.
`
Bug: T86612
Change-Id: I9a9272da729d9323efde76a3c0a09f55127db537
jenkins-bot [Fri, 23 Jan 2015 21:46:51 +0000 (21:46 +0000)]
Merge "Add HiDPI PNG variants for 'Powered by MediaWiki' footer icon"
Brion Vibber [Mon, 13 Oct 2014 14:15:12 +0000 (07:15 -0700)]
Add HiDPI PNG variants for 'Powered by MediaWiki' footer icon
Added 1.5x and 2x-density variants of the 'Powered by MediaWiki' footer
icon, built from this SVG version on Commons:
https://commons.wikimedia.org/wiki/File:Powered_by_MediaWiki.svg
Note the SVG version is too large to use directly right now as it
contains a huge amount of detail; the PNGs are only a few KiB.
Renderings from Commons taken and run through pngcrush.
Note that adding 'srcset' attributes to footer icons appears to work
just fine here, so can be done for others.
Bug: T65872
Change-Id: I785d21add456eeddb6ed1ee36a1906d178323e63
Translation updater bot [Fri, 23 Jan 2015 21:04:35 +0000 (22:04 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I3fb43b5a3d4bdeedccff412fcba88b7f2fb73e4a
jenkins-bot [Fri, 23 Jan 2015 20:34:16 +0000 (20:34 +0000)]
Merge "Update OOjs to v1.1.4"
jenkins-bot [Fri, 23 Jan 2015 20:28:13 +0000 (20:28 +0000)]
Merge "Title: Always add title to LinkCache when necessary (in 3 methods)"
Kevin Israel [Thu, 15 Jan 2015 22:24:03 +0000 (17:24 -0500)]
Title: Always add title to LinkCache when necessary (in 3 methods)
Unless Title::GAID_FOR_UPDATE is specified, Title::getArticleID() will not
use the link cache if the Title already has the ID of the page. Account for
this by directly calling LinkCache::addLinkObj() in three other methods of
Title: getContentModel(), isRedirect(), and getLength().
Follows-up r33008 (
aed9d4b91218) and
dd5c1b7fb7ff, and reapplies part of
388b14a15de6.
Bug: T86974
Change-Id: I7eff0bffd4f632ceb8d2124af317d684dbcaf2cb
James D. Forrester [Fri, 23 Jan 2015 20:18:10 +0000 (12:18 -0800)]
Update OOjs to v1.1.4
Release notes:
https://git.wikimedia.org/blob/oojs%2Fcore.git/v1.1.4/History.md
Change-Id: Ib8736816e4e93306766c56cefee4b7d380944a99
Kunal Mehta [Sat, 17 Jan 2015 01:49:49 +0000 (17:49 -0800)]
update.php: Run checkComposerLockUpToDate.php
As suggested on wikitech-l
Change-Id: If9cde3aafb136c7194e74e6f7f0bae0b49e36465
jenkins-bot [Fri, 23 Jan 2015 19:59:03 +0000 (19:59 +0000)]
Merge "Introduce ApiFeedContributions::feedItem hook"
jenkins-bot [Fri, 23 Jan 2015 19:58:09 +0000 (19:58 +0000)]
Merge "Always use the newly-saved revision with vary-revision"
Prateek Saxena [Fri, 23 Jan 2015 19:22:36 +0000 (11:22 -0800)]
LSG: Fix Makefile
- Updated the list to actually be in alphabetical order
- It wasn't working on MacOS, removed the '<' and it works now
This is a follow up patch to I3d66bcacf99da7eecc91a421c521dc650ed9cf82
Change-Id: Ief0cd90ebaf36b3df6279f4ca39456bbd1bda6b8
Kunal Mehta [Fri, 23 Jan 2015 19:09:21 +0000 (19:09 +0000)]
Merge "SpecialTrackingCategories: Read from the extension registry"
jenkins-bot [Fri, 23 Jan 2015 18:35:09 +0000 (18:35 +0000)]
Merge "registration: Ignore attributes that start with @"
jenkins-bot [Fri, 23 Jan 2015 18:35:05 +0000 (18:35 +0000)]
Merge "registration: Sync extension.schema.json with reality"
Kunal Mehta [Wed, 17 Dec 2014 19:18:49 +0000 (11:18 -0800)]
SpecialTrackingCategories: Read from the extension registry
This demonstrates how we can transition from extensions putting
things into the global scope ($wgTrackingCategories) to instead
storing them in the extension registry. This will increase the
overall performance of the extension registry since it no
longer needs to do an array_merge with $wgTrackingCategories.
For extensions already converted to using the registry
no change is needed as the schema is still the same.
Change-Id: Ie0df4c20b123dac784a1c02eb991edc609a911b6
jenkins-bot [Fri, 23 Jan 2015 18:32:07 +0000 (18:32 +0000)]
Merge "convertExtensionToRegistration: Put some keys (name, version, etc.) on top"
Jackmcbarn [Fri, 12 Dec 2014 03:32:48 +0000 (22:32 -0500)]
Always use the newly-saved revision with vary-revision
When vary-revision is set, use a currentRevisionCallback to ensure that
the newly-saved revision will always be used by the parser. This keeps
slave lag from making vary-revision not do its job.
Bug: T78237
Change-Id: I92ec928203a67f1236c3ecf6dd5002f66a75c38c
Erik Bernhardson [Wed, 14 Jan 2015 21:52:50 +0000 (13:52 -0800)]
Introduce ApiFeedContributions::feedItem hook
ContribsPager, which is used by ApiFeedContributions, can return more
than just revision rows. This is handled in the html side within the
ContributionsLineEnding hook. ApiFeedContributions had no special
handling so here I have added a simple hook the provides the data
from ContribsPager and allows subscribers to provide the appropriate
FeedItem instance.
Bug: T85229
Change-Id: I27c77cc682ba801c40361c76b67398108ca1a592
jenkins-bot [Fri, 23 Jan 2015 02:24:45 +0000 (02:24 +0000)]
Merge "mediawiki.cookie: Remove false documentation for options.expiry as number"
Timo Tijhof [Fri, 23 Jan 2015 00:35:26 +0000 (16:35 -0800)]
mediawiki.cookie: Remove false documentation for options.expiry as number
Follows-up
7c585b5. There was never an implementation for
supporting an offset from now in seconds. The code and tests
account for no such thing.
When passed a number, it will actually end up being passed to
$.cookie, which interprets it as an offset in days (!).
Change-Id: I5d8ed8cb432ca550c62cf415077ffffd91fe2bbd
Alexia E. Smith [Tue, 16 Dec 2014 22:34:12 +0000 (16:34 -0600)]
Use: addGroup() and removeGroup() should return boolean
Have User::addGroup() and User::removeGroup() methoids return a
boolean when their respective hooks return the respective boolean.
Fix SpecialUserrights to respect this return vale and update the
add/remove arrays accordingly.
This resolves an issue where a hook that prevents a group from
being added or removed still shows that group being changed in
the Userrights log.
Change-Id: I7621cc22b04ff41cf67bd434a1f89d31bdc2cffd
Fomafix [Fri, 12 Dec 2014 13:54:59 +0000 (13:54 +0000)]
mediawiki.inspect: Use fixed numbers for sizes in bytes
Change-Id: Ieb39322ccfbbc80213ecd1d2a3b4f66bbe346b85
jenkins-bot [Thu, 22 Jan 2015 23:48:18 +0000 (23:48 +0000)]
Merge "mediawiki.inspect: Guard against Object.prototype keys as module names"
jenkins-bot [Thu, 22 Jan 2015 22:22:56 +0000 (22:22 +0000)]
Merge "Use Context on ProtectionForm for messages"
Bryan Davis [Wed, 14 Jan 2015 01:34:36 +0000 (18:34 -0700)]
Provide a backwards compatibility shim for MWLogger
MWLogger was renamed MWLoggerFactory and reduced to a static utility
class in Ie474676. Reintroduce an MWLogger that proxies the public
static methods of MWLoggerFactory to ease the transition of users who
have implemented $wgMWLoggerDefaultSpi configurations that reference
MWLogger.
As noted in the class, this is a temporary bandaid that should be ripped
off before 1.25 becomes an official release.
Change-Id: Iaccb78a510c60aab2ff20a9aa7c0869699657388
Bryan Davis [Tue, 13 Jan 2015 23:54:18 +0000 (16:54 -0700)]
Replace MWLogger with MWLoggerFactory
Time wounds all heels. During the code review for the PSR-3 logging
introduction, several people asked me why we needed a wrapper
for Psr\Log\LoggerInterface if the point was to use the standard. At the
time I was convinced that it would be better to introduce the dependency
via a wrapper class so that we could use the wrapper to patch over any
deficiencies that we might find in the PSR-3 API. After going on to work
on a project to disentangle other MediaWiki components from internal
project dependencies I have suddenly and clearly seen the error of my
ways.
We still need a logger factory as PSR-3 does not specify
a standard mechanism for creating Psr\Log\LoggerInterface instances. My
solution is to convert MWLogger into MWLoggerFactory to retain a static
factory interface for creating PSR-3 loggers but remove the MWLogger
wrapper class itself in favor of direct exposure of
Psr\Log\LoggerInterface to the MediaWiki consumer classes.
Change-Id: Ie47467657dcf341991ada00827dca5e8eff95438
Translation updater bot [Thu, 22 Jan 2015 21:54:15 +0000 (22:54 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I4929a44b21dadb98e226ffccba61059a0b39c389
jenkins-bot [Thu, 22 Jan 2015 19:34:51 +0000 (19:34 +0000)]
Merge "Always set group_concat_max_len to avoid awful truncation gotcha"
jenkins-bot [Thu, 22 Jan 2015 19:31:10 +0000 (19:31 +0000)]
Merge "Changed FileBackend exceptions to subclass Exception"
Kevin Israel [Thu, 11 Sep 2014 19:14:06 +0000 (15:14 -0400)]
Use DatabaseBase::selectRowCount() in two more places
Change-Id: Ic6e03a96c03499f7d62539f12e677b4407def673
Translation updater bot [Wed, 21 Jan 2015 21:01:02 +0000 (22:01 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I87f18cc6e49a9e0ba2910ea99cd3806f1a108046
Prtksxna [Wed, 21 Jan 2015 17:35:51 +0000 (17:35 +0000)]
Merge "mediawiki.ui: checkbox: Correct alignment of long labels"
jenkins-bot [Wed, 21 Jan 2015 01:56:19 +0000 (01:56 +0000)]
Merge "Adding PHP mustache parser (lightncandy)"
jenkins-bot [Wed, 21 Jan 2015 01:34:50 +0000 (01:34 +0000)]
Merge "Add option to output referrer policy meta tag"
YuviPanda [Tue, 20 Jan 2015 23:41:41 +0000 (15:41 -0800)]
Add option to output referrer policy meta tag
Bug: T87276
Change-Id: I9ea4797c4d292cd4565f47b88e605b4e7afdb1d1
jeroendedauw [Wed, 21 Jan 2015 00:30:14 +0000 (01:30 +0100)]
Document alternative to deprecated function
Change-Id: I89ae5f5062f8e3eb8dac38d7efcca7723d6b62b1
Timo Tijhof [Wed, 21 Jan 2015 00:03:33 +0000 (16:03 -0800)]
resourceloader: Make 'script' argument to mw.loader.implement optional
Follows-up
1f393b6.
The others were already made optional (
1f393b6), but 'script' was
still required. This caused
4ce0c0da42 to fail since it did sometimes
trim the 'script' argument as well.
Change-Id: I5cf533c2c19a064c4d8686c54838cc7743a09ba5
Krinkle [Tue, 20 Jan 2015 23:56:17 +0000 (23:56 +0000)]
Revert "resourceloader: Omit empty parameters from mw.loader.implement calls"
Works as intended, but didn't account for the first implement() parameter
being omitted client-side. Revert until that is accounted for, then re-try after
that fix is rolled out for > 1 week.
This reverts commit
4ce0c0da42acfbcc5c68527834f85436efd0ebc1.
Change-Id: I36c1619991663c0303636d1d3f037b0021ac79bf
Timo Tijhof [Tue, 9 Dec 2014 01:17:53 +0000 (01:17 +0000)]
resourceloader: Omit empty parameters from mw.loader.implement calls
Follows-up
ebeb297236.
Also:
* Add tests for ResourceLoader::makeLoaderImplementScript().
* Apply ResourceLoader::trimArray to makeLoaderImplementScript (new in
c0c221bf).
As always, the client (updated in Ie32e7d6a3c) is backward-compatible with old
(cached) load.php module responses. However, the old client is not compatible
new load.php responses after this commit.
That's generally not an issue, as we don't cache the client very long (~ 5 min).
However people with their browser open and mw.loader clients initialised can
still make new module requests (e.g. modules loaded on-demand, such as when
previewing edits, clicking buttons etc.). That can easily be several hours after
initial page load. As such, client/server bound changes should always be
back-compat and deployed a reasonable time apart to reduce chances of active
sessions making subsequent requests. Ideally we'd find some solution to this in
the long-term, but handling this at all is better than what we usually do...
For deployment: Ensure this is deployed several days after Ie32e7d6a3c09f.
Change-Id: Ic8d7efe49b5d45e3f95a2f04e3a26a014b10af16
Bartosz Dziewoński [Tue, 20 Jan 2015 22:41:18 +0000 (14:41 -0800)]
mediawiki.ui: Remove color and background-color 'inherit' from inputs
Bug: T78736
Change-Id: I01f5a8d5867cdf7ef244e1441afaa29d7adb4846
Timo Tijhof [Tue, 20 Jan 2015 22:24:33 +0000 (14:24 -0800)]
UserLogin: Don't rely on jQuery prop('tabindex') to map to tabIndex
Follows-up I9b03d519af43d.
There is a hardcoded set of exceptions in jQuery core right now
that map these common mistakes for back-compat. But this is
undocumented/unsupported legacy behaviour for a very small subset
of properties.
Change-Id: I9cfef0bc6a088e4c0a632b3673df460d26477c37
m4tx [Tue, 20 Jan 2015 21:11:33 +0000 (22:11 +0100)]
Make data provider in MediaHandlerTest static
Also, improve function names.
Follows-up Ie1cf501a6a0c8e688aca1a5577a293f526398dd3
Change-Id: I5eef5f193192041d7b0514eaa8b779c03e6647c7
Brad Jorsch [Tue, 20 Jan 2015 21:15:36 +0000 (13:15 -0800)]
API: Fix setting of wpIgnoreBlankSummary in action=edit
EditPage checks this using getBool(), not getCheck(), so empty string is
interpreted as false.
Also clean up a long-obsolete comment.
Bug: T87188
Change-Id: I18f376cefad44295874d7b1cd760ba6fc966be29
Translation updater bot [Tue, 20 Jan 2015 20:34:27 +0000 (21:34 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I845680e24225a0e9491e61efd1455675eb397b20
Sumit Asthana [Tue, 13 Jan 2015 21:02:36 +0000 (02:32 +0530)]
Templates:Captcha position modified,extend functionality added to QuickTemplate
The ConfirmEdit extension presently inserts captcha in the header of Usercreate
and Userlogin templates. The js,if enabled places the captcha before submit
button. A separate 'extrafields' placeholder for captcha is added just before
submit button in Usercreate.php so that captcha position remains consistent,
even if js is disabled. An extend method added to QuickTemplate to append any
data to existing field, rather than setting it with fresh data. Particular use
for 'extrafields' in Usercreate and Userlogin.
Bug: T85192
Change-Id: I82c68814e79cbc5aa250a308862c59fcbb6fd527
Federico Leva [Tue, 20 Jan 2015 09:11:05 +0000 (10:11 +0100)]
Add newline at end of languages/messages/MessagesBgn.php
Change-Id: Ibd95ebb1eaf37e9fafc572818e86be05b839dbb2
Federico Leva [Tue, 20 Jan 2015 08:52:22 +0000 (09:52 +0100)]
Add language fallback for Western Balochi (bgn)
* As on translatewiki.net.
* Added to Names.php with
919dbbfcdd7900c7d213ed1a60e60bc920fdee09
Change-Id: I9648a1e326ea742ad74f2b1265e59599c4201b5c
Bartosz Dziewoński [Tue, 23 Dec 2014 20:50:03 +0000 (21:50 +0100)]
mediawiki.ui: checkbox: Correct alignment of long labels
Use display: table-cell; to display the checkbox and the label
side-by-side. I am honestly surprised that this works here. Not sure
if it's a good idea to use… although we successfully did it for
OOjs UI in
2498265b, but we have more control over everything there.
Bug: T85241
Change-Id: I381d05360ad3e7ab153f56772fffb650dab5cda9
Bartosz Dziewoński [Tue, 20 Jan 2015 07:33:31 +0000 (23:33 -0800)]
Add new Polish translation for DEFAULTSORT magic word
This has been done on translatewiki ages ago [1], I was under the
impression that this is updated with the regular localisation updates, but
apparently not so. The Polish Wikipedia community would like to have
started using the new translation a week ago [2], so let's expedite this
please.
[1] https://translatewiki.net/w/i.php?title=MediaWiki%3ASp-translate-data-MagicWords%2Fpl&diff=
5944044&oldid=
5711187
[2] https://pl.wikipedia.org/wiki/Wikipedia:Kawiarenka/Kwestie_techniczne#DEFAULTSORT_-_mo.C5.BCe_przet.C5.82umaczy.C4.87.3F
Change-Id: I52f9f5962d3b52d7a5e9b16915f7dedabeecd142
Matthew Flaschen [Fri, 10 Oct 2014 01:41:08 +0000 (21:41 -0400)]
LSG: Break module list into text file for readability
Change-Id: I3d66bcacf99da7eecc91a421c521dc650ed9cf82
jenkins-bot [Mon, 19 Jan 2015 22:52:52 +0000 (22:52 +0000)]
Merge "Stop using mw-ui-big on login form buttons"
Translation updater bot [Mon, 19 Jan 2015 20:37:35 +0000 (21:37 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I16b3a2ee08dd95acd0a8ba9edfb42d214abf1aee
jenkins-bot [Mon, 19 Jan 2015 17:08:17 +0000 (17:08 +0000)]
Merge "Revision: mark getRaw*() methods as deprecated"
Translation updater bot [Sun, 18 Jan 2015 20:45:50 +0000 (21:45 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I8fb2ad3395c3dab471bd1b3dfce103f3d98623a2
umherirrender [Sat, 17 Jan 2015 20:04:39 +0000 (21:04 +0100)]
Use Context on ProtectionForm for messages
Also use Language::userTimeAndDate instead of Language::timeAndDate,
avois using $wgUser for the timezone.
Change-Id: I3547bdc2ee2b787bcb301c4023512e31bc18b67f
Ricordisamoa [Tue, 9 Dec 2014 19:16:50 +0000 (19:16 +0000)]
Revision: mark getRaw*() methods as deprecated
Revision->getRawUser()
=> Revision->getUser( Revision::RAW )
Revision->getRawUserText()
=> Revision->getUserText( Revision::RAW )
Revision->getRawComment()
=> Revision->getComment( Revision::RAW )
The body of Revision->getRawUserText() has been moved
into Revision->getUserText().
Every usage has been replaced.
Change-Id: Ic6fbfbc0507dcf88072fcb2a2e2364ae1436dce7
Aaron Schulz [Fri, 16 Jan 2015 23:28:38 +0000 (15:28 -0800)]
Added some job queue comments
Change-Id: If42b982ac339cc6aaf56ef2ed6c78867b83d2e56
Aaron Schulz [Sat, 17 Jan 2015 22:48:00 +0000 (14:48 -0800)]
Changed FileBackend exceptions to subclass Exception
Change-Id: Ic7d4d6cf0dde3e93ef78758b1a6b03f78c9bcdba
Translation updater bot [Sat, 17 Jan 2015 22:20:43 +0000 (23:20 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Icdecf03a42a08ce43210b632fd15f7d09795332e
Niklas Laxström [Sat, 17 Jan 2015 20:34:38 +0000 (21:34 +0100)]
Add bgn to Names.php
It recently passed the threshold and translations were committed:
https://translatewiki.net/wiki/Translating:MediaWiki/New_languages
Change-Id: I2a217b70baf6961c3c7bd7b3a90fbb104238a74f
Aaron Schulz [Sat, 17 Jan 2015 07:05:02 +0000 (23:05 -0800)]
Made JobRunner bail if wfReadOnly() is true
Change-Id: I97ef66718bf4033768cd820b42521af31539b3f6
jdlrobson [Fri, 16 Jan 2015 22:39:00 +0000 (14:39 -0800)]
Stop using mw-ui-big on login form buttons
This is inconsistent with mobile and is one of the blockers from us
using this form rather than our own on a mobile device.
Also mw-ui-big is a terrible class name and we should be deprecating its
usage.
Change-Id: I56e93429431690cf1b9ef043620b36148e3b4a7a
Timo Tijhof [Fri, 16 Jan 2015 03:25:15 +0000 (19:25 -0800)]
JsonContent: Support non-object values as root structure
* Remove is_object restriction from isValid.
* Implement rootValueTable to support rendering of other
root structures.
Also:
* Minor method documentation tweaks.
* Document why quotes are not escaped for strings in value cells.
Bug: T86270
Change-Id: Ic1d10393912fcefa22d675fd4aa2baf437d2a05a
Translation updater bot [Fri, 16 Jan 2015 19:48:55 +0000 (20:48 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Iac5da9911687d649dec3c748d2b2b5b04469f245
Aaron Schulz [Mon, 12 Jan 2015 20:05:17 +0000 (12:05 -0800)]
Avoid fatal error with profiler in Maintenance.php
Error Message: "Fatal error: Class name must be a valid object or a string"
Change-Id: Ia21f4d2c45aaaa12a270dd0fda7274008736a899
Kunal Mehta [Fri, 16 Jan 2015 17:24:02 +0000 (09:24 -0800)]
Add another Br[yi][oa]n to CREDITS
Change-Id: I2f3a5f813bb195f10930af6a7373dcaad96c18a0
Jaroslav Škarvada [Wed, 5 Mar 2014 11:03:17 +0000 (12:03 +0100)]
Fix HTTPS protocol detection
According to PHP documentation:
http://www.php.net/manual/en/reserved.variables.server.php
The $_SERVER['HTTPS'] is set to a non-empty value if the script was queried
through the HTTPS protocol. There is also note that for ISAPI with IIS, the
value is set to 'off' if the request was not made through the HTTPS protocol.
To follow the PHP documentation the $_SERVER['HTTPS'] == 'on' doesn't seem
to be the correct way how to detect the HTTPS protocol (there maybe e.g. '1'
instead of 'on').
Bug: 46511
Change-Id: I5675fed9b7d54711b96b25702181112ef3692f3c
Timo Tijhof [Fri, 16 Jan 2015 01:55:00 +0000 (17:55 -0800)]
jquery.tablesorter: Fix "capabilities" typo in comment
Change-Id: Iea1a2956c8927bc29c904569ae594f6978aa8868
James D. Forrester [Fri, 16 Jan 2015 00:06:44 +0000 (16:06 -0800)]
Update OOjs UI to v0.6.3
Release notes:
https://git.wikimedia.org/blob/oojs%2Fui.git/v0.6.3/History.md
Change-Id: If0fc682b3a7f186d53ca70fdb66dded66a7f4814
kaldari [Thu, 15 Jan 2015 23:19:05 +0000 (15:19 -0800)]
Adding PHP mustache parser (lightncandy)
Per front-end standards group and architecture cabal
See corresponding change for vendor repo: change Id86b118c
Change-Id: I281acc49c1959bc01d0c1580089fe6896992ba19
Translation updater bot [Thu, 15 Jan 2015 21:27:34 +0000 (22:27 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ib5e195c508863f6b9d75e0984a3c608b65deb609
Federico Leva [Thu, 8 Jan 2015 17:09:09 +0000 (18:09 +0100)]
Typofix in wrapWikiMsg() comment, smoother sentence
Change-Id: Ic0ebc94cec68ee1515d4c98d49b26a6f9148e95e
jenkins-bot [Thu, 15 Jan 2015 18:52:40 +0000 (18:52 +0000)]
Merge "Userlogin.php: Tweaks and corrections"
jenkins-bot [Thu, 15 Jan 2015 18:49:50 +0000 (18:49 +0000)]
Merge "Article: Show error message when Revision::getContent() fails"
Bartosz Dziewoński [Thu, 15 Jan 2015 18:30:14 +0000 (10:30 -0800)]
Userlogin.php: Tweaks and corrections
* Correct nesting of the block generating "Forgot your password?" link
– it would be mistakenly only generated if the user could create an
account.
* Use ->escaped() rather than ->parse() for 'userlogin-resetpassword-link',
as it is used inside a link and allowing wikitext could lead to
undesirable side-effects.
* Remove unused $extraAttrs variable.
* Remove pointless 'size' => '20' for some fields (they are displayed
full-width using CSS).
* Remove pointless .mw-ui-block class, as its styles are always used
for buttons in a VForm.
* Prettify code for hidden fields generation.
Change-Id: If749620bf2eaf58f815cae559383e1a1c842b870
jenkins-bot [Thu, 15 Jan 2015 18:44:28 +0000 (18:44 +0000)]
Merge "Add tests for Sanitizer::escapeHtmlAllowEntities"
Siebrand Mazeland [Wed, 14 Jan 2015 19:10:12 +0000 (20:10 +0100)]
file name -> filename
Change-Id: I2b39501b95745b04f3c8f2c5df893c066e5e7867
Kunal Mehta [Thu, 15 Jan 2015 17:25:56 +0000 (09:25 -0800)]
ParserOutputTest: Fix @covers tags
Change-Id: I4460f0474174a95558301a0e0a261a962dc66bee
Kevin Israel [Mon, 15 Sep 2014 09:44:35 +0000 (05:44 -0400)]
Article: Show error message when Revision::getContent() fails
It already checks for other errors though not this specific one
(e.g. missing text row or external storage row).
Change-Id: Id9eed4bd3d8241d445b15948f1544040394012c3
jenkins-bot [Thu, 15 Jan 2015 00:08:01 +0000 (00:08 +0000)]
Merge "HTMLFormField: Don't abuse mClass for VForms"
Marius Hoch [Wed, 14 Jan 2015 23:22:06 +0000 (00:22 +0100)]
Add tests for Sanitizer::escapeHtmlAllowEntities
Change-Id: I84a1328559d57a424aa77a6d89f837615feffc13
Bartosz Dziewoński [Wed, 14 Jan 2015 23:00:39 +0000 (15:00 -0800)]
HTMLFormField: Don't abuse mClass for VForms
Various fields use this differently than I thought, breaking things.
Let's add a separate variable.
Change-Id: Ia974a42c2a905cbc9e8405d9f03c10c8ad692864
Gabriel Wicke [Wed, 14 Jan 2015 22:06:01 +0000 (14:06 -0800)]
Fix array index for oldid parameter
This caused an incorrect oldid parameter to be passed to parsoid on html2wt
conversion, resulting in dirty diffs.
Change-Id: If140bbc94f280f9ec5a1c9f6d9c3b4e7a46e1917
jenkins-bot [Wed, 14 Jan 2015 21:26:11 +0000 (21:26 +0000)]
Merge "Set stat cache when getting local copy files in Swift"
Translation updater bot [Wed, 14 Jan 2015 21:15:43 +0000 (22:15 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I7e0c73a076713d6e2f4a317456e2bffb9a1a77f4
jenkins-bot [Wed, 14 Jan 2015 20:54:39 +0000 (20:54 +0000)]
Merge "Disable styling for checkboxes and radios on non-js browsers"
Bartosz Dziewoński [Wed, 14 Jan 2015 20:26:37 +0000 (20:26 +0000)]
Merge "mediawiki.action.view.redirect: Don't unset wgInternalRedirectTargetUrl"
jenkins-bot [Wed, 14 Jan 2015 20:07:42 +0000 (20:07 +0000)]
Merge "Use Config in SpecialUpload::getInitialPageText"
Bartosz Dziewoński [Wed, 14 Jan 2015 19:43:47 +0000 (11:43 -0800)]
mediawiki.action.view.redirect: Don't unset wgInternalRedirectTargetUrl
Follows-up
c49bd9cb14a9af678.
No good reason to do it. Dunno why I did it this way.
Change-Id: I9d80492b7ef6c1790c8dcb4a6861f263c450bd6a