lhc/web/wiklou.git
11 years ago(bug 39700) Add htmlspecialchars encoding to label
csteipp [Fri, 31 Aug 2012 03:40:19 +0000 (20:40 -0700)]
(bug 39700) Add htmlspecialchars encoding to label

Adds htmlspecialchars encoding to the link label, passed
into Linker::makeBrokenImageLinkObj.

This fixes a stored XSS (HTML injection) vulnerability.

* Released as part of 1.20wmf10, 1.19.2, 1.18.5

Change-Id: I0e5f9eeb1f3561b1354aecced74f68ae2fa20dfa

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

Change-Id: I9b073c9cdd5556abb26f675ce9a96a4481bb393a

11 years agoMerge "Add @since to new variables, fix variable name"
Siebrand [Fri, 31 Aug 2012 19:25:17 +0000 (19:25 +0000)]
Merge "Add @since to new variables, fix variable name"

11 years agoMerge "Fix zhtable's Makefile.py"
Siebrand [Fri, 31 Aug 2012 19:23:13 +0000 (19:23 +0000)]
Merge "Fix zhtable's Makefile.py"

11 years agoMerge "Better conversion for 线/綫/線"
Siebrand [Fri, 31 Aug 2012 19:22:36 +0000 (19:22 +0000)]
Merge "Better conversion for 线/綫/線"

11 years agoFix zhtable's Makefile.py
Liangent [Fri, 31 Aug 2012 18:31:53 +0000 (02:31 +0800)]
Fix zhtable's Makefile.py

* Add the trailing \n to ZhConversion.php
* Switch to dfn.dl.sourceforge.net because cdnetworks-kr-2
  seems down (tested on both my PC and Toolserver)

Change-Id: I9843d9ff190a6e909d2fa699af8880a7025778ab

11 years agoBetter conversion for 线/綫/線
Liangent [Fri, 31 Aug 2012 18:27:02 +0000 (02:27 +0800)]
Better conversion for 线/綫/線

Change-Id: Ib32fe67cc812dd42cd1aae5682e44872e4b9f01f

11 years agoAdd @since to new variables, fix variable name
robin [Fri, 31 Aug 2012 17:23:38 +0000 (19:23 +0200)]
Add @since to new variables, fix variable name

Add @since 1.20 to new configuration variables and fix variable name wgLocalTimezone -> wgLocaltimezone

(New variables per https://www.mediawiki.org/wiki/Category:MediaWiki_configuration_settings_1.20.0 )

Change-Id: I97f373e9760f5b4966ae064965ec6cfd8dff2498

11 years ago(bug 38451) remove $wgAllowPageInfo
Reedy [Sat, 21 Jul 2012 21:37:59 +0000 (22:37 +0100)]
(bug 38451) remove $wgAllowPageInfo

InfoAction needs a bit of work, so this might want to wait a little
while. The patch removes $wgAllowPageInfo which was used to enable the
action=info action (which was disabled by default).

https://gerrit.wikimedia.org/r/#/c/15847 is needed to disable the
counter query.

Change-Id: I467e688090919b627bf1fb124ef712821c2257f6

11 years agotest: unwanted search namespace should not be there
Liangent [Wed, 6 Jun 2012 13:50:59 +0000 (21:50 +0800)]
test: unwanted search namespace should not be there

When Special:Search uses User preferences for search, make sure that no
unwanted namespaces have been used.

Change-Id: Ibcb23c812bf1e02a398ffbf3a276afc1b1f367cf

11 years agoMerge "(bug 39180) Set x-frame-options='DENY' for api"
Demon [Fri, 31 Aug 2012 14:47:28 +0000 (14:47 +0000)]
Merge "(bug 39180) Set x-frame-options='DENY' for api"

11 years agoMerge "(bug 35839) Check permisions for revdel blocks"
Demon [Fri, 31 Aug 2012 14:46:48 +0000 (14:46 +0000)]
Merge "(bug 35839) Check permisions for revdel blocks"

11 years agoMerge "[FileRepo] Made temp zone files use doQuickOperations."
Demon [Fri, 31 Aug 2012 13:42:09 +0000 (13:42 +0000)]
Merge "[FileRepo] Made temp zone files use doQuickOperations."

11 years agoMerge "[FileBackend] Reduced CDN purging when CDN is enabled."
Demon [Fri, 31 Aug 2012 13:40:17 +0000 (13:40 +0000)]
Merge "[FileBackend] Reduced CDN purging when CDN is enabled."

11 years agoMerge "Added PHP complement for mw.Time."
Demon [Fri, 31 Aug 2012 13:38:59 +0000 (13:38 +0000)]
Merge "Added PHP complement for mw.Time."

11 years agoMerge "Replace deprecated wfMsg* calls with Message class calls."
IAlex [Fri, 31 Aug 2012 13:15:45 +0000 (13:15 +0000)]
Merge "Replace deprecated wfMsg* calls with Message class calls."

11 years agoAdded PHP complement for mw.Time.
Tyler Anthony Romeo [Tue, 31 Jul 2012 19:37:01 +0000 (15:37 -0400)]
Added PHP complement for mw.Time.

Figured since a JS Timestamp class was being implemented
it might be appropriate to create a complementary PHP
Timestamp class. Much of code is taken from wfTimestamp().

Note: Another change (I53dcf547) is attempting a related
issue. Not sure how much of scope overlap there is.

Change-Id: I68eb9f27eebe80df757187f634392e1bcba5551f
Signed-off-by: Tyler Romeo <tylerromeo@gmail.com>
11 years agoMerge "Revert "Setting up a way to have uploading by URL, but not on Special:Upload""
Kaldari [Fri, 31 Aug 2012 00:06:33 +0000 (00:06 +0000)]
Merge "Revert "Setting up a way to have uploading by URL, but not on Special:Upload""

11 years agoRevert "Setting up a way to have uploading by URL, but not on Special:Upload"
Kaldari [Thu, 30 Aug 2012 23:59:52 +0000 (23:59 +0000)]
Revert "Setting up a way to have uploading by URL, but not on Special:Upload"

This reverts commit 8c6c29b3fc5db93c46bdd73b48f1ff5b4edad25c

I erroneously assumed there was a practical reason why
wgAllowCopyUploads was turned off on Commons, i.e. it was
too easy to abuse, causing too many copyvios, etc. I didn't
realize that the reason it was turned off was purely
technical (since the apaches on the cluster have no
external internet access). So there's no reason we need a
separate config.

Change-Id: I293a59d756335909898fd647edd6eddb68f06e17

11 years ago[FileRepo] Made temp zone files use doQuickOperations.
Aaron [Thu, 30 Aug 2012 23:03:36 +0000 (16:03 -0700)]
[FileRepo] Made temp zone files use doQuickOperations.

* This avoids stat and journaling overhead.

Change-Id: I817e95fa15096bb02ab7505055949acd56164442

11 years agoFix up the preferred way to specify mw.util.$content
Daniel Friesen [Sun, 12 Aug 2012 09:23:50 +0000 (02:23 -0700)]
Fix up the preferred way to specify mw.util.$content

- Setting a .mw-body class is the preferred way for $content to be defined
- You can set an extra .mw-body-primary if you use multiple .mw-body classes or for some legacy reasons .mw-body is at a different depth than the content area
- No extensions appear to be using util.$content in a way that would imply they want the body text rather than the overall content area
- Anyone that actually needs the body text can use #mw-content-text.

Change-Id: Ic7b756f139047e4100fcab8f63a968d45ca2b2fe

11 years ago[FileBackend] Reduced CDN purging when CDN is enabled.
Aaron [Thu, 30 Aug 2012 21:23:41 +0000 (14:23 -0700)]
[FileBackend] Reduced CDN purging when CDN is enabled.

Change-Id: I63fc9271ca997b19dad957b544503e9ec3b54fa1

11 years agoMerge "Add and update some missing release notes for rl modules."
Catrope [Thu, 30 Aug 2012 21:09:43 +0000 (21:09 +0000)]
Merge "Add and update some missing release notes for rl modules."

11 years agoMerge "Make LinksUpdate run without a db transaction."
Aaron Schulz [Thu, 30 Aug 2012 21:06:14 +0000 (21:06 +0000)]
Merge "Make LinksUpdate run without a db transaction."

11 years agoMerge "[FileBackend] Improved stat caching by reducing cache salting."
Demon [Thu, 30 Aug 2012 20:58:07 +0000 (20:58 +0000)]
Merge "[FileBackend] Improved stat caching by reducing cache salting."

11 years agoMerge "Addressing problems with jquery.badge mentioned at I0f5e7541"
Krinkle [Thu, 30 Aug 2012 20:51:56 +0000 (20:51 +0000)]
Merge "Addressing problems with jquery.badge mentioned at I0f5e7541"

11 years agoAdd and update some missing release notes for rl modules.
Timo Tijhof [Thu, 30 Aug 2012 20:51:39 +0000 (22:51 +0200)]
Add and update some missing release notes for rl modules.

* QUnit v1.9.0
* jQuery UI 1.8.23
* New: jquery.badge

Change-Id: I6b3de9b0e02ea7c4931ebf3f3a3b85bf76407f02

11 years ago[FileBackend] Improved stat caching by reducing cache salting.
Aaron [Thu, 30 Aug 2012 19:47:19 +0000 (12:47 -0700)]
[FileBackend] Improved stat caching by reducing cache salting.

Change-Id: Ieec6515fcf1c2f147b52eceec1f6c55a681115c5

11 years agoAddressing problems with jquery.badge mentioned at I0f5e7541
Kaldari [Thu, 16 Aug 2012 21:22:45 +0000 (14:22 -0700)]
Addressing problems with jquery.badge mentioned at I0f5e7541

Making sure variable types are consistant, fixing global vars,
various style fixes, etc.

Change-Id: I2f30fe07078aa3cadd730b0d6f199d037f2a4612

11 years agoMerge "Update migrateUserGroup to deal with primary key issue"
Demon [Thu, 30 Aug 2012 20:20:59 +0000 (20:20 +0000)]
Merge "Update migrateUserGroup to deal with primary key issue"

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

11 years agoMerge "(bug 36329) Fix accesskey tooltip for Firefox 14 on Mac"
Krinkle [Thu, 30 Aug 2012 19:36:15 +0000 (19:36 +0000)]
Merge "(bug 36329) Fix accesskey tooltip for Firefox 14 on Mac"

11 years ago(bug 36329) Fix accesskey tooltip for Firefox 14 on Mac
Minh Nguyễn [Sat, 28 Apr 2012 22:30:22 +0000 (22:30 +0000)]
(bug 36329) Fix accesskey tooltip for Firefox 14 on Mac

Should use "ctrl-option-" prefix

Change-Id: I87463fc6043fb17cab70956f65fd9da3cdd7477d

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

Change-Id: Ia32bb1239b6b88c757b04a748bc3d9f69cc6be36

11 years agoMerge "[FileBackend] Improved getLocalCopy() performance for Swift."
Demon [Thu, 30 Aug 2012 19:26:03 +0000 (19:26 +0000)]
Merge "[FileBackend] Improved getLocalCopy() performance for Swift."

11 years ago[FileBackend] Improved getLocalCopy() performance for Swift.
Aaron [Thu, 30 Aug 2012 19:17:28 +0000 (12:17 -0700)]
[FileBackend] Improved getLocalCopy() performance for Swift.

* This eliminates HEAD requests to speed up concatenate() operations (by ~9 seconds for 300 chunks for wmf).

Change-Id: I43456bd59eeb7943e66cae9c1e42dc410c2a8daf

11 years agoMerge "(bug 39273) add diff support to LivePreview"
Catrope [Thu, 30 Aug 2012 18:57:34 +0000 (18:57 +0000)]
Merge "(bug 39273) add diff support to LivePreview"

11 years agoMerge "[FileBackend] Made TempFSFile use wfRandomString() and be more random."
Catrope [Thu, 30 Aug 2012 18:13:47 +0000 (18:13 +0000)]
Merge "[FileBackend] Made TempFSFile use wfRandomString() and be more random."

11 years ago[FileBackend] Made TempFSFile use wfRandomString() and be more random.
Aaron [Thu, 30 Aug 2012 18:05:52 +0000 (11:05 -0700)]
[FileBackend] Made TempFSFile use wfRandomString() and be more random.

Change-Id: I5bfff8cfb9d1c786490f7539a6cdb47e36d88cc1

11 years agoMerge "[FileBackend] Reduce backend sync errors a bit by aborting operations more."
Catrope [Thu, 30 Aug 2012 17:50:55 +0000 (17:50 +0000)]
Merge "[FileBackend] Reduce backend sync errors a bit by aborting operations more."

11 years agoMerge "clear magicword cache before testing cleanSig"
Aaron Schulz [Thu, 30 Aug 2012 17:16:33 +0000 (17:16 +0000)]
Merge "clear magicword cache before testing cleanSig"

11 years ago[FileBackend] Reduce backend sync errors a bit by aborting operations more.
Aaron [Thu, 30 Aug 2012 17:10:50 +0000 (10:10 -0700)]
[FileBackend] Reduce backend sync errors a bit by aborting operations more.

Change-Id: Iedb8d7e1f95c971dbb9f9baed67de047753ab40d

11 years agoMerge "Fix the incorrect nesting"
Siebrand [Thu, 30 Aug 2012 15:07:26 +0000 (15:07 +0000)]
Merge "Fix the incorrect nesting"

11 years agoMerge "Added default implmentation of instanceProvider to GenericArrayObjectTest"
Daniel Kinzler [Thu, 30 Aug 2012 10:37:41 +0000 (10:37 +0000)]
Merge "Added default implmentation of instanceProvider to GenericArrayObjectTest"

11 years agotests: Wraper to set/disable $wgHTML5 in HtmlTest
Antoine Musso [Thu, 30 Aug 2012 09:56:21 +0000 (11:56 +0200)]
tests: Wraper to set/disable $wgHTML5 in HtmlTest

Would let us easily set $wgHtml5 in our tests.

Change-Id: Iacf38c2961cbbb9cc58cd45bba34f10ee5688605

11 years agoMerge "Add cache/ to .gitignore"
Nikerabbit [Thu, 30 Aug 2012 07:54:27 +0000 (07:54 +0000)]
Merge "Add cache/ to .gitignore"

11 years agoMerge "Added explicit DB flags for Revision loading calls."
Catrope [Thu, 30 Aug 2012 05:21:32 +0000 (05:21 +0000)]
Merge "Added explicit DB flags for Revision loading calls."

11 years agoMerge "[FileBackend] Made getLocalCopy() handle long file names better."
Catrope [Thu, 30 Aug 2012 05:18:55 +0000 (05:18 +0000)]
Merge "[FileBackend] Made getLocalCopy() handle long file names better."

11 years ago[FileBackend] Made getLocalCopy() handle long file names better.
Aaron Schulz [Thu, 30 Aug 2012 05:06:16 +0000 (22:06 -0700)]
[FileBackend] Made getLocalCopy() handle long file names better.

Change-Id: I54d7c610dba8cb3e7bc0ef4d4bfbb2327e63db07

11 years agoAdded explicit DB flags for Revision loading calls.
Aaron Schulz [Thu, 30 Aug 2012 03:04:30 +0000 (20:04 -0700)]
Added explicit DB flags for Revision loading calls.

Change-Id: Ie90d4197ad7a16009c96273eeae1a658678a8200

11 years agoBug 20595 - Fixed incr()/decr() functions for some caches.
Vitaliy Filippov [Fri, 25 May 2012 10:41:53 +0000 (14:41 +0400)]
Bug 20595 - Fixed incr()/decr() functions for some caches.

* Preserve TTL in objectcache incr() method for APC, XCache and DBA.
  Do not serialize numeric values, since it breaks the counters.
* Also gave some DBABagOStuff functions explicit visibility.

Change-Id: I13856832f418c843afc8e42a6d77686331f6cb41

11 years agoAdd cache/ to .gitignore
Timo Tijhof [Wed, 29 Aug 2012 22:23:47 +0000 (00:23 +0200)]
Add cache/ to .gitignore

On fenari we've always got:

> Untracked files:
>   (use "git add <file>..." to include in what will be committed)
>
> cache/l10n/
> cache/message-timestamp

And on my localhost also several files and stuff extensions have
put in there. Might as well ignore cache entirely instead of
just .cdb files.

Change-Id: I3c594a0f746341687c2a35eed5dc2c2b91e68265

11 years agoMerge "(Bug 38606) Set log_page on uploads to the page_id of its description page"
Kaldari [Wed, 29 Aug 2012 22:00:52 +0000 (22:00 +0000)]
Merge "(Bug 38606) Set log_page on uploads to the page_id of its description page"

11 years ago(Bug 38606) Set log_page on uploads to the page_id of its description page
Platonides [Wed, 29 Aug 2012 21:23:27 +0000 (23:23 +0200)]
(Bug 38606) Set log_page on uploads to the page_id of its description page

This change updates the log_page in a second step after performing
the edit, which is not terribly elegant, but is very robust.

Change-Id: I9015230df772d049b2879fb34914c68183f1da05

11 years agoMove cancel link out of editHelp span and wrap in 'cancelLink' span.
Rob Moen [Wed, 29 Aug 2012 21:20:02 +0000 (14:20 -0700)]
Move cancel link out of editHelp span and wrap in 'cancelLink' span.

Change-Id: I203a3eaf2f171bba81e11806e3632c2bc012458c

11 years agoMerge "Revert "Revert "Update jQuery UI to 1.8.23"""
Krinkle [Wed, 29 Aug 2012 20:56:54 +0000 (20:56 +0000)]
Merge "Revert "Revert "Update jQuery UI to 1.8.23"""

11 years agoRevert "Revert "Update jQuery UI to 1.8.23""
Krinkle [Wed, 29 Aug 2012 20:56:43 +0000 (20:56 +0000)]
Revert "Revert "Update jQuery UI to 1.8.23""

Problems solved.

This reverts commit 731219d5d1c82eb199eb9808948740555d2ebe14

11 years agoMerge "Added post-commit callback support to DB classes."
Catrope [Wed, 29 Aug 2012 20:53:04 +0000 (20:53 +0000)]
Merge "Added post-commit callback support to DB classes."

11 years agoMerge "(bug 39771) Regression in Ie349afa5 broke plurals in JavaScript"
Siebrand [Wed, 29 Aug 2012 20:40:28 +0000 (20:40 +0000)]
Merge "(bug 39771) Regression in Ie349afa5 broke plurals in JavaScript"

11 years agoMerge "Rewrite the ThumbnailImage constructor to take parameter array"
Aaron Schulz [Wed, 29 Aug 2012 20:39:18 +0000 (20:39 +0000)]
Merge "Rewrite the ThumbnailImage constructor to take parameter array"

11 years ago(bug 39771) Regression in Ie349afa5 broke plurals in JavaScript
Niklas Laxström [Wed, 29 Aug 2012 20:30:15 +0000 (20:30 +0000)]
(bug 39771) Regression in Ie349afa5 broke plurals in JavaScript

Change-Id: Iee4e3bdca0e72292d6d431703f0f589653f68f64

11 years agoRewrite the ThumbnailImage constructor to take parameter array
jarry1250 [Wed, 29 Aug 2012 20:09:36 +0000 (21:09 +0100)]
Rewrite the ThumbnailImage constructor to take parameter array

This is required for a full resolution of bug #32987. Per Brion's
commentary on that bug, for the long-term preservation of
sanity we can't just keep adding arguments to the constructor
whenever a new feature is added.

Instead, we can have an array of optional parameters. At the moment,
this situation is a bit iffy for width and height: we should really
specify either a default height / width or error if one is not found.
I'm open to ideas on that, but it's not a big deal since nothing
uses the new syntax yet. When that is agreed, I'll convert all usage
in core and maybe some extensions too.

Change-Id: I116f71aeb90ef7c786f0874b150c7bcca527e106

11 years agoAdded post-commit callback support to DB classes.
Aaron [Wed, 29 Aug 2012 19:32:47 +0000 (12:32 -0700)]
Added post-commit callback support to DB classes.

* This can allow for autocommit job queue insertion without
  breaking existing transactions (which currently happens since
  job queue insert does begin/commit).

Change-Id: I021d4a73635168c05bbc1068912c2c6dbdf9cdc4

11 years agoFix wfGetCaller() and wfFormatStackFrame() documentation
Alexandre Emsenhuber [Wed, 29 Aug 2012 19:36:37 +0000 (21:36 +0200)]
Fix wfGetCaller() and wfFormatStackFrame() documentation

These two functions cannot return a boolean.

Also simplified wfGetCaller() to not use the $caller local
variable which is totally useless in that case.

Change-Id: I81707a8292afc1829921b58cdaae81b3147ee3cb

11 years agoMerge "Move copyright warning to directly above buttons."
Catrope [Wed, 29 Aug 2012 19:30:17 +0000 (19:30 +0000)]
Merge "Move copyright warning to directly above buttons."

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Wed, 29 Aug 2012 19:25:50 +0000 (19:25 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "Setting up a way to have uploading by URL, but not on Special:Upload"
Catrope [Wed, 29 Aug 2012 19:25:13 +0000 (19:25 +0000)]
Merge "Setting up a way to have uploading by URL, but not on Special:Upload"

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

Change-Id: I0596ce4ee5480cce947a1c8c89e2acc46c182dcd

11 years ago(bug 39273) add diff support to LivePreview
MatmaRex [Thu, 23 Aug 2012 22:56:50 +0000 (00:56 +0200)]
(bug 39273) add diff support to LivePreview

Now both "Show preview" and "Show changes" result in an AJAX call;
previously, "Show changes" would just reload the form as usual, and
LivePreview wouldn't handle the #wikiDiff element at all, which resulted
in both the new preview and stale diff being shown.

We load the diff styles using mw.loader.load if necessary (which will
probably be basically always).

Change-Id: Iaf9edf947e019ec7fa949d664b46b88161235b41

11 years agoAdded default implmentation of instanceProvider to GenericArrayObjectTest
jeroendedauw [Wed, 29 Aug 2012 17:52:13 +0000 (19:52 +0200)]
Added default implmentation of instanceProvider to GenericArrayObjectTest

Change-Id: I8d77c03b90ddca226c4bff18e42c53980bf9a861

11 years agoMerge "Revert "Revert "jQuery 1.8"""
Siebrand [Wed, 29 Aug 2012 17:48:44 +0000 (17:48 +0000)]
Merge "Revert "Revert "jQuery 1.8"""

11 years agoMerge "New hook ApiMain::onException"
awjrichards [Wed, 29 Aug 2012 16:54:18 +0000 (16:54 +0000)]
Merge "New hook ApiMain::onException"

11 years agoNew hook ApiMain::onException
Max Semenik [Fri, 24 Aug 2012 23:57:54 +0000 (03:57 +0400)]
New hook ApiMain::onException

Allows custom logging of API errors

Change-Id: If8841c33998dff96448a7eb8dbe95d68119e068f

11 years agoMerge "Fixed fallback behaviour for plural rules"
Siebrand [Wed, 29 Aug 2012 16:16:57 +0000 (16:16 +0000)]
Merge "Fixed fallback behaviour for plural rules"

11 years agoMerge "(bug 38556) Add header and footer messages to MediaWiki's info action"
Siebrand [Wed, 29 Aug 2012 15:12:59 +0000 (15:12 +0000)]
Merge "(bug 38556) Add header and footer messages to MediaWiki's info action"

11 years ago(bug 38556) Add header and footer messages to MediaWiki's info action
madman [Mon, 27 Aug 2012 15:39:03 +0000 (15:39 +0000)]
(bug 38556) Add header and footer messages to MediaWiki's info action

Change-Id: I5d23d83dabc1f642d2b96a17aabd6b6fc9ece399

11 years agoraise filerepo tests timeout to 10sec
Antoine Musso [Wed, 29 Aug 2012 15:01:02 +0000 (17:01 +0200)]
raise filerepo tests timeout to 10sec

'@group medium' instructs PHPUnit to wait up to 10 seconds for the test
to complete. That would save us from false positive caused by high disk
I/O on the continuous integration server.

Change-Id: Id11c3ed1879705f806d262dc8090ef2fb432ed36

11 years agoRevert "Revert "jQuery 1.8""
Krinkle [Wed, 29 Aug 2012 14:10:16 +0000 (14:10 +0000)]
Revert "Revert "jQuery 1.8""

This reverts commit 4dd2c82ff4b2178620cb7b3ce01db713101ca2eb

As mentioned (on bug 39572) in the mean time, this was not related to the jQuery update. The problems were related to abuse of jsMsg to prepend arbitrary content to the top of the page.

11 years agoMerge "Use ImageGallery directly in SpecialUpload::getDupeWarning()"
Siebrand [Wed, 29 Aug 2012 13:40:22 +0000 (13:40 +0000)]
Merge "Use ImageGallery directly in SpecialUpload::getDupeWarning()"

11 years agoclear magicword cache before testing cleanSig
daniel [Wed, 29 Aug 2012 08:42:47 +0000 (10:42 +0200)]
clear magicword cache before testing cleanSig

Without this, some other synonym for "SUBST" may be used by the parser,
because the MagicWord got cached while another content language was active
in some other test.

Change-Id: I89dc2173f6a27dcd16b0548b06070ac4244fd3cb

11 years agoFixed fallback behaviour for plural rules
Tim Starling [Tue, 28 Aug 2012 05:54:40 +0000 (15:54 +1000)]
Fixed fallback behaviour for plural rules

Fallbacks didn't work at all for the new plural rule system. I fixed it
by moving the getPluralRules() and getCompiledPluralRules() calls near
to the readPHPFile() calls, before merging is done. Then I factored out
the resulting code to readSourceFilesAndRegisterDeps().

* Removed pluralRules from mergeableMapKeys, it isn't one
* Added compiledPluralRules to allKeys so that it will be merged
* When a language is not present in the CLDR XML files, return null from
  getPluralRules() and getCompiledPluralRules() so that the fallback
  rules won't be overridden with an empty array. Normalised it back to
  an empty array in the unlikely event that there is no plural data in
  the fallback sequence at all, even in English.
* Fixed private function, "protected" is the way to say private here.

Change-Id: I3a008ef7f6ed7aaa15ad25ad796f7a2b8f827fa2

11 years agoFix the incorrect nesting
Niklas Laxström [Wed, 29 Aug 2012 07:56:14 +0000 (07:56 +0000)]
Fix the incorrect nesting

Change-Id: I326458f136e9e491f80c1f69a1154f388ed96927

11 years agoMove copyright warning to directly above buttons.
Rob Moen [Wed, 29 Aug 2012 01:50:15 +0000 (18:50 -0700)]
Move copyright warning to directly above buttons.

Please see:
http://www.mediawiki.org/wiki/Micro_Design_Improvements

Change-Id: Ida02149880aae00f790cb414ae3d632aac351651

11 years agoMerge "[FileBackend] Added preloadCache() so callers can trigger cache getMulti()."
Catrope [Wed, 29 Aug 2012 00:13:57 +0000 (00:13 +0000)]
Merge "[FileBackend] Added preloadCache() so callers can trigger cache getMulti()."

11 years ago[FileBackend] Added preloadCache() so callers can trigger cache getMulti().
Aaron Schulz [Fri, 24 Aug 2012 06:17:16 +0000 (23:17 -0700)]
[FileBackend] Added preloadCache() so callers can trigger cache getMulti().

Change-Id: I2a30b4bfc16b4303abcb1f71206234dd2e0403af

11 years agoMerge "Reduced some master queries via Revision::READ_NORMAL."
Catrope [Tue, 28 Aug 2012 23:53:26 +0000 (23:53 +0000)]
Merge "Reduced some master queries via Revision::READ_NORMAL."

11 years agoMerge "Added new mw message 'editpage-head-copy-warn' to EditPage header."
Catrope [Tue, 28 Aug 2012 23:51:50 +0000 (23:51 +0000)]
Merge "Added new mw message 'editpage-head-copy-warn' to EditPage header."

11 years agoMerge "Work around preg_replace_callback() issue in CSSJanus"
Krinkle [Tue, 28 Aug 2012 22:00:38 +0000 (22:00 +0000)]
Merge "Work around preg_replace_callback() issue in CSSJanus"

11 years agoMerge "Follow up to dirname( __FILE__ ) clean up"
Siebrand [Tue, 28 Aug 2012 21:53:58 +0000 (21:53 +0000)]
Merge "Follow up to dirname( __FILE__ ) clean up"

11 years agoFollow up to dirname( __FILE__ ) clean up
Hoo man [Tue, 28 Aug 2012 21:20:43 +0000 (23:20 +0200)]
Follow up to dirname( __FILE__ ) clean up

Remove a trailing whitespace added by me in dirname( __FILE__ )
clean up and add some comments to the PHP version checks (they
can't use __DIR__ as they have to run in older PHP versions.

Change-Id: I6a7e8cb7dbf384d91dda4d0ecbef7ce588bc3073

11 years agoMerge "Adding ResourceLoader module "jquery.jStorage""
Krinkle [Tue, 28 Aug 2012 21:16:01 +0000 (21:16 +0000)]
Merge "Adding ResourceLoader module "jquery.jStorage""

11 years agoMerge "[FileJournal] Made getMasterDB() reuse the DB handle."
Catrope [Tue, 28 Aug 2012 21:13:54 +0000 (21:13 +0000)]
Merge "[FileJournal] Made getMasterDB() reuse the DB handle."

11 years agoAdded new mw message 'editpage-head-copy-warn' to EditPage header.
Rob Moen [Tue, 28 Aug 2012 20:24:21 +0000 (13:24 -0700)]
Added new mw message 'editpage-head-copy-warn' to EditPage header.

New copyright warning is to be just above the edit box.
This message is intended to be optional and locally customized.
Similar to editpage-tos-summary.

See Micro Improvements for more information.
http://www.mediawiki.org/wiki/Micro_Design_Improvements

Change-Id: Ifbd842ebef8775630d97491a3c735e046df5d0df

11 years agoMerge "[FileBackend] Made Swift clear the auth cache on certain HTTP errors."
Catrope [Tue, 28 Aug 2012 21:13:05 +0000 (21:13 +0000)]
Merge "[FileBackend] Made Swift clear the auth cache on certain HTTP errors."

11 years agoMerge "[FileBackend] Bumped Swift auth caching TTL."
Catrope [Tue, 28 Aug 2012 21:12:46 +0000 (21:12 +0000)]
Merge "[FileBackend] Bumped Swift auth caching TTL."

11 years agoMerge "[FileBackend] Reduced stat calls when using the multiwrite backend."
Catrope [Tue, 28 Aug 2012 21:12:23 +0000 (21:12 +0000)]
Merge "[FileBackend] Reduced stat calls when using the multiwrite backend."

11 years agoMerge "[FileBackend] Use strcmp() for listing comparisons."
Catrope [Tue, 28 Aug 2012 21:11:27 +0000 (21:11 +0000)]
Merge "[FileBackend] Use strcmp() for listing comparisons."

11 years agoMerge "(bug 39680) Convert valign to CSS vertical-align"
Krinkle [Tue, 28 Aug 2012 20:58:41 +0000 (20:58 +0000)]
Merge "(bug 39680) Convert valign to CSS vertical-align"

11 years agoWork around preg_replace_callback() issue in CSSJanus
Catrope [Tue, 28 Aug 2012 19:35:27 +0000 (12:35 -0700)]
Work around preg_replace_callback() issue in CSSJanus

As reported in bug 38294, CSSJanus returns an empty string for some
input. This seems to be caused by preg_replace_callback() returning
null which, according to the PHP docs, happens "in case of error". Of
course there's no way to figure out what the error was :S

Work around this by checking for a null return value

Change-Id: I5db952bc32f73b94ac13e449d9aa1f8693602dbd

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

Change-Id: Ib471477326cecc9fdab5c0482bfaffb0fa2ce94f