lhc/web/wiklou.git
9 years agoSupress email validation on cancellation in SpecialChangeEmail
Rohan [Sun, 14 Sep 2014 11:12:38 +0000 (16:42 +0530)]
Supress email validation on cancellation in SpecialChangeEmail

Bug: 70676
Change-Id: Ic5246ea0ebfdff633092e2f99a179f31bd3eaa71

9 years agoMerge "ApiQuerySiteinfo: Use proper localised skin display names if available"
jenkins-bot [Mon, 15 Sep 2014 15:59:54 +0000 (15:59 +0000)]
Merge "ApiQuerySiteinfo: Use proper localised skin display names if available"

9 years agoMerge "API: Add timestamp of block to blockinfo"
jenkins-bot [Mon, 15 Sep 2014 15:24:41 +0000 (15:24 +0000)]
Merge "API: Add timestamp of block to blockinfo"

9 years agoApiQuerySiteinfo: Use proper localised skin display names if available
Bartosz Dziewoński [Fri, 29 Aug 2014 19:51:56 +0000 (21:51 +0200)]
ApiQuerySiteinfo: Use proper localised skin display names if available

Based on the code in Preferences::generateSkinOptions(). This should
probably be turned into a helper method one day…

Bug: 48953
Change-Id: Ib85a783bd19de8a59e7b81a4203a05b786e67772

9 years agoCSS/JSON/JavaScript ContentHandler refactoring
Yuri Astrakhan [Mon, 15 Sep 2014 08:17:29 +0000 (04:17 -0400)]
CSS/JSON/JavaScript ContentHandler refactoring

* All content handlers that deal with code/data tend to have
English as their page language & pageview language, so moved common
code to the abstract CodeContentHandler class.

* Renamed JSONContent & JSONContentHandler into JsonContent*

Change-Id: I46819a0572ef5becc211d0d82471ff7102edaa3c

9 years agoMerge "Prevent "Notice: Undefined index" in ApiQuerySiteinfo"
jenkins-bot [Mon, 15 Sep 2014 03:13:39 +0000 (03:13 +0000)]
Merge "Prevent "Notice: Undefined index" in ApiQuerySiteinfo"

9 years agoMerge "Don't list nonexistent groups as addable or removable"
jenkins-bot [Mon, 15 Sep 2014 03:00:28 +0000 (03:00 +0000)]
Merge "Don't list nonexistent groups as addable or removable"

9 years agoDon't list nonexistent groups as addable or removable
Jackmcbarn [Mon, 15 Sep 2014 01:52:21 +0000 (21:52 -0400)]
Don't list nonexistent groups as addable or removable

You can't add or remove a group that doesn't exist, so don't claim that
it's possible on Special:ListGroupRights or the API.

Change-Id: I02d3f00142ca1cb0cdcbf30e79fecb3c96e96405

9 years agoPrevent "Notice: Undefined index" in ApiQuerySiteinfo
Marius Hoch [Mon, 15 Sep 2014 02:33:16 +0000 (04:33 +0200)]
Prevent "Notice: Undefined index" in ApiQuerySiteinfo

$row['iw_trans'] wont be set if $wgInterwikiCache is used.

Change-Id: Iea1041b9c699667c251442ed7f4c95e3ba550e7c

9 years agoPrevent "Notice: Undefined index" in wfDiff
Marius Hoch [Mon, 15 Sep 2014 01:52:31 +0000 (03:52 +0200)]
Prevent "Notice: Undefined index" in wfDiff

Change-Id: I4cc7d10021a114a2035dd2d9274c2340242800cb

9 years agoMerge "Mark ParserOutput of MessageContent as varying by userlanguage"
jenkins-bot [Mon, 15 Sep 2014 01:28:45 +0000 (01:28 +0000)]
Merge "Mark ParserOutput of MessageContent as varying by userlanguage"

9 years agoMerge "Make image/vnd.microsoft.icon be an alias for image/x-icon mime type."
jenkins-bot [Mon, 15 Sep 2014 01:28:38 +0000 (01:28 +0000)]
Merge "Make image/vnd.microsoft.icon be an alias for image/x-icon mime type."

9 years agoMark ParserOutput of MessageContent as varying by userlanguage
Brian Wolff [Sat, 14 Dec 2013 08:53:21 +0000 (01:53 -0700)]
Mark ParserOutput of MessageContent as varying by userlanguage

Hopefully this will stop cache pollution when a MessageContent
ends up in parser cache. MessageContent objects just do
wfMessage()->parse(), which uses user language.

Bug: 41065
Change-Id: I75e8256a61b828cb9fc93227eb517a34ac6b9d15

9 years agoUpdate categorylinks.cl_type when moving a page
Bartosz Dziewoński [Sat, 6 Sep 2014 15:17:20 +0000 (17:17 +0200)]
Update categorylinks.cl_type when moving a page

cl_type might need to be changed if the page was moved between
special-cased namespaces (Category ↔ File ↔ (other)).

Also update cl_collation, which also might have changed in the
meantime.

Bug: 69740
Change-Id: I46032a8ba04d77005731c02680f77a8808974087

9 years agoMerge "Fix double output of mimesearch-summary"
jenkins-bot [Sun, 14 Sep 2014 23:56:34 +0000 (23:56 +0000)]
Merge "Fix double output of mimesearch-summary"

9 years agoFix double output of mimesearch-summary
Brian Wolff [Mon, 9 Jun 2014 05:27:04 +0000 (02:27 -0300)]
Fix double output of mimesearch-summary

The execute method was calling a outputHeader(), and then calling
it's parent implementation which was also calling outputHeader()
causing double output.

Refactor class to use $this->getPageHeader() to output menus
before result list, as that appears to be what that method is
for.

Change-Id: Ic0a79cb73136e636f96e33859dadb384eca38255

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 14 Sep 2014 23:17:09 +0000 (01:17 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I0d9118c2c9329361474b41519114484344cae73d

9 years agoAPI: Add timestamp of block to blockinfo
Derk-Jan Hartman [Mon, 31 Mar 2014 21:17:20 +0000 (23:17 +0200)]
API: Add timestamp of block to blockinfo

This change affects list=allusers, list=users
and meta=userinfo.

Note: This change also add block expiry to meta=userinfo.
Unlike this field in other modules, it formats the timestamp
properly, instead of just dumping db contents.

Resurrecting from abandoned change Ifdeac5c5f547

Bug: 63326
Change-Id: I4b3e55fe2d07271e1ded89d36d0b98de0e643177

9 years agoMerge "MediaWikiTestCase: Enforce children call parent::tearDown"
jenkins-bot [Sun, 14 Sep 2014 19:31:00 +0000 (19:31 +0000)]
Merge "MediaWikiTestCase: Enforce children call parent::tearDown"

9 years agoMediaWikiTestCase: Enforce children call parent::tearDown
Marius Hoch [Sun, 14 Sep 2014 19:07:14 +0000 (21:07 +0200)]
MediaWikiTestCase: Enforce children call parent::tearDown

Can't be implemented as a test case because that's not being
run before MediaWikiTestCase::tearDown.
Also there's no parent destructor, so no need to call one.

Also fixed BagOStuffTest.

Change-Id: Ifd8659b6c8a748c6716099f8822e2c50ab51bda7

9 years agoAdd MailAddress::newFromUser()
Kunal Mehta [Sat, 13 Sep 2014 03:25:19 +0000 (20:25 -0700)]
Add MailAddress::newFromUser()

And tests!

Change-Id: I5214c50855f6bc756f6d748e435ae2124b2264c1

9 years agoAdd tests for MailAddress
Kunal Mehta [Sat, 13 Sep 2014 02:31:06 +0000 (19:31 -0700)]
Add tests for MailAddress

Change-Id: Ia192919322743854096aceb24be0fcf9b1aa32b4

9 years agoSplit UserMailer.php into includes/mail/
Kunal Mehta [Sat, 13 Sep 2014 02:01:22 +0000 (19:01 -0700)]
Split UserMailer.php into includes/mail/

Change-Id: Ic435bbdbb690028a5d34e8176522fcf4aa44fa92

9 years agoFix Special:Listusers i18n issues
Rohan [Tue, 29 Jul 2014 12:38:29 +0000 (18:08 +0530)]
Fix Special:Listusers i18n issues

* Changed hard coded brackets to use message 'brackets'
* Changed hard coded space to use message 'word-separator'

Bug: 39845
Change-Id: If117e8f1b2436ed1d259add92fc8f6925403afc3

9 years agoMerge "Move footer icons to assets/ directory"
jenkins-bot [Sun, 14 Sep 2014 12:19:10 +0000 (12:19 +0000)]
Merge "Move footer icons to assets/ directory"

9 years agoMerge "API: Add rawcontinue parameter to action=query"
jenkins-bot [Sun, 14 Sep 2014 11:31:53 +0000 (11:31 +0000)]
Merge "API: Add rawcontinue parameter to action=query"

9 years agoMerge "Use local var in Action::setHeaders"
jenkins-bot [Sun, 14 Sep 2014 11:21:33 +0000 (11:21 +0000)]
Merge "Use local var in Action::setHeaders"

9 years agoMerge "Allow preloadparams for Special:MyPage"
jenkins-bot [Sun, 14 Sep 2014 11:21:06 +0000 (11:21 +0000)]
Merge "Allow preloadparams for Special:MyPage"

9 years agoResourceLoaderWikiModule: Check content format instead of content model
Kunal Mehta [Sat, 13 Sep 2014 23:35:56 +0000 (16:35 -0700)]
ResourceLoaderWikiModule: Check content format instead of content model

For Gadgets 2.0, we have custom content models that represent
JavaScript and CSS pages. Comparing the exact content model here
is too strict, when we really want to know if the page supports
the JavaScript or CSS formats.

Also fix a debug log comment that didn't work due to improper quoting.

Change-Id: I64e86c74173b1c88cac71483327cacdd8b9967b9

9 years agoFix subclassing of CssContent and JavaScriptContent
Kunal Mehta [Sat, 13 Sep 2014 22:31:18 +0000 (15:31 -0700)]
Fix subclassing of CssContent and JavaScriptContent

We need to be able to set a different content model via the
constructor, so make it an optional parameter.

Change-Id: I8b31084e0cfbcca1b3785176eac492d837e0cb0f

9 years agoAPI: Add rawcontinue parameter to action=query
Brad Jorsch [Thu, 14 Aug 2014 17:18:07 +0000 (13:18 -0400)]
API: Add rawcontinue parameter to action=query

Soon the simplified continuation will become the default for
action=query. This parameter will then serve select the return of the
raw continuation data. To allow for clients to transition without
"unrecognized parameter" warnings, I'd like to add the parameter now
before even adding deprecation warnings.

Change-Id: I5f6895b6a94c53a231a50707ee9463f91295da8f

9 years agoMerge "Clean up mediawiki.legacy.protect a bit."
jenkins-bot [Sat, 13 Sep 2014 16:30:12 +0000 (16:30 +0000)]
Merge "Clean up mediawiki.legacy.protect a bit."

9 years agoMerge "Move Config::set() to MutableConfig::set()"
jenkins-bot [Sat, 13 Sep 2014 16:29:00 +0000 (16:29 +0000)]
Merge "Move Config::set() to MutableConfig::set()"

9 years agoMake image/vnd.microsoft.icon be an alias for image/x-icon mime type.
Alexia E. Smith [Thu, 11 Sep 2014 20:11:19 +0000 (20:11 +0000)]
Make image/vnd.microsoft.icon be an alias for image/x-icon mime type.

The mime type .ico files is detected as image/vnd.microsoft.icon on some PHP
installations. This fixes the issue by aliasing it to image/x-icon.

Bug: 69437
Change-Id: I1fdb4c7058546d6cdd47b1961706ef84a05dd360

9 years agoClean up mediawiki.legacy.protect a bit.
Alex Monk [Fri, 29 Aug 2014 22:40:10 +0000 (23:40 +0100)]
Clean up mediawiki.legacy.protect a bit.

Also kills some inline JS stuff in ProtectionForm

Bug: 33871
Change-Id: Ie43c80bf5ebd6107458d5284cc68b7128f29359a

9 years agoMerge "resourceloader: Condition-wrap the HTML tag instead of JS response"
jenkins-bot [Sat, 13 Sep 2014 13:29:06 +0000 (13:29 +0000)]
Merge "resourceloader: Condition-wrap the HTML tag instead of JS response"

9 years agoMerge "Revert "Add support for svg in .list-style-image""
jenkins-bot [Sat, 13 Sep 2014 13:18:30 +0000 (13:18 +0000)]
Merge "Revert "Add support for svg in .list-style-image""

9 years agoRevert "Add support for svg in .list-style-image"
Bartosz Dziewoński [Sat, 13 Sep 2014 13:11:08 +0000 (13:11 +0000)]
Revert "Add support for svg in .list-style-image"

The generated CSS is invalid, as you can't have multiple
list-style-images (unlike background-images). Browsers
either ignore the invalid properties with linear-gradient
and use non-embedded PNG fallback (Chrome, Firefox, modern
IE), or accept the properties but ignore everything after
the comma, using the fully transparent gradient (Opera).

This reverts commit 502fffe3bf2cb6a8fccb8059436a038e21153596.

Change-Id: I87f8142b5e718f96ca8ee74578224b4db7dedce9

9 years agoMerge "Add margin below CAPTCHA box (and above submit) for signup and login"
jenkins-bot [Sat, 13 Sep 2014 08:43:12 +0000 (08:43 +0000)]
Merge "Add margin below CAPTCHA box (and above submit) for signup and login"

9 years agoUse local var in Action::setHeaders
umherirrender [Tue, 9 Sep 2014 18:22:35 +0000 (20:22 +0200)]
Use local var in Action::setHeaders

Change-Id: I543d45835016fd6f4f2ec0e84f4e5453237bbf25

9 years agoTablePager: Use wfScript() instead of $wgScript
Kunal Mehta [Sat, 13 Sep 2014 06:03:12 +0000 (23:03 -0700)]
TablePager: Use wfScript() instead of $wgScript

Change-Id: Ib12bd3dfa102dc673789c27506becc2fd8138f56

9 years agoMerge "SpecialEmailUser: Use Config instead of globals"
jenkins-bot [Sat, 13 Sep 2014 06:53:44 +0000 (06:53 +0000)]
Merge "SpecialEmailUser: Use Config instead of globals"

9 years agoMerge "Typo: compatability -> compatibility"
jenkins-bot [Sat, 13 Sep 2014 06:47:42 +0000 (06:47 +0000)]
Merge "Typo: compatability -> compatibility"

9 years agoSpecialEmailUser: Use Config instead of globals
Kunal Mehta [Sun, 3 Aug 2014 21:52:07 +0000 (14:52 -0700)]
SpecialEmailUser: Use Config instead of globals

Change-Id: I81f6fb942a9cb12332c4763ab4c26cfcc556ddcb

9 years agoTypo: compatability -> compatibility
umherirrender [Sat, 13 Sep 2014 06:30:48 +0000 (08:30 +0200)]
Typo: compatability -> compatibility

Change-Id: I533dfc9daff5e11c1732d5d81a54faa9d7b0c43a

9 years agoPreferences: Use Config instead of globals
Kunal Mehta [Wed, 20 Aug 2014 06:09:25 +0000 (23:09 -0700)]
Preferences: Use Config instead of globals

Change-Id: Iab8725ded4da532a3072fb68e3060bd8f8ddf30a

9 years agoMerge "Make MySQLi work with non-standard socket"
jenkins-bot [Sat, 13 Sep 2014 05:26:21 +0000 (05:26 +0000)]
Merge "Make MySQLi work with non-standard socket"

9 years agoMake MySQLi work with non-standard socket
Jesús Martínez Novo [Sun, 1 Jun 2014 13:54:48 +0000 (15:54 +0200)]
Make MySQLi work with non-standard socket

MySQLi needs to specify the socket location as a parameter, and not as part
of the hostname.

Split the socket out of the hostname if it contains *one* colon (IPv6 safe)
after checking for the port number.

Bug: 65998
Change-Id: I66ee34e1029bc1630669bde4272d0eae9d3fd9f1

9 years agoUse safe attribute accessor for RecentChange
Bryan Davis [Fri, 22 Aug 2014 15:44:15 +0000 (09:44 -0600)]
Use safe attribute accessor for RecentChange

The RecentChange does not guarantee that all attributes are populated.
Handily it provides a safe getter function in
RecentChange::getAttribute() that will return null with out triggering
an undefined index warning for missing attributes. Protects against log
spam like "Notice: Undefined index: rc_id".

Change-Id: Idee844f0d40a2a084e17f201b5e1501d59a0464d

9 years agoAdd margin below CAPTCHA box (and above submit) for signup and login
Matthew Flaschen [Sat, 13 Sep 2014 03:11:13 +0000 (23:11 -0400)]
Add margin below CAPTCHA box (and above submit) for signup and login

Only applies if the CAPTCHA box is shown, which is if ConfirmEdit is
installed.

Bug: 68788
Change-Id: I8fa5f9e0b0394594bb59b1c3f62077e5e7428525

9 years agoAdd support for svg in .list-style-image
paladox [Thu, 4 Sep 2014 20:13:53 +0000 (22:13 +0200)]
Add support for svg in .list-style-image

* You can now use .list-style-image-svg for support for svg.

* Please see I5196952088e584d3121600e9e829647e8c195bbb for it being used on vector.

Note: This has been tested by me.

Change-Id: Iffff2bc52e1572e661930242ad15937bc83abace

9 years agoMerge "Group E-mail settings stuff in Setup.php"
Aaron Schulz [Fri, 12 Sep 2014 22:37:05 +0000 (22:37 +0000)]
Merge "Group E-mail settings stuff in Setup.php"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 12 Sep 2014 22:06:42 +0000 (00:06 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I4c78d0591a5cf4fff95dd076bf08741eec4ca050

9 years agoMerge "RawAction: private variable removing m prefix + doc better"
jenkins-bot [Fri, 12 Sep 2014 21:29:41 +0000 (21:29 +0000)]
Merge "RawAction: private variable removing m prefix + doc better"

9 years agoMerge "Sort modules in alphabetical order and leave note about this"
jenkins-bot [Fri, 12 Sep 2014 20:49:34 +0000 (20:49 +0000)]
Merge "Sort modules in alphabetical order and leave note about this"

9 years agoMerge "SearchResult: clean up construction"
jenkins-bot [Fri, 12 Sep 2014 20:41:49 +0000 (20:41 +0000)]
Merge "SearchResult: clean up construction"

9 years agoMerge "Fix for Ia9baaf0b: Make previously public variables public again"
jenkins-bot [Fri, 12 Sep 2014 19:52:51 +0000 (19:52 +0000)]
Merge "Fix for Ia9baaf0b: Make previously public variables public again"

9 years agoSearchResult: clean up construction
Chad Horohoe [Fri, 12 Sep 2014 19:37:35 +0000 (12:37 -0700)]
SearchResult: clean up construction

- Remove old pre-1.17 constructor format. No core or extension callers
- Remove only usage of newFromRow(), needless abstraction

Change-Id: Ifad161aa36837bb4c8b5c9aecac1c46e2e6cc84c

9 years agoMerge "Clear the DBO_TRX flag for sanity in ExternalStore"
jenkins-bot [Fri, 12 Sep 2014 19:30:45 +0000 (19:30 +0000)]
Merge "Clear the DBO_TRX flag for sanity in ExternalStore"

9 years agoClear the DBO_TRX flag for sanity in ExternalStore
Aaron Schulz [Fri, 12 Sep 2014 18:43:34 +0000 (11:43 -0700)]
Clear the DBO_TRX flag for sanity in ExternalStore

* This avoids an explicit commit of an implicit transaction when the site
  config for the ES cluster does not clear that flag by mistake.

Change-Id: I57d8b04cbf3249849db1643fc82673e9de8ea15b

9 years agoMerge "Commented and re-ordered the LoadBalancer fields"
jenkins-bot [Fri, 12 Sep 2014 18:41:39 +0000 (18:41 +0000)]
Merge "Commented and re-ordered the LoadBalancer fields"

9 years agoMerge "Remove patch-restructure.sql"
jenkins-bot [Fri, 12 Sep 2014 18:40:32 +0000 (18:40 +0000)]
Merge "Remove patch-restructure.sql"

9 years agoRawAction: private variable removing m prefix + doc better
Chad Horohoe [Fri, 12 Sep 2014 18:39:36 +0000 (11:39 -0700)]
RawAction: private variable removing m prefix + doc better

Change-Id: I526ebcbb1429af42fa9e33cdf59d12c4854247f7

9 years agoMerge "Fix SpecialPageFactory::getTitleForAlias"
jenkins-bot [Fri, 12 Sep 2014 18:37:02 +0000 (18:37 +0000)]
Merge "Fix SpecialPageFactory::getTitleForAlias"

9 years agoMerge "Add release notes for BagOStuff::replace() removal"
jenkins-bot [Fri, 12 Sep 2014 18:33:55 +0000 (18:33 +0000)]
Merge "Add release notes for BagOStuff::replace() removal"

9 years agoCommented and re-ordered the LoadBalancer fields
Aaron Schulz [Fri, 12 Sep 2014 18:32:01 +0000 (11:32 -0700)]
Commented and re-ordered the LoadBalancer fields

Change-Id: Ie05cfd9a4a60f07ea9710c6bf7657ca956a7dd5e

9 years agoRemove patch-restructure.sql
Chad Horohoe [Fri, 12 Sep 2014 18:29:35 +0000 (11:29 -0700)]
Remove patch-restructure.sql

Unused. Basically reimplemented as doSchemaRestructuring(). That
method could possibly be broken up and make more use of patch
files though.

Change-Id: Idb0a3740dd1401632f2e273ff46dd856a5d4d735

9 years agoFix SpecialPageFactory::getTitleForAlias
Elliott Eggleston [Tue, 24 Jun 2014 21:19:32 +0000 (14:19 -0700)]
Fix SpecialPageFactory::getTitleForAlias

It takes the result of resolveAlias and calls SpecialPage::getTitleFor.
Unfortunately, resolveAlias returns an array of [name, subpage] while
getTitleFor expects two string arguments.

This commit makes SpecialPageFactory::getTitleForAlias call
SpecialPage::getTitleFor with two string arguments instead of an array.

Bug: 67045
Change-Id: Ia1a0abf753b03fc69d3d4de025c88312e3e45763

9 years agoMerge "Removed MultiWriteBagOStuff::replace"
jenkins-bot [Fri, 12 Sep 2014 18:25:45 +0000 (18:25 +0000)]
Merge "Removed MultiWriteBagOStuff::replace"

9 years agoAdd release notes for BagOStuff::replace() removal
Kunal Mehta [Fri, 12 Sep 2014 18:25:14 +0000 (11:25 -0700)]
Add release notes for BagOStuff::replace() removal

Change-Id: If90237c54a56a3d6e14835654cb3a514a3ae6cb3

9 years agoRemoved MultiWriteBagOStuff::replace
Aaron Schulz [Fri, 12 Sep 2014 18:13:06 +0000 (11:13 -0700)]
Removed MultiWriteBagOStuff::replace

Change-Id: Ifa6373cda099d1b87e90592598267987e9185a25

9 years agoMake Special:Unblock link to contributions page for IP blockees
TK-999 [Tue, 8 Jul 2014 21:21:15 +0000 (23:21 +0200)]
Make Special:Unblock link to contributions page for IP blockees

Currently, Special:Unblock links to the user page of anon editors,
which is inconsistent with other areas of the software,
and also less useful, as IP userpages are often redlinks.
This patch converts these links to Contributions links.

Originally reported on Wikia, with an (incomplete) patch here:
https://github.com/WikiaVolDev/app/compare/VOLDEV-31

Change-Id: I0fc73c7ee4fd7c81ed876717e8f60749c51685ae

9 years agoMerge "kss: Add links upto depth 2 in ToC"
jenkins-bot [Fri, 12 Sep 2014 18:03:09 +0000 (18:03 +0000)]
Merge "kss: Add links upto depth 2 in ToC"

9 years agoMerge "Removed some b/c code from file backend"
jenkins-bot [Fri, 12 Sep 2014 17:53:56 +0000 (17:53 +0000)]
Merge "Removed some b/c code from file backend"

9 years agokss: Add links upto depth 2 in ToC
Prateek Saxena [Sat, 6 Sep 2014 05:53:14 +0000 (11:23 +0530)]
kss: Add links upto depth 2 in ToC

Change-Id: Ibdf130ee01a3c754276470200a4c61b01731199f

9 years agoMerge "Removed deprecated BagOStuff::replace() method"
jenkins-bot [Fri, 12 Sep 2014 17:48:44 +0000 (17:48 +0000)]
Merge "Removed deprecated BagOStuff::replace() method"

9 years agoMerge "API: Fix list=allusers with multiple values for augroup"
jenkins-bot [Fri, 12 Sep 2014 17:27:02 +0000 (17:27 +0000)]
Merge "API: Fix list=allusers with multiple values for augroup"

9 years agoMerge "Properly deprecate srprop=score|hasrelated"
jenkins-bot [Fri, 12 Sep 2014 16:38:50 +0000 (16:38 +0000)]
Merge "Properly deprecate srprop=score|hasrelated"

9 years agoMerge "Remove "related" searches"
jenkins-bot [Fri, 12 Sep 2014 16:38:48 +0000 (16:38 +0000)]
Merge "Remove "related" searches"

9 years agoProperly deprecate srprop=score|hasrelated
Chad Horohoe [Wed, 10 Sep 2014 20:16:12 +0000 (13:16 -0700)]
Properly deprecate srprop=score|hasrelated

Logs stats on usage, output param descriptions for callers.

Change-Id: I000b91ff4d81dc1563231cd3ae0b56952b9574fd

9 years agoRemove "related" searches
Chad Horohoe [Wed, 10 Sep 2014 19:22:04 +0000 (12:22 -0700)]
Remove "related" searches

Poorly documented and never used anywhere properly.

- No core search backend supports it.
- MWSearch implements it but we've never turned it on.
- SolrStore copies MWSearch but it doesn't even work.
- CirrusSearch doesn't bother because it's silly.

Change-Id: I8b052e8e772030fba6c361fdb2775b10a7f7a15a

9 years agoAPI: Fix list=allusers with multiple values for augroup
Brad Jorsch [Sat, 6 Sep 2014 19:25:11 +0000 (15:25 -0400)]
API: Fix list=allusers with multiple values for augroup

The existing query only works with a single value for augroup, or mostly
if it's combined with auprop=groups or auprop=rights (since most users
don't have every possible group).

When used with multiple values for augroup, it will raise an error if it
happens to encounter enough users who have more than one of the
specified groups. And further, it will lead to repeated groups for these
users if combined with auprop=groups or auprop=rights.

To avoid both these issues, let's use EXISTS instead of a JOIN to test
augroup. While auexcludegroup doesn't have this problem, we may as well
make the same change there, too. And doing that, there's no reason to
continue with an error when both augroup and auexcludegroup are used.

Bug: 70496
Change-Id: Ia7086ce87012c22651ac4c7a3f75558347276226

9 years agoRemoved deprecated BagOStuff::replace() method
Aaron Schulz [Fri, 12 Sep 2014 09:03:32 +0000 (02:03 -0700)]
Removed deprecated BagOStuff::replace() method

Change-Id: Ife2f8e0f10ad7be76b79d5aee435491ea78d4655

9 years agoRemoved some b/c code from file backend
Aaron Schulz [Fri, 12 Sep 2014 07:54:24 +0000 (00:54 -0700)]
Removed some b/c code from file backend

Change-Id: Ie8dbff588b067a202b24dfeaf792301c1077f08b

9 years agoUpdate OOjs UI to v0.1.0-pre (bd008e8aed)
Roan Kattouw [Thu, 11 Sep 2014 23:10:13 +0000 (16:10 -0700)]
Update OOjs UI to v0.1.0-pre (bd008e8aed)

New changes:
845287a Update OOjs to v1.1.1
f7d11f7 Make popups position themselves correctly when dimensions change

Change-Id: I16ae22e6a921666de5b7ada7d7750621eb3ca5a7

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 11 Sep 2014 20:47:37 +0000 (22:47 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ief6252f5235622a08d6c0c8f41ce4c0a49e15d9e

9 years agoSpecialListgrouprights: Use Config instead of globals
Kunal Mehta [Sun, 3 Aug 2014 23:13:49 +0000 (16:13 -0700)]
SpecialListgrouprights: Use Config instead of globals

Change-Id: I4c8e48adab856de4e3b736b6ae0366588fb82bc5

9 years agoMerge "API: Deprecate binary sortkey input in ApiQueryCategoryMembers"
jenkins-bot [Thu, 11 Sep 2014 18:41:27 +0000 (18:41 +0000)]
Merge "API: Deprecate binary sortkey input in ApiQueryCategoryMembers"

9 years agoMerge "HTMLFormFieldCloner: Make sure the delete and create buttons have a parent"
jenkins-bot [Thu, 11 Sep 2014 18:09:54 +0000 (18:09 +0000)]
Merge "HTMLFormFieldCloner: Make sure the delete and create buttons have a parent"

9 years agoMerge "Remove term from search results info"
jenkins-bot [Thu, 11 Sep 2014 17:16:26 +0000 (17:16 +0000)]
Merge "Remove term from search results info"

9 years agoHTMLFormFieldCloner: Make sure the delete and create buttons have a parent
Kunal Mehta [Thu, 11 Sep 2014 16:47:26 +0000 (09:47 -0700)]
HTMLFormFieldCloner: Make sure the delete and create buttons have a parent

Also fix the type in documentation.

Change-Id: I0fee2dbb9dd1db157acfba2063a2e4e40152cddf

9 years agoMove Config::set() to MutableConfig::set()
Kunal Mehta [Wed, 10 Sep 2014 21:51:16 +0000 (14:51 -0700)]
Move Config::set() to MutableConfig::set()

Introduces a new interface for Config types
that are mutable. Not all Config instances
should be mutable, like MultiConfig.

Change-Id: I56e193cbbf72b7afdf551f60ea635fc347e14b3e

9 years agoAPI: Deprecate binary sortkey input in ApiQueryCategoryMembers
Brad Jorsch [Thu, 11 Sep 2014 14:46:33 +0000 (10:46 -0400)]
API: Deprecate binary sortkey input in ApiQueryCategoryMembers

Depending on what method is being used to encode the binary sortkeys,
it's very possible that sending a binary value will be mangled by
WebRequest's UTF-8 normalization.

Rather than trying to fight it, let's just do what should have been done
in the first place when r86257 changed sortkey output to hex-encoded.
Too bad now we have to deprecate the old params and add
differently-named new ones instead of piggybacking on the original
breaking change.

Bug: 70690
Change-Id: I5a031e980967cbe574dddc261d56604cecc7147a

9 years agoClean Resources.php for phpcs
Amir E. Aharoni [Thu, 11 Sep 2014 09:36:44 +0000 (12:36 +0300)]
Clean Resources.php for phpcs

Change-Id: I138527fd235fc65a7ee10338681a6cf83abddfdd

9 years agoClarify "mustposttoken" API error message
MZMcBride [Thu, 11 Sep 2014 01:22:17 +0000 (21:22 -0400)]
Clarify "mustposttoken" API error message

Bug: 70656
Change-Id: Id30e54472299bc3998644914eca4e19e9429fd2b

9 years agoUpdate OOjs to v1.1.1
James D. Forrester [Thu, 11 Sep 2014 00:43:02 +0000 (17:43 -0700)]
Update OOjs to v1.1.1

Release notes:
 https://git.wikimedia.org/blob/oojs%2Fcore.git/v1.1.1/History.md

Change-Id: I2a78dcd147def3b02314c176e51accb2cefe872e

9 years agoRemove term from search results info
Chad Horohoe [Wed, 10 Sep 2014 22:27:37 +0000 (15:27 -0700)]
Remove term from search results info

In surveying other search engines, nobody returns this extra information
and clutters their search results. The information is already available
in the <input> box as well as various context clues (like your actual
results).

Change-Id: Iea21a203731331ca31ced786fb7c0011bd4932eb

9 years agoMerge "Disable JavaScript for MSIE7 users, update tests accordingly"
jenkins-bot [Wed, 10 Sep 2014 20:56:59 +0000 (20:56 +0000)]
Merge "Disable JavaScript for MSIE7 users, update tests accordingly"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 10 Sep 2014 20:48:17 +0000 (22:48 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I9b3a5891bac18ec36541b13836a957fdcefec5d5

9 years agoMerge "Don't cast SpecialPageFactory::$list to an object"
jenkins-bot [Wed, 10 Sep 2014 20:22:42 +0000 (20:22 +0000)]
Merge "Don't cast SpecialPageFactory::$list to an object"