lhc/web/wiklou.git
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 "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 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 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 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

10 years agoFix incorrect escaping of nested <em>, <strong>, <q>, <ruby>, and <bdo>
C. Scott Ananian [Wed, 10 Jul 2013 17:03:21 +0000 (13:03 -0400)]
Fix incorrect escaping of nested <em>, <strong>, <q>, <ruby>, and <bdo>

The parser, when given "<em>X<em>Y</em>Z</em>" was emitting
"<p><em>X&lt;em&gt;Y</em>Z&lt;/em&gt;</p>".  This is the same as bug
41545, but with a different set of tags.

Note that the HTML spec
(http://www.w3.org/TR/html5/text-level-semantics.html) gives an
explicit meaning for nested <em>, <strong>, <q>, <ruby>, and <bdo>.

There are other nestable tags (<b>, <i>, <s>, <u>, <cite>, <dfn>,
<abbr>, <time>, <code>, <mark>, <rt>, <rp>, <bdi>) which I've chosen
not to fix in this commit since the spec allows but does not give
semantics for them.  A wikipedian authoring content with these nested
tags is probably making an error; the escaped content will make this
obvious.

Bug: 51081
Change-Id: Ia940ac54e9527bba7fee75d3bd91babee2f91c57

10 years agoMerge "Don't skip UserGetRights hook in addGroup/removeGroup"
jenkins-bot [Wed, 10 Jul 2013 16:39:24 +0000 (16:39 +0000)]
Merge "Don't skip UserGetRights hook in addGroup/removeGroup"

10 years agoDon't skip UserGetRights hook in addGroup/removeGroup
Brad Jorsch [Tue, 9 Jul 2013 19:45:46 +0000 (15:45 -0400)]
Don't skip UserGetRights hook in addGroup/removeGroup

The addGroup and removeGroup functions in User were reloading the cached
mRights, but not calling the UserGetRights hook that is supposed to
allow for extensions to modify the rights list. Instead, let's just null
the cache so it will be reloaded next time something calls
$user->getRights().

Note we still call $this->getEffectiveGroups( true ), though, to trigger
that to recache.

Change-Id: I81784917303b639bc7c22c726e9cbdb0d191e674

10 years agoMerge "jquery.makeCollapsible: Togglers keyboard accessibility"
TheDJ [Wed, 10 Jul 2013 09:00:11 +0000 (09:00 +0000)]
Merge "jquery.makeCollapsible: Togglers keyboard accessibility"

10 years ago(bug 46534) Rename uz File namespace to Fayl
Federico Leva [Thu, 11 Apr 2013 12:58:49 +0000 (14:58 +0200)]
(bug 46534) Rename uz File namespace to Fayl

Bug: 46534
Change-Id: I8ad46b6029f4a233a8fd5bce6103015b5501d443

10 years agoMerge "API DebugToolbar's debugLog format cleanup"
jenkins-bot [Wed, 10 Jul 2013 03:41:31 +0000 (03:41 +0000)]
Merge "API DebugToolbar's debugLog format cleanup"

10 years agoAPI DebugToolbar's debugLog format cleanup
Yuri Astrakhan [Wed, 10 Jul 2013 01:54:09 +0000 (21:54 -0400)]
API DebugToolbar's debugLog format cleanup

When using debug toolbar, make the result cleaner and more readable:

XML: <debugLog><msg>…</msg><msg>…</msg></debugLog>
JSON: "debugLog": ["…","…"]

Instead of current:
XML: <debugLog><msg xml:space="preserve">…</msg>...
JSON: "debugLog": [{"*": "…"}, {"*": "…"}]

Change-Id: Ieb9d3ab23d7654f5eaf3b79b3b69f4aab99d4680

10 years agojquery.client: Add detection for Opera 15
MatmaRex [Sun, 7 Jul 2013 21:48:33 +0000 (23:48 +0200)]
jquery.client: Add detection for Opera 15

Opera 15 pretends to be Chrome, Safari, Gecko, Mozilla, *and* KHTML.
I don't even.

Also fixed some typos in comments and done minor code cleanup.

Change-Id: I200def556c3891864235ba0f8f2f29278263e030

10 years agoMerge "Add --list parameter to showJobs.php"
jenkins-bot [Wed, 10 Jul 2013 00:30:32 +0000 (00:30 +0000)]
Merge "Add --list parameter to showJobs.php"

10 years agoMerge "Added log_search tag support to ManualLogEntry"
jenkins-bot [Wed, 10 Jul 2013 00:19:28 +0000 (00:19 +0000)]
Merge "Added log_search tag support to ManualLogEntry"

10 years agoAdd --list parameter to showJobs.php
Tim Starling [Wed, 10 Jul 2013 00:15:26 +0000 (10:15 +1000)]
Add --list parameter to showJobs.php

For listing all of the jobs in the queue. Post-processing will enable
most sorts of analysis that you would want to do. When we used SQL, this
wasn't reallly necessary, but getting jobs out of Redis is a bit more
tedious.

The format is similar to the log made by runJobs.php.

Change-Id: Idfa3f52ba89638892fc7a64d6566955d66de5958

10 years agojobqueue: avoid exceptions due to races in redis job listing functions
Aaron Schulz [Mon, 8 Jul 2013 23:30:41 +0000 (16:30 -0700)]
jobqueue: avoid exceptions due to races in redis job listing functions

* Also improved MappedIterator to allow for an accept() closure.

Change-Id: I614dc6e98b5c6297f3efc7a0004fbabd19624915

10 years agoDon't purge thumbs for old versions of an image during ?action=purge
Brian Wolff [Tue, 9 Jul 2013 16:32:08 +0000 (13:32 -0300)]
Don't purge thumbs for old versions of an image during ?action=purge

This tends to become extremely expensive as the number of
oldversions of a file increase. It is also not generally
needed since ?action=purge is usually targeting the
current version (additionally old versions of the file
have fixed urls, so they're less likely to get out
of sync). If an old version does need to be purged, one
can revdel and un-revdel it.

It should be noted that this extra purging was added
for bug 30192. However, since that bug was fixed,
most of the places requiring purging of old thumbnails
have now done it directly instead of by relying on
$file->purgeCache. The exception being revision
deletion, which still assumes $file->purgeCache clears
the thumbnails of old versions of the file.

There's no real bug for this, but I kind of hijacked
bug 49362

Change-Id: Ib399132cabe79fd2b4b23bad5708bfa50b282074

10 years agoSync up with Parsoid tests.
C. Scott Ananian [Tue, 9 Jul 2013 22:42:33 +0000 (18:42 -0400)]
Sync up with Parsoid tests.

This now aligns with Parsoid commit 7533c2240496914f15b4f3b314742bde9c3ceca5.

Change-Id: Ia6743500aba297acfc6fe89a8db1079dfd6be3b6

10 years agomw.Map: Fix typos in documentation
Timo Tijhof [Tue, 9 Jul 2013 22:12:22 +0000 (00:12 +0200)]
mw.Map: Fix typos in documentation

Follows-up f341e36 ("ore" and "Johson" were misspelled).

Change-Id: Ia5189f69a64a8294b37668e281087eacf09a4ce8

10 years agoMerge "Update 'right-protect', 'right-autoconfirmed' messages"
jenkins-bot [Tue, 9 Jul 2013 21:39:40 +0000 (21:39 +0000)]
Merge "Update 'right-protect', 'right-autoconfirmed' messages"

10 years agoMerge "Replace newlines in parsoid-only parserTests."
jenkins-bot [Tue, 9 Jul 2013 21:16:19 +0000 (21:16 +0000)]
Merge "Replace newlines in parsoid-only parserTests."

10 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Tue, 9 Jul 2013 20:45:40 +0000 (20:45 +0000)]
Merge "Localisation updates from translatewiki.net."

10 years agoReplace newlines in parsoid-only parserTests.
C. Scott Ananian [Tue, 9 Jul 2013 20:41:52 +0000 (16:41 -0400)]
Replace newlines in parsoid-only parserTests.

These were (inadvertently?) removed in change
Id27555c6dee250eafeefa97ae8927438fd65b8d7

Change-Id: I77c92896086f0fefbdbafe3a17385517ba2c4c38

10 years agoUpdate 'right-protect', 'right-autoconfirmed' messages
Kevin Israel [Fri, 5 Jul 2013 20:10:49 +0000 (16:10 -0400)]
Update 'right-protect', 'right-autoconfirmed' messages

* The "autoconfirmed" right is now only used to determine "newbie"
  status for the purpose of rate limiting, so I updated the
  "right-autoconfirmed" message accordingly.
* The "protect" right now does not allow the user to edit protected
  pages, so I updated the "right-protect" message accordingly.
* Also removed outdated portions of code comments referring to the
  now-fixed bug identified in r31462; the 'protect' right is now
  necessary to edit any directly or indirectly cascade-protected
  page.

Follows-up I6bf650a3fbdab8589ae6945c8c916eafd949e41c.

Change-Id: Ia3cc487dd0ad168001a076ebd612eb64764e92ef

10 years agoMerge "Unbreak cascading protection"
jenkins-bot [Tue, 9 Jul 2013 20:25:47 +0000 (20:25 +0000)]
Merge "Unbreak cascading protection"

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

Change-Id: I1a47d9aee7f6b86cdd51f1ad0ecad9cd92d2ac4f

10 years agoMerge "Remove list of functions added in wgExtensionFunctions"
jenkins-bot [Tue, 9 Jul 2013 19:16:58 +0000 (19:16 +0000)]
Merge "Remove list of functions added in wgExtensionFunctions"

10 years agoUnbreak cascading protection
Kevin Israel [Fri, 5 Jul 2013 21:28:37 +0000 (17:28 -0400)]
Unbreak cascading protection

Title::getRestrictions can return "sysop", which will not match if
replaced out of $cascadingRestrictionLevels but not $editrestriction,
making it impossible to cascade protect a page with the default value
of $wgCascadingRestrictionLevels.

Follows-up I6bf650a3fbdab8589ae6945c8c916eafd949e41c.

Change-Id: Ie7183ed9509ea9c65a7197fc9cead6c8423b852e

10 years agoSync up with Parsoid tests.
C. Scott Ananian [Tue, 9 Jul 2013 18:20:38 +0000 (14:20 -0400)]
Sync up with Parsoid tests.

This now aligns with Parsoid commit 0849c09195a0ada3d108f40c17924004c133f906.

Change-Id: I5a60d4994e12b1b34f390e69606fc564b3282166

10 years agoMerge "Fix undefined std_class::fa_deleted_timestamp warning during undelete."
jenkins-bot [Tue, 9 Jul 2013 16:51:51 +0000 (16:51 +0000)]
Merge "Fix undefined std_class::fa_deleted_timestamp warning during undelete."

10 years agoFix undefined std_class::fa_deleted_timestamp warning during undelete.
Brian Wolff [Tue, 9 Jul 2013 16:41:48 +0000 (13:41 -0300)]
Fix undefined std_class::fa_deleted_timestamp warning during undelete.

Change-Id: I243d6c408941cfbdef2ec2d24596a3e638e1b4cd

10 years agojquery.makeCollapsible: Togglers keyboard accessibility
MatmaRex [Tue, 9 Jul 2013 12:31:08 +0000 (14:31 +0200)]
jquery.makeCollapsible: Togglers keyboard accessibility

Handle keypresses where e.which is 13 (Enter key) in addition to clicks.

Followup to If59590de.

Bug: 17616
Change-Id: Ib86833dbbbe8d5e4109090c70f1949ba97b9d119

10 years agoRemove list of functions added in wgExtensionFunctions
jeroendedauw [Mon, 1 Jul 2013 14:55:19 +0000 (16:55 +0200)]
Remove list of functions added in wgExtensionFunctions

Bug: 45167
Change-Id: I36ac6258015518af9ddf442afe58c8b401864a3b

10 years agoMerge "improve explanations of email confirmations"
jenkins-bot [Tue, 9 Jul 2013 05:43:04 +0000 (05:43 +0000)]
Merge "improve explanations of email confirmations"

10 years agoRelease notes for null edit/forcelinkupdate change
Tim Starling [Tue, 9 Jul 2013 01:44:43 +0000 (11:44 +1000)]
Release notes for null edit/forcelinkupdate change

Release notes for I2dbb5d21fa6b876adefd6bcfc93a83c5904d8d13, bug 50785.

Change-Id: I1f1a95980c440eceb4ddf43fbd06d8c721bf1229

10 years agoMerge "jquery.makeCollapsible: Togglers accessibility"
jenkins-bot [Tue, 9 Jul 2013 00:44:12 +0000 (00:44 +0000)]
Merge "jquery.makeCollapsible: Togglers accessibility"

10 years agoimprove explanations of email confirmations
S Page [Mon, 8 Jul 2013 22:20:29 +0000 (15:20 -0700)]
improve explanations of email confirmations

Improve 'createaccountmail', explain checkbox for 'createaccount-title'
and 'createaccount-text', correct misinformation in 'confirmemail_body'.

Change-Id: I3615860af9196c624268ae262e14c2ec76c74b27

10 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Mon, 8 Jul 2013 19:05:23 +0000 (19:05 +0000)]
Merge "Localisation updates from translatewiki.net."

10 years agoMerge "Thumbnails: Set margin on magnify icon"
jenkins-bot [Mon, 8 Jul 2013 18:56:22 +0000 (18:56 +0000)]
Merge "Thumbnails: Set margin on magnify icon"

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

Change-Id: Icde9912200f6b8c7f91fee51baa7094c21f14ee5

10 years agoadd and use updateExternalDBGroups function, fixes #49641
Mathias Ertl [Sun, 23 Jun 2013 09:57:38 +0000 (11:57 +0200)]
add and use updateExternalDBGroups function, fixes #49641

This enables plugins to add/remove groups in an external authentication
service when a group is added via the MediaWiki interface without relying
on the related Hooks. Relying on the Hook would mean that a plugin cannot
use User::addGroup or User::delGroup to add/remove groups comming FROM
the authentication service, as these functions would call the hook and
then redundantly add these groups to the auth-service again.

Change-Id: Ia04d5bb30831a89dfc66128e3c335bbe07f724b6

10 years agoMerge "Include original exception when throw TimestampException"
jenkins-bot [Mon, 8 Jul 2013 17:43:31 +0000 (17:43 +0000)]
Merge "Include original exception when throw TimestampException"

10 years agoMerge "Improving comments in File class"
jenkins-bot [Mon, 8 Jul 2013 17:41:59 +0000 (17:41 +0000)]
Merge "Improving comments in File class"

10 years agoImproving comments in File class
kaldari [Sun, 7 Jul 2013 20:54:26 +0000 (13:54 -0700)]
Improving comments in File class

Change-Id: I5d1653f84f7e9324b234c2cc49e7ee5a1d0676ff

10 years agoMerge "Add getPersonalToolsList to SkinTemplate"
jenkins-bot [Mon, 8 Jul 2013 16:22:04 +0000 (16:22 +0000)]
Merge "Add getPersonalToolsList to SkinTemplate"

10 years agoMerge "Replaced (latest|earliest) with (newest|oldest) on history page"
jenkins-bot [Mon, 8 Jul 2013 15:26:24 +0000 (15:26 +0000)]
Merge "Replaced (latest|earliest) with (newest|oldest) on history page"

10 years agoReplaced (latest|earliest) with (newest|oldest) on history page
Michał Łazowik [Mon, 8 Jul 2013 10:54:34 +0000 (12:54 +0200)]
Replaced (latest|earliest) with (newest|oldest) on history page

to be consistent with (newer 200|older 200).

Bug: 29444
Change-Id: I8f9bffa62075539d098ebb1b12a66a4bbfcda19d

10 years agoMerge "Don't queue refreshLinks jobs on null edit"
jenkins-bot [Mon, 8 Jul 2013 15:16:06 +0000 (15:16 +0000)]
Merge "Don't queue refreshLinks jobs on null edit"

10 years agoInclude original exception when throw TimestampException
umherirrender [Mon, 8 Jul 2013 15:08:27 +0000 (17:08 +0200)]
Include original exception when throw TimestampException

Also adjust some spaces in exception messages.

Change-Id: I7bbe70f45aea49a2caaaeba82ab64e06b96347d0

10 years agoMerge "Add Special:Login and Special:Logout as aliases."
jenkins-bot [Mon, 8 Jul 2013 13:23:33 +0000 (13:23 +0000)]
Merge "Add Special:Login and Special:Logout as aliases."