lhc/web/wiklou.git
11 years agoMerge "(bug 24437) Add nofollow to image link"
Catrope [Wed, 15 Aug 2012 01:37:24 +0000 (01:37 +0000)]
Merge "(bug 24437) Add nofollow to image link"

11 years agoMerge "store text length in local var in Preprocess::processToObj/Xml"
Aaron Schulz [Wed, 15 Aug 2012 00:22:10 +0000 (00:22 +0000)]
Merge "store text length in local var in Preprocess::processToObj/Xml"

11 years agoMerge "Notice: Undefined property: stdClass::$hitcount in list=tags"
Catrope [Wed, 15 Aug 2012 00:17:03 +0000 (00:17 +0000)]
Merge "Notice: Undefined property: stdClass::$hitcount in list=tags"

11 years agoMerge "output errors as debug info in api, when display_errors is on"
Catrope [Wed, 15 Aug 2012 00:13:44 +0000 (00:13 +0000)]
Merge "output errors as debug info in api, when display_errors is on"

11 years agoMerge "(bug 31040) Fixed $wgSecureLogin effect on returnto."
Catrope [Wed, 15 Aug 2012 00:12:47 +0000 (00:12 +0000)]
Merge "(bug 31040) Fixed $wgSecureLogin effect on returnto."

11 years agoMerge "Follow-up I47412b67: pass an array of query parameters to Linker::link()"
Aaron Schulz [Tue, 14 Aug 2012 23:17:59 +0000 (23:17 +0000)]
Merge "Follow-up I47412b67: pass an array of query parameters to Linker::link()"

11 years agoMerge "(bug 33471) Changed detection of secure cookies."
Demon [Tue, 14 Aug 2012 23:14:40 +0000 (23:14 +0000)]
Merge "(bug 33471) Changed detection of secure cookies."

11 years agoMerge "(bug 36776) Changing User::getNewtalk to use $wgDisableAnonTalk."
Demon [Tue, 14 Aug 2012 23:14:20 +0000 (23:14 +0000)]
Merge "(bug 36776) Changing User::getNewtalk to use $wgDisableAnonTalk."

11 years agoAdded UserCache class for doing name/title batch lookups.
Aaron Schulz [Sat, 19 May 2012 20:41:41 +0000 (13:41 -0700)]
Added UserCache class for doing name/title batch lookups.

* Made Special:ListFiles be the first user of this class.

Change-Id: I2ea068d4765fe6ae12445786c38217119e79f823

11 years agooutput errors as debug info in api, when display_errors is on
umherirrender [Tue, 14 Aug 2012 20:00:04 +0000 (22:00 +0200)]
output errors as debug info in api, when display_errors is on

With format=xml errors never outputted, only in the html version

Change-Id: I4364cee041ea42ed3a4ab43ac77a1ba3cc2cb886

11 years agoNotice: Undefined property: stdClass::$hitcount in list=tags
umherirrender [Tue, 14 Aug 2012 19:34:09 +0000 (21:34 +0200)]
Notice: Undefined property: stdClass::$hitcount in list=tags

Full message:
Notice: Undefined property: stdClass::$hitcount in
..\includes\api\ApiQueryTags.php on line 76

Change-Id: I773e0a5f70ee025033899d6950336dff0829e09b

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 14 Aug 2012 19:32:01 +0000 (19:32 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Id509f00680d69ec2a5de30fd5762e0bf50476e76

11 years agoMerge "New hook 'ParserTestGlobals'"
Demon [Tue, 14 Aug 2012 17:53:58 +0000 (17:53 +0000)]
Merge "New hook 'ParserTestGlobals'"

11 years agoMerge "(bug 38406) Properly quote table names in DatabaseBase::tableName()"
Demon [Tue, 14 Aug 2012 17:42:20 +0000 (17:42 +0000)]
Merge "(bug 38406) Properly quote table names in DatabaseBase::tableName()"

11 years agoPHP 5.4 has JSON_PRETTY_PRINT
Reedy [Sun, 12 Aug 2012 19:31:01 +0000 (20:31 +0100)]
PHP 5.4 has JSON_PRETTY_PRINT

Use this conditionally when $isHtml is true, and is
also running on PHP > = 5.4. Else return default 0

Change-Id: Ief775720a99d1a305c3f9f4ba7cc04eb96817fb3

11 years agoFollow-up I47412b67: pass an array of query parameters to Linker::link()
Alexandre Emsenhuber [Tue, 14 Aug 2012 11:27:54 +0000 (13:27 +0200)]
Follow-up I47412b67: pass an array of query parameters to Linker::link()

Change-Id: I3cdc0a57a9cda740c482addd2c9c833a70897381

11 years ago(bug 36524) "Show" options are now remembered between successive clicks.
Alexandre Emsenhuber [Mon, 16 Jul 2012 08:45:27 +0000 (10:45 +0200)]
(bug 36524) "Show" options are now remembered between successive clicks.

The problem is that $options in SpecialRecentChanges::makeOptionsLink()
can that values set to false and wfArrayToCgi() omits such items;
instead they have to be explicitely converted to "0" to not be omitted.

Change-Id: I20af27fc4e012fec36d48b9120ec49a39f5cbb1f

11 years agoMerge "Fix permissions check to show "hide" buttons."
Siebrand [Tue, 14 Aug 2012 10:28:32 +0000 (10:28 +0000)]
Merge "Fix permissions check to show "hide" buttons."

11 years agoFollow-up I47412b67 (dde8471): convert string query to array
Alexandre Emsenhuber [Tue, 14 Aug 2012 09:51:26 +0000 (11:51 +0200)]
Follow-up I47412b67 (dde8471): convert string query to array

If we detect and warn that the $query parameter is in an incorrect
format, we may as well convert it to the correct one.

Change-Id: Ief137ab758c65ec562c2a523f76b1a4f8c2617b5

11 years agoMerge "Added utility method taking an array of elements and wrapping each element...
Aaron Schulz [Tue, 14 Aug 2012 03:25:13 +0000 (03:25 +0000)]
Merge "Added utility method taking an array of elements and wrapping each element in it's own array."

11 years agoMerge "Added GenericArrayObject class and associated test base"
Aaron Schulz [Tue, 14 Aug 2012 03:22:01 +0000 (03:22 +0000)]
Merge "Added GenericArrayObject class and associated test base"

11 years agoAdded GenericArrayObject class and associated test base
jeroendedauw [Fri, 27 Jul 2012 18:31:23 +0000 (20:31 +0200)]
Added GenericArrayObject class and associated test base

Change-Id: Id7e9b59c7ed4a9338744db58935307ecb4bc441f

11 years agoNew hook 'ParserTestGlobals'
Daniel Werner [Mon, 13 Aug 2012 22:18:50 +0000 (00:18 +0200)]
New hook 'ParserTestGlobals'

Allows to set globals before running parser tests.

Change-Id: Iea057b992b260611bca7f3adade2c8214b0dcea2

11 years agoMerge "add 'editprotected' right to list of available rights"
Aaron Schulz [Mon, 13 Aug 2012 20:52:11 +0000 (20:52 +0000)]
Merge "add 'editprotected' right to list of available rights"

11 years agoMerge "Move method to its using test class rather then having a public static thing...
Aaron Schulz [Mon, 13 Aug 2012 20:14:19 +0000 (20:14 +0000)]
Merge "Move method to its using test class rather then having a public static thing in the base test class"

11 years agoMerge "Fix for assertArrayEquals. Was throwing fatal for object elements"
Aaron Schulz [Mon, 13 Aug 2012 20:09:10 +0000 (20:09 +0000)]
Merge "Fix for assertArrayEquals. Was throwing fatal for object elements"

11 years agoMerge "Improve documentation of maintenance scripts."
Aaron Schulz [Mon, 13 Aug 2012 20:05:19 +0000 (20:05 +0000)]
Merge "Improve documentation of maintenance scripts."

11 years agoMerge "add 'reupload-own' right to list of available rights"
Aaron Schulz [Mon, 13 Aug 2012 20:04:39 +0000 (20:04 +0000)]
Merge "add 'reupload-own' right to list of available rights"

11 years agoMerge "add 'passwortreset' right to list of available rights"
Aaron Schulz [Mon, 13 Aug 2012 20:04:30 +0000 (20:04 +0000)]
Merge "add 'passwortreset' right to list of available rights"

11 years agoMerge "add 'patrolmarks' right to list of available rights"
Aaron Schulz [Mon, 13 Aug 2012 20:04:18 +0000 (20:04 +0000)]
Merge "add 'patrolmarks' right to list of available rights"

11 years agoMerge "Fix documentation of WikiPage::doDeleteArticle(Real)?()"
Aaron Schulz [Mon, 13 Aug 2012 20:03:35 +0000 (20:03 +0000)]
Merge "Fix documentation of WikiPage::doDeleteArticle(Real)?()"

11 years agoMerge "(bug 39296) Fix broken table sorting"
Catrope [Mon, 13 Aug 2012 20:01:40 +0000 (20:01 +0000)]
Merge "(bug 39296) Fix broken table sorting"

11 years ago(bug 39296) Fix broken table sorting
Brad Jorsch [Mon, 13 Aug 2012 14:12:57 +0000 (10:12 -0400)]
(bug 39296) Fix broken table sorting

Javascript's Array.sort wants -1, 0, or 1. Not false, true, or 0.

Change-Id: I2cb73668793092b53be0c1c6f7ffc647a88bf30a

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 13 Aug 2012 19:43:35 +0000 (19:43 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I655913611a5ec051ee4c01d3c2e20245e2f647c0

11 years agoMerge "Added a Redis client for object cache storage"
Aaron Schulz [Mon, 13 Aug 2012 18:05:29 +0000 (18:05 +0000)]
Merge "Added a Redis client for object cache storage"

11 years agoMerge "remove bizarre overflow:hidden from lists in sidebar on Vector"
Trevor Parscal [Mon, 13 Aug 2012 16:54:14 +0000 (16:54 +0000)]
Merge "remove bizarre overflow:hidden from lists in sidebar on Vector"

11 years agoFix documentation of WikiPage::doDeleteArticle(Real)?()
Alexandre Emsenhuber [Mon, 13 Aug 2012 14:09:25 +0000 (16:09 +0200)]
Fix documentation of WikiPage::doDeleteArticle(Real)?()

- The $suppress parameter is a boolean indicating whether
  revision will be suppressed
- Added @since to WikiPage::doDeleteArticleReal()

Change-Id: I3af14f8cc7bf771f4d07215ca1dba2d6b6f05553

11 years ago(bug 31040) Fixed $wgSecureLogin effect on returnto.
Tyler Romeo [Fri, 10 Aug 2012 18:59:08 +0000 (14:59 -0400)]
(bug 31040) Fixed $wgSecureLogin effect on returnto.

Added parameter to Title::getFullURL to allow specification
of a protocol rather than assuming PROTO_RELATIVE. Also
added an accompanying parameter to Skin::makeSpecialUrl
to make a link for a specific protocol.

Cleaned up the creation of personal URLs in SkinTemplate.php
so that when $wgSecureLogin is enabled, the returnto
query is not lost in the process.

Note: This will only work if $wgServer is set to a
protocol relative URL.

Change-Id: Iba48eb3620fb3a721220364185f7abfd902412d0
Signed-off-by: Tyler Romeo <tylerromeo@gmail.com>
11 years agoadd 'patrolmarks' right to list of available rights
umherirrender [Mon, 13 Aug 2012 07:51:02 +0000 (09:51 +0200)]
add 'patrolmarks' right to list of available rights

now it is shown and selectable on api (list=allusers&aurights=) and
Special:GlobalGroupPermissions (from CentralAuth)

Change-Id: I9464109c2d1648e5668e545b9c7109ced656f4d7

11 years agoadd 'reupload-own' right to list of available rights
umherirrender [Mon, 13 Aug 2012 07:43:51 +0000 (09:43 +0200)]
add 'reupload-own' right to list of available rights

Follow up bug 5057, now it is shown and selectable on api
(list=allusers&aurights=) and Special:GlobalGroupPermissions
(from CentralAuth)

Change-Id: Ic7c57c8b29a385ad9c1ad8328ee08af758e3a4f7

11 years agoremove bizarre overflow:hidden from lists in sidebar on Vector
MatmaRex [Sat, 11 Aug 2012 23:34:25 +0000 (01:34 +0200)]
remove bizarre overflow:hidden from lists in sidebar on Vector

I have no idea what this rule was there for. It serves no purpose (the
bullets are already hidden by list-style-type:none several lines above
it), and it only makes it harder to add a bullet point there, e.g. to mark
featured/good articles in interwiki links. I spent 15 minutes figuring out
why the hell they are staying hidden after I set list-style-type to disc.

I believe that this one line was the sole cause of awful hacks used for
the purpose of marking FA/GA interwikis, such as the one on en.wiki[1]
or pl.wiki[2].

[1] https://en.wikipedia.org/wiki/MediaWiki:Vector.css - grep for
    {{tl|Link GA}}, {{tl|Link FA}}

[2] https://pl.wikipedia.org/wiki/MediaWiki:Gadget-featured-articles-links.css
    - grep for .skin-vector

Patchset 2: add word-wrap:break-word per Trevor's suggestion.

Change-Id: Ic993b0fbcc5e468effab3552b032ff4946c18b46

11 years agoadd 'passwortreset' right to list of available rights
umherirrender [Mon, 13 Aug 2012 07:29:44 +0000 (09:29 +0200)]
add 'passwortreset' right to list of available rights

Follow up bug 30636, now it should be shown and selectable on api
(list=allusers&aurights=) and Special:GlobalGroupPermissions (from
CentralAuth)

Change-Id: Id09d144f523c1ed687bd766945dbf9281e1d38c6

11 years agoadd 'editprotected' right to list of available rights
umherirrender [Mon, 13 Aug 2012 06:46:00 +0000 (08:46 +0200)]
add 'editprotected' right to list of available rights

Follow up bug 13137, now it should be shown and selectable on
Special:GlobalGroupPermissions (of CentralAuth)

Change-Id: Iebdf0454ff3636585983b07eab3d2387f404498f

11 years agoMerge "Clean up mw.util.jsMessage"
Trevor Parscal [Mon, 13 Aug 2012 03:18:41 +0000 (03:18 +0000)]
Merge "Clean up mw.util.jsMessage"

11 years agoRemove workaround hack for php bug 46944
Reedy [Sun, 12 Aug 2012 20:11:34 +0000 (21:11 +0100)]
Remove workaround hack for php bug 46944

https://bugs.php.net/bug.php?id=46944

Fixed for 5.3.0, and as we require >= 5.3.2, workaround is redundant

http://php.net/ChangeLog-5.php

Change-Id: I567466c0c747dba2f903e9258d0f06f725cefb8f

11 years agoFix for assertArrayEquals. Was throwing fatal for object elements
jeroendedauw [Sun, 12 Aug 2012 20:55:55 +0000 (22:55 +0200)]
Fix for assertArrayEquals. Was throwing fatal for object elements

Change-Id: I8fa45237e028a814e0895ac0f2b3723394b50d6b

11 years agoMerge "Localisation updates from http://translatewiki.net."
IAlex [Sun, 12 Aug 2012 20:10:52 +0000 (20:10 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMove method to its using test class rather then having a public static thing in the...
jeroendedauw [Sun, 12 Aug 2012 19:47:06 +0000 (21:47 +0200)]
Move method to its using test class rather then having a public static thing in the base test class

Change-Id: Id82225d0fb65dcd30b5724ee4f2d7838dfcb5ea6

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 12 Aug 2012 19:44:03 +0000 (19:44 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I18d4e10c42bbda638eeb887a473e5ee2ee90909f

11 years agoAdded utility method taking an array of elements and wrapping each element in it...
jeroendedauw [Sun, 12 Aug 2012 19:37:54 +0000 (21:37 +0200)]
Added utility method taking an array of elements and wrapping each element in it's own array.

Useful for data providers that only return a single argument.

Change-Id: I220948865e3de395363bf8858098e61de3c8d35b

11 years agoAdded missing @since tags and fixed style
jeroendedauw [Sun, 12 Aug 2012 19:35:37 +0000 (21:35 +0200)]
Added missing @since tags and fixed style

Change-Id: I8941345be8f754bda40f4c36cf2082ca3d408c50

11 years agoMerge "Follow-up I1fc22b16 (06db921): Cast "required" parameter to boolean"
Nikerabbit [Sun, 12 Aug 2012 17:58:58 +0000 (17:58 +0000)]
Merge "Follow-up I1fc22b16 (06db921): Cast "required" parameter to boolean"

11 years agoFollow-up I1fc22b16 (06db921): Cast "required" parameter to boolean
Alexandre Emsenhuber [Sun, 12 Aug 2012 16:59:42 +0000 (18:59 +0200)]
Follow-up I1fc22b16 (06db921): Cast "required" parameter to boolean

Change-Id: I24e678500ab6b207b1d0ef32dd901913d8f131ed

11 years agoMerge "Improve handling of the required argument in HTMLForm field definitions"
IAlex [Sun, 12 Aug 2012 16:58:36 +0000 (16:58 +0000)]
Merge "Improve handling of the required argument in HTMLForm field definitions"

11 years agoClean up mw.util.jsMessage
Timo Tijhof [Sun, 12 Aug 2012 05:04:50 +0000 (07:04 +0200)]
Clean up mw.util.jsMessage

* Re-use hideMessage()
* Actually set messageBoxEvents to true so that the one-time
  setup is only set up once.
* Optimize hex colors ({6}->{3}).
  While at it, also ran it for the rest of the file.

* Follows-up I41c70d78

Change-Id: I1863b62003edc825fdefe53d02c2d22e36409234

11 years agoUpdate message specialpages-group-login to match other similar messages
Reedy [Sat, 11 Aug 2012 23:28:58 +0000 (00:28 +0100)]
Update message specialpages-group-login to match other similar messages

Swap signup for create account

Change-Id: I3b90729a345946b48c1fc30e1d3bdd4a192f5283

11 years agoImprove handling of the required argument in HTMLForm field definitions
jeroendedauw [Sat, 11 Aug 2012 22:23:46 +0000 (00:23 +0200)]
Improve handling of the required argument in HTMLForm field definitions

array( 'required' => false ) will now result in the field not being required rather then the unexpected opossite.

And this is now possible (without doing some extra if)

array( 'required' => getSomeBoolean() )

Change-Id: I1fc22b16ab1fa17111c48aa664aaf47de5f7075a

11 years agoImprove documentation of maintenance scripts.
Alexandre Emsenhuber [Sat, 11 Aug 2012 20:48:09 +0000 (22:48 +0200)]
Improve documentation of maintenance scripts.

Change-Id: I29dd0d4d18ea3d1b9795fac2f0b74b04ef2d955a

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 11 Aug 2012 19:11:00 +0000 (19:11 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ib0ec788f7d5031e7e1eeab4c9da5d1cc78c1d6a9

11 years agoMerge "(bug 34264) Add id="t-print" to the print toolbox link."
Krinkle [Sat, 11 Aug 2012 15:48:18 +0000 (15:48 +0000)]
Merge "(bug 34264) Add id="t-print" to the print toolbox link."

11 years ago(bug 34264) Add id="t-print" to the print toolbox link.
Daniel Friesen [Sat, 11 Aug 2012 04:48:00 +0000 (21:48 -0700)]
(bug 34264) Add id="t-print" to the print toolbox link.

Change-Id: I62c2d6e4c194c4905ae1942f723a41fd20df3a98

11 years agoMerge "Add rule in Uzbek language converter"
Nikerabbit [Sat, 11 Aug 2012 13:52:21 +0000 (13:52 +0000)]
Merge "Add rule in Uzbek language converter"

11 years agoMerge "jQuery 1.8"
Krinkle [Sat, 11 Aug 2012 10:51:27 +0000 (10:51 +0000)]
Merge "jQuery 1.8"

11 years agojsMessage: Redesign in Vector/Monobook as bubble with auto-hide
Trevor Parscal [Fri, 3 Aug 2012 18:50:36 +0000 (11:50 -0700)]
jsMessage: Redesign in Vector/Monobook as bubble with auto-hide

A bit like the "Growl" notifications on Mac.

The message will auto-hide in all skins, which is especially useful
with VisualEditor because you it does most things through ajax which
means that a msg in there could be visible for way longer than it
should be with no way of hiding it.

By being designed as a floating bubble instead of a static positioned
element in regular document flow it also prevents the page flow
from being interrupted and moved down a bit. Again that was
especially annoying in VisualEditor because jsMessage forced itself
between the tab bar and the editor toolbar, which were meant to be
against each other.

Auto-hiding is disabled while the mouse if hovering the message.
The timer starts again when the mouse is no longer on it.

Also:
* cleaned up some whitespace issues in vector.js
* Removed jshintignore for skins/common
  Removed whitelisting of 'mw' global
  skins/common may not be prefect, but at least this way it gives
  warnings inside the code when writing/editing something, which is
  still useful.
  It helped to catch that 'mw' was used from the global scope.

Change-Id: I41c70d78c8ed8aeb91a598dc4a7b26dfad8d8f6c

11 years agoRemoved useless fj_path_sha1 field to save space.
Aaron Schulz [Sat, 11 Aug 2012 06:03:31 +0000 (23:03 -0700)]
Removed useless fj_path_sha1 field to save space.

* Searches by path are not used by any code, and small blobs
  are stored with the rest of the row in innoDB, so there is
  no gain there. The field is mostly a hangover from a use case
  that never materialized (where it would be indexed).

Change-Id: I5515f15bd35823736138a79a4942c7207e519e5c

11 years ago[FileBackend] Added UTF-8 restriction to file names to avoid CF breakage.
Aaron [Fri, 10 Aug 2012 21:25:59 +0000 (14:25 -0700)]
[FileBackend] Added UTF-8 restriction to file names to avoid CF breakage.

Change-Id: Id0f246c80f2595fba96e99b3bbe778e89dbc6e84

11 years agoAdd rule in Uzbek language converter
robin [Fri, 10 Aug 2012 20:59:59 +0000 (22:59 +0200)]
Add rule in Uzbek language converter

Per user feedback, make sure yo? gets converted to ??, and not to ???

Change-Id: I7a161cfd4c2bc782091ef3844ff5facf0cf27278

11 years ago(bug 33471) Changed detection of secure cookies.
Tyler Romeo [Fri, 10 Aug 2012 20:27:13 +0000 (16:27 -0400)]
(bug 33471) Changed detection of secure cookies.

Changed code in Setup.php that checks whether or
not to use secure cookies. Previously it just
looked at $wgServer, which doesn't work with
protocol-relative URLs. Now it uses WebRequest::detectProtocol(),
which in turn checks $_SERVER.

Change-Id: I6adc7e3e9bd224608b13cbb748bdd2b61edaa764
Signed-off-by: Tyler Romeo <tylerromeo@gmail.com>
11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Fri, 10 Aug 2012 19:33:03 +0000 (19:33 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoPass the parameters to the error message in UploadStash::stashFile().
Alexandre Emsenhuber [Fri, 10 Aug 2012 19:14:01 +0000 (21:14 +0200)]
Pass the parameters to the error message in UploadStash::stashFile().

Currently it shows the error message without any parameters since
$error is an array with the message name and its parameters, and
the Message class thinks that this is a message with its fallbacks
(see wfMessageFallback())

Change-Id: I5d825144795ad108f0a71f90cc530629c5c98a41

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 10 Aug 2012 19:10:19 +0000 (19:10 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I37f865ec089be6fdc78bec4736144b2a7749f06f

11 years agoMerge "[FileBackend] Added option for copy script to skip non-UTF8 filenames."
Demon [Fri, 10 Aug 2012 18:47:03 +0000 (18:47 +0000)]
Merge "[FileBackend] Added option for copy script to skip non-UTF8 filenames."

11 years agoMerge "Trim $dbSupport in WebInstallerPage.php"
IAlex [Fri, 10 Aug 2012 17:40:01 +0000 (17:40 +0000)]
Merge "Trim $dbSupport in WebInstallerPage.php"

11 years ago[FileBackend] Added option for copy script to skip non-UTF8 filenames.
Aaron Schulz [Fri, 10 Aug 2012 05:23:44 +0000 (22:23 -0700)]
[FileBackend] Added option for copy script to skip non-UTF8 filenames.

Change-Id: I9b48012d890c2c4589984576a31d84dde535ad5b

11 years agoMerge "(bug 38388) Add documentation for MediaWiki:Config-support-info"
Siebrand [Fri, 10 Aug 2012 15:34:19 +0000 (15:34 +0000)]
Merge "(bug 38388) Add documentation for MediaWiki:Config-support-info"

11 years ago(bug 38388) Add documentation for MediaWiki:Config-support-info
Liangent [Fri, 10 Aug 2012 15:16:50 +0000 (23:16 +0800)]
(bug 38388) Add documentation for MediaWiki:Config-support-info

Change-Id: I7463974d1ed2811150bfe50f291fc81f3e7d4ea0

11 years agoTrim $dbSupport in WebInstallerPage.php
Liangent [Fri, 10 Aug 2012 15:11:07 +0000 (23:11 +0800)]
Trim $dbSupport in WebInstallerPage.php

This removes the trailing "\n" which introduces an extra new line.

Change-Id: I74d5d1c95259ca5144932fbe8aa50cb69e036054

11 years agojQuery 1.8
Reedy [Thu, 2 Aug 2012 20:04:37 +0000 (21:04 +0100)]
jQuery 1.8

http://blog.jquery.com/2012/08/09/jquery-1-8-released/

Change-Id: I7b85e1382615e76b1737c7c52691cf8079a55f6e

11 years agoFollow-up I62ba23bd (a47892a): update AutoLoader comment.
Alexandre Emsenhuber [Fri, 10 Aug 2012 09:58:08 +0000 (11:58 +0200)]
Follow-up I62ba23bd (a47892a): update AutoLoader comment.

Also moved the the section to the correct location.

Change-Id: I9cd2d65f7473c513b1fe86aa53e9f83be08a44da

11 years agoFix typo: occured -> occurred.
Siebrand Mazeland [Fri, 10 Aug 2012 08:59:55 +0000 (10:59 +0200)]
Fix typo: occured -> occurred.

Change-Id: I5e66fdd52791487f81796ae1965ac31c94b36182

11 years agoFix documentation for hook AbortNewAccount.
Siebrand Mazeland [Thu, 9 Aug 2012 22:36:13 +0000 (00:36 +0200)]
Fix documentation for hook AbortNewAccount.

Change-Id: I8982f5f512eec0742fe5232c2e68396e9b1c95f4

11 years agoMerge "[FileBackend] Moved filerepo/backend/ up to filebackend"
Demon [Thu, 9 Aug 2012 20:07:47 +0000 (20:07 +0000)]
Merge "[FileBackend] Moved filerepo/backend/ up to filebackend"

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Thu, 9 Aug 2012 19:42:36 +0000 (19:42 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 9 Aug 2012 19:21:24 +0000 (19:21 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ib16713056929fa5ef310cb824a235a81bd9c960d

11 years agoMerge "Added @since tags"
IAlex [Thu, 9 Aug 2012 19:18:38 +0000 (19:18 +0000)]
Merge "Added @since tags"

11 years agoAdded @since tags
jeroendedauw [Thu, 9 Aug 2012 16:03:14 +0000 (18:03 +0200)]
Added @since tags

Change-Id: I90717790ac159713e48de7eb89649c3bcbce1d87

11 years agoMerge "Kranitor #2: Pass JSHint on resources/mediawiki/*"
Catrope [Thu, 9 Aug 2012 18:45:36 +0000 (18:45 +0000)]
Merge "Kranitor #2: Pass JSHint on resources/mediawiki/*"

11 years agoKranitor #2: Pass JSHint on resources/mediawiki/*
Timo Tijhof [Tue, 24 Jul 2012 20:45:20 +0000 (13:45 -0700)]
Kranitor #2: Pass JSHint on resources/mediawiki/*

* .jshintrc
 - Update properties to reflect our conventions more

* Re-pass resources/jquery/*
* Pass resources/mediawiki/*
 - Trailing whitespace
 - Whitelist the one usage of document.write with
   a local /*jshint evil:true */ in the function that
   we allow to use it.
 - Get rid of dangling _ in var names and undescriptive
   instances of '_this'.
 - More code conventions

* Add a few documentation comments while at it

Change-Id: Ic4f2b5d473a440667a40e4d5f12f40877386b02f

11 years agoImprove documentation of maintenance scripts.
Alexandre Emsenhuber [Thu, 9 Aug 2012 16:06:18 +0000 (18:06 +0200)]
Improve documentation of maintenance scripts.

Change-Id: I21b4fb873e88026108754eb7206e62c82648df0e

11 years agoMerge "Fix issue in SpecialCachedPage: only save cache when initialized"
IAlex [Thu, 9 Aug 2012 17:25:25 +0000 (17:25 +0000)]
Merge "Fix issue in SpecialCachedPage: only save cache when initialized"

11 years agoMerge "(bug 12701) Use diff of all unseen revisions in the "new messages" bar."
Aaron Schulz [Thu, 9 Aug 2012 16:59:57 +0000 (16:59 +0000)]
Merge "(bug 12701) Use diff of all unseen revisions in the "new messages" bar."

11 years agoMerge "Minor bits of documentation updates to upload code"
Siebrand [Thu, 9 Aug 2012 15:31:57 +0000 (15:31 +0000)]
Merge "Minor bits of documentation updates to upload code"

11 years agoMinor bits of documentation updates to upload code
Reedy [Thu, 9 Aug 2012 15:20:09 +0000 (16:20 +0100)]
Minor bits of documentation updates to upload code

Including hint for bug 39195

Change-Id: I4cdab97011330c12a943112f6c05134362d26a82

11 years agoFix issue in SpecialCachedPage: only save cache when initialized
jeroendedauw [Thu, 9 Aug 2012 14:40:09 +0000 (16:40 +0200)]
Fix issue in SpecialCachedPage: only save cache when initialized

Change-Id: I5a63857c297fbf3055ea6e5d0524dac8fd251411

11 years agoFollowup for bug 39099
Reedy [Thu, 9 Aug 2012 13:54:46 +0000 (14:54 +0100)]
Followup for bug 39099

If we're not passed an array, try and make it one..

Change-Id: I269848d08893cecfb0ac4de87a3155c916981a8d

11 years agoAdded missing @since and @return tags so other people dont have to waste their time...
jeroendedauw [Thu, 9 Aug 2012 12:29:46 +0000 (14:29 +0200)]
Added missing @since and @return tags so other people dont have to waste their time figuring it out as well

Change-Id: I84e75da7bdbf30b57368eca0051b1aa664afc798

11 years ago[FileBackend] Moved filerepo/backend/ up to filebackend
Aaron Schulz [Thu, 9 Aug 2012 01:16:31 +0000 (18:16 -0700)]
[FileBackend] Moved filerepo/backend/ up to filebackend

Change-Id: I62ba23bd22e0f177fb48acaf6bcc38cbffacd3e7

11 years agoAdded a Redis client for object cache storage
Tim Starling [Wed, 8 Aug 2012 07:31:41 +0000 (17:31 +1000)]
Added a Redis client for object cache storage

With sharding, failover and consistent hashing. Only supports the
extension (phpredis), since the pure PHP library Predis had about a
billion files and it made my eyes hurt.

Change-Id: I90fb4a41d15265b9c22f8e32ecd1d956f89f3ce8

11 years agoMerge "Added another parser test for headings."
GWicke [Wed, 8 Aug 2012 20:21:57 +0000 (20:21 +0000)]
Merge "Added another parser test for headings."

11 years agoFix title inside form on Special:ListFiles
umherirrender [Wed, 8 Aug 2012 20:07:34 +0000 (22:07 +0200)]
Fix title inside form on Special:ListFiles

The form reused the title from the query, but when calling the page with
a subpage as parameter (Special:ListFiles/User), than the title contains
this subpage also, that looks not good, when resubmit the form.

This way is a copy from Special:AllMessages.

Change-Id: I431be530ad65e36c26c5a02fe78e436254131592