lhc/web/wiklou.git
9 years agoUpdate OOjs UI to v0.2.3
James D. Forrester [Wed, 26 Nov 2014 23:41:43 +0000 (15:41 -0800)]
Update OOjs UI to v0.2.3

Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.2.3/History.md

Change-Id: Ia3d8a5a9df0efffd2b5cb1466e600cc0b77d7ef2

9 years agoMerge "SECURITY: Add edit token to Special:ExpandTemplates"
Mglaser [Wed, 26 Nov 2014 23:38:11 +0000 (23:38 +0000)]
Merge "SECURITY: Add edit token to Special:ExpandTemplates"

9 years agoMerge "mediawiki.ui: Add radio buttons"
jenkins-bot [Wed, 26 Nov 2014 23:33:48 +0000 (23:33 +0000)]
Merge "mediawiki.ui: Add radio buttons"

9 years agoSECURITY: Add edit token to Special:ExpandTemplates
Kevin Israel [Fri, 26 Sep 2014 04:38:07 +0000 (00:38 -0400)]
SECURITY: Add edit token to Special:ExpandTemplates

On wikis that allow raw HTML, it is not safe to preview wikitext coming from
an untrusted source such as a cross-site request. Thus add an edit token to
the form, and when raw HTML is allowed, ensure the token is provided before
showing the preview.

Unfortunately, MediaWiki does not currently provide logged-out users with
CSRF protection; in that case, do not show the preview unless anonymous
editing is allowed (such wikis have been, and are still, vulnerable).

Change-Id: I2f1caa57e8fc705ef52fc4b6f351a174b72b33cb

9 years agoSECURITY: Require new right to change content model
csteipp [Tue, 18 Nov 2014 23:37:14 +0000 (15:37 -0800)]
SECURITY: Require new right to change content model

Add the user right 'editcontentmodel', which is required to change the
content model while editing a Page.

Bug: 70901
Change-Id: I54f59539f1045092ec0de76c31cb47ca19c56874

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 26 Nov 2014 20:55:30 +0000 (21:55 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I36abeb0c43781a383f026eefc7b14aeae0544c08

9 years agoMerge "Add release notes entry for wgRelevantArticleId"
jenkins-bot [Wed, 26 Nov 2014 20:15:38 +0000 (20:15 +0000)]
Merge "Add release notes entry for wgRelevantArticleId"

9 years agoAPI: Check suppressredirect right in ApiMove
Brad Jorsch [Wed, 26 Nov 2014 19:43:58 +0000 (14:43 -0500)]
API: Check suppressredirect right in ApiMove

Change Ic5026384 accidentally lost the check when changing from
Title::moveTo (which does the check itself) to MovePage::move (which
doesn't).

Bug: T75985
Change-Id: Ia64a233936c639a6748488e4d25816e87658ffe1

9 years agoAdd release notes entry for wgRelevantArticleId
Alex Monk [Wed, 26 Nov 2014 18:31:55 +0000 (18:31 +0000)]
Add release notes entry for wgRelevantArticleId

Added in I06cd0378

Change-Id: Ic1b73dfba31e4b0ac7c6d25cfab532d14a3f6e2e

9 years agoMerge "API: Allow generators to return data"
jenkins-bot [Wed, 26 Nov 2014 18:17:18 +0000 (18:17 +0000)]
Merge "API: Allow generators to return data"

9 years agoMerge "Added updated version history from 1.19.2 to 1.22.13"
Mglaser [Wed, 26 Nov 2014 17:56:30 +0000 (17:56 +0000)]
Merge "Added updated version history from 1.19.2 to 1.22.13"

9 years agoAPI: Allow generators to return data
Brad Jorsch [Mon, 24 Nov 2014 21:21:49 +0000 (16:21 -0500)]
API: Allow generators to return data

It has long been requested that list=search and list=prefixsearch be
able to indicate the search result ordering when used as generators.
This change introduces a generic mechanism to allow for generators to
specify additional page data.

Bug: T16859
Bug: T75623
Change-Id: I115338d2bd890ccc109a79c65f92099c0d41fc2d

9 years agoUpdate the autonym for aeb in Names.php
Amir E. Aharoni [Wed, 26 Nov 2014 10:36:57 +0000 (12:36 +0200)]
Update the autonym for aeb in Names.php

The new name was suggested by Wikimedia's Language committee,
and as far as I know Arabic, it looks correct to me as well.

A Latin script autonym is being discussed separately and will be
added if and when there will be a decision about it.

The Arabic script autonym should be changed already now
because the current one is definitely wrong.

See also https://github.com/wikimedia/jquery.uls/pull/167 .

Change-Id: Ib07d2b49a47fb7f349a2cd70b7acfd88f9bf66ca

9 years agoMerge "Remove '@section LICENSE'"
jenkins-bot [Wed, 26 Nov 2014 08:26:28 +0000 (08:26 +0000)]
Merge "Remove '@section LICENSE'"

9 years agomediawiki.util: Remove test for jsMessage
Timo Tijhof [Wed, 26 Nov 2014 06:15:30 +0000 (06:15 +0000)]
mediawiki.util: Remove test for jsMessage

jsMessage uses mw.notify, which involves an animation.

mw.notify yields an mw.Notification object which has a reference
to the relevant elements.

However the deprecated jsMessage wrapper only returns boolean, so
we have no link to the element and no way to wait for the
animation to finish.

We could set up a mock clock in the test to skip the animation.
However, in this case the test was already useless as method
isn't testable (hardcoded booolean return).

This test was causing the QUnit test suite to fail occasionally
as the mw.notify animation was unfinished and would leak into
other tests.

Change-Id: Iffa91a3969bf69264b585e27ca44f85883ae2892

9 years agoqunit/testrunner: Log relevant node in unfinished animations and reset
Timo Tijhof [Thu, 20 Nov 2014 17:54:05 +0000 (17:54 +0000)]
qunit/testrunner: Log relevant node in unfinished animations and reset

Having unfinished animations affect other test can be a problem,
but when it does happen, having just a number isn't helpful in
trying to pinpoint the cause.

Logging a description of the element should make this relatively
straight forward.

Also reset the animations after the test so that the next test has a
clean start (instead of the current situation where every subsequent
test, until the animation finishes, also reports it as a failure).

Example:

 Unfinished animation #0 in fx queue on <div class="mw-notification
  mw-notification-tag-legacy" style="opacity: 0; "/>

Change-Id: I41058c4cba3383e3ad1456990ccf8dae4ca64951

9 years agoMerge "Add specialpages-group-developer i18n string"
jenkins-bot [Wed, 26 Nov 2014 05:13:37 +0000 (05:13 +0000)]
Merge "Add specialpages-group-developer i18n string"

9 years agoMerge "Special:EditWatchlist/clear: use destructive button"
jenkins-bot [Wed, 26 Nov 2014 05:13:28 +0000 (05:13 +0000)]
Merge "Special:EditWatchlist/clear: use destructive button"

9 years agomediawiki.ui: Add radio buttons
Prateek Saxena [Wed, 5 Nov 2014 10:33:57 +0000 (16:03 +0530)]
mediawiki.ui: Add radio buttons

Design specification on Trello-
https://trello.com/c/df2N2KJx/8-radio-buttons

Change-Id: Idb3d5177b6b2e9374de02416447fee9286e10a65

9 years agoAdd specialpages-group-developer i18n string
wctaiwan [Wed, 26 Nov 2014 04:42:07 +0000 (23:42 -0500)]
Add specialpages-group-developer i18n string

Per discussion at I0db24fcbc7c

Change-Id: I56f92ac8f6918a196b0c146f314eaf9a0508aceb

9 years agoRemove '@section LICENSE'
Timo Tijhof [Wed, 26 Nov 2014 02:19:43 +0000 (02:19 +0000)]
Remove '@section LICENSE'

This was used in 2 special classes, the logger classes and spread
to a few other random classes.

Afaik this has no meaning. Is for something we don't use, and
goes against the meaning of '@section' in Doxygen, which we do
use.

In Doxygen output, all LICENSE references became links to
ProfilerXhprof (the one Doxygen encoutered first).

Bug: T72328
Change-Id: Icc7c443245c70bc0f549bee7d105eef5691c864d

9 years agoMerge "Add autocomplete for Special:Redirect subpages"
jenkins-bot [Wed, 26 Nov 2014 02:02:17 +0000 (02:02 +0000)]
Merge "Add autocomplete for Special:Redirect subpages"

9 years agoAdded custom frame support to Profiler
Aaron Schulz [Sat, 22 Nov 2014 01:13:27 +0000 (17:13 -0800)]
Added custom frame support to Profiler

* Made use of it in the DatabaseBase classes
* For the xhprof class, this only works in HHVM for now

Change-Id: I95d7cc128d4a770328fbdd2b546972d3fc2e2e8a

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 25 Nov 2014 20:17:01 +0000 (21:17 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: Ifb2e3068a552a251e374b3d10a5063c95a6d850f

9 years agoMerge "Remove stash handling when other errors are the problem"
jenkins-bot [Tue, 25 Nov 2014 17:50:03 +0000 (17:50 +0000)]
Merge "Remove stash handling when other errors are the problem"

9 years agoMerge "Revert "mediawiki.api: Use action=query&meta=tokens instead of action=tokens""
jenkins-bot [Tue, 25 Nov 2014 16:23:14 +0000 (16:23 +0000)]
Merge "Revert "mediawiki.api: Use action=query&meta=tokens instead of action=tokens""

9 years agoRevert "mediawiki.api: Use action=query&meta=tokens instead of action=tokens"
Nemo bis [Tue, 25 Nov 2014 07:20:12 +0000 (07:20 +0000)]
Revert "mediawiki.api: Use action=query&meta=tokens instead of action=tokens"

This reverts commit aacdb664a10d5eca2b55891e5a75ca8c0368a11b,
which unintentionally broke backwards-compatibility, affecting
at least four extensions of which two deployed in Wikimedia projects.

Change-Id: I2e7e761281dae6a22fc520c9153734b55403b120

9 years agoMaintenance: Simplify reading of package.json by using require()
Timo Tijhof [Tue, 25 Nov 2014 02:35:29 +0000 (02:35 +0000)]
Maintenance: Simplify reading of package.json by using require()

Change-Id: Ifdee4733527cca8353cb9b59d6079939fdd7309e

9 years agoMerge "Update OOjs UI to v0.2.2"
jenkins-bot [Tue, 25 Nov 2014 01:32:11 +0000 (01:32 +0000)]
Merge "Update OOjs UI to v0.2.2"

9 years agoMerge "Maintainance: Update OOjs UI pull-through script to use release versions"
jenkins-bot [Tue, 25 Nov 2014 01:30:51 +0000 (01:30 +0000)]
Merge "Maintainance: Update OOjs UI pull-through script to use release versions"

9 years agoUpdate OOjs UI to v0.2.2
Timo Tijhof [Tue, 25 Nov 2014 01:23:25 +0000 (01:23 +0000)]
Update OOjs UI to v0.2.2

Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.2.2/History.md

Change-Id: I889b41ca2cee87ab9aab373a11e64de9a536b095

9 years agoMaintainance: Update OOjs UI pull-through script to use release versions
James D. Forrester [Sat, 22 Nov 2014 02:17:31 +0000 (18:17 -0800)]
Maintainance: Update OOjs UI pull-through script to use release versions

Fetch from npm repository instead of from local git clone.
Matching the update-oojs.sh script.

Change-Id: I9e441064be2e28daaf55435e783a0318358bb565

9 years agoDecorate deprecated functions with wfDeprecated()
Bryan Davis [Mon, 24 Nov 2014 23:41:10 +0000 (16:41 -0700)]
Decorate deprecated functions with wfDeprecated()

Change-Id: Iaa7d11a9fdd1c68dc7ff1b3138fe8c9ba229cc69

9 years agoMerge "API: Recognize an "Api-User-Agent" header"
jenkins-bot [Mon, 24 Nov 2014 21:02:55 +0000 (21:02 +0000)]
Merge "API: Recognize an "Api-User-Agent" header"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 24 Nov 2014 20:44:29 +0000 (21:44 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I9c56b2fe36d90181629e1c981a2ab6279c7ed072

9 years agoRemove stash handling when other errors are the problem
Mark Holmquist [Mon, 24 Nov 2014 19:24:11 +0000 (13:24 -0600)]
Remove stash handling when other errors are the problem

This interferes with getting the correct error message, which makes it
nearly impossible to help debug problems...

Change-Id: Ib04b897bc912065aaa4900f7904fe724ffec5385

9 years agoLoad lessphp via composer
Kunal Mehta [Mon, 24 Nov 2014 18:48:16 +0000 (10:48 -0800)]
Load lessphp via composer

Adds leafo/lessphp 0.5.0 as a dependency, and removes the current
copy of lessphp.

Depends on 7b2af65827 in mediawiki/vendor.

Bug: T1337
Change-Id: Ib5ab4c872d5236258df97d49f4ba72a20758a2e9

9 years agoexception: Prefix error type in front of error message
Timo Tijhof [Sun, 16 Nov 2014 15:08:29 +0000 (16:08 +0100)]
exception: Prefix error type in front of error message

Follows-up 399ba2fecf which didn't include any translation of the error
type in the logged message (e.g. "PHP Notice" or "PHP Warning").

Before
 Error from line 2130 of mediawiki/includes/OutputPage.php: Undefined variable: bar
 Error from line 2130 of mediawiki/includes/OutputPage.php: strpos() expects at le..

After
 Error from line 2130 of mediawiki/includes/OutputPage.php: PHP Notice: Undefined variable: bar
 Error from line 2130 of mediawiki/includes/OutputPage.php: PHP Warning: strpos() expects at le..

Based on the log formatter in php
 https://github.com/php/php-src/blob/0f5858e3a328/main/main.c#L1086-L1119

Change-Id: I52f98e52caa64955050ed73e1acbc78b1116a9fd

9 years agoMerge "API: Fix namespace handling in list=alldeletedrevs with from/to/predix"
jenkins-bot [Mon, 24 Nov 2014 17:46:56 +0000 (17:46 +0000)]
Merge "API: Fix namespace handling in list=alldeletedrevs with from/to/predix"

9 years agoAPI: Fix namespace handling in list=alldeletedrevs with from/to/predix
Brad Jorsch [Mon, 24 Nov 2014 15:06:44 +0000 (10:06 -0500)]
API: Fix namespace handling in list=alldeletedrevs with from/to/predix

We don't have just one namespace like the code we copied this from. And
to avoid a repeat of bug 25702, we have to handle the case where the
title/prefix might be being transformed differently in all the requested
namespaces.

Bug: T75711
Change-Id: I5267847fe876c971aaf358d2c6fe4006e4645939

9 years agoUpdate lessphp to 011afcca8e
paladox [Wed, 19 Nov 2014 07:25:26 +0000 (07:25 +0000)]
Update lessphp to 011afcca8e

Source:

* https://github.com/leafo/lessphp/blob/011afcca8e6f1000a6e789921ba805fa578271a3/lessc.inc.php

Changes:

* https://github.com/leafo/lessphp/compare/2cc77e3c7b...011afcca8e

Change-Id: Ic21b97e52ec99b8eef094a902ee346cf40a9f174

9 years agoSpecialNewpages: Load mediawiki.userSuggest only when needed
Florianschmidtwelzow [Mon, 24 Nov 2014 06:22:56 +0000 (07:22 +0100)]
SpecialNewpages: Load mediawiki.userSuggest only when needed

Follow up: I261ffb6eb651e1a76c960fb87367bb08444ddf78

Change-Id: Id09d242745ef5c4a23bfe25d549a4517ee53e44d

9 years agoFix username autocomplete on Newpages
PiRSquared17 [Mon, 24 Nov 2014 03:35:36 +0000 (03:35 +0000)]
Fix username autocomplete on Newpages

Load mediawiki.userSuggest module

Change-Id: I261ffb6eb651e1a76c960fb87367bb08444ddf78

9 years agoAdd autocomplete for Special:Redirect subpages
PiRSquared17 [Sun, 23 Nov 2014 23:26:37 +0000 (23:26 +0000)]
Add autocomplete for Special:Redirect subpages

Implements prefixSearchSubpages()

Change-Id: I23142450d6eb0b78761fb4e2286d66e81374b413

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 23 Nov 2014 21:20:32 +0000 (22:20 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I3d6524b5303b5e98aba4f34a7984d96a0537213e

9 years agoApply exportTransform in backupTextPass.inc
daniel [Thu, 23 Oct 2014 11:49:59 +0000 (13:49 +0200)]
Apply exportTransform in backupTextPass.inc

This is intended to help us fix 72348: Wikidata uses exportTransform to
convert old revision content to the new canonical JSON model. This patch
will make this work with the multi-pass dumping process employed to
generate dumps for dumps.wikimedia.org.

Bug: 72361
Change-Id: Ie9046d1968efc40a02a0812a536f5ef7176af7d7

9 years agoSpecial:EditWatchlist/clear: use destructive button
glaisher [Sun, 23 Nov 2014 06:07:21 +0000 (11:07 +0500)]
Special:EditWatchlist/clear: use destructive button

Change-Id: Ic229c4cce391c9f432b4a98fd40a86c537609936

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 22 Nov 2014 21:02:15 +0000 (22:02 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I2f3539718d62a45e2012745dd3b5bf98865bc7bd

9 years agoFix covers tag in ResourceLoaderStartupModuleTest
aude [Sat, 22 Nov 2014 17:54:47 +0000 (12:54 -0500)]
Fix covers tag in ResourceLoaderStartupModuleTest

optimizeDependencies got renamed to compileUnresolvedDependencies
but the covers tag was not changed accordingly.

Change-Id: I63a3d5454dd69b545b63150b50430e65b3928192

9 years agoRemoved unused $trx variable
Aaron Schulz [Fri, 21 Nov 2014 20:59:47 +0000 (12:59 -0800)]
Removed unused $trx variable

Change-Id: Ie4bc7c32c09f80dccf45946569cbc1ec5f136bdb

9 years agoUpdate OOjs UI to v0.1.0-pre (9ed4cf2557)
James D. Forrester [Sat, 22 Nov 2014 01:21:28 +0000 (17:21 -0800)]
Update OOjs UI to v0.1.0-pre (9ed4cf2557)

New changes:
649a6c6 [BREAKING CHANGE] Allow options with similar data
afbedc7 Add a getMenu() getter to ComboBoxWidget

Change-Id: I23782a6e728951dab8cde3d28e30cfe0a2074b50

9 years agoMerge "mediawiki.action.view.dblClickEdit: Do not call click on undefined"
jenkins-bot [Sat, 22 Nov 2014 01:06:20 +0000 (01:06 +0000)]
Merge "mediawiki.action.view.dblClickEdit: Do not call click on undefined"

9 years agoMerge "Adding basic profiler sampling support and restored the --profiler script...
jenkins-bot [Fri, 21 Nov 2014 23:21:59 +0000 (23:21 +0000)]
Merge "Adding basic profiler sampling support and restored the --profiler script option"

9 years agoAdding basic profiler sampling support and restored the --profiler script option
Aaron Schulz [Fri, 21 Nov 2014 22:54:57 +0000 (14:54 -0800)]
Adding basic profiler sampling support and restored the --profiler script option

* Also enforce that the profiler is normally off in CLI mode

Change-Id: I35faedff818af2ad459b544c9ad50e77b54b378e

9 years agoMerge "Update OOjs UI to v0.1.0-pre (8f8896196f)"
jenkins-bot [Fri, 21 Nov 2014 22:43:01 +0000 (22:43 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (8f8896196f)"

9 years agoMerge "Release notes for aacdb664a10"
jenkins-bot [Fri, 21 Nov 2014 22:40:03 +0000 (22:40 +0000)]
Merge "Release notes for aacdb664a10"

9 years agoUpdate OOjs UI to v0.1.0-pre (8f8896196f)
James D. Forrester [Fri, 21 Nov 2014 22:32:42 +0000 (14:32 -0800)]
Update OOjs UI to v0.1.0-pre (8f8896196f)

New changes:
56587a8 [BREAKING CHANGE] Rename InputWidget#sanitizeValue → #cleanUpValue
4253739 Implement radio button widgets

Change-Id: If10927a4e595de9b6d0ad45182470e84f335683c

9 years agoUpdate OOjs UI to v0.1.0-pre (23565e7519)
James D. Forrester [Fri, 21 Nov 2014 22:18:34 +0000 (14:18 -0800)]
Update OOjs UI to v0.1.0-pre (23565e7519)

New changes:
0557719 Use README.md as doxygen main page
290f8a9 Remove accidental double try-catch from 76800b47
e7039d0 Revert "Revert "Show the modal overlay as soon as openWindow is called""
61ac646 Fix lots of spelling mistakes and typos
5b381ae build: Create a 'typos' task to detect common typos
f21c8eb FieldLayout: Only use <label> for InputWidgets
39e8522 Localisation updates from https://translatewiki.net.
16eb98d PHP: Reject malformed and potentially evil input when outputting HTML

Change-Id: Ie039a451cf03eaf21e16538cfca270b1d9b8f7f9

9 years agoRelease notes for aacdb664a10
Aaron Schulz [Fri, 21 Nov 2014 22:05:38 +0000 (14:05 -0800)]
Release notes for aacdb664a10

Change-Id: Ib917a32794726d15dc3c40af24eaad710a0f1645

9 years agomediawiki.action.view.dblClickEdit: Do not call click on undefined
Thiemo Mättig [Thu, 20 Nov 2014 12:59:16 +0000 (13:59 +0100)]
mediawiki.action.view.dblClickEdit: Do not call click on undefined

Not all pages in a MediaWiki installation have an edit link. For
example the pages in Wikidata do not have it.

Bug: 57713
Change-Id: I842c1224d15887d59eab73f2b222c232a05c0bd9

9 years agoMerge "mediawiki.api: Use action=query&meta=tokens instead of action=tokens"
jenkins-bot [Fri, 21 Nov 2014 21:23:50 +0000 (21:23 +0000)]
Merge "mediawiki.api: Use action=query&meta=tokens instead of action=tokens"

9 years agoMerge "jquery.tablesorter: Use data() instead of DOM Node properties"
jenkins-bot [Fri, 21 Nov 2014 21:16:39 +0000 (21:16 +0000)]
Merge "jquery.tablesorter: Use data() instead of DOM Node properties"

9 years agomediawiki.api: Use action=query&meta=tokens instead of action=tokens
Fomafix [Wed, 15 Oct 2014 20:48:35 +0000 (20:48 +0000)]
mediawiki.api: Use action=query&meta=tokens instead of action=tokens

api.php?action=query&meta=tokens has different token types.
A mapping keeps the JavaScript API stable.

Bug: 72094
Change-Id: I429b609b626af35ae0abcdf6f1c13e8afb6503b9

9 years agojquery.tablesorter: Use data() instead of DOM Node properties
Derk-Jan Hartman [Sat, 30 Nov 2013 17:14:31 +0000 (18:14 +0100)]
jquery.tablesorter: Use data() instead of DOM Node properties

Change-Id: I5fe512c606c5c3ee96abb16185f349b5d8241c1f

9 years agoMerge "Properly mark UserGetImplicitGroups hook as deprecated"
jenkins-bot [Fri, 21 Nov 2014 20:58:59 +0000 (20:58 +0000)]
Merge "Properly mark UserGetImplicitGroups hook as deprecated"

9 years agoMerge "TransactionProfiler now shows the delay periods between queries"
jenkins-bot [Fri, 21 Nov 2014 20:55:05 +0000 (20:55 +0000)]
Merge "TransactionProfiler now shows the delay periods between queries"

9 years agoMerge "Special:Contributions: add "mw-contributions-list" class"
jenkins-bot [Fri, 21 Nov 2014 20:52:57 +0000 (20:52 +0000)]
Merge "Special:Contributions: add "mw-contributions-list" class"

9 years agoTransactionProfiler now shows the delay periods between queries
Aaron Schulz [Wed, 19 Nov 2014 19:58:40 +0000 (11:58 -0800)]
TransactionProfiler now shows the delay periods between queries

* Also tweaked the slave query display threshold to show them more

Change-Id: I0d9002b2f12e846a7355992443287d4ec43a7e88

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 21 Nov 2014 20:43:40 +0000 (21:43 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: Ia37088f36e8431d223c2eaa1c846ad022dd02c1c

9 years agoMerge "mediawiki.ui: checkbox: Fix states according to spec"
jenkins-bot [Fri, 21 Nov 2014 20:24:26 +0000 (20:24 +0000)]
Merge "mediawiki.ui: checkbox: Fix states according to spec"

9 years agoMerge "mediawiki.ui: checkbox: Remove unnecessary nesting and group variables"
jenkins-bot [Fri, 21 Nov 2014 20:08:10 +0000 (20:08 +0000)]
Merge "mediawiki.ui: checkbox: Remove unnecessary nesting and group variables"

9 years agoMerge "jquery.tablesorter: Remove unused config variables"
jenkins-bot [Fri, 21 Nov 2014 18:59:26 +0000 (18:59 +0000)]
Merge "jquery.tablesorter: Remove unused config variables"

9 years agoMerge "Allow limiting Monolog output using legacy settings"
jenkins-bot [Fri, 21 Nov 2014 18:52:27 +0000 (18:52 +0000)]
Merge "Allow limiting Monolog output using legacy settings"

9 years agoMerge "Add Monolog formatter that mimics legacy log output"
jenkins-bot [Fri, 21 Nov 2014 18:52:19 +0000 (18:52 +0000)]
Merge "Add Monolog formatter that mimics legacy log output"

9 years agojquery.tablesorter: Remove unused config variables
Derk-Jan Hartman [Thu, 18 Jul 2013 19:49:10 +0000 (21:49 +0200)]
jquery.tablesorter: Remove unused config variables

Change-Id: I8640621a2e337f9db363d7730a3d55c668efb7e9

9 years agoAllow limiting Monolog output using legacy settings
Bryan Davis [Fri, 21 Nov 2014 06:23:49 +0000 (23:23 -0700)]
Allow limiting Monolog output using legacy settings

Add $useLegacyFilter option to MWLoggerMonologHandler constructor that
will use MWLoggerLegacyLogger::shouldEmit to decide if a given log
message should be emitted.

Bug: T845
Change-Id: If311308faad35348fdc7e85155a1bc16bbf75c85

9 years agoMediaWiki UI: Checkbox follow up
jdlrobson [Wed, 5 Nov 2014 22:02:34 +0000 (14:02 -0800)]
MediaWiki UI: Checkbox follow up

Reset the font of the label and checkbox elements as defined
in the user agent stylesheet to avoid overlap

Bug: 72727
Change-Id: I3d02989768bea400e6498fe9e84b1a7d965a2529

9 years agoMerge "Fix errors in UIDGeneratorTest::testTimestampedUID"
jenkins-bot [Fri, 21 Nov 2014 02:34:57 +0000 (02:34 +0000)]
Merge "Fix errors in UIDGeneratorTest::testTimestampedUID"

9 years agoAdd Monolog formatter that mimics legacy log output
Bryan Davis [Fri, 21 Nov 2014 00:22:37 +0000 (17:22 -0700)]
Add Monolog formatter that mimics legacy log output

Having a log formatter for the Monolog stack that mimics the legacy wf*
logging function output will ease the transition for users wishing to
use Monolog who have tooling that expects the legacy log formats.

Bug: T845
Change-Id: I06295ccc4b068c61d7971024213366004b69c03d

9 years agoMerge "Fix AutoloadGenerator to work on MediaWiki-Vagrant"
jenkins-bot [Fri, 21 Nov 2014 00:37:22 +0000 (00:37 +0000)]
Merge "Fix AutoloadGenerator to work on MediaWiki-Vagrant"

9 years agoMerge "Update OOjs UI to v0.1.0-pre (d4cfcce969)"
jenkins-bot [Fri, 21 Nov 2014 00:33:49 +0000 (00:33 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (d4cfcce969)"

9 years agoMerge "mediawiki.ui: button: Add specific hover and active rule for color"
jenkins-bot [Fri, 21 Nov 2014 00:31:09 +0000 (00:31 +0000)]
Merge "mediawiki.ui: button: Add specific hover and active rule for color"

9 years agoUpdate OOjs UI to v0.1.0-pre (d4cfcce969)
James D. Forrester [Fri, 21 Nov 2014 00:12:50 +0000 (16:12 -0800)]
Update OOjs UI to v0.1.0-pre (d4cfcce969)

New changes:
f6adfbc Give help content box a reasonable line height for legibility
af5d71c Remove CSS hack for positioning popupButtonWidget
c0768f9 PHP: Add missing OOUI\Exception class
76800b4 PHP: Wrap __toString() in try-catch to avoid unhelpful fatals
d399920 Revert "Followup ca6a16f: use parent selector both for hiding and showing windows"
234cd9f Revert "Show the modal overlay as soon as openWindow is called"

Change-Id: I317b4a747389de35411aca4ffdbbc2306b5b74cc

9 years agoFix errors in UIDGeneratorTest::testTimestampedUID
Tim Landscheidt [Thu, 20 Nov 2014 23:32:23 +0000 (23:32 +0000)]
Fix errors in UIDGeneratorTest::testTimestampedUID

Currently, this test passes in Jenkins, but not with Travis
CI's hhvm where apparently code execution is slower so not
all UIDs are created within the same millisecond.  This also
previously masked that the test did not indeed test if the
host bits are identical as instead it tested the MSBs twice.

Bug: 73668
Change-Id: Ic68af599599ace5faa6a687d115d2d3802f6ba1b

9 years agoFix AutoloadGenerator to work on MediaWiki-Vagrant
Bryan Davis [Thu, 20 Nov 2014 23:05:07 +0000 (16:05 -0700)]
Fix AutoloadGenerator to work on MediaWiki-Vagrant

The use of realpath() in AutoloadGenerator::readFile() causes the
LocalSettings.php symlink to be dereferenced. Since the target file
lives outside of $IP, AutoloadGenerator would fail with an exception.

Change-Id: I4623b3da9b984026999189d70349ffb4754812a5

9 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Thu, 20 Nov 2014 21:30:13 +0000 (21:30 +0000)]
Merge "Localisation updates from https://translatewiki.net."

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 20 Nov 2014 21:07:14 +0000 (22:07 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I23cc232726bb0d01ff13ed87b5e44494421441ab

9 years agoMerge "Update OOjs UI to v0.1.0-pre (20c61ec865)"
jenkins-bot [Thu, 20 Nov 2014 18:58:28 +0000 (18:58 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (20c61ec865)"

9 years agoMerge "Add array type hints to LoadBalancer classes"
jenkins-bot [Thu, 20 Nov 2014 18:48:07 +0000 (18:48 +0000)]
Merge "Add array type hints to LoadBalancer classes"

9 years agoMerge "Fix/update inline documentation of LoadBalancer"
jenkins-bot [Thu, 20 Nov 2014 18:46:41 +0000 (18:46 +0000)]
Merge "Fix/update inline documentation of LoadBalancer"

9 years agoUpdate OOjs UI to v0.1.0-pre (20c61ec865)
James D. Forrester [Thu, 20 Nov 2014 18:41:40 +0000 (10:41 -0800)]
Update OOjs UI to v0.1.0-pre (20c61ec865)

New changes:
20c61ec Follow-up Id9597fde: Restore toolbar-bar class

Change-Id: Ia16292b3ee46f5b38ee216927a9796a8fdf9235d

9 years agoAdd @since 1.25 to $wgMangleFlashPolicy documentation
Kunal Mehta [Thu, 20 Nov 2014 18:10:02 +0000 (10:10 -0800)]
Add @since 1.25 to $wgMangleFlashPolicy documentation

Change-Id: I2b2c3b3f5ebe501bfb5fed39264345077895c26b

9 years agoMerge "API: Work around wfMangleFlashPolicy()"
jenkins-bot [Thu, 20 Nov 2014 17:13:43 +0000 (17:13 +0000)]
Merge "API: Work around wfMangleFlashPolicy()"

9 years agoMerge "FormatMetadata::fetchExtendedMetadata: Ignore multiple EXIF/XMP values"
jenkins-bot [Thu, 20 Nov 2014 15:47:54 +0000 (15:47 +0000)]
Merge "FormatMetadata::fetchExtendedMetadata: Ignore multiple EXIF/XMP values"

9 years agoAdd array type hints to LoadBalancer classes
Thiemo Mättig [Thu, 20 Nov 2014 15:22:11 +0000 (16:22 +0100)]
Add array type hints to LoadBalancer classes

Change-Id: I3dde038a71da8f775074916d47fa7f34eb37bf3f

9 years agoFix/update inline documentation of LoadBalancer
Thiemo Mättig [Thu, 20 Nov 2014 15:13:13 +0000 (16:13 +0100)]
Fix/update inline documentation of LoadBalancer

Plus two very minor fixes in the code,
* an unused variable and
* a broken error message.

Change-Id: I40a39c81bd0d6d6054f983c82880f4bf31c21275

9 years agoAPI: Work around wfMangleFlashPolicy()
Brad Jorsch [Thu, 7 Aug 2014 19:10:16 +0000 (20:10 +0100)]
API: Work around wfMangleFlashPolicy()

The things wfMangleFlashPolicy() does to the output break things in the
API. For JSON we can work around it, while for PHP we just have to error
out. XML isn't affected because <> are escaped anyway (unless something
somehow uses 'cross-domain-policy' as a tag name), and the rest are
going away soon so they're not worth the trouble.

Bug: 66776
Change-Id: Idc5f37bd778288a9cde572f081dc753d681ec354

9 years agoRemove deprecated (since 1.21) Sites class
aude [Sat, 15 Nov 2014 12:12:26 +0000 (13:12 +0100)]
Remove deprecated (since 1.21) Sites class

this is an 'alias' for SiteSQLStore and is unused
afaik in Wikibase and elsewhere.

Change-Id: Ibee3e2a89399b97fa4de48e52c3d527714cd0731

9 years agoSpecial:Contributions: add "mw-contributions-list" class
glaisher [Thu, 20 Nov 2014 09:40:10 +0000 (14:40 +0500)]
Special:Contributions: add "mw-contributions-list" class

To make the contributions' list easier to identify for user
scripts etc.

Bug: 73253
Change-Id: Ief380b9d11df7d91752abea60d7dbed8c4a74fb6

9 years agoMerge "Made $timeout in BagOStuff::lock() actually work"
jenkins-bot [Thu, 20 Nov 2014 09:39:41 +0000 (09:39 +0000)]
Merge "Made $timeout in BagOStuff::lock() actually work"