lhc/web/wiklou.git
9 years agoUpdate OOjs UI to v0.1.0-pre (9f4f250f88)
Trevor Parscal [Thu, 12 Jun 2014 00:02:22 +0000 (17:02 -0700)]
Update OOjs UI to v0.1.0-pre (9f4f250f88)

New changes:
bf4ba74 Localisation updates from https://translatewiki.net.
a99acae Remove use of imaginary config option in OutlineControlsWidget
8db7499 Localisation updates from https://translatewiki.net.
7d7b9ce [BREAKING CHANGE] Window process cleanup

Change-Id: Ib9ae3fdfe14bbeb1f687b26f552cf4fb49db2d69

9 years agoMerge "Remove $wgProxyKey"
jenkins-bot [Wed, 11 Jun 2014 23:30:07 +0000 (23:30 +0000)]
Merge "Remove $wgProxyKey"

9 years agoMerge "RCFeed: Add log_id property (exposes rc_logid attribute)"
jenkins-bot [Wed, 11 Jun 2014 22:32:03 +0000 (22:32 +0000)]
Merge "RCFeed: Add log_id property (exposes rc_logid attribute)"

9 years agoRCFeed: Add log_id property (exposes rc_logid attribute)
Kunal Mehta [Fri, 6 Jun 2014 01:59:15 +0000 (18:59 -0700)]
RCFeed: Add log_id property (exposes rc_logid attribute)

Bug: 20394
Change-Id: I005be8e41a5cbea934d4dac27184f03e9af7c648

9 years agoRemove $wgProxyKey
withoutaname [Wed, 11 Jun 2014 20:47:03 +0000 (13:47 -0700)]
Remove $wgProxyKey

Change-Id: I1748164f108fab701c79532ede13ae387b12769d

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 11 Jun 2014 20:27:08 +0000 (20:27 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Ib84999f8508bc7bd8843eae28a8db1a35b1628be

9 years agoReduce deadlocks adding log rows to the RC table on delete
Aaron Schulz [Tue, 10 Jun 2014 20:25:34 +0000 (13:25 -0700)]
Reduce deadlocks adding log rows to the RC table on delete

bug: 56776
Change-Id: Ic75530b25f3fa5668019c76ce59a1dda2768f389

9 years agoMerge "Fix misnamed SVGHandler::canAnimateThumb()"
jenkins-bot [Wed, 11 Jun 2014 17:54:52 +0000 (17:54 +0000)]
Merge "Fix misnamed SVGHandler::canAnimateThumb()"

9 years agoMerge "Remove isset() check in Sanitizer::setupAttributeWhitelist()"
jenkins-bot [Wed, 11 Jun 2014 17:49:56 +0000 (17:49 +0000)]
Merge "Remove isset() check in Sanitizer::setupAttributeWhitelist()"

9 years agoMerge "Cleanups to WebRequest::getIP logic"
jenkins-bot [Wed, 11 Jun 2014 17:28:17 +0000 (17:28 +0000)]
Merge "Cleanups to WebRequest::getIP logic"

9 years agoMerge "Add a maintenance script to list variants and languages with then"
jenkins-bot [Wed, 11 Jun 2014 17:21:47 +0000 (17:21 +0000)]
Merge "Add a maintenance script to list variants and languages with then"

9 years agoMerge "MimeMagic: Don't seek before BOF"
jenkins-bot [Wed, 11 Jun 2014 17:18:35 +0000 (17:18 +0000)]
Merge "MimeMagic: Don't seek before BOF"

9 years agoCleanups to WebRequest::getIP logic
Aaron Schulz [Sat, 7 Jun 2014 00:20:47 +0000 (17:20 -0700)]
Cleanups to WebRequest::getIP logic

* Throw an error if there is no immediate server IP, otherwise the
  XFF logic is wonky.
* Refactored the loop to be a bit easier to read.
* Better handle "unknown" entries in the XFF chain.

Change-Id: I9541afa408d895c3fd337a883ecfe4ce0ba57090

9 years agoMimeMagic: Don't seek before BOF
rillke [Tue, 10 Jun 2014 21:50:30 +0000 (23:50 +0200)]
MimeMagic: Don't seek before BOF

This has weird side effects like only extracting the tail of the
file partially or not at all.

Bug: 66428
Change-Id: I182128c6958244f1515227ee742c3206a7484aee

9 years agoHistory: Simplify checkboxes script on History pages
Derk-Jan Hartman [Fri, 16 May 2014 13:52:52 +0000 (15:52 +0200)]
History: Simplify checkboxes script on History pages

This should reduce the amount of variables constructed and also switches
to a class based implementation, which allows us to do the same with
fewer calls touching the DOM.

Not supported by IE6.

Bug: 51561
Change-Id: I4596b3667f990ef1d8c7ca753e1d80fe285d5614

9 years agoRemove obsolete RC_MOVE and RC_MOVE_OVER_REDIRECT rc types
JuneHyeon Bae [Thu, 5 Jun 2014 00:54:02 +0000 (09:54 +0900)]
Remove obsolete RC_MOVE and RC_MOVE_OVER_REDIRECT rc types

RC_MOVE and RC_MOVE_OVER_REDIRECT are obsolete, since at least 2006.
So it is considered safe to remove.

Bug: 63755
Change-Id: I0f17c4d164585a48fb9f0d40b90a7d3b975c7ab8

9 years agoMerge "Final page of search results sometimes having erroneous "next" link"
jenkins-bot [Wed, 11 Jun 2014 01:17:35 +0000 (01:17 +0000)]
Merge "Final page of search results sometimes having erroneous "next" link"

9 years agoFix misnamed SVGHandler::canAnimateThumb()
Brian Wolff [Wed, 11 Jun 2014 00:15:53 +0000 (21:15 -0300)]
Fix misnamed SVGHandler::canAnimateThumb()

Caused the animation warning to not be present on
image description pages

Also add unit tests. Since I'm adding an animated svg file for
this unit test, also add a metadata extraction test for animated
svgs, since we're missing one.

Change-Id: Id03e1a0e1c151d3c575a695a42c54b709187d10a
follow-up: 876128f8c9f0ce6a8424336f

9 years agoMerge "LoginForm: Pass username as first parameter to error message if aborted"
jenkins-bot [Tue, 10 Jun 2014 22:43:11 +0000 (22:43 +0000)]
Merge "LoginForm: Pass username as first parameter to error message if aborted"

9 years agoMerge "Fetch string to pass through writeTemporary() in DatabaseOracle.php"
jenkins-bot [Tue, 10 Jun 2014 22:24:11 +0000 (22:24 +0000)]
Merge "Fetch string to pass through writeTemporary() in DatabaseOracle.php"

9 years agoMerge "Removed undeclared var from wfDebug()"
jenkins-bot [Tue, 10 Jun 2014 22:21:30 +0000 (22:21 +0000)]
Merge "Removed undeclared var from wfDebug()"

9 years agoMerge "Revert "Fix "CSSMin url() value remapping not working in certain obscure cases"""
jenkins-bot [Tue, 10 Jun 2014 22:12:53 +0000 (22:12 +0000)]
Merge "Revert "Fix "CSSMin url() value remapping not working in certain obscure cases"""

9 years agoRevert "Fix "CSSMin url() value remapping not working in certain obscure cases""
Trevor Parscal [Tue, 10 Jun 2014 22:04:40 +0000 (22:04 +0000)]
Revert "Fix "CSSMin url() value remapping not working in certain obscure cases""

This reverts commit fa1053a16a5b3ff2004f6c06c69e87f8570a35d7.

Breaks CSS output, making the skin and extensions look unstyled.

Change-Id: I297150f775dd5559f91f2c9c25c64b134459c6b6

9 years agoLoginForm: Pass username as first parameter to error message if aborted
Kunal Mehta [Tue, 10 Jun 2014 22:00:08 +0000 (15:00 -0700)]
LoginForm: Pass username as first parameter to error message if aborted

If a hook is aborted, pass the username as the first parameter to allow
for more customized messages.

Change-Id: Ifb55a2e180c619f7d06f728dd8eea2c9863b8f82

9 years agoRemove <div id="mw-js-message">
Bartosz Dziewoński [Sat, 31 May 2014 17:53:11 +0000 (19:53 +0200)]
Remove <div id="mw-js-message">

This is a remnant of the mw.util.jsMessage() utility, replaced by
mw.notify() several versions ago.

Change-Id: Ifd2765581f06dcc2ca057bc30b27b336df2d066b

9 years agoMerge "Fix "CSSMin url() value remapping not working in certain obscure cases""
jenkins-bot [Tue, 10 Jun 2014 21:35:56 +0000 (21:35 +0000)]
Merge "Fix "CSSMin url() value remapping not working in certain obscure cases""

9 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Tue, 10 Jun 2014 20:47:10 +0000 (20:47 +0000)]
Merge "Localisation updates from https://translatewiki.net."

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 10 Jun 2014 20:34:32 +0000 (20:34 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I8f904f32657c9b380fffe31de30b18b3a164583d

9 years agoUse anonymous function in Linker::formatAutocomments/formatLinksInComment
umherirrender [Fri, 16 May 2014 19:16:09 +0000 (21:16 +0200)]
Use anonymous function in Linker::formatAutocomments/formatLinksInComment

A anonym function has no own scope, so it is not possible to call the
private callback, so moved the code of the callback into the function.

This avoids passing parameters with static variables to the callback.

Change-Id: I41ad85545301f6699817135b7e8ceba0f8b26851

9 years agoMerge "LinkerTest: A bunch of tests for Linker::formatComment and friends"
Bartosz Dziewoński [Tue, 10 Jun 2014 20:32:00 +0000 (20:32 +0000)]
Merge "LinkerTest: A bunch of tests for Linker::formatComment and friends"

9 years agoLinkerTest: A bunch of tests for Linker::formatComment and friends
Bartosz Dziewoński [Tue, 10 Jun 2014 19:37:37 +0000 (21:37 +0200)]
LinkerTest: A bunch of tests for Linker::formatComment and friends

Change-Id: Ie805d2945ddc1596545ef3f22d32b429caca8a27

9 years agoMerge "Change 'delete' to 'rollback' in action=rollback params description"
jenkins-bot [Tue, 10 Jun 2014 20:21:33 +0000 (20:21 +0000)]
Merge "Change 'delete' to 'rollback' in action=rollback params description"

9 years agoChange 'delete' to 'rollback' in action=rollback params description
umherirrender [Tue, 10 Jun 2014 19:42:11 +0000 (21:42 +0200)]
Change 'delete' to 'rollback' in action=rollback params description

Bug: 66406
Change-Id: Iab874f45b5baaa89a6345e351cc45ed16f5af6e8

9 years agoRemove isset() check in Sanitizer::setupAttributeWhitelist()
Alexandre Emsenhuber [Sun, 6 Apr 2014 16:28:17 +0000 (18:28 +0200)]
Remove isset() check in Sanitizer::setupAttributeWhitelist()

Declared variables have a default value of null, so there is
no point to use isset() to check only if it has the value null.

Also changed the location of the line break to group variable
declarations.

Change-Id: Ic36fc95db86909d8b5075954a72afa479fa20d0d

9 years agoRemove $dbr from ChangeTags::addTags()
Liangent [Fri, 6 Jun 2014 00:58:31 +0000 (00:58 +0000)]
Remove $dbr from ChangeTags::addTags()

$dbr (DB_SLAVE) is completely unused now.

Change-Id: I02bbde8366480b841d8028403e9a0efe88fa46fd

9 years agoMerge "Make Minerva skin opt out of parsoid style module"
jenkins-bot [Tue, 10 Jun 2014 19:01:20 +0000 (19:01 +0000)]
Merge "Make Minerva skin opt out of parsoid style module"

9 years agoMake Minerva skin opt out of parsoid style module
kaldari [Tue, 10 Jun 2014 00:48:56 +0000 (17:48 -0700)]
Make Minerva skin opt out of parsoid style module

These styles are mostly Vectorish, so shouldn't be applied to the
Minerva skin that is provided in MobileFrontend.

We set our own parsoid styles in
VisualEditorOverlay.less.

Change-Id: I11a75c5552fa14ad119ad60bb5fa3f6185582429
Dependency: I5de12c97108dcb6e41ac8c34b17ff993d2e65249

9 years agoUpdate OOjs UI to v0.1.0-pre (99068355d6)
Trevor Parscal [Tue, 10 Jun 2014 18:03:43 +0000 (11:03 -0700)]
Update OOjs UI to v0.1.0-pre (99068355d6)

New changes:
9906835 Make menu toolgroup take up less space and look more like a menu

Change-Id: Ie5e5f3d8f3f6bccdbacd85f1ea8423bfeaa8e2f2

9 years agoMerge "Bug 51245: Add auto-numbered link CSS to Parsoid styles"
jenkins-bot [Tue, 10 Jun 2014 17:44:36 +0000 (17:44 +0000)]
Merge "Bug 51245: Add auto-numbered link CSS to Parsoid styles"

9 years agoMerge "Revert "Officially deprecate skin autodiscovery""
jenkins-bot [Tue, 10 Jun 2014 17:36:28 +0000 (17:36 +0000)]
Merge "Revert "Officially deprecate skin autodiscovery""

9 years agoRevert "Officially deprecate skin autodiscovery"
Jdlrobson [Tue, 10 Jun 2014 16:36:58 +0000 (16:36 +0000)]
Revert "Officially deprecate skin autodiscovery"

The warnings interfere with Jenkins and stop code from being merged
where Jenkins is voting. See bug 66429 - we'll need to fix this before
merging this. Sorry!

This reverts commit 7fe6e4422467fa0c701f3ffb395e66de9cd0d67f.

Bug: 66429
Change-Id: I649462b0ccc22954ba4fbad8087dd55a7ad910bd

9 years agoBug 51245: Add auto-numbered link CSS to Parsoid styles
Gabriel Wicke [Tue, 10 Jun 2014 16:07:34 +0000 (09:07 -0700)]
Bug 51245: Add auto-numbered link CSS to Parsoid styles

Also use the mw-body-content class to scope styles to the content area.

Change-Id: Id765da7bfb60726eead86e67693b86c82bdb5610

9 years agoRemoved undeclared var from wfDebug()
Yuri Astrakhan [Tue, 10 Jun 2014 14:51:47 +0000 (07:51 -0700)]
Removed undeclared var from wfDebug()

Change-Id: Ie8a0ff2f9347c6ed2a04f7c99de6c43958dfd1f7

9 years agoMerge "Vector: Update comments in vector.js"
jenkins-bot [Tue, 10 Jun 2014 03:02:56 +0000 (03:02 +0000)]
Merge "Vector: Update comments in vector.js"

9 years agoOfficially deprecate skin autodiscovery
Bartosz Dziewoński [Mon, 26 May 2014 13:54:56 +0000 (15:54 +0200)]
Officially deprecate skin autodiscovery

Corresponding change in REL1_23 (different, because core skins still use
autodiscovery in that version): If9125ef587ce11f0d69f12eacd00ae7236139798.

Bug: 65748
Change-Id: I6fc30f97d4b35820c132c4892abf6d2c86f9482e

9 years agoDon't use autodiscovery for core skins, move them to separate directories
Bartosz Dziewoński [Sun, 25 May 2014 21:58:05 +0000 (23:58 +0200)]
Don't use autodiscovery for core skins, move them to separate directories

Step one on the way to killing the autodiscovery mechanism and making
the core skins less intertwined with core.

This only moves the files and fixes hardcoded paths throughout core.
Any further changes will be done in separate patch(es).

Moved files:
* skins/MonoBook.php → skins/monobook/MonoBook.php
* skins/Vector.php   → skins/vector/Vector.php

Bug: 65748
Change-Id: Ib4bdda5ed3c133fce0113eb17fa39950aa812f87

9 years agoMerge "Remove unused variable"
jenkins-bot [Tue, 10 Jun 2014 00:49:10 +0000 (00:49 +0000)]
Merge "Remove unused variable"

9 years agoRemove unused variable
Max Semenik [Fri, 6 Jun 2014 18:40:27 +0000 (11:40 -0700)]
Remove unused variable

Follows up Ie47649ef45f9eebdfe

Change-Id: I2c6f2a0b4a8f15056ad0b314da7f8086168b1863

9 years agoDo not show page navigation on included Special:Contributions page
JuneHyeon Bae [Mon, 2 Jun 2014 01:12:34 +0000 (10:12 +0900)]
Do not show page navigation on included Special:Contributions page

Bug: 65780
Change-Id: Ie1f96d62e0f7b8c1066aaecc5e8ba528fb94cbf7

9 years agoMerge "Update OOjs UI to v0.1.0-pre (15f4156bac)"
jenkins-bot [Mon, 9 Jun 2014 23:57:26 +0000 (23:57 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (15f4156bac)"

9 years agoMerge "More optimizations to User::saveOptions()"
jenkins-bot [Mon, 9 Jun 2014 23:51:09 +0000 (23:51 +0000)]
Merge "More optimizations to User::saveOptions()"

9 years agoUpdate OOjs UI to v0.1.0-pre (15f4156bac)
James D. Forrester [Mon, 9 Jun 2014 23:46:18 +0000 (16:46 -0700)]
Update OOjs UI to v0.1.0-pre (15f4156bac)

New changes:
15f4156 Follow-up 2334482: actually clear items in clearItems()

Change-Id: I7d4570364690b82a6fb7de3beb7e7e68ff451366

9 years agoAdd mw.track calls for jquery.migrate
Timo Tijhof [Wed, 14 May 2014 13:45:27 +0000 (15:45 +0200)]
Add mw.track calls for jquery.migrate

Can't use mw.log.deprecate because many of these are fired
for specific behaviour within a method, not for access to the method
itself.

And mustn't fire the events with topic "mw.deprecate" as we can't satisfy
all the requires properties of that event schema (such as having a search
phrase to find offending code). These tracking hits would be for hit
counts only, not for finding where it comes from (we'll still have wikiid,
pagename, revision id and referral information from EventLogging though).

Change-Id: I6c868f2ce831d74889ed58b6ab4a69b233b3923f

9 years agoFix "CSSMin url() value remapping not working in certain obscure cases"
Stephan Gambke [Sun, 8 Jun 2014 22:33:20 +0000 (00:33 +0200)]
Fix "CSSMin url() value remapping not working in certain obscure cases"

This patch extends the regex used to find URLs by css block quote subpatterns.

Bug: 60077
Change-Id: Ife00d01b78c6369f20ffc49d20aa58e354a61ee7

9 years agoUpdate OOjs UI to v0.1.0-pre (098f84f8a0)
James D. Forrester [Mon, 9 Jun 2014 21:32:31 +0000 (14:32 -0700)]
Update OOjs UI to v0.1.0-pre (098f84f8a0)

New changes:
371fcff Correct TextInputMenuWidget position for RTL
05467d3 Localisation updates from https://translatewiki.net.
2334482 GroupElement: Improve performance by avoiding .add() overhead

Change-Id: I6701dd1bc08343e14f6b3cacdfe0c8d80b350394

9 years agoMerge "ResourceLoaderLESSFunctions: Quote CSS data: URIs if needed"
jenkins-bot [Mon, 9 Jun 2014 21:02:18 +0000 (21:02 +0000)]
Merge "ResourceLoaderLESSFunctions: Quote CSS data: URIs if needed"

9 years agoAdd PPFrame::getTTL() and setTTL()
Jackmcbarn [Wed, 28 May 2014 20:17:41 +0000 (16:17 -0400)]
Add PPFrame::getTTL() and setTTL()

Add functions to frames to control the TTL of their output, and expose
this via expandtemplates in the API.

Bug: 49803
Change-Id: I412febf3469503bf4839fb1ef4dca098a8c79457

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 9 Jun 2014 20:35:47 +0000 (20:35 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I7323b1280bf812e5043d528dea4f32d4b4cde26f

9 years agoVector: Update comments in vector.js
Bartosz Dziewoński [Mon, 9 Jun 2014 20:15:43 +0000 (22:15 +0200)]
Vector: Update comments in vector.js

Change-Id: Ife1364c6f3c7d2dfde2275287e2f85d10c19c526

9 years agoSync up with Parsoid parserTests.
C. Scott Ananian [Mon, 9 Jun 2014 20:14:08 +0000 (16:14 -0400)]
Sync up with Parsoid parserTests.

This now aligns with Parsoid commit d6666187bac33cbdb0ad5f67d20be98680845b24

Change-Id: Ib4fd31e9d1c14e6a171d39510b5621baf1642b9e

9 years agoMerge "Remove unused jquery.cycle.all.js file"
jenkins-bot [Mon, 9 Jun 2014 20:04:10 +0000 (20:04 +0000)]
Merge "Remove unused jquery.cycle.all.js file"

9 years agoVector: Hide the superfluous "Variants" menu label again
Bartosz Dziewoński [Mon, 9 Jun 2014 17:09:41 +0000 (19:09 +0200)]
Vector: Hide the superfluous "Variants" menu label again

Follow-up to I09c8031c.

Also removed a piece of temporary hacky CSS from Iabda8155.
The other hacks from it were removed, this one persisted.

Bug: 66364
Change-Id: I4d5ae0858e1685a60c42d8080fec2753f25ea9ad

9 years agoMerge "Add HKDF as a fast, random number source"
jenkins-bot [Mon, 9 Jun 2014 18:50:06 +0000 (18:50 +0000)]
Merge "Add HKDF as a fast, random number source"

9 years agoMerge "API: Add show=unread to ApiQueryWatchlist"
jenkins-bot [Mon, 9 Jun 2014 18:47:43 +0000 (18:47 +0000)]
Merge "API: Add show=unread to ApiQueryWatchlist"

9 years agoAdd HKDF as a fast, random number source
csteipp [Tue, 3 Jun 2014 18:15:36 +0000 (11:15 -0700)]
Add HKDF as a fast, random number source

This adds an RFC 5869 compatible library for quickly generating
cryptographically secure random keys/numbers. An attacker should be
unable to predict the next number generated, as long as the secret
key (set to wgSecretKey if not explicitly defined for a wiki) remains
secret.

In my testing, this is generating random numbers about 7x faster than
MWCryptRand for 32 hex characters, and shouldn't drain openssl's
entropy source.

This will hopefully speed up maintenance tasks that require secure
random numbers, such as resetting login token, and wrapping user's
passwords in a new format.

Change-Id: I437d9aec0122a0533b0d8723fe8a8624898af909

9 years agoMerge "Lowered the TransactionProfiler threshold"
jenkins-bot [Mon, 9 Jun 2014 18:19:20 +0000 (18:19 +0000)]
Merge "Lowered the TransactionProfiler threshold"

9 years agoAPI: Add show=unread to ApiQueryWatchlist
Brad Jorsch [Tue, 3 Jun 2014 19:06:27 +0000 (15:06 -0400)]
API: Add show=unread to ApiQueryWatchlist

This allows for retrieving only those pages that have changes since the
last visit.

Bug: 65246
Change-Id: I81d2fae39178708efc0f57e5acea93b50463bc7a

9 years agoMerge "Update list item newline handling to follow Parsoid's model"
jenkins-bot [Mon, 9 Jun 2014 18:13:14 +0000 (18:13 +0000)]
Merge "Update list item newline handling to follow Parsoid's model"

9 years agoUpdate list item newline handling to follow Parsoid's model
Gabriel Wicke [Tue, 20 May 2014 16:14:21 +0000 (09:14 -0700)]
Update list item newline handling to follow Parsoid's model

This improves on commit 34bd573144883af9ace7ead32d3be8f692431718 by matching
Parsoid's newline handling in the PHP parser. It is the outcome of a
discussion with Erwin, where we agreed that

* foo
* bar

should produce

<ul><li>foo</li>
<li>bar</li></ul>

See the discussion in https://gerrit.wikimedia.org/r/#/c/94443/

The original rendering issue this tried to address is no longer present after
a change to the template. The pure CSS solution is now working.

Bug: 39617
Bug: 56809
Change-Id: Ib7aa9449bbd994cb23b83b3f23cff944b1cddadf

9 years agoMerge "Vector: Restore old focus animation on the "More" dropdown"
jenkins-bot [Mon, 9 Jun 2014 17:56:40 +0000 (17:56 +0000)]
Merge "Vector: Restore old focus animation on the "More" dropdown"

9 years agoVector: Restore old focus animation on the "More" dropdown
Bartosz Dziewoński [Thu, 5 Jun 2014 17:57:02 +0000 (19:57 +0200)]
Vector: Restore old focus animation on the "More" dropdown

Per post-merge review of I09c8031c, it's not consistent with anything
we have elsewhere.

Bug: 66363
Change-Id: I89cf29fcb92d29d782c4091f39879f3837579bdb

9 years agoMerge "API: Add prop=unreadcount to ApiQueryUserInfo"
jenkins-bot [Mon, 9 Jun 2014 17:48:24 +0000 (17:48 +0000)]
Merge "API: Add prop=unreadcount to ApiQueryUserInfo"

9 years agoMerge "Installer: Re-use ResourceLoader methods instead of duplicating"
jenkins-bot [Mon, 9 Jun 2014 16:57:51 +0000 (16:57 +0000)]
Merge "Installer: Re-use ResourceLoader methods instead of duplicating"

9 years agoMerge "Remove backwards-compatibility modules from I3947eaac"
jenkins-bot [Mon, 9 Jun 2014 16:56:51 +0000 (16:56 +0000)]
Merge "Remove backwards-compatibility modules from I3947eaac"

9 years agoAPI: Add prop=unreadcount to ApiQueryUserInfo
Brad Jorsch [Tue, 3 Jun 2014 19:53:34 +0000 (15:53 -0400)]
API: Add prop=unreadcount to ApiQueryUserInfo

People want to be able to fetch the count of unread pages on the
watchlist.

Bug: 65246
Change-Id: I890f21631ba074a7b3d660534c40e38773d8ea77

9 years agoMerge "Upgrade jQuery UI from 1.8.24 to 1.9.2"
jenkins-bot [Mon, 9 Jun 2014 16:01:51 +0000 (16:01 +0000)]
Merge "Upgrade jQuery UI from 1.8.24 to 1.9.2"

9 years agoResourceLoaderLESSFunctions: Quote CSS data: URIs if needed
Christian Aistleitner [Mon, 9 Jun 2014 10:48:24 +0000 (12:48 +0200)]
ResourceLoaderLESSFunctions: Quote CSS data: URIs if needed

Change-Id: I121cf6b410b17f2b8b880cb3b5cb786f5eeb23b6

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 8 Jun 2014 19:47:14 +0000 (19:47 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I318f55bbd9ba3f99fd2061b61f663f79ec2ca7d6

9 years agoFetch string to pass through writeTemporary() in DatabaseOracle.php
withoutaname [Thu, 15 May 2014 05:52:24 +0000 (22:52 -0700)]
Fetch string to pass through writeTemporary() in DatabaseOracle.php

Pulled some code from insertOneRow() to fix the update() function
and prevent the error warnings in bugzilla 64970 from showing up.
Note that since insertOneRow() and update() contains a lot of
duplicate code, they may be candidates for merging, but that is
outside the scope of this request.

Bug: 64970
Change-Id: I9ff9077d68e77f05f878fc541f87e0a5ce86ecc2

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 7 Jun 2014 19:29:48 +0000 (19:29 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: If92d90ab5d744d3b82beedbdac92ab3b5bf03a79

9 years agoRemove unused jquery.cycle.all.js file
Matthew Flaschen [Fri, 6 Jun 2014 23:32:12 +0000 (19:32 -0400)]
Remove unused jquery.cycle.all.js file

Originally added in r109828 / 2f1f0abc6b, but without any module
declaration. The only way this file could be used is if an
extension is referencing the file directly, which is unsupported.

Bug: 66292
Change-Id: I730c31cef40ff1cc1c12573ace9bec78ebbc1e7d

9 years agoInstaller: Re-use ResourceLoader methods instead of duplicating
Timo Tijhof [Wed, 4 Jun 2014 19:30:14 +0000 (21:30 +0200)]
Installer: Re-use ResourceLoader methods instead of duplicating

Also:
* Fix incorrect documentation comment of ResourceLoaderModule::getStyles(),
  it doesn't return a string, it never has.
* Remove spurious space in count() call.
* Fix spelling of in "proper".

Change-Id: I000393636f7b9015ad1bacfbb3eb8a6ad8695d72

9 years agoMinor clarification & tweak for Parsoid render testing
Gabriel Wicke [Sat, 7 Jun 2014 05:32:07 +0000 (22:32 -0700)]
Minor clarification & tweak for Parsoid render testing

* Clarify comment

* Set some padding on body

Change-Id: I93c070e997cbf34bfa4a296f99c30d90ee67e59e

9 years agoBug 66287: Proper caption styling
Gabriel Wicke [Sat, 7 Jun 2014 05:10:49 +0000 (22:10 -0700)]
Bug 66287: Proper caption styling

* Make sure borders render properly even in Chrome & with zoom on high-dpi
  devices. overflow: auto is important for this.

* Set borders & background on imagecaption

* Enable border-collapsing; we are rendering this as a table & want the
  caption & figure to show a single border

* Add appropriate margin on the image to create some padding inside the figure
  despite border-collapsing

Tested in Chrome & Firefox.

Change-Id: Ibb46b682138ac703bea364efaeefc376e60c2d5f

9 years agoMerge "Make sure images that don't have an explicit alignment get aligned right"
jenkins-bot [Sat, 7 Jun 2014 00:55:47 +0000 (00:55 +0000)]
Merge "Make sure images that don't have an explicit alignment get aligned right"

9 years agoMake sure images that don't have an explicit alignment get aligned right
kaldari [Fri, 6 Jun 2014 21:11:48 +0000 (14:11 -0700)]
Make sure images that don't have an explicit alignment get aligned right

If the alignment of an image is not explicitly set, Parsoid does not
output an alignment class for the resultant figure element. This can lead
to the image not being aligned/floated.

To fix this we modify content.parsoid.less to apply the default
right-alignment styling to all images and then override this in cases
where the alignment is explicitly set.

Bug: 66282

Change-Id: I4f986f23b0c8ba6f6b66efc07eb38806744123e2

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 6 Jun 2014 21:40:44 +0000 (21:40 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I2b1a64cae75faf8d201ba58305bb3e85fb2f4c4f

9 years agoMore optimizations to User::saveOptions()
Aaron Schulz [Fri, 6 Jun 2014 18:54:50 +0000 (11:54 -0700)]
More optimizations to User::saveOptions()

* Avoid doing the DELETE for unchanged rows. This method is often
  called when one new preference (e.g. watchlist token) is set.
  These cases will now simple result in an INSERT, even if the
  user already has some preferences set.

bug: 36116
Change-Id: Ib7c558e7c06927875086b86ea719ac1323a7b4a8

9 years agoMerge "Update outdated signup page-related message documentation"
jenkins-bot [Fri, 6 Jun 2014 15:18:11 +0000 (15:18 +0000)]
Merge "Update outdated signup page-related message documentation"

9 years agoAdd error 'pagecannotexist' to ApiBase::getTitleOrPageIdErrorMessage
umherirrender [Tue, 20 May 2014 19:10:47 +0000 (21:10 +0200)]
Add error 'pagecannotexist' to ApiBase::getTitleOrPageIdErrorMessage

Function can die with 'pagecannotexist' since
I2123e3a3034cb815cf35f66f2fbf2b94fb27069f

Change-Id: I10c496da147c1bf6ceb6d69b19170a0e62f1318c

9 years agoUpdate OOjs UI to v0.1.0-pre (c9b9f8345d)
James D. Forrester [Fri, 6 Jun 2014 01:43:28 +0000 (18:43 -0700)]
Update OOjs UI to v0.1.0-pre (c9b9f8345d)

New changes:
c9b9f83 Allow programmatic selection of options while disabled

Change-Id: I5624a50e493c9466e3f3ce746425b586639a64f4

9 years agoMerge "Add missing possible errors to ApiQueryLogEvents.php"
jenkins-bot [Fri, 6 Jun 2014 00:46:43 +0000 (00:46 +0000)]
Merge "Add missing possible errors to ApiQueryLogEvents.php"

9 years agoLowered the TransactionProfiler threshold
Aaron Schulz [Thu, 5 Jun 2014 22:59:07 +0000 (15:59 -0700)]
Lowered the TransactionProfiler threshold

Change-Id: Id574e8d2b2a28cba3003d6a344a4afb0307699e3

9 years agoMerge "WikiPage: Allow replaceSection on an nonexistent page"
jenkins-bot [Thu, 5 Jun 2014 21:01:58 +0000 (21:01 +0000)]
Merge "WikiPage: Allow replaceSection on an nonexistent page"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 5 Jun 2014 20:35:07 +0000 (20:35 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I5addd9bd63c2ca3638a2714e94985536a4d875ef

9 years agoWikiPage: Allow replaceSection on an nonexistent page
Adam Roses Wight [Thu, 5 Jun 2014 00:34:42 +0000 (17:34 -0700)]
WikiPage: Allow replaceSection on an nonexistent page

This corrects a regression, where replaceSection would require that the
page have at least one revision in the database.  If the page does not
exist, continue with the replacement, using a null baseRevId.

Also: clean up a few comments in the replaceSection functions.

Bug: 66141
Change-Id: Ieb2cb05aee07a1d8bbdc3bdfe9536dfa8bee529e

9 years agoMerge "chmod -x languages/data/plurals.xml"
jenkins-bot [Thu, 5 Jun 2014 19:58:50 +0000 (19:58 +0000)]
Merge "chmod -x languages/data/plurals.xml"

9 years agoMerge "Load previous tags in ChangeTags::addTags() from DB_MASTER"
jenkins-bot [Thu, 5 Jun 2014 18:30:21 +0000 (18:30 +0000)]
Merge "Load previous tags in ChangeTags::addTags() from DB_MASTER"

9 years agoLoad previous tags in ChangeTags::addTags() from DB_MASTER
Liangent [Thu, 5 Jun 2014 13:00:52 +0000 (13:00 +0000)]
Load previous tags in ChangeTags::addTags() from DB_MASTER

This fixes a bug in mobile [1] that the tag added by MobileApp gets
overwritten by MobileFrontend, where both use ChangeTags::addTags(),
and MobileFrontend is registered (thus called) after MobileApp.

[1] http://lists.wikimedia.org/pipermail/mobile-l/2014-June/007260.html

Change-Id: Ie47649ef45f9eebdfeae73a0698ea5d21b150b56

9 years agoDo not wrap <table> inside <p> on Special:UserRights
umherirrender [Thu, 5 Jun 2014 18:05:34 +0000 (20:05 +0200)]
Do not wrap <table> inside <p> on Special:UserRights

Special:UserRights has a table inside a paragraph which is invalid html.
The validator will except the open <p> but than gives a error on the
closing </p>: "No p element in scope but a p end tag seen."
IE11 also gives a hint on the console (hint HTML1509).

Fixed this by just removing the paragraph.

Change-Id: Ie17725d0b8018853e445142fa9c436db5471dcc6