lhc/web/wiklou.git
9 years agoAdd links to Special:EditWatchlist in Preferences' Watchlist tab
glaisher [Tue, 20 Jan 2015 17:00:21 +0000 (22:00 +0500)]
Add links to Special:EditWatchlist in Preferences' Watchlist tab

This adds a new "Edit watchlist" section to Watchlist tab with links
to Special:EditWatchlist, EditWatchlist/raw and EditWatchlist/clear.

Bug: T26632
Change-Id: Id31fba4f7aadaa3e427becece3837a8d00b7718f

9 years agojquery.tablesorter: Fix "capabilities" typo in comment
Timo Tijhof [Fri, 16 Jan 2015 01:55:00 +0000 (17:55 -0800)]
jquery.tablesorter: Fix "capabilities" typo in comment

Change-Id: Iea1a2956c8927bc29c904569ae594f6978aa8868

9 years agoUpdate OOjs UI to v0.6.3
James D. Forrester [Fri, 16 Jan 2015 00:06:44 +0000 (16:06 -0800)]
Update OOjs UI to v0.6.3

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

Change-Id: If0fc682b3a7f186d53ca70fdb66dded66a7f4814

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 15 Jan 2015 21:27:34 +0000 (22:27 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: Ib5e195c508863f6b9d75e0984a3c608b65deb609

9 years agoTypofix in wrapWikiMsg() comment, smoother sentence
Federico Leva [Thu, 8 Jan 2015 17:09:09 +0000 (18:09 +0100)]
Typofix in wrapWikiMsg() comment, smoother sentence

Change-Id: Ic0ebc94cec68ee1515d4c98d49b26a6f9148e95e

9 years agoMerge "Userlogin.php: Tweaks and corrections"
jenkins-bot [Thu, 15 Jan 2015 18:52:40 +0000 (18:52 +0000)]
Merge "Userlogin.php: Tweaks and corrections"

9 years agoMerge "Article: Show error message when Revision::getContent() fails"
jenkins-bot [Thu, 15 Jan 2015 18:49:50 +0000 (18:49 +0000)]
Merge "Article: Show error message when Revision::getContent() fails"

9 years agoUserlogin.php: Tweaks and corrections
Bartosz Dziewoński [Thu, 15 Jan 2015 18:30:14 +0000 (10:30 -0800)]
Userlogin.php: Tweaks and corrections

* Correct nesting of the block generating "Forgot your password?" link
  – it would be mistakenly only generated if the user could create an
  account.
* Use ->escaped() rather than ->parse() for 'userlogin-resetpassword-link',
  as it is used inside a link and allowing wikitext could lead to
  undesirable side-effects.
* Remove unused $extraAttrs variable.
* Remove pointless 'size' => '20' for some fields (they are displayed
  full-width using CSS).
* Remove pointless .mw-ui-block class, as its styles are always used
  for buttons in a VForm.
* Prettify code for hidden fields generation.

Change-Id: If749620bf2eaf58f815cae559383e1a1c842b870

9 years agoMerge "Add tests for Sanitizer::escapeHtmlAllowEntities"
jenkins-bot [Thu, 15 Jan 2015 18:44:28 +0000 (18:44 +0000)]
Merge "Add tests for Sanitizer::escapeHtmlAllowEntities"

9 years agofile name -> filename
Siebrand Mazeland [Wed, 14 Jan 2015 19:10:12 +0000 (20:10 +0100)]
file name -> filename

Change-Id: I2b39501b95745b04f3c8f2c5df893c066e5e7867

9 years agoParserOutputTest: Fix @covers tags
Kunal Mehta [Thu, 15 Jan 2015 17:25:56 +0000 (09:25 -0800)]
ParserOutputTest: Fix @covers tags

Change-Id: I4460f0474174a95558301a0e0a261a962dc66bee

9 years agoArticle: Show error message when Revision::getContent() fails
Kevin Israel [Mon, 15 Sep 2014 09:44:35 +0000 (05:44 -0400)]
Article: Show error message when Revision::getContent() fails

It already checks for other errors though not this specific one
(e.g. missing text row or external storage row).

Change-Id: Id9eed4bd3d8241d445b15948f1544040394012c3

9 years agoMerge "HTMLFormField: Don't abuse mClass for VForms"
jenkins-bot [Thu, 15 Jan 2015 00:08:01 +0000 (00:08 +0000)]
Merge "HTMLFormField: Don't abuse mClass for VForms"

9 years agoAdd tests for Sanitizer::escapeHtmlAllowEntities
Marius Hoch [Wed, 14 Jan 2015 23:22:06 +0000 (00:22 +0100)]
Add tests for Sanitizer::escapeHtmlAllowEntities

Change-Id: I84a1328559d57a424aa77a6d89f837615feffc13

9 years agoHTMLFormField: Don't abuse mClass for VForms
Bartosz Dziewoński [Wed, 14 Jan 2015 23:00:39 +0000 (15:00 -0800)]
HTMLFormField: Don't abuse mClass for VForms

Various fields use this differently than I thought, breaking things.
Let's add a separate variable.

Change-Id: Ia974a42c2a905cbc9e8405d9f03c10c8ad692864

9 years agoFix array index for oldid parameter
Gabriel Wicke [Wed, 14 Jan 2015 22:06:01 +0000 (14:06 -0800)]
Fix array index for oldid parameter

This caused an incorrect oldid parameter to be passed to parsoid on html2wt
conversion, resulting in dirty diffs.

Change-Id: If140bbc94f280f9ec5a1c9f6d9c3b4e7a46e1917

9 years agoMerge "Set stat cache when getting local copy files in Swift"
jenkins-bot [Wed, 14 Jan 2015 21:26:11 +0000 (21:26 +0000)]
Merge "Set stat cache when getting local copy files in Swift"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 14 Jan 2015 21:15:43 +0000 (22:15 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I7e0c73a076713d6e2f4a317456e2bffb9a1a77f4

9 years agoMerge "Disable styling for checkboxes and radios on non-js browsers"
jenkins-bot [Wed, 14 Jan 2015 20:54:39 +0000 (20:54 +0000)]
Merge "Disable styling for checkboxes and radios on non-js browsers"

9 years agoMerge "mediawiki.action.view.redirect: Don't unset wgInternalRedirectTargetUrl"
Bartosz Dziewoński [Wed, 14 Jan 2015 20:26:37 +0000 (20:26 +0000)]
Merge "mediawiki.action.view.redirect: Don't unset wgInternalRedirectTargetUrl"

9 years agoMerge "Use Config in SpecialUpload::getInitialPageText"
jenkins-bot [Wed, 14 Jan 2015 20:07:42 +0000 (20:07 +0000)]
Merge "Use Config in SpecialUpload::getInitialPageText"

9 years agomediawiki.action.view.redirect: Don't unset wgInternalRedirectTargetUrl
Bartosz Dziewoński [Wed, 14 Jan 2015 19:43:47 +0000 (11:43 -0800)]
mediawiki.action.view.redirect: Don't unset wgInternalRedirectTargetUrl

Follows-up c49bd9cb14a9af678.

No good reason to do it. Dunno why I did it this way.

Change-Id: I9d80492b7ef6c1790c8dcb4a6861f263c450bd6a

9 years agoUse Config in SpecialUpload::getInitialPageText
m4tx [Sat, 3 Jan 2015 00:25:30 +0000 (01:25 +0100)]
Use Config in SpecialUpload::getInitialPageText

Change-Id: I7edfe23278acff8d3089d9ad23b588f937d9e337

9 years agoRelease notes for f338a1cf
Bartosz Dziewoński [Wed, 14 Jan 2015 19:49:27 +0000 (11:49 -0800)]
Release notes for f338a1cf

Change-Id: Iecf07aea6384b41d4ca4f115ea80644e7ca0bcac

9 years agoMerge "Release notes for 1dd14dce and b3830611"
jenkins-bot [Wed, 14 Jan 2015 19:55:56 +0000 (19:55 +0000)]
Merge "Release notes for 1dd14dce and b3830611"

9 years agoRelease notes for 1dd14dce and b3830611
Bartosz Dziewoński [Wed, 14 Jan 2015 19:40:12 +0000 (11:40 -0800)]
Release notes for 1dd14dce and b3830611

Change-Id: I0b933560d7df17246ea91b80ff1cd57abb61ad1b

9 years agoHTMLForm: Separate VForm code to a subclass
Bartosz Dziewoński [Wed, 24 Dec 2014 17:21:32 +0000 (18:21 +0100)]
HTMLForm: Separate VForm code to a subclass

…and in general, work with the existing HTMLForm design for defining
display formats, rather than against it.

Breaking changes:
* HTMLForm::isVForm() is now deprecated.
* You can no longer do this:
    $form = new HTMLForm( … );
    $form->setDisplayFormat( 'vform' ); // throws exception
  Instead, do this:
    $form = HTMLForm::factory( 'vform', … );
  When using FormSpecialPage, override the new getDisplayFormat() method
  instead of calling $form->setDisplayFormat() in the alterForm() method.
  (Other display formats are not affected, only 'vform'.)

Bug fixes:
* Correctly suppress empty labels for VForm fields
* Correctly disable <fieldset/> wrappers for VForms

Other benefits:
* Reduce code duplication related to $getFieldHtmlMethod
* Introduce HTMLForm::factory() method for constructing HTMLForms

Related cleanup:
* Correctly style 'reset' buttons in MediaWiki UI mode
* Label $wgHTMLFormAllowTableFormat as a mobile-specific hack
* Display checkboxes normally in MediaWiki UI mode (removed weird
  override that only broke things). Also, always render checkboxes
  in VForms as .mw-ui-checkbox.
* self:: → static::

Bug: T85285
Change-Id: I086a84f1c8cc6a16710709b7806c7f5f96462b32

9 years agoMerge "Add plural support for message config-no-db in the installer"
jenkins-bot [Wed, 14 Jan 2015 18:19:29 +0000 (18:19 +0000)]
Merge "Add plural support for message config-no-db in the installer"

9 years agoMerge "Add Timing-Allow-Origin header for cross-domain API responses"
jenkins-bot [Wed, 14 Jan 2015 16:44:38 +0000 (16:44 +0000)]
Merge "Add Timing-Allow-Origin header for cross-domain API responses"

9 years agoAdd plural support for message config-no-db in the installer
umherirrender [Wed, 14 Jan 2015 16:29:59 +0000 (17:29 +0100)]
Add plural support for message config-no-db in the installer

The message config-no-db contains a comma separated list of items.
Adding the count of this list allows use of plural for better i18n.

Change-Id: I07ccbd3f664709d1a6234cb1e268ff8d7ddfabd9

9 years agoMade SqlDataUpdate use lazy DB connections
Aaron Schulz [Mon, 12 Jan 2015 21:39:24 +0000 (13:39 -0800)]
Made SqlDataUpdate use lazy DB connections

Change-Id: Ic041f620f27e1e8012586542ac6dc60657461d04

9 years agotests: Move npm-test to repo root
Timo Tijhof [Thu, 8 Jan 2015 20:33:47 +0000 (20:33 +0000)]
tests: Move npm-test to repo root

This is way overdue as it isn't experimental anymore.
Keeping it in a non-standard subdirectory makes it harder to
discover for people. And makes it harder to run from Jenkins
since this is already being ran on every commit.

Related to 70f3919.

Change-Id: Iaf5cf65616f82640145fbb6395c36129428602ca

9 years agoMerge "Allow mobile for jquery.throttle-debounce"
jenkins-bot [Wed, 14 Jan 2015 00:16:26 +0000 (00:16 +0000)]
Merge "Allow mobile for jquery.throttle-debounce"

9 years agoMerge "installer: Don't generate $wgDefaultSkin='' when no skins are present during...
jenkins-bot [Wed, 14 Jan 2015 00:15:16 +0000 (00:15 +0000)]
Merge "installer: Don't generate $wgDefaultSkin='' when no skins are present during installation"

9 years agoAdd Timing-Allow-Origin header for cross-domain API responses
Gergő Tisza [Sun, 11 Jan 2015 07:55:40 +0000 (23:55 -0800)]
Add Timing-Allow-Origin header for cross-domain API responses

This makes it possible to get detailed network timing information
via ResourceTiming.

Change-Id: Ie88d4354285420014c0f1612446ba94fc2a8c68f

9 years agoAllow mobile for jquery.throttle-debounce
Matthew Flaschen [Tue, 13 Jan 2015 23:29:22 +0000 (18:29 -0500)]
Allow mobile for jquery.throttle-debounce

This will allow Flow to use core's module:
Ia59e14dc8d7838cfe237b99ee59053529a7235fa

Change-Id: Ia6502da0e10dfa91732b7ac7ac9921dc5cfd218c

9 years agoMerge "mediawiki.js: Clean up and improve documentation"
jenkins-bot [Tue, 13 Jan 2015 23:07:49 +0000 (23:07 +0000)]
Merge "mediawiki.js: Clean up and improve documentation"

9 years agoMerge "mediawiki.test.js: Document wgSiteName can't be mocked"
jenkins-bot [Tue, 13 Jan 2015 23:03:49 +0000 (23:03 +0000)]
Merge "mediawiki.test.js: Document wgSiteName can't be mocked"

9 years agoMerge "mw.loader: Remove support for IE6"
jenkins-bot [Tue, 13 Jan 2015 23:03:41 +0000 (23:03 +0000)]
Merge "mw.loader: Remove support for IE6"

9 years agomediawiki.js: Clean up and improve documentation
Timo Tijhof [Tue, 13 Jan 2015 07:09:04 +0000 (23:09 -0800)]
mediawiki.js: Clean up and improve documentation

* Consistently phrase one-line captions in the imperative mood.

* Consistently start parameter descriptions with a capital letter.

* Document a few missing parameters and callback parameters.

* Rewrite mw.Map example.

* Merge duplicate @return tags in mw.Map#set (only the first one
  is parsed by JSDuck).

* Fix mw.loader#registry code example. In order for the indented
  text to be parsed as a code block, an empty is required.

* Improve IE-support comments with more details.

* Remove redundant String() cast in newStyleTag(). Per its signature,
  it only supports strings. Other values don't make sense.

Change-Id: Iaaeaea4869f7869f5f4d29b27d11c0b05aad2ef5

9 years agoinstaller: Don't generate $wgDefaultSkin='' when no skins are present during installation
Bartosz Dziewoński [Sat, 10 Jan 2015 02:55:38 +0000 (03:55 +0100)]
installer: Don't generate $wgDefaultSkin='' when no skins are present during installation

The bug only affects people installing from Git, not tarball releases.

* Make sure getDefaultSkin() never returns null and just uses 'vector'
  when no skins are available (so the user just has to install it).
* Produce a hidden input field to pass the generated value to the next
  installer page.

Change-Id: I025f1aeb182a818de59a42df01591e01fc9e6236

9 years agomediawiki.test.js: Document wgSiteName can't be mocked
Timo Tijhof [Tue, 13 Jan 2015 07:05:19 +0000 (23:05 -0800)]
mediawiki.test.js: Document wgSiteName can't be mocked

Can't make it use mw.config value via setup/teardown because
the src module caches it at load, which means the site's live
config value is used...

Change-Id: Ie941fa138273ec01ab3dc93ea7d75c1da75c5ee9

9 years agomw.loader: Remove support for IE6
Timo Tijhof [Sun, 11 Jan 2015 15:43:35 +0000 (07:43 -0800)]
mw.loader: Remove support for IE6

The client loader doesn't run in IE6.

Since MediaWiki 1.24, the startup module provides IE6 a
javascriptless environment.

Change-Id: I16628e21d6a89a31dc65baf4a22c6fb31dde2535

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 13 Jan 2015 20:45:04 +0000 (21:45 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: Id6b7c7c05c7a9d42f2cac2f7fd32cfbe415a9b0e

9 years agoMerge "Run the ImagePageShowTOC hook before adding the 'metadata' link"
jenkins-bot [Tue, 13 Jan 2015 19:44:35 +0000 (19:44 +0000)]
Merge "Run the ImagePageShowTOC hook before adding the 'metadata' link"

9 years agoDisable styling for checkboxes and radios on non-js browsers
Bahodir Mansurov [Tue, 13 Jan 2015 19:22:44 +0000 (14:22 -0500)]
Disable styling for checkboxes and radios on non-js browsers

Change-Id: I0b9691daa61fddb484b6adff759f4413d201ae03

9 years agoMerge "mw.Map: Check presence of value argument in set()"
jenkins-bot [Tue, 13 Jan 2015 19:25:23 +0000 (19:25 +0000)]
Merge "mw.Map: Check presence of value argument in set()"

9 years agoMerge "mediawiki.js: Move mw.format definition to where it's exposed"
jenkins-bot [Tue, 13 Jan 2015 19:25:20 +0000 (19:25 +0000)]
Merge "mediawiki.js: Move mw.format definition to where it's exposed"

9 years agoMerge "jsduck: Update references to renamed resources/ directories"
jenkins-bot [Tue, 13 Jan 2015 19:25:17 +0000 (19:25 +0000)]
Merge "jsduck: Update references to renamed resources/ directories"

9 years agoMerge "Move DeferredStringifier into libs, add tests"
jenkins-bot [Tue, 13 Jan 2015 19:14:46 +0000 (19:14 +0000)]
Merge "Move DeferredStringifier into libs, add tests"

9 years agoMove DeferredStringifier into libs, add tests
Kunal Mehta [Sun, 11 Jan 2015 01:52:37 +0000 (17:52 -0800)]
Move DeferredStringifier into libs, add tests

Change-Id: I384d1a3854e957315584d30ec58c48c02fee6a2c

9 years agoAdd missing @covers tag
Kunal Mehta [Tue, 13 Jan 2015 18:25:41 +0000 (10:25 -0800)]
Add missing @covers tag

Change-Id: I491929e3d77688bf07640db4218ef99d6b888a82

9 years agoMerge "Add User::equals"
jenkins-bot [Tue, 13 Jan 2015 16:11:25 +0000 (16:11 +0000)]
Merge "Add User::equals"

9 years agoMerge "Add plural support for message upload-permitted on Special:Upload"
jenkins-bot [Tue, 13 Jan 2015 15:55:27 +0000 (15:55 +0000)]
Merge "Add plural support for message upload-permitted on Special:Upload"

9 years agoAdd plural support for message upload-permitted on Special:Upload
umherirrender [Mon, 12 Jan 2015 18:41:23 +0000 (19:41 +0100)]
Add plural support for message upload-permitted on Special:Upload

The messages upload-permitted, upload-preferred and upload-prohibited
containing a comma separated list of items. Adding the count of this
list allows use of plural for better i18n.

Change-Id: I3fb09db4788bff6ea89731f77848d78fb33dd493

9 years agoAdd User::equals
Niklas Laxström [Thu, 11 Dec 2014 08:59:28 +0000 (09:59 +0100)]
Add User::equals

Seems stupid omission. Title has one. Why do I need to think how
to determine how to users objects point to the same user. Allows
more expressive code.

Also fixes a bug in multiple places where users "0" and "00" were
considered equal.

Change-Id: I682392e564b332b77ab489f2ad394fa2d28098a5

9 years agomw.Map: Check presence of value argument in set()
Timo Tijhof [Sun, 11 Jan 2015 14:03:34 +0000 (06:03 -0800)]
mw.Map: Check presence of value argument in set()

Add back the `arguments.length > 1` check (accidentally removed
in 24f84b0). Otherwise it inadvertently uses the `value`
parameter, causing it to set undefined as the value.

There was already a test ensuring undefined can be set as value,
but a test to ensure it doesn't default to undefined was missing.

Change-Id: I4c69f0c11f165640a9b387a72c77c48eb6aa9e72

9 years agomediawiki.js: Move mw.format definition to where it's exposed
Timo Tijhof [Sun, 11 Jan 2015 13:21:13 +0000 (05:21 -0800)]
mediawiki.js: Move mw.format definition to where it's exposed

No need for it to be a local and public method at the same time.
The Message#parser can just use the public one.

Change-Id: I57e040cda6da57cda447ea83f5b9b6b28b538158

9 years agojsduck: Update references to renamed resources/ directories
Timo Tijhof [Sun, 11 Jan 2015 13:18:58 +0000 (05:18 -0800)]
jsduck: Update references to renamed resources/ directories

The inline examples in the generated documentation due to a
404 Not Found for the javascript files.

1. Run $ ./maintenance/mwjsduck-gen
2. View http://localhost/w/docs/js/#!/api/mw.Map
3. Try "Live Preview"

Change-Id: Ic44f029c789042d82ec14e35d385f9ccc59959aa

9 years agoDon't auto-select first alphabetical item in import subproject list
This, that and the other [Sat, 30 Aug 2014 05:18:46 +0000 (15:18 +1000)]
Don't auto-select first alphabetical item in import subproject list

Currently when you load Special:Import, the first subproject in
alphabetical order gets selected. Instead, the first subproject in the
list should be selected by default (i.e. no <option> element should be
given the "selected" attribute).

Change-Id: I442a9afadc75f42f63d8c9c32ee2920374ceb26d

9 years agoHandle more cases in convertExtensionToRegistration.php
Kunal Mehta [Sun, 11 Jan 2015 04:17:36 +0000 (20:17 -0800)]
Handle more cases in convertExtensionToRegistration.php

* Handle constructs like $wgResourceModules += array(...)
* Support $wgMessagesDirs['FooBar'] = array(...)
* Handle stripping paths where it is the current directory
* Use FormatJson::ALL_OK when writing the file

Bug: T86311
Change-Id: I9434f6634fd6e460a5c2f6dac95c9065da35a51a

9 years agoregistration: Add ConfigRegistry to the extension.json schema
Kunal Mehta [Sun, 11 Jan 2015 04:12:01 +0000 (20:12 -0800)]
registration: Add ConfigRegistry to the extension.json schema

Change-Id: I6918215e3b5b2dd4c993d8a8767dc3ce998bd5ed

9 years agoexception: Hide suppressed errors in 'error' log, flag in 'error-json'
Timo Tijhof [Tue, 2 Dec 2014 22:41:00 +0000 (22:41 +0000)]
exception: Hide suppressed errors in 'error' log, flag in 'error-json'

Follows-up 399ba2f.

Bug: T75619
Bug: T45086
Change-Id: I1f312660c058a3940bf1e9425f86cfd531121ba3

9 years agoMerge "Tweaked the message for non-MW exceptions"
jenkins-bot [Tue, 13 Jan 2015 00:20:14 +0000 (00:20 +0000)]
Merge "Tweaked the message for non-MW exceptions"

9 years agoMerge "Skip cache hint about 0 seconds on Special:ActiveUsers"
jenkins-bot [Mon, 12 Jan 2015 23:46:10 +0000 (23:46 +0000)]
Merge "Skip cache hint about 0 seconds on Special:ActiveUsers"

9 years agoDon't call $wgOut->disable() from wfHttpError if $wgOut isn't set up yet
Brad Jorsch [Mon, 12 Jan 2015 21:46:18 +0000 (16:46 -0500)]
Don't call $wgOut->disable() from wfHttpError if $wgOut isn't set up yet

For example, if the database cannot be connected to, the language is
something other than 'en', and the l10n cache is LCStoreDB, then the
call to Language::factory() in Setup.php line 604 will do it when it's
trying to get the fallback list.

Bug: T86398
Change-Id: Ia0e9ea440dcc4c8ab7bab1f33802aeff487eb3f0

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 12 Jan 2015 21:09:28 +0000 (22:09 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I8622b53bb08154439b751c93d0b218f12f892c24

9 years agoMerge "Check $wgCheckFileExtensions on client side on Special:Upload"
jenkins-bot [Mon, 12 Jan 2015 20:02:56 +0000 (20:02 +0000)]
Merge "Check $wgCheckFileExtensions on client side on Special:Upload"

9 years agoCheck $wgCheckFileExtensions on client side on Special:Upload
umherirrender [Mon, 12 Jan 2015 19:27:53 +0000 (20:27 +0100)]
Check $wgCheckFileExtensions on client side on Special:Upload

Setting $wgCheckFileExtensions to false but having
$wgStrictFileExtensions still on true will reject unknown file
extensions on Special:Upload with javascript.

Bug: T25583
Change-Id: I260107bb5c3206044f766d308572ad27378715bb

9 years agoMerge "mediawiki.action.edit.stash: set timeout to 4 seconds"
jenkins-bot [Mon, 12 Jan 2015 19:09:40 +0000 (19:09 +0000)]
Merge "mediawiki.action.edit.stash: set timeout to 4 seconds"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 11 Jan 2015 20:56:59 +0000 (21:56 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I557d9716255fa29881eef5909cfd9bf5c02e352c

9 years agoAdd *.orig to .gitignore
Bartosz Dziewoński [Sun, 11 Jan 2015 20:14:03 +0000 (21:14 +0100)]
Add *.orig to .gitignore

People and tools sometimes accidentally commit these, let's make it
more difficult to do.

Follow-up to abb4271a. NO ONE SAW THIS EMBARASSING MISTAKE.

Change-Id: If5f427586814c304b30e5783a59f33814bfeaa54

9 years agoAdd .*.orig to .gitignore
Bartosz Dziewoński [Sun, 11 Jan 2015 17:04:16 +0000 (18:04 +0100)]
Add .*.orig to .gitignore

People and tools sometimes accidentally commit these, let's make it
more difficult to do.

Change-Id: I05574d46186642940054aaecec055723c7ade8ac

9 years agoEscape unsafe messages in CategoryViewer.php
Scimonster [Sun, 11 Jan 2015 16:11:43 +0000 (16:11 +0000)]
Escape unsafe messages in CategoryViewer.php

Bug: T85864
GCI: http://www.google-melange.com/gci/task/view/google/gci2014/5811264311787520
Change-Id: Ie59fb389b804f031b761f93f2c91a548742326ab

9 years agoMerge "Surround edit notices with appropriate classes"
jenkins-bot [Sun, 11 Jan 2015 13:25:49 +0000 (13:25 +0000)]
Merge "Surround edit notices with appropriate classes"

9 years agoSkip cache hint about 0 seconds on Special:ActiveUsers
umherirrender [Sun, 11 Jan 2015 10:39:20 +0000 (11:39 +0100)]
Skip cache hint about 0 seconds on Special:ActiveUsers

When the data on Special:ActiveUsers are up to date there is no need to
give a hint, seeing data from cache "which can be up to 0 seconds".

Change-Id: I46f80c7cdc083b997794fb9398887e2ef0088684

9 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Sat, 10 Jan 2015 20:44:12 +0000 (20:44 +0000)]
Merge "Localisation updates from https://translatewiki.net."

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 10 Jan 2015 20:42:27 +0000 (21:42 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I9d51804ea08f615455be312f093354e40a17e8c0

9 years agomediawiki.page.gallery: Support live preview
Fomafix [Sat, 10 Jan 2015 20:21:37 +0000 (20:21 +0000)]
mediawiki.page.gallery: Support live preview

Change-Id: I1dbcf5e7a9dc145417e0ffee9b1a5220eb34e0bd

9 years agoMerge "Add autocomplete for WhatLinksHere subpages"
jenkins-bot [Sat, 10 Jan 2015 20:04:53 +0000 (20:04 +0000)]
Merge "Add autocomplete for WhatLinksHere subpages"

9 years agoMerge "Fix gallery rearrange on resize with missing images"
jenkins-bot [Sat, 10 Jan 2015 20:01:21 +0000 (20:01 +0000)]
Merge "Fix gallery rearrange on resize with missing images"

9 years agoMerge "Move Test files under same folder structure where class is (/languages/)"
jenkins-bot [Sat, 10 Jan 2015 20:00:34 +0000 (20:00 +0000)]
Merge "Move Test files under same folder structure where class is (/languages/)"

9 years agoMerge "Add version comments to DatabaseUpdater for 1.25"
jenkins-bot [Sat, 10 Jan 2015 19:57:59 +0000 (19:57 +0000)]
Merge "Add version comments to DatabaseUpdater for 1.25"

9 years agoMerge "Remove unused message 'rollback_short'"
jenkins-bot [Sat, 10 Jan 2015 19:57:01 +0000 (19:57 +0000)]
Merge "Remove unused message 'rollback_short'"

9 years agoFix gallery rearrange on resize with missing images
m4tx [Fri, 9 Jan 2015 21:59:51 +0000 (22:59 +0100)]
Fix gallery rearrange on resize with missing images

Follow-ups I286e0a4c8230c11619ca30f8f3b66778de835a33

Bug: T55664
Change-Id: I95cc64de11df3197378f4873d62a76333d55b452

9 years agoMove Test files under same folder structure where class is (/languages/)
umherirrender [Mon, 8 Dec 2014 19:46:23 +0000 (20:46 +0100)]
Move Test files under same folder structure where class is (/languages/)

Change-Id: I25c99272a1c2e318e6c61b4a497bf04886430e9b

9 years agoRemove unused message 'rollback_short'
Bartosz Dziewoński [Sat, 10 Jan 2015 19:06:45 +0000 (20:06 +0100)]
Remove unused message 'rollback_short'

Last seen in ca38c84 (r7511, from 2005).

Change-Id: Ida0b52e05e1ca66595a6f8352c14d825655dabc3

9 years agoMerge "Add data provider to split MediaHandlerTest::testFitBoxWidth"
Addshore [Sat, 10 Jan 2015 17:50:21 +0000 (17:50 +0000)]
Merge "Add data provider to split MediaHandlerTest::testFitBoxWidth"

9 years agoAdd data provider to split MediaHandlerTest::testFitBoxWidth
m4tx [Fri, 2 Jan 2015 18:59:43 +0000 (19:59 +0100)]
Add data provider to split MediaHandlerTest::testFitBoxWidth

Change-Id: Ie1cf501a6a0c8e688aca1a5577a293f526398dd3

9 years agoApiEditPage: Fix Wikipedia-specific wording
Giftpflanze [Sat, 10 Jan 2015 06:24:17 +0000 (07:24 +0100)]
ApiEditPage: Fix Wikipedia-specific wording

Article is specific to Wikipedia. Change to page for universality.

Change-Id: I4a10583d463c90df437ffd0e60e6f100674e49b2

9 years agoLet subclasses specify content model in JsonContent
wctaiwan [Sat, 10 Jan 2015 05:08:02 +0000 (00:08 -0500)]
Let subclasses specify content model in JsonContent

This is needed for extensions that subclass JsonContent.

Follows up Ifed379ba4674a8289b55
Change-Id: I2f4f9cb343c2ab3ee802b584d3c79d0fafadf9e7

9 years agoUpdate OOjs UI to v0.6.2
James D. Forrester [Sat, 10 Jan 2015 01:37:23 +0000 (17:37 -0800)]
Update OOjs UI to v0.6.2

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

Change-Id: Ia694c95107e88dd21db358daf503875cb13c5059

9 years agoMerge "maintenance: Have update-oojs-ui.sh update composer.json too"
jenkins-bot [Sat, 10 Jan 2015 01:36:53 +0000 (01:36 +0000)]
Merge "maintenance: Have update-oojs-ui.sh update composer.json too"

9 years agomaintenance: Have update-oojs-ui.sh update composer.json too
James D. Forrester [Wed, 17 Dec 2014 01:32:54 +0000 (17:32 -0800)]
maintenance: Have update-oojs-ui.sh update composer.json too

Change-Id: Ifa37c9dcd136051c5ab8967f7ba1e490a5aa7861

9 years agoUpdated some try-catch statements: MWException -> Exception
Aaron Schulz [Fri, 9 Jan 2015 23:44:47 +0000 (15:44 -0800)]
Updated some try-catch statements: MWException -> Exception

Change-Id: I76601a86e30f4984e3b1a8c8ec5ef5a0f652433a

9 years agoSet stat cache when getting local copy files in Swift
Aaron Schulz [Tue, 2 Dec 2014 19:36:59 +0000 (11:36 -0800)]
Set stat cache when getting local copy files in Swift

Change-Id: I672051b8d04a5db4da8236deba48b266ec7dd9ab

9 years agoTweaked the message for non-MW exceptions
Aaron Schulz [Fri, 9 Jan 2015 23:00:11 +0000 (15:00 -0800)]
Tweaked the message for non-MW exceptions

Change-Id: I46dae88d66b65aa596743bdbdbdee270d53ae803

9 years agoAdd version comments to DatabaseUpdater for 1.25
umherirrender [Fri, 9 Jan 2015 21:17:52 +0000 (22:17 +0100)]
Add version comments to DatabaseUpdater for 1.25

There are already version comments for the older versions, so also
adding comments for the current version to make it easier finding the
corresponding version when looking at database changes.

As suggested in Ieeb558f9523c11965cbc1941cad4f316c00c85c5

Change-Id: Idf4f52aec4eeb73ec2f830d7d7eaab84c73b6d95

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 9 Jan 2015 20:35:49 +0000 (21:35 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I4c535d73620d8ef7b4935625a2cac6ae283de395

9 years agoMerge "Fix ApiStashEdit wrt custom DataUpdates."
jenkins-bot [Fri, 9 Jan 2015 20:04:40 +0000 (20:04 +0000)]
Merge "Fix ApiStashEdit wrt custom DataUpdates."