Aaron Schulz [Mon, 27 Jan 2014 19:38:21 +0000 (11:38 -0800)]
Put expensive info action count behind $wgMiserMode
Change-Id: Ie0507b9ed62556f8caaaaf9499a4a40b3342b5af
jenkins-bot [Mon, 27 Jan 2014 17:59:48 +0000 (17:59 +0000)]
Merge "Always return an array from SwiftFileBackend::addMissingMetadata"
Bryan Davis [Mon, 27 Jan 2014 17:25:29 +0000 (09:25 -0800)]
Always return an array from SwiftFileBackend::addMissingMetadata
Correct the behavior of SwiftFileBackend::addMissingMetadata to match
the documentation and calling code expectations by always returning an
array.
Bug: 60477
Change-Id: I8d12888a6ebfa23502f8cf3a28866dcb00a18ec8
Chad Horohoe [Mon, 27 Jan 2014 16:52:47 +0000 (08:52 -0800)]
Don't override limits and offsets in SearchEngine::create()
The class default is 10/0, it doesn't make sense to set that
as 0/0 here. Nor does it make sense to really override it
here at all, as class defaults should take precedent unless
explicitly overriden by callers.
Bug: 60475
Change-Id: I4a48fd3c55908b52c8b0ab081d856874d16b876e
jenkins-bot [Mon, 27 Jan 2014 16:12:01 +0000 (16:12 +0000)]
Merge "Fix phpdoc in SwiftFileBackend"
addshore [Sun, 26 Jan 2014 18:47:42 +0000 (19:47 +0100)]
Fix phpdoc in SwiftFileBackend
Docs for $status and $code were swapped.
Change-Id: I88bd81b671f0e9a4176483fb744e45f2477672b5
theopolisme [Tue, 3 Dec 2013 03:52:43 +0000 (21:52 -0600)]
Create jquery.fullscreen
New plugin for making elements go fullscreen.
Incorporates some code from MultimediaViewer.
Bug: 56477
Change-Id: I58138afa05c43f5a24e74fa3a30a658428c39ce0
Raimond Spekking [Mon, 27 Jan 2014 00:41:40 +0000 (00:41 +0000)]
Merge "Localisation updates from https://translatewiki.net."
jenkins-bot [Sun, 26 Jan 2014 20:57:53 +0000 (20:57 +0000)]
Merge "Initial Tests for TitleArrayFromResult"
jenkins-bot [Sun, 26 Jan 2014 20:55:46 +0000 (20:55 +0000)]
Merge "Fix rebuildall.php fatal error with PostgreSQL"
jenkins-bot [Sun, 26 Jan 2014 20:04:34 +0000 (20:04 +0000)]
Merge "Remove unused globals"
jenkins-bot [Sun, 26 Jan 2014 20:03:47 +0000 (20:03 +0000)]
Merge "ChangesListSpecialPage: Implement execute()"
jenkins-bot [Sun, 26 Jan 2014 20:03:00 +0000 (20:03 +0000)]
Merge "No longer display the number of rows shown on Special:Watchlist"
addshore [Sun, 26 Jan 2014 18:59:23 +0000 (19:59 +0100)]
Remove unused globals
Change-Id: Id1c27653650f1d60892a9fddf4f6fa5dd534615f
Bartosz Dziewoński [Sun, 22 Dec 2013 13:47:36 +0000 (14:47 +0100)]
ChangesListSpecialPage: Implement execute()
Merging common content from SpecialRecentChanges and SpecialWatchlist
plus some cleanup.
Change-Id: Ic4bbedf2015a9f20a6e63ec53a72df91f1e3a2fe
Bartosz Dziewoński [Sun, 22 Dec 2013 14:53:13 +0000 (15:53 +0100)]
No longer display the number of rows shown on Special:Watchlist
My rationale for doing this is that passing this several functions
down is awkward and arguably bad design.
It's still a better rationale than the one used to add this in 2004,
which was replacing another value to fix HTML injection bug (r4728).
Change-Id: Iada3a93762dd25fdaf35fb707304abc40bd4a5b1
Kunal Mehta [Sun, 26 Jan 2014 19:49:25 +0000 (11:49 -0800)]
Fix typo: "oaram" --> "param"
Change-Id: Iff06f32c05cc83657770857b48d6201d1285eb07
jenkins-bot [Sun, 26 Jan 2014 18:41:49 +0000 (18:41 +0000)]
Merge "Add initial tests for UserArrayFromResult"
addshore [Sun, 26 Jan 2014 17:46:20 +0000 (18:46 +0100)]
Initial Tests for TitleArrayFromResult
Change-Id: I18635ed25a09e4646f68db4678179d437a700659
addshore [Sun, 26 Jan 2014 17:40:46 +0000 (18:40 +0100)]
Add initial tests for UserArrayFromResult
Change-Id: I92498011be44cd765cf336191810f47b61a0fd7e
lethosor [Sun, 26 Jan 2014 16:49:16 +0000 (11:49 -0500)]
Fix rebuildall.php fatal error with PostgreSQL
The fix for 47055 introduced a fatal error when running rebuildall.php. This
is a workaround suggested by gebhkla on Bugzilla (idle for 10+ days). It just
checks to make sure $options is actually an array before calling array_search
on it.
Bug: 60094
Change-Id: Ib54420b5a749c60b82a4757a9f5fa511f48fdb72
jenkins-bot [Sun, 26 Jan 2014 17:07:17 +0000 (17:07 +0000)]
Merge "Expand MWTimestamp tests"
addshore [Sat, 25 Jan 2014 15:48:54 +0000 (16:48 +0100)]
Expand MWTimestamp tests
Change-Id: I00215ecd85b7403a05a75d5eaccbbd2819343624
Translation updater bot [Sun, 26 Jan 2014 15:54:15 +0000 (15:54 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: I8187963fdb3b2cb88ee7afc1cc3b32cf8672e20b
jenkins-bot [Sun, 26 Jan 2014 15:25:36 +0000 (15:25 +0000)]
Merge "SpecialWantedcategories: Actually strike the category if it was emptied"
jenkins-bot [Sun, 26 Jan 2014 04:52:59 +0000 (04:52 +0000)]
Merge "Add Special:Diff as an internally-linkable redirect to diff pages"
jenkins-bot [Sat, 25 Jan 2014 22:24:00 +0000 (22:24 +0000)]
Merge "+Test for Status->CleanParams with a callback"
jenkins-bot [Sat, 25 Jan 2014 22:23:47 +0000 (22:23 +0000)]
Merge "Add test that covers Status::fatal"
jenkins-bot [Sat, 25 Jan 2014 22:23:02 +0000 (22:23 +0000)]
Merge "Add test for Status->merge with overrideValue true"
jenkins-bot [Sat, 25 Jan 2014 22:15:11 +0000 (22:15 +0000)]
Merge "Cleanup RefreshLinksPartitionTest"
jenkins-bot [Sat, 25 Jan 2014 21:23:54 +0000 (21:23 +0000)]
Merge "Add release notes for removed RdfMetaData class"
Jérémie Roquet [Sun, 12 May 2013 22:10:47 +0000 (00:10 +0200)]
Add Special:Diff as an internally-linkable redirect to diff pages
This is similar to Special:PermanentLink added in r79036 and has been
asked for several times in different places, including:
- on the English Wikipedia (oldid=
539308532)
- on mediawiki.org (lqt_oldid=31691)
- on the French Wikipedia (oldid=
93029892)
- on the English Wikipedia again (oldid=
588408888)
A notable use-case is linking to diffs in the edit summaries, where
external links are not yet allowed (bug 14892).
All of the following are valid usages:
- [[Special:Diff/12345]] (diff of a revision with the previous one)
- [[Special:Diff/12345/prev]] (diff of a revision with the previous one as well)
- [[Special:Diff/12345/next]] (diff of a revision with the next one)
- [[Special:Diff/12345/cur]] (diff of a revision with the latest one of that page)
- [[Special:Diff/12345/98765]] (diff between arbitrary two revisions)
Co-authored-by: Jérémie Roquet <jroquet@arkanosis.net>
Co-authored-by: Bartosz Dziewoński <matma.rex@gmail.com>
Change-Id: I77fdaf8e04375caa1d67ca4a3ec3bd93920c3309
umherirrender [Fri, 24 Jan 2014 16:23:41 +0000 (17:23 +0100)]
Add release notes for removed RdfMetaData class
Follow-Up: I3454d605a741bc97a51a1ad471a17eb3053d662f
Change-Id: Id1a04ea330da90ed84dae692bde7c64a5ac06cd5
addshore [Sat, 25 Jan 2014 15:21:09 +0000 (16:21 +0100)]
Split Timestamp.php into class and exception files
Change-Id: I438adfe5479a1017baee8f2b663f3fb2e49c685a
addshore [Sat, 25 Jan 2014 15:14:49 +0000 (16:14 +0100)]
+Test for Status->CleanParams with a callback
Change-Id: I4e7570ea041d28303388c630b3ca07225faf8551
addshore [Sat, 25 Jan 2014 15:11:57 +0000 (16:11 +0100)]
Add test that covers Status::fatal
Change-Id: I7cb1e19569f77df5230808d7b35200b0ec9a6698
addshore [Sat, 25 Jan 2014 15:08:49 +0000 (16:08 +0100)]
Add test for Status->merge with overrideValue true
Change-Id: I049c67e80277f8dbbbadae6e7a8f30d66066e7bf
addshore [Sat, 25 Jan 2014 13:15:42 +0000 (14:15 +0100)]
Cleanup RefreshLinksPartitionTest
Change-Id: I9c8e66b7370f8ea8d9b4f8843718b29e992b1180
jenkins-bot [Sat, 25 Jan 2014 08:42:10 +0000 (08:42 +0000)]
Merge "Improve organization of TestsAutoLoader"
Niklas Laxström [Fri, 24 Jan 2014 21:20:32 +0000 (21:20 +0000)]
Update jStorage
Contains bugfixes, new license and smaller file size: mw.loader.inspect
went from 16.6 to 11.9. This is still bigger than what they claim:
"jStorage is really small, just about 7kB when minified (4kB when gzipped)!"
Change-Id: I0b6f083a72a27af1e3fd367f61e8f98f74fea5d8
huji [Wed, 1 Jan 2014 00:25:54 +0000 (19:25 -0500)]
Add .gitignore to the /skins directory
To make it easier to work on 3rd party skins.
Bug: 55486
Change-Id: I986b6fe71bba429d1274bd86822448838601af64
Aaron Schulz [Sun, 22 Dec 2013 23:19:23 +0000 (15:19 -0800)]
Added some constants to speed up Setup.php
Change-Id: I528b362d6ef3d07c6c301e7a1767a1be0fc93725
Alexandre Emsenhuber [Thu, 2 May 2013 18:27:44 +0000 (20:27 +0200)]
Add support for "tabindex" in HTMLFormField subclasses
It is already set for some fields in Special:Block, but are
discarded by HTMLForm and its fields.
Some notes:
- fields with multiple inputs (radio, select and other, select
or other) will have the same tabindex set on all elements
- Some items such as multi-select and check matrix are not yet
implemented
Change-Id: I3e1ba7f16f3a3183f231afcf60dd392ce6d6eb6b
Federico Leva [Wed, 6 Nov 2013 23:08:02 +0000 (00:08 +0100)]
Add direct links to translation interface on Special:AllMessages
The local Special:AllMessages page is the first and most friendly place
where average users will look for the message and try to translate it:
when they find it, add a link to translatewiki.net so that they can start
translating without searching for it from scratch.
Special:SearchTranslations is the only target usable for this: the solr
search is smart enough to present the most relevant results first and the
translation interface is directly available in place.
On the bright side, similar messages popping up from other projects or areas
of the code will provide suggestions and help find other occurrences of
translations which can similarly be improved.
More specifically, we are using a combined language, key and text search:
* the English text is the only thing guaranteed to exist, if the message is
available, though quoting it can give some false negatives and not quoting
it would give it too much weight if it's long;
* the key can be used thanks to the feature revealed by Niklas Laxström in
comments to this patch: it is simpler to handle but allows only exact matches
and can be wrong if TWN adds a prefix for the extension, so it can't be used
alone, but in the best case it's what we're looking for;
* the language makes sense in combination with the key match.
We boost key and language to get the current translation of the message where
possible; if it's not, the first result will usually be English text.
https://wiki.apache.org/solr/SolrQuerySyntax
https://lucene.apache.org/core/2_9_4/queryparsersyntax.html
From the initial search, the user can further refine its search and navigate
the interface to find the message(s) and editor where to add or edit the
translation.
Change-Id: I8de3faba829c50cdc0f2d09726f738c585792e00
Ebrahim Byagowi [Sat, 14 Dec 2013 18:07:11 +0000 (18:07 +0000)]
i18n: Native digits on #wpLocalTime
Change-Id: Ief3c4700247809e59dda30b9b224e3f9dfaa5e62
jenkins-bot [Sat, 25 Jan 2014 00:41:54 +0000 (00:41 +0000)]
Merge "Little change of readability in Title::secureAndSplit"
jenkins-bot [Fri, 24 Jan 2014 23:57:43 +0000 (23:57 +0000)]
Merge "StatusTest is language dependant"
jenkins-bot [Fri, 24 Jan 2014 23:57:41 +0000 (23:57 +0000)]
Merge "More use of Title::hasFragment"
jenkins-bot [Fri, 24 Jan 2014 23:56:53 +0000 (23:56 +0000)]
Merge "Add hints to two function comments in Title.php"
jenkins-bot [Fri, 24 Jan 2014 23:51:43 +0000 (23:51 +0000)]
Merge "Replace <i> and <b> by <em> and <strong> in i18n"
umherirrender [Fri, 24 Jan 2014 21:35:52 +0000 (22:35 +0100)]
Add hints to two function comments in Title.php
Change-Id: I47627892c6450396cfb658ddef7617046fdf4209
umherirrender [Fri, 24 Jan 2014 21:30:33 +0000 (22:30 +0100)]
Little change of readability in Title::secureAndSplit
Move init of mArticleId to bottom, where other fields are filled and
change ternary operator to a simple if for better readability.
Break a double assignment in two statements.
Change-Id: Ib61435e62e883142dd0c5dcb40e0e50e7ca18439
umherirrender [Fri, 24 Jan 2014 21:22:45 +0000 (22:22 +0100)]
More use of Title::hasFragment
Missing two places for the new method.
Also change a remaining var access of Title::mFragment to accessor.
Follow-Up: I27d9c3e40e6de6800f4488de167cf06e83c88ce6
Change-Id: I5d26b9a7662673b902e3f7147cbc95ca0626d721
jenkins-bot [Fri, 24 Jan 2014 21:09:33 +0000 (21:09 +0000)]
Merge "Ignore testRunLegacyHooks in findHooks.php"
jenkins-bot [Fri, 24 Jan 2014 21:08:08 +0000 (21:08 +0000)]
Merge "Remove preference "Show table of contents (for pages with more ...)""
tonythomas01 [Thu, 5 Dec 2013 17:54:27 +0000 (23:24 +0530)]
Remove preference "Show table of contents (for pages with more ...)"
The table of contents box is auto-inserted, can trivially be hidden or
exposed on a per-page basis with __MAGICWORDS__, includes a sticky
[show|hide] link, and can be easily hidden with site-wide CSS as
necessary. It needlessly adds complexity and user interface clutter.
Bug: 52813
Change-Id: If2139317dae4aa980b373c73d7b81dac627b5af8
Siebrand Mazeland [Thu, 12 Dec 2013 12:34:19 +0000 (13:34 +0100)]
Replace <i> and <b> by <em> and <strong> in i18n
Change-Id: If84e78e413fd042ef9451c68df2321fd52a35c79
Translation updater bot [Fri, 24 Jan 2014 20:18:35 +0000 (20:18 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Translation updater bot [Fri, 24 Jan 2014 20:00:37 +0000 (20:00 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: Idf89d2bff84d9c4e74be06a2532222891b0fb30e
jenkins-bot [Fri, 24 Jan 2014 19:45:43 +0000 (19:45 +0000)]
Merge "Change behavior of Special:Watchlist when user's watchlist is empty"
jenkins-bot [Fri, 24 Jan 2014 19:34:24 +0000 (19:34 +0000)]
Merge "Fix comment on JobQueue::push"
Marius Hoch [Fri, 24 Jan 2014 19:14:11 +0000 (20:14 +0100)]
Fix comment on JobQueue::push
Change-Id: I2a7e570ee29ca9dcab2e5c92616ecb69310ae7d5
jenkins-bot [Fri, 24 Jan 2014 19:13:25 +0000 (19:13 +0000)]
Merge "User::saveOptions() optimization"
Antoine Musso [Wed, 22 May 2013 14:39:31 +0000 (16:39 +0200)]
User::saveOptions() optimization
Since we only want to save non default user options, we have to strip
out any user option that match the default ones. We did that by calling
User::getDefaultOption( 'some option name' ); on each of the option.
Since the User mOptions property is a merge of the default option, we
end up doing a lot of unneeded processing. The loop roughly looks like:
User::getDefaultOption()
User::getDefaultOptions()
Language->getCode()
SearchEngine::searchableNamespaces()
language->getNamespaces()
wfRunHooks('SearcheableNamespaces')
wfRunHooks('UserGetDefaultOptions')
For EACH of the mOptions.
Instead this patch does an array_diff to strip out from mObjects any
default option. We still skip options whose value is false or null.
Test provided to make sure we only save what we want.
Change-Id: Ie98d3a17edab74401ed32f759ba11f723b56e376
tonythomas01 [Wed, 4 Dec 2013 17:47:33 +0000 (23:17 +0530)]
Removed "Enable section editing via [edit] links" from preferences
Unwanted user preference option in MW adding to the clutter.
Users interested in hiding section-edit links can use per-user
(or site-wide) CSS.
Removed 'editsection' from Defaultsettings.php and
ResourceLoaderUserCSSPrefsModule.php
Updated Release Notes
Bug: 52811
Change-Id: I5fc49106621943ca7180ddb37590b624edac67d5
umherirrender [Thu, 2 Jan 2014 11:16:21 +0000 (12:16 +0100)]
Add Title::hasFragment and use it
Makes checks against the fragment easier to read and all the same.
At the moment some using strval, some use type safe comparsion.
Change-Id: I27d9c3e40e6de6800f4488de167cf06e83c88ce6
jenkins-bot [Fri, 24 Jan 2014 15:19:48 +0000 (15:19 +0000)]
Merge "API: Remove obsolete wgRightsCode from siteinfo"
Reedy [Fri, 24 Jan 2014 06:38:30 +0000 (06:38 +0000)]
API: Remove obsolete wgRightsCode from siteinfo
This was apparently a companion to $wgRightsPage, $wgRightsUrl,
$wgRightsText, and $wgRightsIcon, added in r3148.
But even then it was commented out as "not yet used", and appears to
have eventually disappeared without ever having been used.
Change-Id: I63f4393c22912f04e4ea690ebb1cd02bae65faab
Reedy [Fri, 24 Jan 2014 06:29:11 +0000 (06:29 +0000)]
Fix testValidyntax to testValidSyntax
Change-Id: I6157fec56a5455888200752d757602ddb640fd1e
jenkins-bot [Fri, 24 Jan 2014 02:15:40 +0000 (02:15 +0000)]
Merge "AutoLoaderTest: Add support for class aliases"
jenkins-bot [Fri, 24 Jan 2014 02:01:28 +0000 (02:01 +0000)]
Merge "Do not load special pages in WatchedItem::load"
jenkins-bot [Fri, 24 Jan 2014 02:00:29 +0000 (02:00 +0000)]
Merge "Remove TODO for use of TRUNCATE and replace with comment"
jenkins-bot [Fri, 24 Jan 2014 00:56:12 +0000 (00:56 +0000)]
Merge "ChangesListSpecialPage and subclasses: Reorder functions"
jenkins-bot [Fri, 24 Jan 2014 00:55:23 +0000 (00:55 +0000)]
Merge "Changes list legend modules cleanup"
jenkins-bot [Fri, 24 Jan 2014 00:51:07 +0000 (00:51 +0000)]
Merge "Create ChangesListSpecialPage as a base class for Watchlist and RC"
jenkins-bot [Thu, 23 Jan 2014 23:44:28 +0000 (23:44 +0000)]
Merge "Don't pass $this by reference to SkinVectorStyleModules hook."
jenkins-bot [Thu, 23 Jan 2014 23:43:42 +0000 (23:43 +0000)]
Merge "Replace a bunch of extension_loaded() checks with checkPHPExtension()"
jenkins-bot [Thu, 23 Jan 2014 23:39:34 +0000 (23:39 +0000)]
Merge "Begin abstracting more of the database-specific search backend out"
Alexandre Emsenhuber [Sun, 15 Dec 2013 13:58:20 +0000 (14:58 +0100)]
Don't pass $this by reference to SkinVectorStyleModules hook.
Fix for Ica0b69ad95 (
8b6ed4d0).
$this cannot be changed, so there is not any reason to pass
it by reference.
Change-Id: I916ccabbaff9f60edb344550111f62c833bb137b
Platonides [Sat, 23 Nov 2013 19:20:23 +0000 (20:20 +0100)]
Replace a bunch of extension_loaded() checks with checkPHPExtension()
Change-Id: I7bd9bc3a753975f45e63532d4f07aeff853b9970
Brian Wolff [Wed, 11 Dec 2013 21:59:48 +0000 (14:59 -0700)]
Add $context to the ArticleFromTitle hook
Most of the time people wouldn't need this - this hook is mostly
used to inject a custom Article subclass for a specific
namespace to do fancy things, but lets give users the most
flexibility.
Asked for by leaves on irc.
Change-Id: I3386ff4abe0e5b3eb783604ae222b7703428db44
Simon Walker [Sun, 6 Oct 2013 03:18:40 +0000 (04:18 +0100)]
Fix git repository viewer URLs so they support more variants of the Wikimedia URLs
I've tested this against the URLs that are exposed within gitblit and gerrit, specifically:
* https://gerrit.wikimedia.org/r/p/mediawiki/extensions/AbuseFilter.git
* ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/AbuseFilter.git
* https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter
* ssh://stwalkerster@gerrit.wikimedia.org:29418/mediawiki/extensions/AbuseFilter
* https://stwalkerster@gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter
Change-Id: I36008eced60e32d554a5801bae155611f259f2d1
Liangent [Thu, 18 Oct 2012 09:33:15 +0000 (09:33 +0000)]
Create and move some functions for class ArrayUtils
Change-Id: Id9ca20925f49e314918810fb54b3819ba9cf9c39
Brian Wolff [Mon, 12 Aug 2013 14:24:11 +0000 (11:24 -0300)]
Follow-up I49b7d8a - Add api module for common metadata
Change-Id: I0d957891e0778ba0454f6fecb06524211506f6b9
Tyler Anthony Romeo [Tue, 21 May 2013 00:51:23 +0000 (00:51 +0000)]
Create ApiBase::requireAtLeastOneParameter helper
Added new ApiBase::requireAtLeastOneParameter() helper method for modules
that need one or more of a combination of parameters. The associated help
message function has also been added.
Change-Id: Iae6649ed503fdbf14b313d0be1a82f3dca8d7162
Kevin Israel [Thu, 23 Jan 2014 20:49:39 +0000 (15:49 -0500)]
AutoLoaderTest: Add support for class aliases
* Changed the regex to match class aliases, and added a check to
also ensure that all aliases for a class are in the same file as
the class (see
cb77e59f7c99 for explanation).
* Removed support for the seemingly unmaintained Parsekit extension
(no release since 2009, and known not to compile against PHP 5.4).
The test would currently fail if Parsekit were used anyway because
the class MyLocalSettingsGenerator is commented out.
Change-Id: I7be2352f4659abc7b4952a9f74a14d0cef911614
Translation updater bot [Thu, 23 Jan 2014 20:27:41 +0000 (20:27 +0000)]
Merge "Localisation updates from https://translatewiki.net."
jenkins-bot [Thu, 23 Jan 2014 20:27:00 +0000 (20:27 +0000)]
Merge "Add Status outparam for AbortNewAccount hook to fix API error handling"
Translation updater bot [Thu, 23 Jan 2014 20:05:14 +0000 (20:05 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: I6034169b0cb9f50d581683b2b66854a733c552c7
jenkins-bot [Thu, 23 Jan 2014 20:04:07 +0000 (20:04 +0000)]
Merge "Split documentation for $wgRCLinkLimits/$wgRCLinkDays"
jenkins-bot [Thu, 23 Jan 2014 19:13:03 +0000 (19:13 +0000)]
Merge "Remove `login-throttled` system message reuse"
jenkins-bot [Thu, 23 Jan 2014 18:12:41 +0000 (18:12 +0000)]
Merge "Remove the fade in image in favour of background gradient"
jrobson [Wed, 22 Jan 2014 00:43:04 +0000 (16:43 -0800)]
Remove the fade in image in favour of background gradient
* Introduces vertical-gradient mixin (tried and tested
in MobileFrontend)
* Add additional LESS variables
* Just dont give versions with no vertical gradient support a fade
effect - it's not a big deal
* Save a single asset download
Change-Id: Ie36708f32edf0d83a0be843c115ad82d8014e4e1
Brion Vibber [Fri, 17 Jan 2014 20:26:41 +0000 (12:26 -0800)]
Add Status outparam for AbortNewAccount hook to fix API error handling
With this fix and relevant fix for ConfirmEdit in, an API account creation
attempt that fails the captcha check will return a much cleaner error such as:
{
'error': {
'code': 'captcha-createaccount-fail',
'info': 'Incorrect or missing CAPTCHA.'
}
}
Abort hooks that use the old interface and send a text message will now
be reported with the generic 'createaccount-hook-abort' message code, with the
string passed back intact.
Previously, the returned result would list the contents of the message
_as_ the error code, making it hard for a client to determine the error.
'AbortNewAccount' hook clients can add a '&$status=null' function paramater
on their signature, and along with the back-compat message parameter
you can set something like:
$msg = wfMessage( 'captcha-createaccount-fail' )->text(); // back-compat
$status = Status::newFatal( 'captcha-createaccount-fail' ); // new
This is done for ConfirmEdit in If9cc08e
Bug: 60008
Change-Id: I6ae34c00d1051d34363b6d654424be17dcb1ea30
jenkins-bot [Thu, 23 Jan 2014 18:01:05 +0000 (18:01 +0000)]
Merge "Installer: Remove two environmental checks"
jenkins-bot [Thu, 23 Jan 2014 17:55:34 +0000 (17:55 +0000)]
Merge "(Bug 60030) Use $content of the hook for toc hiding"
umherirrender [Sun, 19 Jan 2014 20:27:15 +0000 (21:27 +0100)]
Split documentation for $wgRCLinkLimits/$wgRCLinkDays
Each var should have it own doc block
Change-Id: Iec2b37687c009be9412103081ff5fc020c6dad03
Adrian Lang [Thu, 23 Jan 2014 09:21:57 +0000 (10:21 +0100)]
Correct Title::getInterwiki method name case on call
Change-Id: Iad9652b3d43ec1d80a8152c41f114acaa7ec3997
jenkins-bot [Thu, 23 Jan 2014 06:56:54 +0000 (06:56 +0000)]
Merge "Generate CSS for KSS through ResourceLoader"
Kevin Israel [Wed, 22 Jan 2014 22:23:09 +0000 (17:23 -0500)]
Installer: Remove two environmental checks
* envCheckPHP531: Message is outdated ("downgrade to 5.3.0"; the
current minimum PHP version is 5.3.2), and PHP Bug #50394 has
not reappeared in any later version.
* envCheckZE1: zend.ze1_compatibility_mode was removed in 5.3.0.
Also updated the error message for envCheckBrokenXML to remove
the "Upgrade to PHP 5.2.9 or later" wording.
Change-Id: Ifc8754151dd23a0314c6739cb78c7ac61a306bc4