Bartosz Dziewoński [Fri, 8 Nov 2013 20:00:00 +0000 (21:00 +0100)]
Remove 'prefsnologin' message, don't use 'watchnologin' where inappropriate
There is no reason why the default can't be used instead.
No other special pages requiring login have special messages for the
title, as far as I know.
Left one use of 'watchnologin' in WatchAction alone, since it also uses
another special message there. This message is also currently used by
the MobileFrontend extension.
Change-Id: I7878ed3692358cee1f5785b34ab48a0cc83c05bc
Bartosz Dziewoński [Sat, 12 Oct 2013 17:00:23 +0000 (19:00 +0200)]
Consistently handle anonymous users on logged-in-only special pages
Added new helper function SpecialPage#requireLogin() to check if the
current user is logged in and, if not, format an error message linking
to Special:Userlogin and throw UserNotLoggedIn exception, to be
handled by OutputPage later.
Reused old error messages. Not all use the new parameter and they're
very inconsistent, but this is a matter for another patch.
Used it on 7 special pages. I don't think there are any other ones
which specifically require having an account, instead of just some
rights usually associated with logged-in users.
* SpecialChangeEmail
* SpecialChangePassword: It allows anonymous users under specific
circumstances, but is logged-in-only in general.
* SpecialConfirmemail
* SpecialEditWatchlist
* SpecialPreferences
* SpecialResetTokens: It was missing the check, added it.
* SpecialWatchlist
Change-Id: I43ceaddb370d09784021b3fc2d5d1ff6616fef1f
Chad Horohoe [Fri, 8 Nov 2013 18:55:57 +0000 (10:55 -0800)]
Anons should not be able to use the change e-mail form at all
They already bailed out on GET, but we should bail here on POST
rather than bait-and-switching.
Change-Id: Iaf0474e89d7e660e2025e02bda146aa23ecc592b
jenkins-bot [Fri, 8 Nov 2013 18:03:33 +0000 (18:03 +0000)]
Merge "Support CIDR ranges in $wgSquidServersNoPurge"
Alexandre Emsenhuber [Fri, 8 Nov 2013 17:45:42 +0000 (18:45 +0100)]
Correct tooltip of "Next n results" on query special pages.
Was showing "Previous n results".
Bug: 56707
Change-Id: I9f51d70f9e1fe3c314a1226950f1324ab22f4199
jenkins-bot [Fri, 8 Nov 2013 16:02:41 +0000 (16:02 +0000)]
Merge "Let mw.util.addCSS also return a CSSStyleSheet in IE8"
jenkins-bot [Fri, 8 Nov 2013 15:57:52 +0000 (15:57 +0000)]
Merge "Improve variable naming in EnhancedChangesList"
jenkins-bot [Fri, 8 Nov 2013 14:51:14 +0000 (14:51 +0000)]
Merge "Fix call to function applyPatch in MysqlUpdater"
umherirrender [Fri, 8 Nov 2013 14:32:51 +0000 (15:32 +0100)]
Let mw.util.addCSS also return a CSSStyleSheet in IE8
The IE8 has a 'styleSheet' attribute instead of a 'sheet' attribute
Change-Id: I83fc602a43cae7d2d9be32ea6fef84bc5129dbb9
aude [Fri, 8 Nov 2013 11:20:58 +0000 (11:20 +0000)]
Improve variable naming in EnhancedChangesList
Make clearer when we are dealing with an RCCacheEntry
vs. ordinary RecentChange object.
Change-Id: Id9342b033d46b9b700bd021c451d6f817cd25845
jenkins-bot [Fri, 8 Nov 2013 13:09:42 +0000 (13:09 +0000)]
Merge "Add convenience maintenance script wrapper"
Brad Jorsch [Thu, 22 Aug 2013 17:47:23 +0000 (13:47 -0400)]
Allow ParserLimitReportFormat to change $value
It's likely that an extension might want to reformat the value (e.g. by
passing it through Language::formatSize()), but otherwise use the
default behavior for the key. Make $value a reference parameter so they
don't have to reimplement all the logic for laying out the row.
Change-Id: I7799616a602d90e1b8d3f0ece35811ca387bade7
Chad Horohoe [Wed, 6 Nov 2013 23:31:25 +0000 (15:31 -0800)]
Work around HHVM bug with stdin/stdout in proc_open()
Bug: 56597
Change-Id: I06122d82fce4567be110ca25010c244dd9269c57
Aaron Schulz [Thu, 7 Nov 2013 20:51:10 +0000 (12:51 -0800)]
filebackend: improved "adviseStat" performance
* Use the normal page size instead of limiting it way down to the cache
size. Track the stat information in the pages and load into into the
stat cache as entries are accessed. This should also be less prone to
evictions causing HEAD requests (or memcached hits).
* Also bumped CACHE_CHEAP_SIZE up to 500.
* Fix a few doc bits
Change-Id: I8d44a072e7bcc56c83d8d9c8c9ac9864530bccf8
Aaron Schulz [Fri, 8 Nov 2013 00:28:09 +0000 (16:28 -0800)]
Speed up thumbnail purging a bit for stash script
Change-Id: Ie0f3d5aa505a5c1554d7932d38ba376811590df1
jenkins-bot [Thu, 7 Nov 2013 23:51:40 +0000 (23:51 +0000)]
Merge "FormOptions: Implement FLOAT type"
jenkins-bot [Thu, 7 Nov 2013 23:49:01 +0000 (23:49 +0000)]
Merge "Set visibility for class property of RegexlikeReplacer"
jenkins-bot [Thu, 7 Nov 2013 23:47:11 +0000 (23:47 +0000)]
Merge "Set visibility on class properties of ExplodeIterator"
jenkins-bot [Thu, 7 Nov 2013 23:45:27 +0000 (23:45 +0000)]
Merge "Set visibility on class properties of ReplacementArray"
jenkins-bot [Thu, 7 Nov 2013 23:14:52 +0000 (23:14 +0000)]
Merge "Simplify watchlist edit mode handling"
Bartosz Dziewoński [Sat, 12 Oct 2013 15:34:15 +0000 (17:34 +0200)]
FormOptions: Implement FLOAT type
Also added WebRequest#getFloat().
Change-Id: I854f09bd26287880a2806852274471904bc33092
jenkins-bot [Thu, 7 Nov 2013 22:42:47 +0000 (22:42 +0000)]
Merge "Remove stupid one-cell table"
jenkins-bot [Thu, 7 Nov 2013 22:35:23 +0000 (22:35 +0000)]
Merge "Set visibility of class properties of HashtableReplacer"
jenkins-bot [Thu, 7 Nov 2013 22:34:13 +0000 (22:34 +0000)]
Merge "wikibits: Add some missing deprecation messages"
Bartosz Dziewoński [Thu, 7 Nov 2013 22:06:15 +0000 (23:06 +0100)]
wikibits: Add some missing deprecation messages
Follow-up to Iab65de1a.
Change-Id: I8925f7dc34b295d6ae3704813e18a4b191f08819
Siebrand Mazeland [Thu, 7 Nov 2013 22:05:55 +0000 (23:05 +0100)]
Set visibility for class property of RegexlikeReplacer
Only used in StringUtils::delimiterReplace(). Search core and 600+
extensions.
Change-Id: Ibbf0edd1143f7bd2dc39e9ad913d1e4a38f60dfc
Siebrand Mazeland [Thu, 7 Nov 2013 22:02:03 +0000 (23:02 +0100)]
Set visibility on class properties of ExplodeIterator
Set to private. Only used in StringUtils::explode(). Searched
core and 600+ extensions.
Change-Id: Idbf981d1864f45bbb4adce08803dc693d9a5c200
Siebrand Mazeland [Thu, 7 Nov 2013 21:48:37 +0000 (22:48 +0100)]
Set visibility on class properties of ReplacementArray
Usages in:
Core:
* HtmlFormatter: No referenced properties.
* Language: No referenced properties.
* LanguageConverter subclasses: I think there are no referenced properties
here, but not 100% certain.
* Tidy: No referenced properties.
Extensions:
* AbuseFilter: No referenced properties.
* LiquidThreads: No referenced properties.
* Transliterator: No referenced properties.
* WYSIWIG: No referenced properties.
Change-Id: I1b2e3360468cbfc803ab884f999437e9b8c3758d
Siebrand Mazeland [Thu, 7 Nov 2013 21:46:41 +0000 (22:46 +0100)]
Set visibility of class properties of HashtableReplacer
Set to private. Not referenced in core or 600+ checked extensions.
Change-Id: I7275aa99fb9e4c0c0df9756c1b3433884a71f04c
Siebrand Mazeland [Thu, 7 Nov 2013 21:39:48 +0000 (22:39 +0100)]
Declare visibility on class properties
Set to protected, so they are accessible when subclassed. Grepped core and
a little over 600 extensions for usage. Only usage found in UploadBase.php
and no direct usage of class properties.
Change-Id: Icb3a43867670f140f05643379c7acad34c6518c1
Siebrand Mazeland [Thu, 7 Nov 2013 21:34:34 +0000 (22:34 +0100)]
Declare visibility on class property
Checked core and extensions for possible usage. Found no occurrences. Make
protected, so it is accessible when subclassed.
Change-Id: I5f25cbaf20215bce9c9d614c76df906c6b9cba93
Siebrand Mazeland [Mon, 4 Nov 2013 10:02:48 +0000 (11:02 +0100)]
Address some PHP CodeSniffer errors and warnings
Change-Id: I495481e3532834f1f8a45cda9402d609de7e2bd7
Siebrand Mazeland [Mon, 4 Nov 2013 10:02:48 +0000 (11:02 +0100)]
Remove underscore from CdbReader_[DBA|PHP] classes and related file
Also gets rid of some CodeSniffer errors. There are more cases in core
(cache, pool counter, installer, database, load balancer, diff, CSS
Janus, less (argh!), media, parser, revdel, ...), that have class names
with underscores I'd be trying to get rid of later.
Change-Id: I33709c05e597978a5574a445fa43c583cbd7e12b
jenkins-bot [Thu, 7 Nov 2013 21:14:00 +0000 (21:14 +0000)]
Merge "Remove deprecated ChangesList::newFromUser function"
Translation updater bot [Thu, 7 Nov 2013 20:17:17 +0000 (20:17 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ieec9d2dd657cfaea9d0e00e225b9b5a30ffa9acd
Bryan Davis [Thu, 7 Nov 2013 19:59:13 +0000 (12:59 -0700)]
Support CIDR ranges in $wgSquidServersNoPurge
Use IP::isInRange() in wfIsConfiguredProxy() to allow matching against
CIDR entries in $wgSquidServersNoPurge. This will allow maintainers of
large networks to whitelist contiguous blocks of IPv4 and/or IPv6
addresses as trusted X-Forwarded-For providers.
This change also makes a small change to
WebRequestTest::testGetIpLackOfRemoteAddrThrowAnException() which was
failing under some configurations due to non-default globals
configuration.
Bug: 52829
Change-Id: I49e34bdf13e8e8c6cd169c362c283fe1034bdc6d
aude [Tue, 5 Nov 2013 15:54:16 +0000 (15:54 +0000)]
Add convenience maintenance script wrapper
Useful for scripts or extensions installed in non-standard locations.
Example usage:
php maintenance/runScript.php
extensions/Wikibase/lib/maintenance/dispatchChanges.php
Change-Id: I6ffc72f41f3f96dd535a427d90c7166372459bd2
jenkins-bot [Thu, 7 Nov 2013 19:36:22 +0000 (19:36 +0000)]
Merge "Cleaned up DatabaseBase constructor to use an array"
jenkins-bot [Thu, 7 Nov 2013 18:56:24 +0000 (18:56 +0000)]
Merge "Add rc.unpatrolled to the recentchanges API"
Matthias Mullie [Wed, 11 Sep 2013 20:03:10 +0000 (13:03 -0700)]
Use anon-specific text in Article::showMissingArticle
Just like Article::getContentObject(), Article::showMissingArticle()
should display noarticletextanon for non-logged-in editors instead of
noarticletext.
Change-Id: I7003a1d331437e0a2a1f3aabfbe8793b37200f8b
jenkins-bot [Thu, 7 Nov 2013 18:09:27 +0000 (18:09 +0000)]
Merge "Migrate usage of wikibits in legacy protect.js and upload.js"
jenkins-bot [Thu, 7 Nov 2013 18:04:21 +0000 (18:04 +0000)]
Merge "Declare visibility on Autoloader::$autoloadLocalClassesLower"
jenkins-bot [Thu, 7 Nov 2013 17:57:18 +0000 (17:57 +0000)]
Merge "Add close elements through code"
jenkins-bot [Thu, 7 Nov 2013 17:49:56 +0000 (17:49 +0000)]
Merge "Break long lines"
jenkins-bot [Thu, 7 Nov 2013 17:45:41 +0000 (17:45 +0000)]
Merge "Move files with tests to reflect the code"
Siebrand Mazeland [Thu, 7 Nov 2013 16:50:23 +0000 (17:50 +0100)]
Declare visibility on Autoloader::$autoloadLocalClassesLower
Make protected, add method to allow tests to clear the protected class
property, and remove a now unneeded class from the test.
Change-Id: I269cab8d3f4419c91dfe15d5722e19ff6da828d1
Timo Tijhof [Thu, 7 Nov 2013 17:35:24 +0000 (18:35 +0100)]
Migrate usage of wikibits in legacy protect.js and upload.js
Follows-up
fcf4934a52.
protect:
* Use jQuery instead.
* Removing now-obsolete dependency.
* Make cell.appendChild more obvious and potentialy faster
by grouping the dom actions in 1 sequence.
config:
* Removing obsolete dependency.
upload:
* Use jquery.spinner instead.
* Removing now-obsolete dependency.
jquery.spinner:
* While at it, updated documentation to be included in our
jsduck index, similar to jquery.localize.
jsduck/external.js:
* Added @static to jQuery.ajax which was missing, it showed up
between instance methods like jQuery#injectSpinner.
The only module left using mediawiki.legacy.wikibits is
mediawiki.legacy.ajax which remains in tact for now.
Bug: 56726
Change-Id: I712112626a99dc2d0090f554c56052770cd0ae88
jenkins-bot [Thu, 7 Nov 2013 17:36:13 +0000 (17:36 +0000)]
Merge "Rename mw.util.wikiGetlink to getUrl"
Siebrand Mazeland [Tue, 8 Oct 2013 16:33:06 +0000 (18:33 +0200)]
Add close elements through code
Change-Id: I517221ebcc062477f315c6716e74056c754988a0
Siebrand Mazeland [Thu, 7 Nov 2013 17:10:50 +0000 (18:10 +0100)]
Break long lines
Fixes CodeSniffer errors/warnings.
Change-Id: I6417072270ec7236ad2412abda6f6afce189f0fd
Siebrand Mazeland [Thu, 7 Nov 2013 16:57:46 +0000 (17:57 +0100)]
Move files with tests to reflect the code
Change-Id: I7949457fb1ad056dc3db09b43ecf73bc8a61d5a8
jenkins-bot [Thu, 7 Nov 2013 16:39:56 +0000 (16:39 +0000)]
Merge "Add parserTests for language converter markup."
umherirrender [Tue, 5 Nov 2013 18:58:13 +0000 (19:58 +0100)]
Fix call to function applyPatch in MysqlUpdater
Change-Id: Ieefc8968ae3d397482df939e5d1ccd15df0c4705
Brian Wolff [Sat, 28 Sep 2013 18:53:20 +0000 (15:53 -0300)]
Add the full resolution of a file to the list of "Other resolutions:"
There is a link below for the "Full Resolution" of the file, but I
think it is also good to also have this in with the size choices,
as the user may not realize the full resolution is not one of the
"other" resolution choices.
Additionally, some people have said it would be useful for tiff files
to have a link to a high resolution but converted to jpeg file.
See also gerrit change 86383. Bryan had a similar patch to this
on bug 31366
Change-Id: I771650017edee2f5e0240912835455f5ad62a9bb
jenkins-bot [Thu, 7 Nov 2013 15:58:42 +0000 (15:58 +0000)]
Merge "mw.Map: add ability to map over an existing object other than 'window'"
jenkins-bot [Thu, 7 Nov 2013 15:54:29 +0000 (15:54 +0000)]
Merge "Add "wgRelevantUserName" from skin to mw.config"
Bartosz Dziewoński [Fri, 18 Oct 2013 17:02:59 +0000 (19:02 +0200)]
Rename mw.util.wikiGetlink to getUrl
Old name still works, but is deprecated.
The new one has the nice property of being the same as a function
defined on mw.Title which does the same thing.
Replaced all occurences throughout the codebase.
Bug: 55764
Change-Id: I8704a6620ece44d374e199c05464b8a553e12e74
jenkins-bot [Thu, 7 Nov 2013 14:30:38 +0000 (14:30 +0000)]
Merge "Update formatting"
AlephNull [Fri, 24 May 2013 15:14:40 +0000 (11:14 -0400)]
MySQL method to find out view + fix fatal in tests
We were missing a method to list out views defined in a database. This
patch adds in MysqlBase::isView() and MysqlBse::listViews().
Since listViews() cache its result in DatabaseBase::$allViews, we also
introduce a final DatabaseBase::clearViewsCache() to let us clear the
per process cache.
Finally, fixed fatal error when duplicating VIEWs in MySQL.
bug: 43571
Change-Id: I8650baa4b721fe69ea3e1d557dd76745c0c7754e
jenkins-bot [Thu, 7 Nov 2013 01:55:50 +0000 (01:55 +0000)]
Merge "Handle Swift JSON listings with unqualified timestamps"
jenkins-bot [Thu, 7 Nov 2013 01:43:00 +0000 (01:43 +0000)]
Merge "Cache page content language in Title object"
aude [Thu, 7 Nov 2013 01:14:28 +0000 (02:14 +0100)]
Remove deprecated ChangesList::newFromUser function
newFromUser() is unused in core and all extensions in gerrit,
except BlueSpiceExtensions RSSStandards. (there is a
patch for that I1455052)
Change-Id: I4559146cc0e9973e6e4f6297138cbfd8e387e8b7
Aaron Schulz [Thu, 7 Nov 2013 00:55:55 +0000 (16:55 -0800)]
Handle Swift JSON listings with unqualified timestamps
* Throw errors next time invalid timestamps are encountered
Change-Id: Ie5d6c63863cacbf7dc3bc3f408b395bdce859db9
Chad Horohoe [Thu, 7 Nov 2013 00:19:38 +0000 (16:19 -0800)]
Remove unused function
Change-Id: I68ad2093c08adba2a92344c7db0737c10db9d150
Chad Horohoe [Thu, 7 Nov 2013 00:18:54 +0000 (16:18 -0800)]
Remove unused function
Change-Id: I6a1386077282cbf8faf7b35311cd886e939c76a8
Chad Horohoe [Thu, 7 Nov 2013 00:09:29 +0000 (16:09 -0800)]
Remove unused function
Change-Id: I51975357c91295f757532ff219a8db8ca939ba0c
jenkins-bot [Wed, 6 Nov 2013 21:48:16 +0000 (21:48 +0000)]
Merge "Catch temp container thumbnails in cleanup script"
Translation updater bot [Wed, 6 Nov 2013 20:48:19 +0000 (20:48 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I32273978338fd36bd5d5fe8d916ccf801697e1ed
Aaron Schulz [Wed, 6 Nov 2013 20:47:49 +0000 (12:47 -0800)]
Catch temp container thumbnails in cleanup script
Change-Id: Iba2badac3abf08e5c4a409ccf10d831e0e9b341e
Aaron Schulz [Fri, 18 Oct 2013 20:05:08 +0000 (13:05 -0700)]
Cleaned up DatabaseBase constructor to use an array
Change-Id: I094185585dc844ca4d2d8b629107b2ab8f9bef39
jenkins-bot [Wed, 6 Nov 2013 19:50:34 +0000 (19:50 +0000)]
Merge "Don't show "Send code" button when email is already confirmed on Special:ConfirmEmail"
jenkins-bot [Wed, 6 Nov 2013 19:45:30 +0000 (19:45 +0000)]
Merge "Avoid fatal in ContentHandler::getUndoContent by null content"
jenkins-bot [Wed, 6 Nov 2013 19:24:00 +0000 (19:24 +0000)]
Merge "Move ManualLogEntry to RecentChange logic into own function"
jenkins-bot [Wed, 6 Nov 2013 19:06:42 +0000 (19:06 +0000)]
Merge "Change mode of non-executable files back to 0644"
Alexandre Emsenhuber [Sun, 3 Nov 2013 19:51:45 +0000 (20:51 +0100)]
Don't show "Send code" button when email is already confirmed on Special:ConfirmEmail
Also, consistently use "confirmed", rather than "authenticated", in the
Special:ConfirmEmail and Special:Preferences UI, when messaging whether
or not the user has confirmed an email address.
Bug: 56443
Change-Id: I6fca42ea4568c13bca6b10e19d17e023ed0eacca
jenkins-bot [Wed, 6 Nov 2013 18:36:56 +0000 (18:36 +0000)]
Merge "Add a RefreshLinks job when a template is deleted"
jenkins-bot [Wed, 6 Nov 2013 18:00:49 +0000 (18:00 +0000)]
Merge "Update comments a bit"
Brad Jorsch [Wed, 6 Nov 2013 17:51:23 +0000 (12:51 -0500)]
Add a RefreshLinks job when a template is deleted
When a template is deleted, all pages transcluding it need to be
reparsed so that entries for transcluding pages in the various links
tables due to the transcluded content are properly removed.
Bug: 5382
Change-Id: I838b546caa3f5887e6bd312017c1fa71d3c3463a
Siebrand Mazeland [Wed, 6 Nov 2013 17:53:07 +0000 (18:53 +0100)]
Update comments a bit
Change-Id: I12992379c7d87db4145ee7090f0fdd1622d3a797
Chad Horohoe [Tue, 5 Nov 2013 23:34:07 +0000 (15:34 -0800)]
Remove stupid one-cell table
Change-Id: Ia24c68378385adfd2a5c0bf7b9646bb1edc3d7e4
jenkins-bot [Wed, 6 Nov 2013 17:42:10 +0000 (17:42 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Wed, 6 Nov 2013 17:33:55 +0000 (17:33 +0000)]
Localisation updates from translatewiki.net.
Add support for Goan Konkani (gom-latn).
Change-Id: I8e6a2d01a94e680abca5334aa5560396ac49247b
jenkins-bot [Wed, 6 Nov 2013 17:23:01 +0000 (17:23 +0000)]
Merge "Introduce WebRequest::getProtocol()"
Tim Starling [Wed, 21 Aug 2013 05:35:40 +0000 (15:35 +1000)]
Introduce WebRequest::getProtocol()
The use of static server detection outside of its intended use case
(i.e. at the start of DefaultSettings.php), for example in r93258, was
an architectural error. Every other bit of information about the web
request in non-setup code comes from non-static methods of WebRequest,
which allows the request object to be meaningfully replaced or
subclassed. The situation became increasingly ridiculous as more
callers of WebRequest::detectProtocol() were introduced. Two of the
callers were calling it non-statically! I suppose they had the right
idea, in a way.
Using a non-static call allows caching, which is a nice additional
benefit.
WebRequest::detectProtocolAndStdPort() was introduced in r93258 as part of
the introduction of WebRequest::detectProtocol(). It was basically
useless. Grep indicates there was only one caller in core and WMF
deployed extensions, and it is patched here.
Change-Id: Ia0a61e98fbff7a46ceaeebcb02236e5eac3df0e1
physikerwelt (Moritz Schubotz) [Sun, 3 Nov 2013 21:52:17 +0000 (22:52 +0100)]
Mark Math-specific functions in core as deprecated
The math specific functions in core are not needed
anymore and should be removed in future versions.
Math can access these settings in the same way as
all other extensions do.
Since Math 2.0 the rendered element has the property
"markerType" => 'nowiki'
Change-Id: I20d3714bed9da864146f133a08cf4ca90eda42ab
jenkins-bot [Wed, 6 Nov 2013 16:20:21 +0000 (16:20 +0000)]
Merge "Update documentation"
Aaron Schulz [Fri, 1 Nov 2013 18:40:27 +0000 (11:40 -0700)]
filebackend: path normalization fixes
* Only normalize file path parameters, not other ones
* Actually use the normalized paths instead of throwing it away for the raw paths
Change-Id: I8d36735359f804371e2beae64e5ec6f792d87b27
jenkins-bot [Wed, 6 Nov 2013 14:22:10 +0000 (14:22 +0000)]
Merge "Use a more standard "Forgot your password?" in userlogin-resetpassword-link"
Antoine Musso [Mon, 28 Oct 2013 16:24:50 +0000 (17:24 +0100)]
Tests for MWExceptionHandler::jsonSerializeException
MWExceptionHandler::jsonSerializeException was introduced in Iacda90fb4. This
patch add tests that verify that JSON-serialized exceptions have the right set
of keys with the right types of values.
Change-Id: I37f2a837e2d26bf9780e56edc7ec039e8e447525
jenkins-bot [Wed, 6 Nov 2013 01:38:40 +0000 (01:38 +0000)]
Merge "Minor doc tweak"
jenkins-bot [Wed, 6 Nov 2013 00:16:40 +0000 (00:16 +0000)]
Merge "Fixed redis reconnect handling when passwords are used in luaEval()"
Aaron Schulz [Tue, 5 Nov 2013 22:43:49 +0000 (14:43 -0800)]
Fixed redis reconnect handling when passwords are used in luaEval()
Change-Id: Ifc974e6787d180f9b14624481ffe7c456f689254
jenkins-bot [Tue, 5 Nov 2013 22:27:35 +0000 (22:27 +0000)]
Merge "Added "maxPartitionsTry" option to JobQueueFederated"
Aaron Schulz [Tue, 5 Nov 2013 21:59:55 +0000 (13:59 -0800)]
Minor doc tweak
Change-Id: Ic028b8f11ece0c41ae0b22d9d3c91bbdff02af66
jenkins-bot [Tue, 5 Nov 2013 21:58:11 +0000 (21:58 +0000)]
Merge "Fixing documentation for memcached."
kaldari [Mon, 28 Oct 2013 05:09:13 +0000 (22:09 -0700)]
Fixing documentation for memcached.
I believe that MediaWiki's memcached client does support PECL now.
Also fixing a typo.
Change-Id: Ibcf9c25d077b19de733cc79b5664437479f23a3b
Translation updater bot [Tue, 5 Nov 2013 21:13:27 +0000 (21:13 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Tue, 5 Nov 2013 20:44:08 +0000 (20:44 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I0cb138f59a07949a93af2e0d69e974a35cd72b19
Ori Livneh [Sat, 27 Jul 2013 18:55:48 +0000 (11:55 -0700)]
Log JSON-formatted exceptions to 'exception-json' log bucket
Much of the original scope of this patch has been made redundant by other
patches, so it's nice and compact now. This patch makes MediaWiki serialize
exceptions to JSON and log them to an 'exception-json' log group.
To facilitate this, two related changes are included:
* Consolidated the code for annotating the exception with the request URL (if
the exception was encountered while responding to a request) in a method,
Exception->getURL.
* Removed the code path that checked for a falsey return value from
$wgRequest->getRequestURL() and set the url to '[no URL]'. ('[no req]' is
retained.) Nowadays getRequestURL() always returns a string (or throws an
exception). Wikimedia's cluster doesn't have a single '[no URL]' in its log
archives, which go back several months.
Change-Id: Iacda90fb401f6a45ed1ac1a991e0884663e6c0bf
Ori Livneh [Tue, 5 Nov 2013 20:22:35 +0000 (12:22 -0800)]
Release notes & comment fix for Ib0ece5d5d
Adds release notes and fixes two inaccurate comments added in Ib0ece5d5d
("Configurable log sampling via $wgDebugLogGroups").
Change-Id: I224a0319b7432300d3cb6f4d14e61ea9d36ee228