addshore [Wed, 5 Mar 2014 13:08:56 +0000 (14:08 +0100)]
Clean up ExportDemoTest
Change-Id: I28574b6c83cbd1128ad97b4868cc365336a7d4b8
addshore [Sat, 25 Jan 2014 13:26:03 +0000 (14:26 +0100)]
Remove unused stuff from tests
Change-Id: Iddabfbc80378b02fa4a2c58f80d50241be8105d3
umherirrender [Fri, 7 Mar 2014 20:25:13 +0000 (21:25 +0100)]
Let wildcard actions work in list=logevents&leaction=
The documentation of leaction= shows actions like "thanks/*", at the
moment this will result in a search for log_action='*', which is always
a empty list.
Changing the validation of param leaction to allow specific any string
for the asterisk in this wildcard action.
Change-Id: Ia77e499909ce6f25ce74617367fc5b622ea9a7c9
addshore [Fri, 7 Mar 2014 19:58:10 +0000 (20:58 +0100)]
Cleanup SampleTest.php
Removes stuff which isnt true
Change-Id: I9696fa2e7f969e1d4bcf234a05031fc9ed784227
jenkins-bot [Fri, 7 Mar 2014 19:50:41 +0000 (19:50 +0000)]
Merge "resourceloader: Consistently pass inDebugMode to encodeJsCall() in load.php"
Addshore [Fri, 7 Mar 2014 19:33:14 +0000 (19:33 +0000)]
Merge "tests: Add ResourceLoaderTestCase and abstract context creation"
jenkins-bot [Fri, 7 Mar 2014 19:23:18 +0000 (19:23 +0000)]
Merge "LocalSettings.php must be readable by the server"
Timo Tijhof [Fri, 7 Mar 2014 18:29:23 +0000 (19:29 +0100)]
tests: Add unit tests for ResourceLoaderStartupModule
Change-Id: I7671813e1d7b4ea75265608c22d8efe8805560e4
jenkins-bot [Fri, 7 Mar 2014 19:12:14 +0000 (19:12 +0000)]
Merge "doc: Clean up documentation in ResourceLoader.php"
Timo Tijhof [Fri, 7 Mar 2014 17:49:50 +0000 (18:49 +0100)]
resourceloader: Consistently pass inDebugMode to encodeJsCall() in load.php
Still quite a few were being minified unconditinally. This is in
preparation for adding unit tests for the startup module where
it'll make reading the unit tests (and looking at the diff in case
of a failure) a lot easier if the strings aren't minified.
Change-Id: Ia06787e0ce608fcafac4596c980606d06107f517
Timo Tijhof [Fri, 7 Mar 2014 17:18:31 +0000 (18:18 +0100)]
tests: Add ResourceLoaderTestCase and abstract context creation
Change-Id: Ib4b265256e60a2f2109da73dc7edba6a75587ce2
Timo Tijhof [Fri, 7 Mar 2014 16:50:57 +0000 (17:50 +0100)]
doc: Clean up documentation in ResourceLoader.php
Change-Id: I33e47e1bfb7dbff1304e56033c62fb80dfefdcf0
umherirrender [Fri, 7 Mar 2014 18:11:09 +0000 (19:11 +0100)]
LocalSettings.php must be readable by the server
Change check in WebStart to is_readable and output a different
text on NoLocalSettings template, when the file exists.
Bug: 61094
Change-Id: I4dbdb33e468bc731fa1d6eef8e0f66e1d552d0f8
Nik Everett [Fri, 7 Mar 2014 15:39:21 +0000 (10:39 -0500)]
Have ApiRunJobs run periodic tasks
Without this apirunjobs can't handle delayed jobs.
Small inline comment updates as well.
Change-Id: I85ba0ac99eaebc16eaa7e2eb7019546241f3149c
jenkins-bot [Fri, 7 Mar 2014 15:15:07 +0000 (15:15 +0000)]
Merge "Fix Uzbek converter"
jenkins-bot [Fri, 7 Mar 2014 13:19:48 +0000 (13:19 +0000)]
Merge "i18n: use "int:" for consistency"
Ori Livneh [Thu, 6 Mar 2014 04:53:03 +0000 (20:53 -0800)]
Update lessphp to
b7cd5c79e8
Source:
* https://github.com/leafo/lessphp/blob/
b7cd5c79e8/lessc.inc.php
* https://github.com/leafo/lessphp/compare/
261f1bd2...
b7cd5c79e8
Updates:
*
1d62556008: CS fixes
*
d3fd5cec9e: use the built-in php magic database instead of the system one
*
34fdf60f32: data-uri: add tests and use lessc::findImport to locate the file
*
72b25725d9: implement data-uri([mimetype,] url) from less.js 1.4.0
*
5cf7eb272e: Update lessc.inc.php
*
7e64e41a59: Fix color contrast and threshold calculation
*
69adc23a92: Use property_exist to avoid "Undefined property: stdClass::$parent"
Change-Id: Ie626b4f1117b44669bd2c6c43a0186d95b36435a
jenkins-bot [Thu, 6 Mar 2014 23:50:25 +0000 (23:50 +0000)]
Merge "Add visibility in PoolCounter classes"
jenkins-bot [Thu, 6 Mar 2014 23:49:04 +0000 (23:49 +0000)]
Merge "Fix undefined property in PoolCounterWork"
aude [Thu, 6 Mar 2014 23:37:42 +0000 (00:37 +0100)]
Add visibility in PoolCounter classes
Change-Id: Ieb8916235fa37247aa11a4d1fad59d929997d0e6
aude [Thu, 6 Mar 2014 23:32:47 +0000 (00:32 +0100)]
Fix undefined property in PoolCounterWork
Change-Id: I033288d31dcef2120eb9239d1bc690d5cb0edda6
jenkins-bot [Thu, 6 Mar 2014 22:42:48 +0000 (22:42 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (
8b13d2b7f7)"
jenkins-bot [Thu, 6 Mar 2014 22:42:46 +0000 (22:42 +0000)]
Merge "jsduck: Clean up odd use of @returns instead of @return"
James D. Forrester [Thu, 6 Mar 2014 22:13:08 +0000 (14:13 -0800)]
Update OOjs UI to v0.1.0-pre (
8b13d2b7f7)
New changes:
b983861 Fix OO.ui.ButtonOptionWidget documentation header
621a966 doc: Improve and fix minor issues in base classes
59665a2 Localisation updates from https://translatewiki.net.
d9a0a7d Add icon and indicator widgets
Change-Id: I5cd34605aa13b3cd24dbda5e4c9a5ac9e4584561
Umherirrender [Thu, 6 Mar 2014 20:25:59 +0000 (21:25 +0100)]
Revert "Rollback: Make update of recentchanges table later"
The automatic patrolling on a already rolled rollback should be kept,
see bug 62157.
Bug: 62157
This reverts commit
e6980c32f11a9ed3ed1bf7068d5ff569cb43b457.
Change-Id: I3b626452a0bab11e8b2a12545976cbd1df92ae1f
addshore [Thu, 6 Mar 2014 20:19:15 +0000 (21:19 +0100)]
Revert "Add getMessage tests with Short and Long Contexts"
Looking at the getMessage function the long and
short contexts should be strings not bools.
I was misslead by the defaults thus these tests
aren't actually testing much and should be removed
to avoid misslead more people!
This reverts commit
cd9711ea350e9367829702eddc0adad8c9d88afb.
Change-Id: I889d42f720bf678a3543860893d0fedfca757dce
Translation updater bot [Thu, 6 Mar 2014 20:14:14 +0000 (20:14 +0000)]
Merge "Localisation updates from https://translatewiki.net."
jenkins-bot [Thu, 6 Mar 2014 20:12:18 +0000 (20:12 +0000)]
Merge "Add test for Message::params"
jenkins-bot [Thu, 6 Mar 2014 20:10:00 +0000 (20:10 +0000)]
Merge "Split MessageTest::testMessageParamTypes"
Translation updater bot [Thu, 6 Mar 2014 19:51:41 +0000 (19:51 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: I14a8aeb0af4aa632d89d7b6e27eca33bf855f46d
addshore [Thu, 6 Mar 2014 19:36:29 +0000 (20:36 +0100)]
Split MessageTest::testMessageParamTypes
Change-Id: I2099fa8a27a88bceb77c25e1ee08fb71eca318dc
addshore [Thu, 6 Mar 2014 19:23:22 +0000 (20:23 +0100)]
Add test for Message::params
Change-Id: I66098828d72ac6cb594bf886d5a7f61a8616a1a0
jrobson [Thu, 6 Mar 2014 17:48:13 +0000 (09:48 -0800)]
Revert "Warn on account creation when username is adjusted"
This reverts commit
a0c72523c7a2c9ca16329f903ca6b269ccccb787.
which has terrible effects on mobile.
Most browser inputs on a mobile phone default to lowercase meaning
a username with a lowercase starting character will always trigger the
warning.
This means the user will have to re-enter their passwords, fill out the captcha
again and their email again (as all these are sensitive and not retained when
reloading the form with the warning)
If this is truly wanted on desktop, more thought it needed for the mobile use
case.
Bug: 61416
Change-Id: I8b93e5a4ca687f87305ced4343dcb28ca2909939
jenkins-bot [Thu, 6 Mar 2014 17:18:02 +0000 (17:18 +0000)]
Merge "Give links to a user's suppressed edits on Special:Contribs"
Timo Tijhof [Thu, 6 Mar 2014 15:08:47 +0000 (16:08 +0100)]
jsduck: Clean up odd use of @returns instead of @return
The fast majority in core uses @return, a handful were using
@returns though (which works because JSDuck supports it as alias
for @return).
Also cleaned up minor things in touched areas:
* Hoist second description for jQuery.matchSrcSet (there can only
be one, it was currently interpreted as continuation of the
@return caption).
* Remove redundant @method.
Change-Id: I15d1d023f0424e38c58a252139e6bb2f0b36d2b4
aude [Tue, 25 Feb 2014 08:23:32 +0000 (09:23 +0100)]
Add visibility to DifferenceEngine methods
Change-Id: I415719442ca1778be36f173067d4b090fbe9265a
jenkins-bot [Thu, 6 Mar 2014 14:18:15 +0000 (14:18 +0000)]
Merge "Add test to validate special page aliases"
jenkins-bot [Thu, 6 Mar 2014 13:19:18 +0000 (13:19 +0000)]
Merge "Added and updated Doxygen comments in content handler and diff namespaces"
jenkins-bot [Thu, 6 Mar 2014 12:08:04 +0000 (12:08 +0000)]
Merge "jquery.makeCollapsible.test: Minor clean up"
jenkins-bot [Thu, 6 Mar 2014 12:05:06 +0000 (12:05 +0000)]
Merge "Remove tests for jquery.delayedBind (deprecated)"
Timo Tijhof [Thu, 6 Mar 2014 02:54:42 +0000 (03:54 +0100)]
jquery.makeCollapsible.test: Minor clean up
* Combine plain var statements.
* Remove odd new line before `QUnit.start();` (the other tests
didn't have it).
Change-Id: Ibd3bf643797358f9bb027a1b3b1264fb67f4f7f4
Timo Tijhof [Fri, 28 Feb 2014 21:29:55 +0000 (22:29 +0100)]
Remove tests for jquery.delayedBind (deprecated)
It's slated to be removed and deprecation warnings
are polluting test output.
Change-Id: I880d75874926f0945f9aba72cc176fb6eda6195b
Thiemo Mättig [Mon, 3 Mar 2014 17:08:05 +0000 (18:08 +0100)]
Added and updated Doxygen comments in content handler and diff namespaces
Reasons for touching this are:
* "@param type $var" were mixed in a lot of places. Both works but the
MediaWiki coding conventions suggest that specific order.
* Things like String and Bool aren't objects and shouldn't be uppercase.
* Tried to fill missing types in "@param $var".
* Tried to fill missing descriptions in "@return type" when I could.
* Removed duplicate descriptions if a @see is sufficend.
* Removed useless descriptions ("isUsefull returns true if usefull").
* Removed useless @return void.
* Replaces mixed[] with array (does have the exact same meaning).
* Tried to find better replacements for "varargs", phpDocumentor
suggest $var,...
* Order should be @since, @param, @throws, @return, @see. This is the
order Doxygen renders this.
There is always more to do but I think this is already much better
than before. Please feel free to put more change sets on top of mine
or request more changes by adding comments.
Change-Id: I05262ce06caabf79f68772302524ac91bbead1c6
jenkins-bot [Thu, 6 Mar 2014 07:20:17 +0000 (07:20 +0000)]
Merge "API: Fix logic for list=recentchanges prop=userid"
Brad Jorsch [Thu, 6 Mar 2014 03:57:24 +0000 (22:57 -0500)]
API: Fix logic for list=recentchanges prop=userid
When prop=userid is requested, we need the rc_user field; when prop=user
is requested, we need both rc_user and rc_user_text.
But for some reason when only prop=userid is requested the code is
requesting only rc_user_text and not rc_user. Fix that.
Bug: 62301
Change-Id: I86f1f35ebd18e45335cdf43ab3ba0a3e9b0e06b4
Timo Tijhof [Thu, 6 Mar 2014 03:15:01 +0000 (04:15 +0100)]
Update SinonJS to v1.9.0
Source:
* http://sinonjs.org/releases/sinon-1.9.0.js
* http://sinonjs.org/releases/sinon-ie-1.9.0.js
Changelog:
* http://sinonjs.org/Changelog.txt
Change-Id: I754ec906c2fc61b0e55bb61876fc7aafe2b3a67c
James D. Forrester [Thu, 6 Mar 2014 01:18:49 +0000 (17:18 -0800)]
Update OOjs UI to v0.1.0-pre (
e1b23620c0)
New changes:
e1b2362 Rename OO.ui.MenuSectonItemWidget.less to the right name
Change-Id: I2a147ae2a86e8c893829798f133c249e4c9759af
James D. Forrester [Thu, 6 Mar 2014 00:08:51 +0000 (16:08 -0800)]
Update OOjs UI to v0.1.0-pre (
e4f6ce0156)
New changes:
b19e296 Localisation updates from https://translatewiki.net.
4813d30 WindowSet: Add support for overriding the creation a window
218d29f Localisation updates from https://translatewiki.net.
50fd396 Add more dialog sizes and make them switchable
22f405e Make it possible to toggle the outline in a booklet layout
e4f6ce0 Hack for preventing opacity-related rendering glitches
Change-Id: If55568c69333d4749b285408d27fa6e9e42a7f37
jenkins-bot [Wed, 5 Mar 2014 23:52:58 +0000 (23:52 +0000)]
Merge "Fix jQuery compatibility issues in jquery.color.js"
Gergő Tisza [Thu, 27 Feb 2014 00:26:50 +0000 (00:26 +0000)]
Fix jQuery compatibility issues in jquery.color.js
Fix two issues which caused jquery.color to be incompatible with
the currently used jQuery version:
* The $.fx.step hook in jquery.color.js relied on fx.state which is
not provided by current jQuery. This commit replaces it with
a manual flag (the same logic is used in the official jquery.color
plugin).
* It used $.curCSS which has been replaced by $.css.
Change-Id: I3aa0d912b21da40167124c646fb1b35beb277a33
jenkins-bot [Wed, 5 Mar 2014 23:42:50 +0000 (23:42 +0000)]
Merge "Warn on account creation when username is adjusted"
jenkins-bot [Wed, 5 Mar 2014 22:34:18 +0000 (22:34 +0000)]
Merge "qunit: Use sinon sandbox for mediawiki.api.parse.test"
jenkins-bot [Wed, 5 Mar 2014 21:32:56 +0000 (21:32 +0000)]
Merge "mw.loader.store: Wrap script eval in try/catch"
Bartosz Dziewoński [Thu, 20 Feb 2014 01:30:58 +0000 (02:30 +0100)]
Warn on account creation when username is adjusted
The user name can be adjusted due to various technical restrictions:
the first letter is capitalized, underscores are changed to spaces,
numerous other less visible changes happen. Some of these tweaks can
be unwanted by some users.
Generate a warning if that happens. If the user has JavaScript
enabled, the check happens entirely client-side – a little warning box
is shown, the user doesn't have to do anything. Otherwise the check
happens server-side and the user has to resubmit the form.
The way this is done makes it trivial to also check if the username
is invalid or already taken, so let's do that. It also means that we
can't check for all error conditions, e.g. these enforced by
extensions – that is still handled server-side. (Client-side we
intentionally never say that whatever the user typed in is valid – we
only warn when we know it's not.)
API behavior is unchanged.
Co-Authored-By: umherirrender <umherirrender_de.wp@web.de>
Co-Authored-By: Bartosz Dziewoński <matma.rex@gmail.com>
Bug: 34447
Bug: 61416
Change-Id: Ic461a5e597ad71b854dc65bbf8a395c0f55d1fc3
Translation updater bot [Wed, 5 Mar 2014 21:13:48 +0000 (21:13 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Translation updater bot [Wed, 5 Mar 2014 21:03:58 +0000 (21:03 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: Idcbfe9491adcb996ea88dc2bc9040e9640b6d4fc
jenkins-bot [Wed, 5 Mar 2014 21:02:34 +0000 (21:02 +0000)]
Merge "HTMLForm: Clean up 0 handling"
Brad Jorsch [Wed, 5 Mar 2014 20:15:41 +0000 (15:15 -0500)]
HTMLForm: Clean up 0 handling
PHP, particularly with in_array, really has problems with integer 0
versus non-numeric strings. Let's clean that up by converting values to
strings more agressively and using the $strict option to in_array.
Oddly enough, the one place where strict in_array was being used already
broke when If4175332 stringified the values in one array but not the
other.
Bug: 62268
Change-Id: Id34e654eb8d0e70d093b11445273e542e491e265
Spage [Wed, 5 Mar 2014 20:26:13 +0000 (20:26 +0000)]
Merge "Add mediawiki.ui.button to all pages so wiki content can use it"
jenkins-bot [Wed, 5 Mar 2014 20:03:02 +0000 (20:03 +0000)]
Merge "Sync up with Parsoid parserTests."
jenkins-bot [Wed, 5 Mar 2014 20:02:08 +0000 (20:02 +0000)]
Merge "Catch Serialization Exception in MediaWikiTestCase"
C. Scott Ananian [Wed, 5 Mar 2014 19:50:35 +0000 (14:50 -0500)]
Sync up with Parsoid parserTests.
This now aligns with Parsoid commit
5a274b028d774784d514439f4539507e52c8e05e
Change-Id: Ie2699166ac378f758145d41d727b18f8fa6072b4
addshore [Wed, 5 Mar 2014 19:50:20 +0000 (20:50 +0100)]
Catch Serialization Exception in MediaWikiTestCase
In the case that something is not serializable then
we should fall back and just set the value.
This is the case for Closures..
See
http://wikidata-jenkins.wmflabs.org/ci/job/wikidata-client-tests/748/console
Change-Id: Ib5f76932d60840a2f97671c134e18adc619974cd
jenkins-bot [Wed, 5 Mar 2014 19:44:53 +0000 (19:44 +0000)]
Merge "Add @deprecated hint to $j"
jenkins-bot [Wed, 5 Mar 2014 19:35:03 +0000 (19:35 +0000)]
Merge "mediawiki.api: Emit warning when deprecated callback parameters are used"
addshore [Wed, 5 Mar 2014 13:21:35 +0000 (14:21 +0100)]
Use setMwGlobals in ApiEditPageTest
Change-Id: If2b23d82816c87e454bfc2348e316bdb92d2809f
Mwalker [Wed, 5 Mar 2014 18:54:08 +0000 (18:54 +0000)]
Merge "Add tests exceptions"
Mwalker [Wed, 5 Mar 2014 18:52:29 +0000 (18:52 +0000)]
Merge "Make sure we don't use objects by ref in setMwGlobals"
Amir E. Aharoni [Fri, 21 Feb 2014 09:02:42 +0000 (13:02 +0400)]
Add a link to Special:WhatLinksHere in deleting-backlinks-warning
This was done in several Wikimedia projects and is pretty useful.
Change-Id: I06950d4aed16cc409c62e7aa4600fd9c2855fb8c
addshore [Wed, 5 Mar 2014 13:25:07 +0000 (14:25 +0100)]
Make sure we don't use objects by ref in setMwGlobals
If we copy am object by ref into our temporary array
then this doesn't really make this method very useful
as the same object would be restored, with any changes
after the test has run.
Thus objects should be cloned when being dumped in
here, we use unserialize() and serialize() instead as
we would also want to clone the objects within the
object to avoid changes in there!
These is no point in adding an if is_object call so
we just serialize and deserialize everything!
Change-Id: I5e4ef114405888932014edae6b44afc6ee2c4863
umherirrender [Wed, 5 Mar 2014 18:15:07 +0000 (19:15 +0100)]
Add @deprecated hint to $j
Follow-Up: I871a0906730a1038311256e3e6e8ce3a293bd9ca
Change-Id: I0d9204ea354316ca11f568c81ad38f4089c91e80
Timo Tijhof [Wed, 5 Mar 2014 16:32:37 +0000 (17:32 +0100)]
qunit: Use sinon sandbox for mediawiki.api.parse.test
This is the last of the mediawiki.api tests that was still making
real requests.
This test had become a parser test for no reason. It is supposed
to test the logic in mediawiki.api.parse which is only:
* making the correct request url
* extract data from response
Change-Id: I9b6eeabe1baa1de7d77623902ef71ba031eb40ac
Bartosz Dziewoński [Fri, 27 Dec 2013 22:00:50 +0000 (23:00 +0100)]
mw.loader.store: Wrap script eval in try/catch
All sorts of things can happen to our localStorage entry, from
clueless users through malicious scripts and browser bugs to hard disk
failures. Let's not explode irrecoverably when the code from store
refuses to execute.
Bug: 57567
Change-Id: I1b40a82595fe37dfeeb3648f7ecfbcac01bf9079
jenkins-bot [Wed, 5 Mar 2014 13:40:55 +0000 (13:40 +0000)]
Merge "Re-sync OOjs and OOjs UI update scripts"
tonythomas01 [Wed, 5 Mar 2014 11:41:15 +0000 (17:11 +0530)]
Deprecate window.$j
Bug: 62198
Change-Id: I871a0906730a1038311256e3e6e8ce3a293bd9ca
helderwiki [Thu, 27 Feb 2014 13:33:46 +0000 (10:33 -0300)]
mediawiki.api: Emit warning when deprecated callback parameters are used
The "ok" and "err" parameters have been deprecated since
031910f7fe.
Bug: 61372
Change-Id: I38faa01128a66a7a4442602b29a6492c7e073e20
robin [Wed, 5 Mar 2014 00:34:16 +0000 (01:34 +0100)]
Fix Uzbek converter
Improve the Latin to Cyrillic conversion of "e" per https://meta.wikimedia.org/w/index.php?title=User_talk:SPQRobin&oldid=
7720901#Request
The code of this change is inspired on LanguageKk.php
As far as I tested, it works as intended
Change-Id: I20f293c8d1f753af7b5344543ec2ce459edcba0c
jenkins-bot [Wed, 5 Mar 2014 12:22:39 +0000 (12:22 +0000)]
Merge "code-quality: Special:PrefixIndex is transcludable"
Danny B [Sat, 7 Dec 2013 02:57:16 +0000 (03:57 +0100)]
code-quality: Special:PrefixIndex is transcludable
Replacing 'id' attribute with 'class' to prevent pages' HTML from
becoming invalid due to using the same id.
Change-Id: Ibf561318a5005424e8920e693a62ccdb05bbd765
jenkins-bot [Wed, 5 Mar 2014 11:14:41 +0000 (11:14 +0000)]
Merge "mediawiki.page.ajax.watch: Clean up and simplify code"
jenkins-bot [Wed, 5 Mar 2014 09:06:35 +0000 (09:06 +0000)]
Merge "mediawiki.debug: Migrate CSS to LESS"
Matthew Flaschen [Tue, 18 Feb 2014 21:53:06 +0000 (16:53 -0500)]
Add mediawiki.ui.button to all pages so wiki content can use it
Change-Id: I835f3eb9370982e2696a2af5aad451eda7cd786d
jenkins-bot [Wed, 5 Mar 2014 07:46:33 +0000 (07:46 +0000)]
Merge "Add site by navigation id feature to SiteList"
Prateek Saxena [Sun, 2 Mar 2014 04:08:24 +0000 (09:38 +0530)]
mediawiki.debug: Migrate CSS to LESS
(first step to make some minor design changes to the debug toolbar)
Change-Id: I5232ebec65f5ba10a68fc531ce3647ebc4768ccb
Kevin Israel [Sun, 13 Oct 2013 12:09:36 +0000 (08:09 -0400)]
Hide message for DBUnexpectedError exceptions
DBUnexpectedErrors are now treated like most other exceptions; we now
hide the error messages (which could contain sensitive information
such as IP addresses) unless $wgShowExceptionDetails is true.
In that case, the messages (and redacted backtraces) would be shown
even if $wgShowDBErrorBacktrace is false, though hiding them would
add complexity to the exception handler for little benefit.
Bug: 26811
Change-Id: I063c241975ce5b12a04abc21821ac67c716b3d5e
jenkins-bot [Wed, 5 Mar 2014 00:06:04 +0000 (00:06 +0000)]
Merge "Remove another undefined $env and TODO comment for it too"
Timo Tijhof [Fri, 14 Feb 2014 17:39:26 +0000 (09:39 -0800)]
mediawiki.page.ajax.watch: Clean up and simplify code
Change-Id: Ie66d08b84a39ad260866de6e0ff821e356133ad0
jenkins-bot [Tue, 4 Mar 2014 23:31:18 +0000 (23:31 +0000)]
Merge "Remove unused $terms parameter"
Chad Horohoe [Tue, 4 Mar 2014 21:24:58 +0000 (13:24 -0800)]
Remove unused $terms parameter
None of the following extensions use these parameters:
- CirrusSearch
- MWSearch
- SolrSearch
- SphinxSearch
Change-Id: I9686ca0849f35a3a09bd9996e4c6eac4334a342a
Translation updater bot [Tue, 4 Mar 2014 20:41:54 +0000 (20:41 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: I6301ccc1c875aea9851b5d134ba3061a094ebaf4
Bene [Tue, 4 Mar 2014 10:44:57 +0000 (11:44 +0100)]
Add site by navigation id feature to SiteList
There are some places especially in Wikibase where we need to get a site
based on the local navigation id. This feature really should go into core.
Change-Id: I02eb1673bea58f79d02db2e1ecd21cbc5b8cb0d1
jenkins-bot [Tue, 4 Mar 2014 19:52:05 +0000 (19:52 +0000)]
Merge "mediawiki.loader: Better document IE stylesheet limit bug"
James D. Forrester [Tue, 4 Mar 2014 19:26:34 +0000 (11:26 -0800)]
Update OOjs UI to v0.1.0-pre (
8ac38a5c31)
New changes:
0eef4f9 Make ButtonOptionWidget background transparent
ba28817 Remove /* OO.ui.… */ comments from LESS theme files
8dad3cd Actually add new ButtonOptionWidget theme to build
Change-Id: I20a0f5163dc23b8f2ff9067cb971ab0db7207f8e
Timo Tijhof [Tue, 4 Mar 2014 19:18:58 +0000 (20:18 +0100)]
mediawiki.loader: Better document IE stylesheet limit bug
Also leave a comment on the line where the relevant exception
will be thrown from if it does end up hitting the limit still
(which wouldn't be due to mw.loader appending more than 31
stylesheets but due to there being more than 30 on the page
already).
Change-Id: I3a46affc5498fbaa1d442ca65cb4844dd8f8169c
James D. Forrester [Tue, 4 Mar 2014 18:34:24 +0000 (10:34 -0800)]
Update OOjs UI to v0.1.0-pre (
c57909a623)
New changes:
f0e179c Break up stylesheets into separate files to make a 1:1 ratio of JS and LESS
3290d40 [BREAKING CHANGE] Split styles up into base styles and a theme
Incidental changes:
* Add oojs-ui-apex.css to the commit build script
* Add oojs-ui-apex.css to the resource manifest as the default skinStyle
Change-Id: Ib5ef9125528fdff9e71864d9016c5f6a12aa8ef3
jenkins-bot [Tue, 4 Mar 2014 16:32:14 +0000 (16:32 +0000)]
Merge "Only generate date header when rendering is guaranteed"
Alexandre Emsenhuber [Tue, 4 Mar 2014 16:26:43 +0000 (17:26 +0100)]
Add a deprecation notice of $wgRateLimitLog in RELEASE-NOTES
Follow-up I86131c4a80 (
5b52c88).
Change-Id: I3e4f7c91fd6728052da877c2847c08d69f300dfe
jenkins-bot [Tue, 4 Mar 2014 16:17:43 +0000 (16:17 +0000)]
Merge "i18n: Use int: in message "resetpass-expired-soft""
jenkins-bot [Tue, 4 Mar 2014 13:23:06 +0000 (13:23 +0000)]
Merge "Split date and time in message 'rclistfrom'"
tonythomas01 [Tue, 14 Jan 2014 13:33:17 +0000 (19:03 +0530)]
Split date and time in message 'rclistfrom'
Some languages need a split of date and time to make better translation.
Added a new parameters for 'rclistfrom', converted the whole message
to a link, updated Qqq entries.
Bug: 19104
Change-Id: Id9127cf022be2394b2a4843572088e0ba8a888a8