lhc/web/wiklou.git
10 years agoDisabled, unticked "Leave redirect" checkbox when redirect impossible
Jared [Tue, 24 Dec 2013 08:43:42 +0000 (00:43 -0800)]
Disabled, unticked "Leave redirect" checkbox when redirect impossible

Disabled the "Leave redirect" checkbox on Special:MovePage when redirect
is impossible because of the content model.

Bug: 58017
Change-Id: Ibbc5caace749662d51b9ebd4554234d79b7a887c

10 years agoMerge "mediawiki.js: Add mw.track"
jenkins-bot [Mon, 23 Dec 2013 23:59:00 +0000 (23:59 +0000)]
Merge "mediawiki.js: Add mw.track"

10 years agoMerge "Added $wgJobBackoffThrottling to replace wmf sleep() hack"
jenkins-bot [Mon, 23 Dec 2013 23:40:04 +0000 (23:40 +0000)]
Merge "Added $wgJobBackoffThrottling to replace wmf sleep() hack"

10 years agoAdded $wgJobBackoffThrottling to replace wmf sleep() hack
Aaron Schulz [Sat, 21 Dec 2013 20:57:45 +0000 (12:57 -0800)]
Added $wgJobBackoffThrottling to replace wmf sleep() hack

* This also adds a Job::workItemCount() method
* Removed unused USE_PRIORITY constant
* A few small cleanups in runJobs.php

Change-Id: Ife9370e488fa63dcd1f702ed98f3b7f26057f10c

10 years agomediawiki.js: Add mw.track
Ori Livneh [Thu, 5 Dec 2013 22:51:40 +0000 (14:51 -0800)]
mediawiki.js: Add mw.track

`mw.track` implements a topic-based message broker / event bus for
JavaScript code. Its distinguishing characteristic is that subscribers are
called with each event that matches their topic filter, including any
events that fired before the subscriber registered. This allows code to be
instrumented to report performance data without having to know anything
about subscribers, and it makes it trivial to attach MediaWiki events to
any event logging system -- not just EventLogging, but also Google
Analytics, New Relic, etc., which is a compelling feature for third-party
users.

The implementation is ported from VisualEditor, where it was introduced in
change I29740fa7a and subsequently refined. I did not port
`ve.trackSubscribeAll`, since it is syntactic sugar for calling
`ve.trackSubscribe` with the empty string as a subscription. It made sense
to have a wrapper for VE, since registering a handler for all VE events is
a credible use-case, but it seems less legitimate if `track` is expanded
to the entire MediaWiki ecosystem.

Change-Id: I8c7af097e6a9b2781ba3d6625d1132b7788ce8da

10 years agoMerge "Release notes for Ia193571a, I56758908, I9fd40bcb"
jenkins-bot [Mon, 23 Dec 2013 22:35:01 +0000 (22:35 +0000)]
Merge "Release notes for Ia193571a, I56758908, I9fd40bcb"

10 years agoMerge "Split skins.common up into a proper trio of .elements, .content, and .interfac...
jenkins-bot [Mon, 23 Dec 2013 22:34:53 +0000 (22:34 +0000)]
Merge "Split skins.common up into a proper trio of .elements, .content, and .interface modules."

10 years agoRelease notes for Ia193571a, I56758908, I9fd40bcb
Bartosz Dziewoński [Sat, 21 Dec 2013 23:35:16 +0000 (00:35 +0100)]
Release notes for Ia193571a, I56758908, I9fd40bcb

Change-Id: I6d7c4ba3592c5dd646180189086fd854ee6516a8

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 23 Dec 2013 20:44:54 +0000 (20:44 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I224ceef57736f6567735a3d1e19f1ec0fddb515e

10 years agoMerge "mediawiki.action.edit.preview: Run hook on detached node"
jenkins-bot [Mon, 23 Dec 2013 20:03:18 +0000 (20:03 +0000)]
Merge "mediawiki.action.edit.preview: Run hook on detached node"

10 years agoFix mediawiki-core-regression-master
Brad Jorsch [Mon, 23 Dec 2013 18:48:21 +0000 (13:48 -0500)]
Fix mediawiki-core-regression-master

The Interwiki class caches lookups, so ApiQueryTest.php's use of "en:"
was failing for mediawiki-core-regression-master because something else
had already made a call for that prefix. The easy fix is to use a
different prefix that is very unlikely to ever be used in a different
test.

Change-Id: I43ca554d5b5465d760eae03d1f76b8c3bf589210

10 years agoMerge "Add Travis CI job configuration for testing MediaWiki on HHVM"
jenkins-bot [Mon, 23 Dec 2013 18:13:59 +0000 (18:13 +0000)]
Merge "Add Travis CI job configuration for testing MediaWiki on HHVM"

10 years agoFix capitalization in ApiQueryBase::titlePartToKey()
btongminh [Sun, 17 Nov 2013 17:52:54 +0000 (18:52 +0100)]
Fix capitalization in ApiQueryBase::titlePartToKey()

ApiQueryBase::titlePartToKey now allows an extra parameter that
indicates the namespace in order to properly capitalize the title part.

This allows list=allcategories, list=allimages, list=alllinks,
list=allpages, list=deletedrevs and list=filearchive to
handle case-sensitivity properly for all parameters.

Bug: 25702
Change-Id: Iaa5a71ec536f3716f54bc84b39f645545dfd8660

10 years agoMerge "Plural rules: updates for UTS #35 Rev 33"
jenkins-bot [Mon, 23 Dec 2013 14:00:34 +0000 (14:00 +0000)]
Merge "Plural rules: updates for UTS #35 Rev 33"

10 years agoMerge "generateJsonI18n.php: replace i18n.php with a shim"
jenkins-bot [Mon, 23 Dec 2013 11:25:28 +0000 (11:25 +0000)]
Merge "generateJsonI18n.php: replace i18n.php with a shim"

10 years agoMerge "Add NS_USER, NS_USER_TALK aliases for Old English"
jenkins-bot [Mon, 23 Dec 2013 11:01:29 +0000 (11:01 +0000)]
Merge "Add NS_USER, NS_USER_TALK aliases for Old English"

10 years agoAdd NS_USER, NS_USER_TALK aliases for Old English
Tomasz W. Kozlowski [Mon, 23 Dec 2013 09:16:16 +0000 (10:16 +0100)]
Add NS_USER, NS_USER_TALK aliases for Old English

This patch adds accent-free aliases for the NS_USER
and NS_USER_TALK namespaces per community request.
The names, I am told, have been translated by an
Old English Wikipedia administrator.

See bug for details.

Bug: 58863
Change-Id: I14e334fe42c502b8182487328ebab76a6d52a8a8

10 years agogenerateJsonI18n.php: replace i18n.php with a shim
Niklas Laxström [Sun, 22 Dec 2013 17:11:14 +0000 (17:11 +0000)]
generateJsonI18n.php: replace i18n.php with a shim

Change-Id: I4b8f1d9c0b13fca3aae0bec5c614218e917691ef

10 years agoAdd Travis CI job configuration for testing MediaWiki on HHVM
Ori Livneh [Mon, 23 Dec 2013 05:44:51 +0000 (21:44 -0800)]
Add Travis CI job configuration for testing MediaWiki on HHVM

Travis CI is a popular continuous integration service that provides free
automated testing to FOSS projects. Ten days ago, the HHVM team announced that
Travis CI's build environment provides HHVM by default. This patch contains a
Travis CI job configuration that runs MediaWiki's test suite using HHVM.
Because we replicate changes to GitHub, merging this change and enabling the
Travis CI hook in the repository configuration on GitHub will cause Travis CI
to run the tests on each commit.

Change-Id: Ia18cba5facb7f0b506e962df2f114338af571b8a

10 years agoFix doc for NullJob
Kunal Mehta [Mon, 23 Dec 2013 03:16:54 +0000 (19:16 -0800)]
Fix doc for NullJob

Change-Id: I6cde9fc95a102349ecbaccb813fb8ef86f159b8c
Follows-up: I2bedd0ff311bff027d998f193d6cb799d70d2a93

10 years agomediawiki.hlist: Use mw.hook( 'wikipage.content' ) in JS fallback
Bartosz Dziewoński [Tue, 19 Nov 2013 11:15:06 +0000 (12:15 +0100)]
mediawiki.hlist: Use mw.hook( 'wikipage.content' ) in JS fallback

…to make sure that any dynamically-inserted content will be processed
as well.

Change-Id: Ibc34668fea309c319118b29f51300da3ed06311a

10 years agomediawiki.hlist: Remove skin-specific styles
Bartosz Dziewoński [Sat, 7 Dec 2013 01:26:26 +0000 (02:26 +0100)]
mediawiki.hlist: Remove skin-specific styles

Per bug 40062 comment 23, these no longer do anything useful.

Change-Id: I666cae92a6742aadf840f4a1c20d7f7a1426192b

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 22 Dec 2013 20:33:10 +0000 (20:33 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I6b506db2ec155c99e9d3b3dd59e5f8e8de760f94

10 years agoMerge "Make Language::fetchLanguageName lowercase its first argument."
jenkins-bot [Sun, 22 Dec 2013 16:18:27 +0000 (16:18 +0000)]
Merge "Make Language::fetchLanguageName lowercase its first argument."

10 years agoRemove spacing between $wgLogo and value in generated LocalSettings
aude [Sun, 22 Dec 2013 13:20:13 +0000 (13:20 +0000)]
Remove spacing between $wgLogo and value in generated LocalSettings

makes it consistent with the other variables and removes phpcs violation

Change-Id: I2b8a5ef6d07575a69f3b2ac77c1334553dd54215

10 years agoMerge "Move BitmapHandler::canRotate() call out of Setup.php"
jenkins-bot [Sun, 22 Dec 2013 08:32:02 +0000 (08:32 +0000)]
Merge "Move BitmapHandler::canRotate() call out of Setup.php"

10 years agoClearer message for range blocks on CreateAccount
theopolisme [Sun, 22 Dec 2013 06:05:07 +0000 (00:05 -0600)]
Clearer message for range blocks on CreateAccount

If a user tries to create an account but their
IP address is part of a range block, this will
be reflected in the error that is displayed via
the cantcreateaccount-range-text message.

Bug: 35090
Change-Id: I74e912755dea93c2b74e67d7104b7525298051c0

10 years agoMove BitmapHandler::canRotate() call out of Setup.php
Aaron Schulz [Sun, 22 Dec 2013 03:08:28 +0000 (19:08 -0800)]
Move BitmapHandler::canRotate() call out of Setup.php

* This was wasting 5ms on every request hit on test wiki

Change-Id: Ie7a5aa27593ab8e0d52fb00218345d1789da61a1

10 years agoRefactor RL modules related to Special:Userlogin
Bartosz Dziewoński [Mon, 2 Dec 2013 19:29:03 +0000 (20:29 +0100)]
Refactor RL modules related to Special:Userlogin

* Removed duplicated code
* Moved generic styles to mediawiki.ui
* Made sure scripts only run when they're needed
* Cleaned up formatting
* Cleaned up module and file naming

Change-Id: I90a2331182d4d66f0584083b30b90ac6471c3aaf

10 years agovector: Switch around regular and HD content padding
Bartosz Dziewoński [Thu, 19 Dec 2013 15:52:14 +0000 (16:52 +0100)]
vector: Switch around regular and HD content padding

The HD one was smaller… this must have been accidentally switched
around during the LESS rewrite.

Change-Id: I2551ab1665cd494b360da2c88a9646035551ed85

10 years agoMake Language::fetchLanguageName lowercase its first argument.
Brian Wolff [Sat, 21 Dec 2013 23:28:25 +0000 (16:28 -0700)]
Make Language::fetchLanguageName lowercase its first argument.

Currently Language::fetchLanguageName( 'en-GB' ) returns false as
it expects 'en-gb'. Given that technically speaking, 'en-GB'
is the canonical form, I don't think this is a good thing.

Changed function to lowercase its argument. There's no
Language object handy, so I just used strtolower (since language
codes are always ascii, that shouldn't matter)

Change-Id: Iba1f581bf2d6d2b26a14f9f80699d8eeb5d724d6

10 years agoSplit skins.common up into a proper trio of .elements, .content, and .interface modules.
Daniel Friesen [Sat, 21 Dec 2013 01:26:14 +0000 (17:26 -0800)]
Split skins.common up into a proper trio of .elements, .content, and .interface modules.

Ideally it would be possible to add these as dependencies and also make them depend on each other
instead of partially duplicating the list of stylesheets, but ResourceLoader’s dependencies are
completely broken for skin stylesheets.

Followup to Ia193571afffff36ecb1f14ee9036fb9bb98347e7

Change-Id: I56758908c2f41430c7301a0ea6a4cf8b1eaa7fd8

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 21 Dec 2013 20:36:27 +0000 (20:36 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Ie9ce20b1c1f8a4e640cc0d79ffdcbee72cc8a024

10 years agoMerge "Improvements to KSS CSS documentation generation"
jenkins-bot [Sat, 21 Dec 2013 17:30:50 +0000 (17:30 +0000)]
Merge "Improvements to KSS CSS documentation generation"

10 years agoMerge "Make SpecialContributionsBeforeMainOutput hook more useful"
jenkins-bot [Sat, 21 Dec 2013 12:23:06 +0000 (12:23 +0000)]
Merge "Make SpecialContributionsBeforeMainOutput hook more useful"

10 years agoAdd logging for "Invalid message parameter"
Yuri Astrakhan [Thu, 19 Dec 2013 00:27:32 +0000 (19:27 -0500)]
Add logging for "Invalid message parameter"

Records a full stacktrace for this warning

Bug: 58676
Change-Id: I234b525b04168eee6085d44fbf0e0d8ac3d0af91

10 years agoImprovements to KSS CSS documentation generation
S Page [Sat, 21 Dec 2013 10:06:21 +0000 (02:06 -0800)]
Improvements to KSS CSS documentation generation

Avoid npm warnings.
Makefile fixes: it's not a bash script, kss is default target, quieter
output.

Change-Id: Ia7b862b6bef95c7735a42c1b6f70625283e915ab

10 years agoMerge "Add ability to generate KSS files for mediawiki.ui"
jenkins-bot [Sat, 21 Dec 2013 09:51:12 +0000 (09:51 +0000)]
Merge "Add ability to generate KSS files for mediawiki.ui"

10 years agoMake SpecialContributionsBeforeMainOutput hook more useful
Kunal Mehta [Sat, 21 Dec 2013 07:50:57 +0000 (23:50 -0800)]
Make SpecialContributionsBeforeMainOutput hook more useful

The current id number is useless for IP addresses, so it now
passes a proper User object.

For context, the SpecialPage instance is also provided.

Change-Id: Ie196611d504b3969bcdfb5c589716af2f3c54e14

10 years agoi18n: add full-stop to three block related messages
shirayuki [Sat, 21 Dec 2013 05:13:28 +0000 (14:13 +0900)]
i18n: add full-stop to three block related messages

Affected messages:
*sorbs_create_account_reason
*ipbblocked
*ipbnounblockself

Change-Id: Ic0d1145d22fc76c2983bde3e48c723ea390f16ee

10 years agoMerge "Move VectorBeta modules to VectorBeta extension"
jenkins-bot [Fri, 20 Dec 2013 23:03:13 +0000 (23:03 +0000)]
Merge "Move VectorBeta modules to VectorBeta extension"

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 20 Dec 2013 20:40:09 +0000 (20:40 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I81ed6d9e11a852b7a2ab89694615f751a983963e

10 years agoAdd ability to generate KSS files for mediawiki.ui
jrobson [Wed, 13 Nov 2013 20:57:50 +0000 (12:57 -0800)]
Add ability to generate KSS files for mediawiki.ui

Run make kss to generate a style guide for mediawiki.ui

Change-Id: Ib2db52a855f7eb924a59eebfff88e23600af78d6

10 years agoMerge "Build Special:Search's title without escaping"
jenkins-bot [Fri, 20 Dec 2013 20:01:58 +0000 (20:01 +0000)]
Merge "Build Special:Search's title without escaping"

10 years agoMerge "Removed deprecated functions and merged ProxyTools into GlobalFunctions"
jenkins-bot [Fri, 20 Dec 2013 19:29:42 +0000 (19:29 +0000)]
Merge "Removed deprecated functions and merged ProxyTools into GlobalFunctions"

10 years agoRename $wgExtensionMessagesDirs to $wgMessagesDirs
Siebrand Mazeland [Fri, 20 Dec 2013 15:53:57 +0000 (16:53 +0100)]
Rename $wgExtensionMessagesDirs to $wgMessagesDirs

This is a better name, as we'll also be adding core and the installer i18n
to this.

Change-Id: Ic4c5849654aef54f3e5aea01a2d68e47d148b9bd

10 years agoMerge "Make Special:Redirect able to redirect by page ID"
jenkins-bot [Fri, 20 Dec 2013 15:38:20 +0000 (15:38 +0000)]
Merge "Make Special:Redirect able to redirect by page ID"

10 years agoMerge "Script to convert PHP i18n to JSON"
jenkins-bot [Fri, 20 Dec 2013 13:48:15 +0000 (13:48 +0000)]
Merge "Script to convert PHP i18n to JSON"

10 years agoMerge "Add support for JSON i18n files"
jenkins-bot [Fri, 20 Dec 2013 13:41:42 +0000 (13:41 +0000)]
Merge "Add support for JSON i18n files"

10 years agoScript to convert PHP i18n to JSON
Roan Kattouw [Tue, 17 Dec 2013 16:56:30 +0000 (17:56 +0100)]
Script to convert PHP i18n to JSON

Change-Id: I769d5a106bf6214127cee2056cd64c18ca4182c6

10 years agoAdd support for JSON i18n files
Roan Kattouw [Tue, 17 Dec 2013 09:50:16 +0000 (10:50 +0100)]
Add support for JSON i18n files

Implementation for https://www.mediawiki.org/wiki/Requests_for_comment/Localisation_format

Add $wgExtensionMessagesDirs, which tracks the directory
(or directories) where each extension stores it's JSON i18n files.
In this commit only support for messages is implemented, but adding
support for other i18n variables (e.g. magic words) is easy to do later.

To be backwards compatible, an extension can specify both
$wgExtensionMessagesFiles and $wgExtensionMessagesDirs. Older versions
of MediaWiki will just work, and newer versions will use the JSON files
while ignoring the PHP file (except if the PHP file contains non-message
data like magic words).

Misc changes:
* Updated mergeMessageFileList.php to output both
  $wgExtensionMessagesFiles and $wgExtensionMessagesDirs

Change-Id: I8d137e15e1670880a9847263e6ce796c62a4670d

10 years agomediawiki.action.edit.preview: Run hook on detached node
Timo Tijhof [Sat, 14 Dec 2013 03:00:43 +0000 (04:00 +0100)]
mediawiki.action.edit.preview: Run hook on detached node

Change-Id: Ie5b70c6681bab51e9ac7067b9293b4e2cccd0574

10 years agoMerge "Make the warning from TextContent::__construct show caller."
jenkins-bot [Fri, 20 Dec 2013 07:56:54 +0000 (07:56 +0000)]
Merge "Make the warning from TextContent::__construct show caller."

10 years agoMake the warning from TextContent::__construct show caller.
Brian Wolff [Fri, 20 Dec 2013 08:49:55 +0000 (01:49 -0700)]
Make the warning from TextContent::__construct show caller.

Having the warning point to itself isn't very useful.

Bug: 44898
Change-Id: Ia3e73477d323d17c9e97c2dd863255cc2e191f7f

10 years agoremove forced index causing full index scans
Sean Pringle [Fri, 20 Dec 2013 07:18:07 +0000 (17:18 +1000)]
remove forced index causing full index scans

bug 57285

Change-Id: I2a41553c60de53b156fda01faa89af7bdd29d065

10 years agoMake Special:Redirect able to redirect by page ID
This, that and the other [Fri, 20 Dec 2013 05:46:58 +0000 (16:46 +1100)]
Make Special:Redirect able to redirect by page ID

A fairly simple change.

Bug: 58727
Change-Id: Id030728e7c1449f0ff856be10a972bea5bdd18f6

10 years agoMove VectorBeta modules to VectorBeta extension
jrobson [Thu, 5 Dec 2013 01:53:18 +0000 (17:53 -0800)]
Move VectorBeta modules to VectorBeta extension

* Remove duplication of styles in skins.monobook and skins.vector by
  creating skins.common.
* At same time allow VectorBeta to replace Vector-specific skin styles
  without having to worry about common styles.

Dependency: Ie32a28f8f8c5fc8e4d0890a3d7d96bc82b39c481
Change-Id: Ia193571afffff36ecb1f14ee9036fb9bb98347e7

10 years agoMerge "Include delayed job count in showJobs.php"
jenkins-bot [Thu, 19 Dec 2013 22:47:56 +0000 (22:47 +0000)]
Merge "Include delayed job count in showJobs.php"

10 years agoMerge "Removed isQueueDeprioritized()"
jenkins-bot [Thu, 19 Dec 2013 22:32:33 +0000 (22:32 +0000)]
Merge "Removed isQueueDeprioritized()"

10 years agoRemoved isQueueDeprioritized()
Aaron Schulz [Thu, 19 Dec 2013 21:03:18 +0000 (13:03 -0800)]
Removed isQueueDeprioritized()

* This was just a hack for one job type that is not needed anymore
  as no new refreshLinks2 jobs are inserted

Change-Id: I533f1edbd6b6e67f57ce32a9113da3eec420dd08

10 years agoMerge "Fix TOC display for printing"
jenkins-bot [Thu, 19 Dec 2013 22:09:31 +0000 (22:09 +0000)]
Merge "Fix TOC display for printing"

10 years agoBuild Special:Search's title without escaping
Nik Everett [Thu, 19 Dec 2013 21:36:51 +0000 (16:36 -0500)]
Build Special:Search's title without escaping

The title set to OutputPage->setHTMLTitle must be unescaped as it'll be
escaped later.

Bug: 58693

Change-Id: I9e79de90b53f5d111e5171b98f774cb95aa14b08

10 years agoMerge "Added a MemoryFileBackend class and made MockFileBackend subclass it"
Aaron Schulz [Thu, 19 Dec 2013 21:14:39 +0000 (21:14 +0000)]
Merge "Added a MemoryFileBackend class and made MockFileBackend subclass it"

10 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Thu, 19 Dec 2013 20:58:34 +0000 (20:58 +0000)]
Merge "Localisation updates from https://translatewiki.net."

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 19 Dec 2013 20:49:49 +0000 (20:49 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: If3b1ab4e3702d687dad2a021c5c7e8f6f8867fbf

10 years agoMerge "Make executeReadyPeriodicTasks() notify the aggregator when jobs are released...
jenkins-bot [Thu, 19 Dec 2013 20:46:01 +0000 (20:46 +0000)]
Merge "Make executeReadyPeriodicTasks() notify the aggregator when jobs are released/recycled"

10 years agoAdded a MemoryFileBackend class and made MockFileBackend subclass it
Aaron Schulz [Thu, 19 Dec 2013 01:41:02 +0000 (17:41 -0800)]
Added a MemoryFileBackend class and made MockFileBackend subclass it

* This backend passes all filebackend and parser tests
* Fixed setupUploads() in parser tests to just use create() instead
  of using store() and having a race condition in the process
* Fixed 'use-filebackend=' for Parser tests

bug: 58094
Change-Id: Ib0c38183cb7f9f2325da98c8a8a1eb2b8e39a7aa

10 years agoMerge "Add mediawiki.ui.button to places in core using mw.ui"
jenkins-bot [Thu, 19 Dec 2013 20:33:28 +0000 (20:33 +0000)]
Merge "Add mediawiki.ui.button to places in core using mw.ui"

10 years agoMake executeReadyPeriodicTasks() notify the aggregator when jobs are released/recycled
Aaron Schulz [Thu, 19 Dec 2013 20:22:45 +0000 (12:22 -0800)]
Make executeReadyPeriodicTasks() notify the aggregator when jobs are released/recycled

Change-Id: I69459f9a9f37c1d1307a9c48c37cb6063a934fa5

10 years agoMerge "Special special page group for ExpandTemplates"
jenkins-bot [Thu, 19 Dec 2013 20:10:53 +0000 (20:10 +0000)]
Merge "Special special page group for ExpandTemplates"

10 years agoInclude delayed job count in showJobs.php
Aaron Schulz [Thu, 19 Dec 2013 19:20:08 +0000 (11:20 -0800)]
Include delayed job count in showJobs.php

Change-Id: Ia6c0db44855d7b04430def8f6935fca64dd5b42c

10 years agoMerge "Updated location of zhtable in comment"
jenkins-bot [Thu, 19 Dec 2013 19:16:26 +0000 (19:16 +0000)]
Merge "Updated location of zhtable in comment"

10 years agoUpdated location of zhtable in comment
Petr Onderka [Thu, 19 Dec 2013 18:47:22 +0000 (19:47 +0100)]
Updated location of zhtable in comment

The directory was moved in I55e431974dd9dcbcb47eb9c3aa6fbf31c5a23125.

Change-Id: I239483e6cdf7d412be01ae8bd45978481c5dd518

10 years agoUser::loadFromRow takes a stdClass object, not an array
Kunal Mehta [Thu, 19 Dec 2013 18:25:33 +0000 (10:25 -0800)]
User::loadFromRow takes a stdClass object, not an array

Change-Id: I8e0a56c02d474884a946d35dbab44bb39179d791

10 years agoi18n: Make LogEventsList user language direction aware
Ebrahim Byagowi [Thu, 19 Dec 2013 14:20:24 +0000 (14:20 +0000)]
i18n: Make LogEventsList user language direction aware

Bug: 58685
Change-Id: I9627689febb296dfeed588a52bfd30d8a9a46cda

10 years agoFix formatting in release notes
Bartosz Dziewoński [Thu, 19 Dec 2013 17:32:40 +0000 (18:32 +0100)]
Fix formatting in release notes

Missing full stop, missing space.

Change-Id: I4e68122c0f597e1f07d4592c8341d09ddf1f506d

10 years agoIntegrate feed-specific setup into general setup
Patrick Westerhoff [Thu, 19 Dec 2013 17:16:49 +0000 (18:16 +0100)]
Integrate feed-specific setup into general setup

The special page setup was previously handled separately for feed output
to restrict the request arguments to a small subset of possible filter
options. This behavior was removed in 52b59f0685.

This makes the main difference between the normal and the feed setup that
custom filter options were not loaded for feed output. Support for custom
filter options was introduced with fcbdd58326 but did not touch the feed
setup, preventing filters from being initialized when requesting a feed
(see bug 57201).

After adding support for custom filters to the feed setup, the only
remaining difference is a different default limit, and the support for
subpage syntax for non-feed output.

This commit merges the feed setup with the standard setup.

Furthermore, in `SpecialRecentchangeslinked`, the extra argument parsing
was made also redundant with 52b59f0685.

Bug: 57201
Change-Id: Ia8ba28efb96da9df5d7252278d46ff88a143368c

10 years agoSpecial special page group for ExpandTemplates
Siebrand Mazeland [Thu, 19 Dec 2013 15:43:12 +0000 (16:43 +0100)]
Special special page group for ExpandTemplates

Change-Id: I9447a65a6cbb5dd5d94212c82598c2fde0f7d92e

10 years agoMerge "Fix round-off error in Vector's collapsibleTabs.js"
jenkins-bot [Thu, 19 Dec 2013 15:40:14 +0000 (15:40 +0000)]
Merge "Fix round-off error in Vector's collapsibleTabs.js"

10 years agoFix round-off error in Vector's collapsibleTabs.js
Ori Livneh [Thu, 19 Dec 2013 07:14:10 +0000 (23:14 -0800)]
Fix round-off error in Vector's collapsibleTabs.js

Values returned by jQuery's .width() are rounded off, whereas offset values
computed with .offset() are not. As a result, if the window is sized just
right, collapsibleTabs.js will decide it has enough room to expand a tab when
it really doesn't. It will then detect the tab overlap caused by squeezing in
an additional tab and collapse it. It gets stuck in an infinite loop doing
that.

We could replace usage of $(el).width() with el.getBoundingClientRect().width
and thereby make the width calculations precise, but I noticed that jQuery is
nervous enough about the availability of getBoundingClientRect that it includes
a check to make sure it is not undefined. Rather than run the risk of a
ReferenceError, we can simply require an additional extra pixel of space before
we decide to expand anything.

Bug: 58682
Change-Id: Ib2096894619b8343735de482ee8bfa20a7cd0f48

10 years agoCorrect patch filenames in MysqlUpdater
Kevin Israel [Thu, 19 Dec 2013 05:36:37 +0000 (00:36 -0500)]
Correct patch filenames in MysqlUpdater

Follows-up 65a304c44451.

Change-Id: I5bf550721d3b36b7075896dc920fceb6fd58590a

10 years agoAdd index on logging.log_user_text
Jackmcbarn [Mon, 9 Dec 2013 21:11:06 +0000 (16:11 -0500)]
Add index on logging.log_user_text

Fixing bug #54404 requires querying against logging.log_user_text, which
is currently unindexed. Add an index, to prevent performance from being
adversely affected by the fix.

Bug: 54432
Change-Id: I6b2af65c75bbee57377cb1ec2e75ea41a5091f80

10 years agoAdd mediawiki.ui.button to places in core using mw.ui
Matthew Flaschen [Thu, 19 Dec 2013 01:23:17 +0000 (20:23 -0500)]
Add mediawiki.ui.button to places in core using mw.ui

All of these also use other mw.ui features (e.g. mw-ui-vform,
mw-ui-input, mw-ui-checkbox-label, etc.), so they can't only depend
on mediawiki.ui.button.

Change-Id: I6906533753185f7de42552cff38a86fb0171d1d8

10 years agoMerge "Add 'mediawiki.ui.button' CSS module"
Bartosz Dziewoński [Wed, 18 Dec 2013 22:41:58 +0000 (22:41 +0000)]
Merge "Add 'mediawiki.ui.button' CSS module"

10 years agoMerge "Add support for skins to set attributes of <html> element."
Bartosz Dziewoński [Wed, 18 Dec 2013 22:41:41 +0000 (22:41 +0000)]
Merge "Add support for skins to set attributes of <html> element."

10 years agoChange location of period in img-lang-info
Brian Wolff [Wed, 18 Dec 2013 22:08:20 +0000 (15:08 -0700)]
Change location of period in img-lang-info

Per https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Img-lang-info/cy/reply_(3)

Change-Id: I81441e10083a610464380a009fa467bdd5c40cc0

10 years agoAdd 'mediawiki.ui.button' CSS module
kaldari [Tue, 3 Dec 2013 19:12:32 +0000 (11:12 -0800)]
Add 'mediawiki.ui.button' CSS module

This splits the button styling out from mediawiki.ui into a
separate module.

This is an alternative to https://gerrit.wikimedia.org/r/#/c/87296/

This migration will be implemented in 3 steps, of which this is the
first:
1. Add new mediawiki.ui.button module to core
2. Add mediawiki.ui.button dependancy to all extensions and core
   features that currently use mediawiki.ui (and have buttons)
3. Remove button styles from mediawiki.ui

Change-Id: Ia375d848df15afe6ddc3f3f19e43249d6c0706f0

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 18 Dec 2013 20:31:37 +0000 (20:31 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I5986f593323e24a9f86a0f545afab11ce799727b

10 years agoMerge "Rename SpecialRecentchangeslinked class to SpecialRecentChangesLinked"
jenkins-bot [Wed, 18 Dec 2013 20:05:42 +0000 (20:05 +0000)]
Merge "Rename SpecialRecentchangeslinked class to SpecialRecentChangesLinked"

10 years agoRename SpecialRecentchangeslinked class to SpecialRecentChangesLinked
Bartosz Dziewoński [Wed, 18 Dec 2013 16:02:33 +0000 (17:02 +0100)]
Rename SpecialRecentchangeslinked class to SpecialRecentChangesLinked

For consistency with SpecialRecentChanges.

This introduces no incompatibilities as PHP classes are case-insensitive.

Change-Id: I5855074deed52fd7492f033c8a8fced8af647602

10 years agoMerge "jpegmeta: Add links to source version and improve documentation"
jenkins-bot [Wed, 18 Dec 2013 19:59:18 +0000 (19:59 +0000)]
Merge "jpegmeta: Add links to source version and improve documentation"

10 years agoMerge "Make legend on Special:RecentChanges and Special:Watchlist collapsible"
jenkins-bot [Wed, 18 Dec 2013 19:29:58 +0000 (19:29 +0000)]
Merge "Make legend on Special:RecentChanges and Special:Watchlist collapsible"

10 years agoAdd support for skins to set attributes of <html> element.
dr0ptp4kt [Wed, 18 Dec 2013 18:34:57 +0000 (10:34 -0800)]
Add support for skins to set attributes of <html> element.

* Useful for device/profile-specific stuff (e.g., manifests)

Change-Id: I65f4d3454ae52a25fe4c6e9f2119129425b3de7a

10 years agoFixed undefined variable errors that made tests fail
Aaron Schulz [Wed, 18 Dec 2013 18:36:22 +0000 (10:36 -0800)]
Fixed undefined variable errors that made tests fail

Change-Id: Ic004e0d8d8efe3e4b313b737479b8098aa0048bc

10 years agoMake legend on Special:RecentChanges and Special:Watchlist collapsible
Bartosz Dziewoński [Fri, 13 Dec 2013 20:56:02 +0000 (21:56 +0100)]
Make legend on Special:RecentChanges and Special:Watchlist collapsible

Some of the code added here is duplicated, redundant or would be
better off placed somewhere else. I know about this, but this is not
the time to fix that (and nobody would review such patches anyway…).

Bug: 52005
Change-Id: I02f2ced42f33649b6c972d35a4739372ca265e10

10 years agoMerge "API: allow disabling TOC in action=parse"
jenkins-bot [Wed, 18 Dec 2013 14:52:19 +0000 (14:52 +0000)]
Merge "API: allow disabling TOC in action=parse"

10 years agoDon't rely on array() == null
Kunal Mehta [Wed, 18 Dec 2013 02:49:34 +0000 (18:49 -0800)]
Don't rely on array() == null

Just use === null instead.

Change-Id: I6adf066214ad5bf9ae508d190b4e3e3fd92e4736

10 years agoRemove "@todo Do not release 1.19 with this."
Kunal Mehta [Wed, 18 Dec 2013 02:40:08 +0000 (18:40 -0800)]
Remove "@todo Do not release 1.19 with this."

It's a bit too late to do that

Change-Id: Ibe38b8179367d1a78472b3b967b3361f6563e7c1

10 years agoFix spacing
Kunal Mehta [Wed, 18 Dec 2013 05:19:31 +0000 (21:19 -0800)]
Fix spacing

Change-Id: If18b39048df108471f33fbfae2863f2ee24e19e7

10 years agoMerge "Make SVG language selector "use default lang" actually work"
jenkins-bot [Wed, 18 Dec 2013 00:13:09 +0000 (00:13 +0000)]
Merge "Make SVG language selector "use default lang" actually work"