lhc/web/wiklou.git
9 years agoMerge "MediaWiki UI: Use em's for the button width"
jenkins-bot [Wed, 8 Oct 2014 21:40:32 +0000 (21:40 +0000)]
Merge "MediaWiki UI: Use em's for the button width"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 8 Oct 2014 18:55:44 +0000 (20:55 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I4fce4df72f1585379212c1ff471cda0417212543

9 years agoMinor doc fix for wfShellExecWithStderr()
Yuri Astrakhan [Wed, 8 Oct 2014 18:12:11 +0000 (14:12 -0400)]
Minor doc fix for wfShellExecWithStderr()

Change-Id: I9d5fe442c6e85d61c1cdec8c42caab06b37856b1

9 years agoMerge "Fix expires typo in comment"
jenkins-bot [Wed, 8 Oct 2014 16:04:53 +0000 (16:04 +0000)]
Merge "Fix expires typo in comment"

9 years agoFix expires typo in comment
Reedy [Wed, 8 Oct 2014 15:55:52 +0000 (16:55 +0100)]
Fix expires typo in comment

Change-Id: I4bb63f610ce0ec246c4aa7aef3d04f096fb3e564

9 years agoCredits: Move Bartosz up from patch contributors to developers
Alex Monk [Wed, 8 Oct 2014 12:42:43 +0000 (13:42 +0100)]
Credits: Move Bartosz up from patch contributors to developers

Change-Id: I159325fa03a2c31d56ac14f06c09861aa488df84

9 years agoMediaWiki UI: Use em's for the button width
jdlrobson [Tue, 7 Oct 2014 22:40:03 +0000 (15:40 -0700)]
MediaWiki UI: Use em's for the button width

In mobile iOS this causes overlap of buttons with footer text
on our Wikigrok widget.

We use
em's to create a margin for the button but since the button is defined
in pixels when zooming out of the page this causes overlap.

Bug: 71577
Change-Id: I0332b925a3f09c7f924aa48bd636f7fb19743ff7

9 years agoFix fatal error in delayed parser tests
Jackmcbarn [Tue, 7 Oct 2014 22:31:42 +0000 (18:31 -0400)]
Fix fatal error in delayed parser tests

Change-Id: I93957bec3e33688b6cce6cb636ef685c8bae3b2f

9 years agoHttpTest: Update cURL constants array
dan-nl [Thu, 25 Sep 2014 04:46:37 +0000 (06:46 +0200)]
HttpTest: Update cURL constants array

The mediawiki-core-regression-hhvm-master test for I21747063 found
failures for some constants provided by the provideCurlConstants()
array.

https://integration.wikimedia.org/ci/job/mediawiki-core-regression-hhvm-master/2072/console

I have commented out the failures that occur in the current mw
HHVM 3.3.0 environment in order for the test to pass. none of the
commented out constants appear in the mw core code.

PHP 5.6.0 removed several cURL constants http://php.net/manual/en/curl.constants.php.
I have commented out those constants and verified that they do not
exist in the mw core code.

Bug: 71729
Change-Id: I30c5e78eacf19071aaf44834ca188172f082e161

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 7 Oct 2014 18:36:29 +0000 (20:36 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I0ee5a6d4d1fa172ec0f99f183db933632432fa3f

9 years agoMerge "Deprecate OutputPage::rateLimited()"
jenkins-bot [Tue, 7 Oct 2014 17:52:49 +0000 (17:52 +0000)]
Merge "Deprecate OutputPage::rateLimited()"

9 years agoMerge "Deprecate OutputPage::readOnlyPage()"
jenkins-bot [Tue, 7 Oct 2014 17:52:46 +0000 (17:52 +0000)]
Merge "Deprecate OutputPage::readOnlyPage()"

9 years agoMerge "mediawiki.api: Remove check for callback in postWithToken"
jenkins-bot [Tue, 7 Oct 2014 14:08:07 +0000 (14:08 +0000)]
Merge "mediawiki.api: Remove check for callback in postWithToken"

9 years agoMerge "PrefixSearch: Add unit tests for StringPrefixSearch"
jenkins-bot [Tue, 7 Oct 2014 12:41:08 +0000 (12:41 +0000)]
Merge "PrefixSearch: Add unit tests for StringPrefixSearch"

9 years agomediawiki.api: Remove check for callback in postWithToken
Fomafix [Mon, 6 Oct 2014 19:33:23 +0000 (19:33 +0000)]
mediawiki.api: Remove check for callback in postWithToken

Follows-up I0a650fdb4affd394ae419e21d54baf790116f6f7.

Change-Id: I178f68368cc1930e8b9f12afe5c6db7612235c40

9 years agoDeprecate OutputPage::rateLimited()
Kevin Israel [Mon, 29 Sep 2014 04:01:30 +0000 (00:01 -0400)]
Deprecate OutputPage::rateLimited()

Change-Id: I140e6af9dde090b9f8611e7b53a650061f2e84eb

9 years agoDeprecate OutputPage::readOnlyPage()
Kevin Israel [Mon, 29 Sep 2014 03:17:13 +0000 (23:17 -0400)]
Deprecate OutputPage::readOnlyPage()

Also, as this method is never called with an argument in any Gerrit-hosted
extension, shortened it to just `throw new ReadOnlyError;` on the assumption
that the removed portion was only left in for EditPage.

Change-Id: Icc2fc166b155eac548dfd5f3e67b0b1f92ef90d3

9 years agoMW UI: Show all permutations of checkboxes in Living Style Guide
Matthew Flaschen [Tue, 7 Oct 2014 02:52:32 +0000 (22:52 -0400)]
MW UI: Show all permutations of checkboxes in Living Style Guide

* Regular unchecked
* Regular checked (added)
* Disabled unchecked
* Disabled checked

Although you can obviously check and uncheck it yourself, it's easier
for the user to show them the permutations on page load.  Otherwise,
they might not even notice the special check mark image.

Also, fix a couple unrelated typos in buttons.less.

Change-Id: I17b63eeb424e23d1c3b9ce9ab8bfaa66b5bf4a46

9 years agoMerge "Updating style documentation for quiet anchors and quiet buttons"
jenkins-bot [Tue, 7 Oct 2014 06:57:49 +0000 (06:57 +0000)]
Merge "Updating style documentation for quiet anchors and quiet buttons"

9 years agoMerge "hash_equals(): Avoid division by zero when $known_string is empty"
jenkins-bot [Tue, 7 Oct 2014 06:49:20 +0000 (06:49 +0000)]
Merge "hash_equals(): Avoid division by zero when $known_string is empty"

9 years agoUpdating style documentation for quiet anchors and quiet buttons
kaldari [Tue, 7 Oct 2014 00:30:15 +0000 (17:30 -0700)]
Updating style documentation for quiet anchors and quiet buttons

See discussion on design-l for more context:
https://lists.wikimedia.org/pipermail/design/2014-October/002161.html

Change-Id: I1d958724d4222c95ad5ed52778d26228b09bd121

9 years agoMerge "UploadBaseTest: Use setMwGlobals() instead of juggling globals"
jenkins-bot [Tue, 7 Oct 2014 06:46:11 +0000 (06:46 +0000)]
Merge "UploadBaseTest: Use setMwGlobals() instead of juggling globals"

9 years agoMerge "MWCryptHKDFTest: Mock $wgSecretKey to ensure atomicity"
jenkins-bot [Tue, 7 Oct 2014 06:45:08 +0000 (06:45 +0000)]
Merge "MWCryptHKDFTest: Mock $wgSecretKey to ensure atomicity"

9 years agohash_equals(): Avoid division by zero when $known_string is empty
Kevin Israel [Tue, 24 Jun 2014 05:33:46 +0000 (01:33 -0400)]
hash_equals(): Avoid division by zero when $known_string is empty

Per Tim Starling's review of Icb239471, reverted back to the version of
the function from Patch Set 1 of Iece006ec, which did not have the bug.
This version does not attempt to minimize the inevitable leakage of the
string's length.

Also revised the doc comment to explain more effectively what the problem
with a normal (===) string comparison is for the use cases of this function.

Follows-up b9e1d5f5c066.

Change-Id: I1b347e69b39af3d7d8ba6673af63f1a616befbdf

9 years agoHashBagOStuff: use the value itself as the CAS token
Tim Starling [Tue, 7 Oct 2014 05:24:45 +0000 (16:24 +1100)]
HashBagOStuff: use the value itself as the CAS token

Avoid an unnecessary serialize() call on get() requests, which makes it
faster and also happens to work around a nasty crash bug which is
causing lots of segfaults right now.

CAS semantics should be the same, if the caller handles a CAS token in
an opaque way and does not assume it is a string. I could only find one
caller of cas() in core and WMF deployed extensions, and that is
BagOStuff::mergeViaCas(), which does correctly handle CAS tokens of any
type.

Bug: 71724
Change-Id: I0b0b5f0157c005ec7f76210dfb8576c056314733

9 years agoMWCryptHKDFTest: Mock $wgSecretKey to ensure atomicity
Timo Tijhof [Tue, 7 Oct 2014 03:22:02 +0000 (05:22 +0200)]
MWCryptHKDFTest: Mock $wgSecretKey to ensure atomicity

Follows-up af66c04.

The tests depend indirectly on wgSecretKey (used by
MWCryptHKDF::generateHex). On test installs I tend to set this
to "example" or "***", which is less than 16 characters and thus
the unit tests failed with "MWCryptHKDF secret was too short".

Change-Id: I9a85fd9fbb345863e4837fed2910d60ebf1b0d83

9 years agoUploadBaseTest: Use setMwGlobals() instead of juggling globals
Timo Tijhof [Tue, 7 Oct 2014 03:13:32 +0000 (05:13 +0200)]
UploadBaseTest: Use setMwGlobals() instead of juggling globals

Abstracts the logic for restoration into the built-in teardown()
handler.

Also purify the test configuration by setting wgHooks and
wgFileExtensions to otherwise empty arrays instead of extending
existing ones.

Change-Id: Ied65ee62f658dd650c603a54e72cd19965867a8f

9 years agoMerge "SpecialWhatlinkshere: Add autocompletion for target input"
jenkins-bot [Tue, 7 Oct 2014 00:31:38 +0000 (00:31 +0000)]
Merge "SpecialWhatlinkshere: Add autocompletion for target input"

9 years agoLog non-MediaWiki exceptions for requests via main entry point
aude [Mon, 6 Oct 2014 14:07:37 +0000 (16:07 +0200)]
Log non-MediaWiki exceptions for requests via main entry point

Previously, non-MediaWiki exceptions were logged only for api requests,
job runner, resource loader, etc. but not for general requests
such as page views.

Bug: 61914
Change-Id: Id4de5cac0b9996a98cdaf5e73655d49fa55ea8c3

9 years agoSpecialWhatlinkshere: Add autocompletion for target input
PiRSquared17 [Wed, 14 May 2014 20:32:53 +0000 (20:32 +0000)]
SpecialWhatlinkshere: Add autocompletion for target input

This adds the mw-searchInput class so suggestions are given by
mediawiki.searchSuggest (if loaded by the skin).

Bug: 65209
Change-Id: If4ae687ba125c002eedce114820a271cf615011b

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 6 Oct 2014 18:59:05 +0000 (20:59 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ia0998d81e51a5081b31ca8146f7ec7ef67f75d09

9 years agoRemove SquidUpdate::newFromLinksTo()
Kevin Israel [Mon, 6 Oct 2014 14:18:32 +0000 (10:18 -0400)]
Remove SquidUpdate::newFromLinksTo()

This has been broken since r9199 / e0ce5a322e41; a DB query error will occur
because the links table no longer exists, and even if the table were to
exist, the pl_* columns would not exist in that table.

There is no usage in core or Gerrit-hosted extensions.

Change-Id: I4922f85417bfb4d40f08662ba100ab5b78edd5fb

9 years agoMerge "Tune Skin::preloadExistence"
jenkins-bot [Mon, 6 Oct 2014 18:00:53 +0000 (18:00 +0000)]
Merge "Tune Skin::preloadExistence"

9 years agoUpdate OOjs UI to v0.1.0-pre (26dadbc60f)
James D. Forrester [Mon, 6 Oct 2014 16:03:54 +0000 (09:03 -0700)]
Update OOjs UI to v0.1.0-pre (26dadbc60f)

New changes:
6c91643 Make buttons respond to :active events
9137aaf Move window overlay up to be a sibling of the frame
19d8c83 ComboBoxWidget: Append menu to $overlay option
eb0fcb8 InlineMenuWidget: Fix documentation
19d2c2b SelectWidget: Fix typos in documentation
495d281 TextInputMenuWidget: Fix typo in documentation
b4ae961 Toolbar: Correctly display "More" label on catch-all groups
32e769e Toolbar demo: Fix tool name mismatch
e9983b6 build: Clean up Grunt config and add missing csscomb run

Change-Id: I1ee2e51460c709fa01934ae7d58ac8411b124867

9 years agoMove TimestampException to exception directory
aude [Mon, 6 Oct 2014 09:03:54 +0000 (11:03 +0200)]
Move TimestampException to exception directory

Change-Id: Id3829cbd155636839a272dc7e28e45bee7b87e8b

9 years agoMerge "Adjust h3 size to keep it smaller than h2 across normal platforms"
jenkins-bot [Mon, 6 Oct 2014 07:16:11 +0000 (07:16 +0000)]
Merge "Adjust h3 size to keep it smaller than h2 across normal platforms"

9 years agoInclude categories in Special:ExpandTemplates
Jackmcbarn [Mon, 6 Oct 2014 01:06:46 +0000 (21:06 -0400)]
Include categories in Special:ExpandTemplates

Show the categories box at the bottom of the page,
which more accurately represents what the page would
look like and allows users to see the effective
categories of the expanded page.

Bug: 71633
Change-Id: I4c003fb1f42b29602cd8924b224ff7642e8cf857

9 years agoMerge "Update usage of getRedirectSnippet() and getSectionSnippet()"
jenkins-bot [Sun, 5 Oct 2014 20:09:58 +0000 (20:09 +0000)]
Merge "Update usage of getRedirectSnippet() and getSectionSnippet()"

9 years agoUpdate usage of getRedirectSnippet() and getSectionSnippet()
Mark A. Hershberger [Sun, 5 Oct 2014 20:02:05 +0000 (16:02 -0400)]
Update usage of getRedirectSnippet() and getSectionSnippet()

Meant to include this in I571e015814ea756771c66c243cb8db86448db463 but
it was missed.

Change-Id: I9ff805daee1c10d7ea75dedd0ba59b467aaadd50

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 5 Oct 2014 19:44:46 +0000 (21:44 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ide1bf69a2454e7031c3b373184e2f32a57d66b59

9 years agoMerge "Update usage of getTitleSnippet(), getRedirectSnippet() and getSectionSnippet()"
jenkins-bot [Sun, 5 Oct 2014 18:30:31 +0000 (18:30 +0000)]
Merge "Update usage of getTitleSnippet(), getRedirectSnippet() and getSectionSnippet()"

9 years agoTune Skin::preloadExistence
umherirrender [Sun, 5 Oct 2014 17:26:36 +0000 (19:26 +0200)]
Tune Skin::preloadExistence

Just preload user page and talk, when the personal bar is shown.
Use Skin::getRelevantTitle for the title to have the correct title
preloaded, when using for example [[Special:WhatLinksHere]].

Change-Id: I4363a9f3fd909cfdc341dc1a8c6c0189efd9b736

9 years agoUndefined variable: attrs in HistoryAction.php on line 202
umherirrender [Sun, 5 Oct 2014 17:08:15 +0000 (19:08 +0200)]
Undefined variable: attrs in HistoryAction.php on line 202

Replaced by an array() and removed an unused variable near by.

Follow-Up: I61bb3c358f755ed9f2153d94b744c1a9da02c456
Change-Id: I5c4dc22e1e9346bfc410a9dda4353d5297a5825e

9 years agoMerge "jquery.ui: Collapse border in ui-helper-clearfix"
jenkins-bot [Sun, 5 Oct 2014 08:00:14 +0000 (08:00 +0000)]
Merge "jquery.ui: Collapse border in ui-helper-clearfix"

9 years agoMerge "Update OOjs UI to v0.1.0-pre (48980881f3)"
jenkins-bot [Sat, 4 Oct 2014 21:34:25 +0000 (21:34 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (48980881f3)"

9 years agoMerge "Fix for Bug 63980 - Comparison of limits in pingLimiter is incorrect"
jenkins-bot [Sat, 4 Oct 2014 20:35:30 +0000 (20:35 +0000)]
Merge "Fix for Bug 63980 - Comparison of limits in pingLimiter is incorrect"

9 years agoMerge "Add comment to AFL_* constants in Defines.php"
jenkins-bot [Sat, 4 Oct 2014 20:19:36 +0000 (20:19 +0000)]
Merge "Add comment to AFL_* constants in Defines.php"

9 years agoAvoid extra-long code lines
Amir E. Aharoni [Sat, 4 Oct 2014 14:02:55 +0000 (17:02 +0300)]
Avoid extra-long code lines

Makes phpcs happy.

Change-Id: Ideb4d4e7b9f5c385f108b91b26a796ecf6833d47

9 years agoWhitespace correction
Amir E. Aharoni [Sat, 4 Oct 2014 13:29:43 +0000 (16:29 +0300)]
Whitespace correction

Change-Id: Ia6e9c1e47bf6289398a38e6b4b2f5055e30ba4fb

9 years agoMerge "mediawiki.page.image.pagination: Cache last-loaded pages"
jenkins-bot [Sat, 4 Oct 2014 12:46:36 +0000 (12:46 +0000)]
Merge "mediawiki.page.image.pagination: Cache last-loaded pages"

9 years agoAdd comment to AFL_* constants in Defines.php
umherirrender [Fri, 3 Oct 2014 18:44:13 +0000 (20:44 +0200)]
Add comment to AFL_* constants in Defines.php

$wgAntiLockFlags was removed in
Ia709ccdc9addc55c99cbff21a5ff3009b5fbb53c

Change-Id: Ia8685a84b72abb1a86b70f73c3f1e9f0c3e52a8f

9 years agoUpdate OOjs UI to v0.1.0-pre (48980881f3)
James D. Forrester [Sat, 4 Oct 2014 01:51:05 +0000 (18:51 -0700)]
Update OOjs UI to v0.1.0-pre (48980881f3)

New changes:
aafebc4 LookupInputWidget: Fix whitespace and documentation
cf89618 Element: Remove unneeded IIFE
4898088 build: Create minified JS and CSS distribution files

Change-Id: Iaea30c2429401be4061f30d98a8edc7cce5567b1

9 years agoMerge "update-oojs-ui.sh: Exclude the minimised distribution files"
jenkins-bot [Sat, 4 Oct 2014 01:23:34 +0000 (01:23 +0000)]
Merge "update-oojs-ui.sh: Exclude the minimised distribution files"

9 years agoAdjust h3 size to keep it smaller than h2 across normal platforms
isarra [Sat, 4 Oct 2014 01:03:36 +0000 (01:03 +0000)]
Adjust h3 size to keep it smaller than h2 across normal platforms

Some platforms (especially certain linux distros) use slightly wider
sans-serifs than others by default. Bolding these wider fonts has a
more significant size impact than with narrower ones, so because the
h3 is bold and the h2 is not, a little more distance between their
defined sizes should ensure that the h3 will remain smaller than the
h2 regardless of platform.

Bug: 69999
Change-Id: I667c60f553d67e5208c708446f13b0773ad11ace

9 years agoMerge "Html: Use https for @see url of buttonAttributes()"
jenkins-bot [Fri, 3 Oct 2014 22:20:48 +0000 (22:20 +0000)]
Merge "Html: Use https for @see url of buttonAttributes()"

9 years agoHtml: Use https for @see url of buttonAttributes()
Prateek Saxena [Fri, 3 Oct 2014 22:07:06 +0000 (15:07 -0700)]
Html: Use https for @see url of buttonAttributes()

Follows up I61bb3c358f755ed9f2153d94b744c1a9da02c456.

Change-Id: I46be4249bdfde1b801e798e732617077f71f983d

9 years agoMerge "Use neutral instead of progressive for secondary edit page buttons"
jenkins-bot [Fri, 3 Oct 2014 21:57:19 +0000 (21:57 +0000)]
Merge "Use neutral instead of progressive for secondary edit page buttons"

9 years agoUse neutral instead of progressive for secondary edit page buttons
Matthew Flaschen [Fri, 3 Oct 2014 21:44:07 +0000 (17:44 -0400)]
Use neutral instead of progressive for secondary edit page buttons

Only applies if wgUseMediaWikiUIEverywhere is true.

Bug: 71628
Change-Id: Iae6d28e989a7c5b92ba8b31e166aa7b5d3244baf

9 years agoMerge "Revert "buttons: Update focus for quiet buttons""
jenkins-bot [Fri, 3 Oct 2014 21:38:00 +0000 (21:38 +0000)]
Merge "Revert "buttons: Update focus for quiet buttons""

9 years agoRevert "buttons: Update focus for quiet buttons"
Prtksxna [Fri, 3 Oct 2014 21:18:20 +0000 (21:18 +0000)]
Revert "buttons: Update focus for quiet buttons"

This reverts commit 778ecee16fe38c27c4e313a5bea9c65f6bb65a53.

The implementation of the new design specification
is imperfect. Zooming into the element shows that
the borders aren't equal on all sides and there is
a different colored border on the top and bottom.

Change-Id: Ic8c40498abe9201bdf4e740737467d2d88211442

9 years agoMerge "Add comment for messages on 'mediawiki.action.edit.editWarning'"
jenkins-bot [Fri, 3 Oct 2014 21:02:13 +0000 (21:02 +0000)]
Merge "Add comment for messages on 'mediawiki.action.edit.editWarning'"

9 years agoFix missing mw-ui-button on Login and create page
Florianschmidtwelzow [Fri, 3 Oct 2014 19:19:52 +0000 (21:19 +0200)]
Fix missing mw-ui-button on Login and create page

Don't use modifiers for pages, which uses MW UI nativeley, modifiers
will only be used, when wgUseMediaWikiUIEverywhere is set to true. This
runs into inconsistent use of MWUI on one page.

Follow up: I61bb3c358f755ed9f2153d94b744c1a9da02c456

Bug: 71618
Change-Id: I99d5803818e4c2719f92cab0d9036a1cbc3943ca

9 years agoAdd comment for messages on 'mediawiki.action.edit.editWarning'
umherirrender [Fri, 3 Oct 2014 19:05:29 +0000 (21:05 +0200)]
Add comment for messages on 'mediawiki.action.edit.editWarning'

In I43bf828654d342893a19656ddd4151c2558d2f63 the comment was added for
another usage.

Change-Id: I0510d069c6bc266d8d9e9a144daed2fc8dd7ebb9

9 years agojquery.ui: Collapse border in ui-helper-clearfix
kaldari [Fri, 3 Oct 2014 08:31:47 +0000 (01:31 -0700)]
jquery.ui: Collapse border in ui-helper-clearfix

Backport of upstream change released in jQuery UI v1.10.1
* http://bugs.jqueryui.com/ticket/8442
* https://github.com/jquery/jquery-ui/commit/cb42ee7ccd

This fixes the currently broken display of the media player in the
Listen template on en.wikipedia.org.

Bug: 71601
Change-Id: Ib3e0fc577c3f617955d6d12335a333587c6ddaa8

9 years agoMerge "Fix Status serialization with cleanupCallback as Closure"
jenkins-bot [Fri, 3 Oct 2014 18:33:31 +0000 (18:33 +0000)]
Merge "Fix Status serialization with cleanupCallback as Closure"

9 years agoMerge "API: Log usage of action=tokens"
jenkins-bot [Fri, 3 Oct 2014 18:19:58 +0000 (18:19 +0000)]
Merge "API: Log usage of action=tokens"

9 years agoMerge "Turn a wfDebug call in MessageCache::get into a wfDebugLog call"
jenkins-bot [Fri, 3 Oct 2014 18:08:27 +0000 (18:08 +0000)]
Merge "Turn a wfDebug call in MessageCache::get into a wfDebugLog call"

9 years agoAPI: Log usage of action=tokens
Brad Jorsch [Fri, 3 Oct 2014 18:06:43 +0000 (14:06 -0400)]
API: Log usage of action=tokens

Change-Id: I5fb7d4e3c7924e61747b652a5cbc3ce0a7ccef01

9 years agoMerge "mediawiki.toolbar: Properly deprecate #init"
jenkins-bot [Fri, 3 Oct 2014 18:05:43 +0000 (18:05 +0000)]
Merge "mediawiki.toolbar: Properly deprecate #init"

9 years agoMerge "mediawiki.toolbar: Move documentation closer to code"
jenkins-bot [Fri, 3 Oct 2014 18:05:18 +0000 (18:05 +0000)]
Merge "mediawiki.toolbar: Move documentation closer to code"

9 years agoMerge "Removed $wgAntiLockFlags to unify the code paths"
jenkins-bot [Fri, 3 Oct 2014 17:55:11 +0000 (17:55 +0000)]
Merge "Removed $wgAntiLockFlags to unify the code paths"

9 years agoMerge "Avoid attempting to prerender thumbnails that will fail"
jenkins-bot [Fri, 3 Oct 2014 17:45:15 +0000 (17:45 +0000)]
Merge "Avoid attempting to prerender thumbnails that will fail"

9 years agoRemoved $wgAntiLockFlags to unify the code paths
Aaron Schulz [Wed, 1 Oct 2014 17:23:00 +0000 (10:23 -0700)]
Removed $wgAntiLockFlags to unify the code paths

Change-Id: Ia709ccdc9addc55c99cbff21a5ff3009b5fbb53c

9 years agoMerge "Special:ExpandTemplates: Use MediaWiki UI"
jenkins-bot [Fri, 3 Oct 2014 17:41:17 +0000 (17:41 +0000)]
Merge "Special:ExpandTemplates: Use MediaWiki UI"

9 years agoMerge "Avoid the page join when not really needed"
jenkins-bot [Fri, 3 Oct 2014 17:41:10 +0000 (17:41 +0000)]
Merge "Avoid the page join when not really needed"

9 years agoSpecial:ExpandTemplates: Use MediaWiki UI
Florianschmidtwelzow [Fri, 3 Oct 2014 11:49:50 +0000 (13:49 +0200)]
Special:ExpandTemplates: Use MediaWiki UI

Bug: 71433
Change-Id: Ibe965741734bb911813084dad132ece179cc0362

9 years agoAvoid attempting to prerender thumbnails that will fail
Gilles Dubuc [Fri, 3 Oct 2014 16:09:07 +0000 (18:09 +0200)]
Avoid attempting to prerender thumbnails that will fail

For non-vectorial content, requesting a thumbnail larger than
the original results in a 500. Prerendering in its current form
introduces an increase in 500s that dilutes the real problematic
500s, making troubleshooting harder than it needs to be.

Change-Id: I9418dee7653ad7954c3788ecdd350fc8772edd32
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/301

9 years agoFix Status serialization with cleanupCallback as Closure
Brad Jorsch [Fri, 3 Oct 2014 15:57:31 +0000 (11:57 -0400)]
Fix Status serialization with cleanupCallback as Closure

We already have Status objects throw away the cleanupCallback in
__wakeup. Why not also implement __sleep to not save it in the first
place?

The immediate motivation here is that cleanupCallback could be a
Closure, which causes an exception when serialization is attempted (e.g.
when trying to save the Status if an AssembleUploadChunks job fails
verification).

Note this leaves __wakeup intact, in case of old objects where
cleanupCallback is still present in the serialized representation.

Change-Id: I3aa756cd4eb5553ce0b95e7088b929b2f529abfe

9 years agoMerge "Made upload jobs avoid using the user session"
jenkins-bot [Fri, 3 Oct 2014 15:41:11 +0000 (15:41 +0000)]
Merge "Made upload jobs avoid using the user session"

9 years agoMerge "mediawiki.util: Insert node before updating tooltip for accesskey"
jenkins-bot [Fri, 3 Oct 2014 11:56:22 +0000 (11:56 +0000)]
Merge "mediawiki.util: Insert node before updating tooltip for accesskey"

9 years agoMerge "mediawiki.util: Clean up nextnode logic"
jenkins-bot [Fri, 3 Oct 2014 11:55:06 +0000 (11:55 +0000)]
Merge "mediawiki.util: Clean up nextnode logic"

9 years agomediawiki.toolbar: Properly deprecate #init
Bartosz Dziewoński [Sun, 21 Sep 2014 13:26:07 +0000 (15:26 +0200)]
mediawiki.toolbar: Properly deprecate #init

Change-Id: I0271258e5f33b21c68b6224ca74123a3723c9788

9 years agomediawiki.toolbar: Move documentation closer to code
Bartosz Dziewoński [Sun, 21 Sep 2014 13:24:29 +0000 (15:24 +0200)]
mediawiki.toolbar: Move documentation closer to code

Also tweaked whitespace and variable naming (b → button).

Change-Id: I52653a7756b3661f4f32985763af03232c873da4

9 years agoMerge "Split mediawiki.toolbar from mediawiki.action.edit"
jenkins-bot [Fri, 3 Oct 2014 11:39:10 +0000 (11:39 +0000)]
Merge "Split mediawiki.toolbar from mediawiki.action.edit"

9 years agoReplace $wgConf->localVHosts by $wgLocalVirtualHosts
Alexandre Emsenhuber [Mon, 1 Sep 2014 20:26:36 +0000 (22:26 +0200)]
Replace $wgConf->localVHosts by $wgLocalVirtualHosts

The former is independent of the remaining of the SiteConfiguration
class, and as thus makes more sense to be defined as an explicit
configuration setting rather that being hidden in $wgConf.

Change-Id: I25204d37c5cfffb6953fe53e14316dc3df5b5b10

9 years agoTurn a wfDebug call in MessageCache::get into a wfDebugLog call
Ori Livneh [Fri, 3 Oct 2014 03:52:05 +0000 (20:52 -0700)]
Turn a wfDebug call in MessageCache::get into a wfDebugLog call

It's a very hot code path, so it makes sense to be able to dive into it in
detail, and having a discrete log bucket makes that easier to do.

Change-Id: I4b547e97711b9e45a99f7b747d785690c70883ec

9 years agoMerge "Hygiene: Make construction of buttons easier"
jenkins-bot [Fri, 3 Oct 2014 00:22:48 +0000 (00:22 +0000)]
Merge "Hygiene: Make construction of buttons easier"

9 years agoMerge "Switch custom code to wfParseUrl which covers the same bugfix"
jenkins-bot [Fri, 3 Oct 2014 00:10:37 +0000 (00:10 +0000)]
Merge "Switch custom code to wfParseUrl which covers the same bugfix"

9 years agoMerge "Special:MediaStatistics: data-sort-value also for number of files"
jenkins-bot [Thu, 2 Oct 2014 21:19:38 +0000 (21:19 +0000)]
Merge "Special:MediaStatistics: data-sort-value also for number of files"

9 years agoMerge "Added some profiling calls"
jenkins-bot [Thu, 2 Oct 2014 21:18:41 +0000 (21:18 +0000)]
Merge "Added some profiling calls"

9 years agoMerge "Removed $wgPageShowWatchingUsers"
jenkins-bot [Thu, 2 Oct 2014 21:12:46 +0000 (21:12 +0000)]
Merge "Removed $wgPageShowWatchingUsers"

9 years agoMerge "Improved timestamp precision in ProcessCacheLRU"
jenkins-bot [Thu, 2 Oct 2014 21:12:34 +0000 (21:12 +0000)]
Merge "Improved timestamp precision in ProcessCacheLRU"

9 years agoMerge "Bumped the default Swift token expiry a bit"
jenkins-bot [Thu, 2 Oct 2014 21:12:25 +0000 (21:12 +0000)]
Merge "Bumped the default Swift token expiry a bit"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 2 Oct 2014 21:04:31 +0000 (23:04 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I34e47c0855ee32b67031e1bcbc88f1bab20cdc92

9 years agoSplit mediawiki.toolbar from mediawiki.action.edit
Timo Tijhof [Sun, 21 Sep 2014 03:06:58 +0000 (20:06 -0700)]
Split mediawiki.toolbar from mediawiki.action.edit

Follows-up 285c52039bf4d2f9b.

Get rid of mediawiki.mediawiki.action.toolbar. Not keeping a
backwards-compat alias since this module is not supposed to be used
publicly in its current form.

Change-Id: I403216c6916e1f4d29216a55c3fe6c92eb68400b

9 years agoMerge "Don't rely on $wgTitle in WebRequest"
jenkins-bot [Thu, 2 Oct 2014 20:27:51 +0000 (20:27 +0000)]
Merge "Don't rely on $wgTitle in WebRequest"

9 years agoSpecial:MediaStatistics: data-sort-value also for number of files
umherirrender [Thu, 2 Oct 2014 20:20:55 +0000 (22:20 +0200)]
Special:MediaStatistics: data-sort-value also for number of files

The column "Number of files" is sortable, but does not contains plain
numbers, so it needs a data-sort-value to allow js to sort correct.

Change-Id: I9b7232b755dc8dab2cf04682103085273dada737

9 years agoAvoid the page join when not really needed
Aaron Schulz [Thu, 2 Oct 2014 17:22:27 +0000 (10:22 -0700)]
Avoid the page join when not really needed

* That sometimes triggered a filesorts when the title for the
  inequality has certain (seemingly long) values.
* Also made the continuation queries use > instead of >=.

Change-Id: I912df77ad43f025918e52d1494300d487a9deea1

9 years agoSwitch custom code to wfParseUrl which covers the same bugfix
Gilles Dubuc [Thu, 2 Oct 2014 15:26:37 +0000 (17:26 +0200)]
Switch custom code to wfParseUrl which covers the same bugfix

Change-Id: I60b20bd7e8f4b25acd5ef2de172786a152c0e589
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/301

9 years agoMerge "Set content language for ContentHandlerTest::testGetAutosummary"
jenkins-bot [Thu, 2 Oct 2014 08:39:45 +0000 (08:39 +0000)]
Merge "Set content language for ContentHandlerTest::testGetAutosummary"