lhc/web/wiklou.git
10 years agoCorrect the regular expression for explicit plural forms
Santhosh Thottingal [Tue, 23 Jul 2013 15:03:04 +0000 (20:33 +0530)]
Correct the regular expression for explicit plural forms

/\d+=/ will match a12=abc. That is wrong. The plural form must
start with digits. Changing it to /^\d+=/

Also avoid Regex instance creation in mediawiki.language.js, use
literal regex.

Follow up: I82b9067 and I50eb0c6
Bug: 51284

Change-Id: I70ad3f99ad0a2600773c005d9e9cc8238e6e6d09

10 years agoMerge "Add linktrail for Malayalam"
jenkins-bot [Mon, 22 Jul 2013 08:45:28 +0000 (08:45 +0000)]
Merge "Add linktrail for Malayalam"

10 years agoAdd linktrail for Malayalam
Santhosh Thottingal [Mon, 22 Jul 2013 04:15:48 +0000 (09:45 +0530)]
Add linktrail for Malayalam

Bug: 44029
Change-Id: I591a92ab563f2ef8340122f63a202d2c02d29d97

10 years agoMerge "Clean up: Consistently use "$" instead of "$( document ).ready""
jenkins-bot [Mon, 22 Jul 2013 02:42:54 +0000 (02:42 +0000)]
Merge "Clean up: Consistently use "$" instead of "$( document ).ready""

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 21 Jul 2013 19:04:25 +0000 (19:04 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Icd89c666b6962cf3028ee4d13860f4f61243c654

10 years agoTablesorter: Add testcase for unsortable column
Derk-Jan Hartman [Wed, 17 Jul 2013 21:23:51 +0000 (23:23 +0200)]
Tablesorter: Add testcase for unsortable column

Change-Id: I64ea3c7301a8be6c4b7b9b462d0e81b89a525f9e

10 years agoMerge "Tweak Special:Log/block for supporting RTL wikis"
jenkins-bot [Sun, 21 Jul 2013 09:31:48 +0000 (09:31 +0000)]
Merge "Tweak Special:Log/block for supporting RTL wikis"

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 20 Jul 2013 20:44:43 +0000 (20:44 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I4e0a77e7c5d398749995401d4035f16ce994ecea

10 years agoTweak Special:Log/block for supporting RTL wikis
Ebrahim Byagowi [Sat, 20 Jul 2013 00:09:02 +0000 (00:09 +0000)]
Tweak Special:Log/block for supporting RTL wikis

dir="ltr" was added to make block durations on Special:Log/block
readable for non-local admins, While removing it, I used a
solution to keep block duration on title readable for non-local
admins and making inner text readable for local users

Change-Id: I31aef50196319be7355ad14657e67ca23fc15e20

10 years agoDeprecate MWFunction::call and ::callArray
Kevin Israel [Fri, 19 Jul 2013 03:30:42 +0000 (23:30 -0400)]
Deprecate MWFunction::call and ::callArray

These functions existed to work around a bug (fixed in PHP 5.3) and
a missing feature (added in PHP 5.2) in older versions of PHP;
therefore, they are no longer necessary.

Change-Id: Ifebbe3d449fc57fd83f8350c28f467605c1a07b7

10 years agoChange message to say deleting "unused" accounts rather than "inactive".
Kunal Mehta [Thu, 18 Jul 2013 06:31:59 +0000 (23:31 -0700)]
Change message to say deleting "unused" accounts rather than "inactive".

Bug: 49128
Change-Id: I8f93ba581abbf6e9c83ad8ade32ea0657bde6b01

10 years agoMerge "Added a Descriptive Comment to the AutoLoaderTest"
jenkins-bot [Fri, 19 Jul 2013 22:06:40 +0000 (22:06 +0000)]
Merge "Added a Descriptive Comment to the AutoLoaderTest"

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 19 Jul 2013 21:16:42 +0000 (21:16 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I516e79d026a854d2794378e0b083e0d9a2eb9743

10 years agoAdding myself on CREDITS, "Patch Contributors" section
Ebrahim Byagowi [Sat, 20 Jul 2013 01:02:10 +0000 (01:02 +0000)]
Adding myself on CREDITS, "Patch Contributors" section

Change-Id: If5e5809008ac5db9562fff32316a53906163d4bb

10 years agoMerge "Tweak CSSJanus to support noflip for selectors with parentheses"
jenkins-bot [Fri, 19 Jul 2013 19:01:12 +0000 (19:01 +0000)]
Merge "Tweak CSSJanus to support noflip for selectors with parentheses"

10 years agoTweak CSSJanus to support noflip for selectors with parentheses
Ebrahim Byagowi [Fri, 19 Jul 2013 23:16:07 +0000 (23:16 +0000)]
Tweak CSSJanus to support noflip for selectors with parentheses

Also suggested for CSSJanus itself at http://code.google.com/p/cssjanus/issues/detail?id=22

Change-Id: I4e3b21522e9c5a72cd456ed3d6a0be9225e4b70d

10 years agoMerge "Make User::getEditCount() always return an integer"
jenkins-bot [Fri, 19 Jul 2013 18:23:21 +0000 (18:23 +0000)]
Merge "Make User::getEditCount() always return an integer"

10 years agoMerge "HistoryPager: Remove superfluous join condition"
jenkins-bot [Fri, 19 Jul 2013 18:19:05 +0000 (18:19 +0000)]
Merge "HistoryPager: Remove superfluous join condition"

10 years agoAPI: Allow extensions to specify "useless" query pages
Brad Jorsch [Wed, 10 Jul 2013 20:58:32 +0000 (16:58 -0400)]
API: Allow extensions to specify "useless" query pages

Some query pages are not useful for ApiQueryQueryPage, as they require
arguments that cannot be specified with that interface. Currently, the
list of such pages is in a private static variable in ApiQueryQueryPage;
this moves it to a global so extensions can add to the list.

Change-Id: Ieccd2e84803dc1de4e26cba85d6cdda13916647f

10 years agoprofiler: log slow methods that worsen DB locks in transactions
Aaron Schulz [Thu, 27 Jun 2013 19:11:19 +0000 (12:11 -0700)]
profiler: log slow methods that worsen DB locks in transactions

Change-Id: I1aa13c29837fa655c13ef324d02cd1be1739edea

10 years agoMake User::getEditCount() always return an integer
Juliusz Gonera [Thu, 18 Jul 2013 20:12:15 +0000 (13:12 -0700)]
Make User::getEditCount() always return an integer

The docs comment says it returns an int but it often returned a string.
This led to casting this value into an integer in other parts of the
codebase and in extensions (grep MobileFrontend or Echo for EditCount).

Bug: 51633
Change-Id: I6fe5b26c24e674e8148c1fd278774b3fabe844c5

10 years agoClean up: Consistently use "$" instead of "$( document ).ready"
Timo Tijhof [Tue, 16 Jul 2013 22:08:49 +0000 (00:08 +0200)]
Clean up: Consistently use "$" instead of "$( document ).ready"

Change-Id: Ie370fec8c851607f5ea7401e92129f9f60b6268b

10 years agoMerge "Sync up with Parsoid parserTests."
jenkins-bot [Thu, 18 Jul 2013 21:52:11 +0000 (21:52 +0000)]
Merge "Sync up with Parsoid parserTests."

10 years agoMerge "Removing redundant styles for icon-only buttons"
jenkins-bot [Thu, 18 Jul 2013 21:44:17 +0000 (21:44 +0000)]
Merge "Removing redundant styles for icon-only buttons"

10 years agoSync up with Parsoid parserTests.
C. Scott Ananian [Thu, 18 Jul 2013 21:33:12 +0000 (17:33 -0400)]
Sync up with Parsoid parserTests.

This now aligns with Parsoid commit f5aa9efaee28d5b6571838e45879afdc8d4046eb

Change-Id: I709da355b1f24ba013d002c913bc69c1c2a19d52

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 18 Jul 2013 19:35:47 +0000 (19:35 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ia8805c66d2f2ee54f84658faed8011ab2d73f1a1

10 years agoRemoving redundant styles for icon-only buttons
rillke [Thu, 18 Jul 2013 18:16:41 +0000 (20:16 +0200)]
Removing redundant styles for icon-only buttons

As pointed out in bug 48593 (patched by
813cedb0308da58f3a2a4dc8ebefe489bf3005bc), these style rules are
overwritten later in the file and ignored by browser.
This patch will remove them as they do not serve any purpose.

Bug: 51623
Change-Id: Ib8aed40238f53198f207d4e57d0ced54622ad9e2

10 years agoMerge "Removing space between buttons in Buttonset in Vector"
jenkins-bot [Thu, 18 Jul 2013 13:12:29 +0000 (13:12 +0000)]
Merge "Removing space between buttons in Buttonset in Vector"

10 years agoFixing width of icon-only-buttons in Vector skin
rillke [Thu, 18 Jul 2013 11:34:40 +0000 (13:34 +0200)]
Fixing width of icon-only-buttons in Vector skin

MediaWiki uses a custom stylesheet for buttons in Vector skin. This
stylesheet, however, breaks the jQuery UI icon-only buttons by setting
their width to "auto". This patch will re-set the width to 2.2em for
single-icon buttons and to 3.4em for 2-icon buttons.

Bug: 48593
Change-Id: I650d0e211cb4a1ce47c3d2246a3f266316afbb54

10 years agoRemoving space between buttons in Buttonset in Vector
rillke [Thu, 18 Jul 2013 07:48:07 +0000 (09:48 +0200)]
Removing space between buttons in Buttonset in Vector

Removing whitespace between buttons in jquery.ui.buttonset in vector skin.
jQuery UI Buttons are displayed inline-block. In case there is
whitespace between button nodes in the HTML source, the whitspace would
be also rendered. To avoid this, jQuery UI decided to put a negative
margin in place. However, this negative margin is not enough in Vector skin by
MediaWiki (see attached screenshots in bug 32687). By setting the margin
from -0.3em to -0.4em this issue will be addressed in all tested browsers.
Since the text and icons in the buttons have a padding around 1em, this
patch will not obscure text or icons in the buttons. The only downside
is the shadow that is multiplied below the button and thus darker. But
this was an issue before and it will be just more obvious after applying
this patch.

Bug: 32687
Change-Id: I2577fe0ed79f0704ff40c019ec824d8ba62c3bf1

10 years agoMerge "Form improvements when creating another's account"
jenkins-bot [Thu, 18 Jul 2013 05:29:15 +0000 (05:29 +0000)]
Merge "Form improvements when creating another's account"

10 years agoAllow for IDatabase to be used as type hints for DatabaseBase|DBConnRef
Aaron Schulz [Thu, 18 Jul 2013 03:37:38 +0000 (20:37 -0700)]
Allow for IDatabase to be used as type hints for DatabaseBase|DBConnRef

* Use this in LogEntry to avoid needless type errors

Change-Id: I8644b35b0d9cd171243dd28de52e94ef39d361a7

10 years agoRelease notes for Ie04f23c1
MatmaRex [Wed, 17 Jul 2013 18:23:11 +0000 (20:23 +0200)]
Release notes for Ie04f23c1

Change-Id: I30aa881a2ad962bee7a0710c6693afae9881118f

10 years agoMerge "HTCPPurge() early exit on socket error"
jenkins-bot [Thu, 18 Jul 2013 00:50:16 +0000 (00:50 +0000)]
Merge "HTCPPurge() early exit on socket error"

10 years agoAdded a Descriptive Comment to the AutoLoaderTest
Matt Walker [Wed, 17 Jul 2013 23:55:36 +0000 (16:55 -0700)]
Added a Descriptive Comment to the AutoLoaderTest

Change-Id: Ib209f869f7ec11f29cc69fb02f558b54791eb2aa

10 years agoMerge "Adding getter method for QuickTemplate"
jenkins-bot [Wed, 17 Jul 2013 22:39:41 +0000 (22:39 +0000)]
Merge "Adding getter method for QuickTemplate"

10 years agoForm improvements when creating another's account
S Page [Tue, 9 Jul 2013 04:35:43 +0000 (21:35 -0700)]
Form improvements when creating another's account

Detect a logged-in user creating an account for someone else and change
messages:
* heading is "Enter the new account information below."
* username placeholder is "Enter the username", not "Enter your username"
* email field placeholder is "Enter email address" not "Enter your ..."
* submit button is "Create another account"

Also improve JS when e-mail password is checked to remove the password
fields (otherwise the form still submits them and browser prompts to
remember password).

Bug: 47792
Change-Id: I00e0d21d63bf32ad691ea3a27523298478e2d45c

10 years agoMerge "ResourceLoader lint"
jenkins-bot [Wed, 17 Jul 2013 21:35:20 +0000 (21:35 +0000)]
Merge "ResourceLoader lint"

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 17 Jul 2013 19:25:23 +0000 (19:25 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Id0eefc207ad24da4e636fc70351e7c82aaa20d63

10 years agoAdding getter method for QuickTemplate
kaldari [Sat, 13 Jul 2013 00:15:56 +0000 (17:15 -0700)]
Adding getter method for QuickTemplate

Also updating a few functions to use it.

Change-Id: I466d36e48dec1f798f38152c829a25eb80f8b67b

10 years agoMerge "diff: Display "(No difference)" instead of an empty diff"
jenkins-bot [Wed, 17 Jul 2013 18:45:14 +0000 (18:45 +0000)]
Merge "diff: Display "(No difference)" instead of an empty diff"

10 years agodiff: Display "(No difference)" instead of an empty diff
umherirrender [Wed, 10 Jul 2013 19:49:36 +0000 (21:49 +0200)]
diff: Display "(No difference)" instead of an empty diff

This makes it easier to see the fact, because without a hint, the user
can mean, that there is something missing, but here the missing is okay
and for that, the message is helpful.

Change-Id: I458fb688b0001fb674ece65b3fdabf56fc658a29

10 years agoMerge "Code style cleanup for ApiQuerySiteinfo.php."
jenkins-bot [Wed, 17 Jul 2013 16:21:53 +0000 (16:21 +0000)]
Merge "Code style cleanup for ApiQuerySiteinfo.php."

10 years agoCSSJanus: Handle values of border-radius correctly
MatmaRex [Thu, 6 Jun 2013 15:58:36 +0000 (17:58 +0200)]
CSSJanus: Handle values of border-radius correctly

The values are not "top right bottom left" here, but
"top-left top-right bottom-right bottom-left".

Bug: 49074
Change-Id: I22bc777b59e667aeb36727fdc8e41e8681979128

10 years agoMerge "Fixed return type of getContentNamespaces()"
jenkins-bot [Wed, 17 Jul 2013 00:09:00 +0000 (00:09 +0000)]
Merge "Fixed return type of getContentNamespaces()"

10 years agoFixed return type of getContentNamespaces()
Aaron Schulz [Thu, 4 Jul 2013 19:55:47 +0000 (12:55 -0700)]
Fixed return type of getContentNamespaces()

Change-Id: I3e1717c3a7b3f9d7fa7fd823b5d3143a679b0d3d

10 years agoMerge "Have Chunked upload jobs bail if cannot associate with session."
jenkins-bot [Tue, 16 Jul 2013 23:55:38 +0000 (23:55 +0000)]
Merge "Have Chunked upload jobs bail if cannot associate with session."

10 years agoMerge "Move inclusion of the Composer autoloader to after inclusion of DefaultSettings"
jenkins-bot [Tue, 16 Jul 2013 22:13:07 +0000 (22:13 +0000)]
Merge "Move inclusion of the Composer autoloader to after inclusion of DefaultSettings"

10 years agoCode style cleanup for ApiQuerySiteinfo.php.
C. Scott Ananian [Tue, 16 Jul 2013 14:43:03 +0000 (10:43 -0400)]
Code style cleanup for ApiQuerySiteinfo.php.

This fixes the code style error (2 blank lines in a row) introduced by
I17aae9512e0994222785c5edc9de644685b2498c as well as a number of other
line-too-long errors flagged by phpcs.

Change-Id: I3c628eab101ee97d0182ee2db37b53105346af99

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 16 Jul 2013 19:56:20 +0000 (19:56 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I57e7597bfbad99d22bf49aedfaa09324d5781f41

10 years agoMake it easier to override the DB used for a Pager subclass
Aaron Schulz [Tue, 16 Jul 2013 18:15:09 +0000 (11:15 -0700)]
Make it easier to override the DB used for a Pager subclass

Change-Id: I7341ae499e7a5a97061a130b5a4927bada283330

10 years agoMerge "Add wgAllowExternalImages option to parser tests."
jenkins-bot [Tue, 16 Jul 2013 18:02:02 +0000 (18:02 +0000)]
Merge "Add wgAllowExternalImages option to parser tests."

10 years agoMerge "Prevent Special:Contributions from indicating that an IP address is autoblocked"
jenkins-bot [Tue, 16 Jul 2013 17:50:52 +0000 (17:50 +0000)]
Merge "Prevent Special:Contributions from indicating that an IP address is autoblocked"

10 years agoMerge "Fix incorrect escaping of nested <em>, <strong>, <q>, <ruby>, and <bdo>"
jenkins-bot [Tue, 16 Jul 2013 16:20:57 +0000 (16:20 +0000)]
Merge "Fix incorrect escaping of nested <em>, <strong>, <q>, <ruby>, and <bdo>"

10 years agoHTCPPurge() early exit on socket error
Antoine Musso [Tue, 2 Jul 2013 10:42:39 +0000 (12:42 +0200)]
HTCPPurge() early exit on socket error

I tend to dislike code style such as:

if( $ok ) {
// lot of code
} else {
return false;
}

The SquidUpdate::HTCPPurge() used that pattern to handle a
socket_create() issue.  I have simply moved the block above and inverted
the condition.  Ie:

if( ! $ok ) {
return false;
}
// lot of code

That saves a level of indentation and makes the code a bit easier to
follow IMHO.

Change-Id: Ic3c6e22bbb637352fef740a0c1663a4b6f5a2b6a

10 years agoExport information about external image settings via siteinfo API.
C. Scott Ananian [Thu, 11 Jul 2013 17:56:35 +0000 (13:56 -0400)]
Export information about external image settings via siteinfo API.

This configuration information is needed in order for Parsoid to
appropriately parse external image URLs.

Bug: 51092
Change-Id: I17aae9512e0994222785c5edc9de644685b2498c

10 years agoMerge "Support explicit plural forms at client side l10n"
jenkins-bot [Tue, 16 Jul 2013 07:23:49 +0000 (07:23 +0000)]
Merge "Support explicit plural forms at client side l10n"

10 years agoPrevent Special:Contributions from indicating that an IP address is autoblocked
Kunal Mehta [Tue, 16 Jul 2013 05:28:17 +0000 (22:28 -0700)]
Prevent Special:Contributions from indicating that an IP address is autoblocked

If an IP address was autoblocked in the userlinks, sysops would see
"change block" and "unblock", indicating that the IP is autoblocked.

Now Special:Contributions will only display "change block" if the user
is blocked and the block type is not Block::TYPE_AUTO. This is the same
check which is used above when deciding whether to display the
block log extract.

Bug: 46457
Change-Id: I43047059cb67527d5296322ac17fe798db917bec

10 years agoSupport explicit plural forms at client side l10n
Santhosh Thottingal [Sat, 13 Jul 2013 11:11:56 +0000 (16:41 +0530)]
Support explicit plural forms at client side l10n

Adds support for explicit plural forms like n=form

Example:
message: There {{plural:$1|is one car|are $1 cars|0=are no cars|12=are a dozen
cars}}

with $1=12, this gives: There are a dozen cars

Includes qunit tests.

Bug: 51284
Change-Id: I82b906769ccdd9907d2d8022a689232f496c033e

10 years agoMerge "database: added DBConnRef wrapper to manage calling reuseConnection()"
jenkins-bot [Mon, 15 Jul 2013 23:20:31 +0000 (23:20 +0000)]
Merge "database: added DBConnRef wrapper to manage calling reuseConnection()"

10 years agoMerge "Allow postEdit hook to be triggered asynchronously"
jenkins-bot [Mon, 15 Jul 2013 22:31:34 +0000 (22:31 +0000)]
Merge "Allow postEdit hook to be triggered asynchronously"

10 years agodatabase: added DBConnRef wrapper to manage calling reuseConnection()
Aaron Schulz [Sat, 6 Jul 2013 06:19:11 +0000 (23:19 -0700)]
database: added DBConnRef wrapper to manage calling reuseConnection()

Change-Id: Ifc9db62d1ac34d0c6a072d6f2d05bdcf73af14bb

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 15 Jul 2013 19:28:12 +0000 (19:28 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I4754e3416cb763f6e78c1e4756db9c49c5d6f15f

10 years agoMerge "Mime emails should be sent with UTF-8 charset"
Tychay [Mon, 15 Jul 2013 18:37:02 +0000 (18:37 +0000)]
Merge "Mime emails should be sent with UTF-8 charset"

10 years agoAPI: Fix prop=imageinfo iicontinue
Brad Jorsch [Mon, 15 Jul 2013 15:41:06 +0000 (11:41 -0400)]
API: Fix prop=imageinfo iicontinue

The iicontinue value needs to contain the dbkey, not the text version of
the title, as the dbkey version is what is being used for comparison
internally.

Bug: 51342
Change-Id: I88d99681fd601543c1d7c824c391ce272143c2e1

10 years agoMove inclusion of the Composer autoloader to after inclusion of DefaultSettings
jeroendedauw [Mon, 15 Jul 2013 15:33:49 +0000 (17:33 +0200)]
Move inclusion of the Composer autoloader to after inclusion of DefaultSettings

If it is before, settings set by extensions will end up being overriden.

Change-Id: Ibe80d621cfaa7258cfd759094a1e9f0008a469b1

10 years agoAllow postEdit hook to be triggered asynchronously
Ed Sanders [Fri, 21 Jun 2013 12:32:10 +0000 (13:32 +0100)]
Allow postEdit hook to be triggered asynchronously

This is required by VisualEditor as it doesn't do a page reload
after a save. So we need it to keep listening even if the
initial config and cookie data doesn't show an edit was just
made.

* Allow the message to be overriden, as VE uses its own.
* Using jQuery instead of direct DOM interaction with `div` (and
  renamed to $div accordingly).
* Moved click handler from postedit-close to postedit-container.

Bug: 39632
Change-Id: I778b18bc051c51de355e122d8d4517b5a651ed4c

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 14 Jul 2013 19:15:22 +0000 (19:15 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ic83e47bec279a98ef3be15f5c697f07dda78c4d0

10 years agoMerge "Parse the undelete-search-prefix message"
jenkins-bot [Sun, 14 Jul 2013 18:02:08 +0000 (18:02 +0000)]
Merge "Parse the undelete-search-prefix message"

10 years agoParse the undelete-search-prefix message
Marius Hoch [Fri, 12 Jul 2013 15:04:04 +0000 (17:04 +0200)]
Parse the undelete-search-prefix message

Requested on dewiki to use an explaining wikilink there.

Change-Id: Ib36afee75089c04fcd73bc0000c964f39869c6bb

10 years agoMerge "filebackend: normalize paths used in locking"
jenkins-bot [Sun, 14 Jul 2013 04:34:28 +0000 (04:34 +0000)]
Merge "filebackend: normalize paths used in locking"

10 years agoAdd release notes 8dcf1e6205
Timo Tijhof [Sat, 13 Jul 2013 15:36:58 +0000 (17:36 +0200)]
Add release notes 8dcf1e6205

Change-Id: I02c8fc0782f8c20c8acb6a06cefe14416cc2a843

10 years agoDon't cache in User::isEveryoneAllowed during unit tests
Marius Hoch [Fri, 12 Jul 2013 20:40:34 +0000 (22:40 +0200)]
Don't cache in User::isEveryoneAllowed during unit tests

Extension unit tests depend on being able to change these
mid-request (that would never happen during normal usage).

Change-Id: Ic32da022cf774341631686e6345969acc1aa5055

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 12 Jul 2013 20:19:34 +0000 (20:19 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I3a99a2a7d47b6554622f41271bd5bfdf7146ff58

10 years agoMerge "Remove unused globals."
jenkins-bot [Fri, 12 Jul 2013 19:35:34 +0000 (19:35 +0000)]
Merge "Remove unused globals."

10 years agoHistoryPager: Remove superfluous join condition
MatmaRex [Fri, 12 Jul 2013 19:15:59 +0000 (21:15 +0200)]
HistoryPager: Remove superfluous join condition

It is already added by ChangeTags::modifyDisplayQuery().

Change-Id: I00f1f87aa77392a544be50c0298a8d9acb239d4c

10 years agoRemove unused globals.
Platonides [Fri, 12 Jul 2013 18:25:14 +0000 (20:25 +0200)]
Remove unused globals.

Change-Id: Icde0bbfcfe5e560a3db0ccb8020b9c9a27f4fba3

10 years agoRemoved $wgOldChangeTagsIndex
Reedy [Fri, 12 Jul 2013 18:06:15 +0000 (19:06 +0100)]
Removed $wgOldChangeTagsIndex

Bug 40866

Change-Id: Ifa003dece15d0866ed50cf3e2ecc6a5e70a3932a

10 years agoMerge "Fix class name: s/PerissionsError/PermissionsError/"
jenkins-bot [Fri, 12 Jul 2013 17:10:17 +0000 (17:10 +0000)]
Merge "Fix class name: s/PerissionsError/PermissionsError/"

10 years agoFix class name: s/PerissionsError/PermissionsError/
Platonides [Fri, 12 Jul 2013 16:29:49 +0000 (18:29 +0200)]
Fix class name: s/PerissionsError/PermissionsError/

Follow-up: 08adf46b26

Change-Id: I1666a91ca6df6a741d5de882051ddb9b7715e019

10 years agoAdd User::isEveryoneAllowed function
Brad Jorsch [Fri, 12 Jul 2013 15:06:41 +0000 (11:06 -0400)]
Add User::isEveryoneAllowed function

User::groupHasPermission is used for various purposes, from checking
whether it makes sense to show a "hide logged-in users" on
Special:NewPages to showing different error messages in some places when
'user' or 'autoconfirmed' is allowed the action to avoiding unstubbing
$wgUser to check $wgUser->isAllowed( 'read' ) in the common case where
'read' permission is granted to everyone.

For the OAuth work, we need to be able to catch that last type of use
without interfering with the others. This change introduces
User::isEveryoneAllowed() to be used for that type of check, which both
makes sure the right granted to '*' isn't revoked from any group and
calls a hook to allow extensions to indicate that they might remove the
right.

Change-Id: Idfee1b4d0613aaf52e143164acd6022459415c49

10 years agoMerge "Harmonize revert messages when username is hidden"
jenkins-bot [Fri, 12 Jul 2013 06:52:26 +0000 (06:52 +0000)]
Merge "Harmonize revert messages when username is hidden"

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 11 Jul 2013 19:06:45 +0000 (19:06 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I1dc387ee8e4166d2a2409cd66dbaaafda98dd35d

10 years agoRelease notes for I79d65548
MatmaRex [Thu, 11 Jul 2013 17:40:56 +0000 (19:40 +0200)]
Release notes for I79d65548

Change-Id: I0f3a7290aa722193571d9ac987187c3073ad7a5d

10 years agoMerge "add and use updateExternalDBGroups function, fixes #49641"
jenkins-bot [Thu, 11 Jul 2013 16:46:41 +0000 (16:46 +0000)]
Merge "add and use updateExternalDBGroups function, fixes #49641"

10 years agoMerge "Correctly use $wgFeedLimit in page history feed"
jenkins-bot [Thu, 11 Jul 2013 14:58:19 +0000 (14:58 +0000)]
Merge "Correctly use $wgFeedLimit in page history feed"

10 years agoMerge "(bug 46534) Rename uz File namespace to Fayl"
jenkins-bot [Thu, 11 Jul 2013 09:03:38 +0000 (09:03 +0000)]
Merge "(bug 46534) Rename uz File namespace to Fayl"

10 years agoAdd wgAllowExternalImages option to parser tests.
C. Scott Ananian [Wed, 10 Jul 2013 22:10:14 +0000 (18:10 -0400)]
Add wgAllowExternalImages option to parser tests.

This allows us to test whether the parser properly respects the
$wgAllowExternalImages option.

I also renamed the 'rawhtml' option to wgRawHtml so that parser test
options which set wiki configuration variables have consistent names.

Bug: 51092
Change-Id: I6c453b3e366cf775d8eef2dcbde09fcfa7027125

10 years agoMerge "Get rid of the arcane "Enter one of the pieces of data" language"
jenkins-bot [Wed, 10 Jul 2013 21:37:05 +0000 (21:37 +0000)]
Merge "Get rid of the arcane "Enter one of the pieces of data" language"

10 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Wed, 10 Jul 2013 21:34:00 +0000 (21:34 +0000)]
Merge "Localisation updates from translatewiki.net."

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 10 Jul 2013 21:28:09 +0000 (21:28 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Iaeac89a92a8d091d0aa86f726f40ec2ee238068e

10 years agoMerge "jquery.client: Detect Internet Explorer 11"
Brion VIBBER [Wed, 10 Jul 2013 21:18:49 +0000 (21:18 +0000)]
Merge "jquery.client: Detect Internet Explorer 11"

10 years agoGet rid of the arcane "Enter one of the pieces of data" language
Federico Leva [Wed, 10 Jul 2013 21:16:02 +0000 (23:16 +0200)]
Get rid of the arcane "Enter one of the pieces of data" language

<https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Passwordreset-text-many/nb>

Change-Id: I23c3ade7dfe07014eaa8e523db9cebdd7959e424

10 years agoMake the table on Special:Tags sortable
MatmaRex [Wed, 10 Jul 2013 20:25:42 +0000 (22:25 +0200)]
Make the table on Special:Tags sortable

Makes for easier searching when a wiki has a couple dozen of them.

Change-Id: I8646a95946294eca66003fa409a923eb854c9049

10 years agojquery.client: Detect Internet Explorer 11
MatmaRex [Sun, 7 Jul 2013 22:23:00 +0000 (00:23 +0200)]
jquery.client: Detect Internet Explorer 11

It only admits it's using Trident, the browser name is not in the UA.

Side-effects: detects Trident's version for IE10 as well, detect WOW64
as Windows.

Also minor code consistency changes.

Bug: 50873
Change-Id: I79d65548e90d2c98c4e1d3253ac432801f48b4ba

10 years agoRelease notes for Ic2ae58c7, If21eaed4
MatmaRex [Wed, 10 Jul 2013 19:11:32 +0000 (21:11 +0200)]
Release notes for Ic2ae58c7, If21eaed4

Change-Id: I34aa1355da57781936e03b707492eb88bcff9161

10 years agoMerge "Show small explanation next to lists of tags"
jenkins-bot [Wed, 10 Jul 2013 19:08:45 +0000 (19:08 +0000)]
Merge "Show small explanation next to lists of tags"

10 years agoMerge "Show change tags on diffs"
jenkins-bot [Wed, 10 Jul 2013 19:07:17 +0000 (19:07 +0000)]
Merge "Show change tags on diffs"

10 years agoMerge "Don't purge thumbs for old versions of an image during ?action=purge"
jenkins-bot [Wed, 10 Jul 2013 18:15:49 +0000 (18:15 +0000)]
Merge "Don't purge thumbs for old versions of an image during ?action=purge"

10 years agoShow small explanation next to lists of tags
MatmaRex [Wed, 10 Jul 2013 17:13:13 +0000 (19:13 +0200)]
Show small explanation next to lists of tags

Lists of tags are shown on recent changes, watchlists, history pages
and diffs. However, it's hard to tell what they are, as they have no
visual indicators and resemble edit summaries (they looks examply the
same sans the italics). Wikimedia wikis have been using various
methods to remedy that (a "Tag:" prefix in every tag message, yellow
background color, etc.).

This basically implements the first one: a link to Special:Tags and
"Tag(s):" text is shown before the list of tags everywhere it's shown.
The text is correctly pluralized depending on the number of tags given
revision has.

Change-Id: If21eaed4171e732daaee32087c3307d70b60d81f