lhc/web/wiklou.git
8 years agoMerge "mw.Upload.BookletLayout: Go back to upload page on upload error"
jenkins-bot [Wed, 30 Sep 2015 21:09:07 +0000 (21:09 +0000)]
Merge "mw.Upload.BookletLayout: Go back to upload page on upload error"

8 years agomw.Upload.BookletLayout: Go back to upload page on upload error
Prateek Saxena [Wed, 30 Sep 2015 20:52:49 +0000 (02:22 +0530)]
mw.Upload.BookletLayout: Go back to upload page on upload error

Bug: T114130
Change-Id: Ibe50ce845a42bb5e66f842c68a35541747c9a570

8 years agomw.Upload.BookletLayout: Make all errors unrecoverable
Prateek Saxena [Wed, 30 Sep 2015 20:31:52 +0000 (02:01 +0530)]
mw.Upload.BookletLayout: Make all errors unrecoverable

Any error apart from 503's can't be recovered just by hitting 'Try
Again'. The user will _have_ to make some changes before the process
can continue.

Bug: T114130
Change-Id: I8e2d619be5b7e47bc903155c353bc1da36a62bb6

8 years agoMerge "mw.Upload.BookletLayout: Move error checking for uploadToStash to uploadFile"
jenkins-bot [Wed, 30 Sep 2015 20:27:05 +0000 (20:27 +0000)]
Merge "mw.Upload.BookletLayout: Move error checking for uploadToStash to uploadFile"

8 years agomw.Upload.BookletLayout: Move error checking for uploadToStash to uploadFile
Prateek Saxena [Wed, 30 Sep 2015 19:38:38 +0000 (01:08 +0530)]
mw.Upload.BookletLayout: Move error checking for uploadToStash to uploadFile

We were checking for uploadToStash errors in saveFile, instead of in
uploadFile itself. Apart from being just wrong it was causing two
issues:

1. We would show an upload error until after you've tried to save the
   file.

2. If there was an error in saving, and you try again, the first thing
   it would do is check mw.Upload.State to hopefully check for
   uploadToStash errors. Instead of running the finishStashUpload again
   it would fail because of the earlier error, thus making all errors
   unrecoverable.

Bug: T114130
Change-Id: I56f4ef6e6536840a63402688eb2a1875a6876fcc

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 30 Sep 2015 19:46:52 +0000 (21:46 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I5fc58474ab4bc404a9a74d734e2fe4e61bfaa2ad

8 years agoMake lines short to pass phpcs in 2 files under tests/phpunit/includes/
Amir E. Aharoni [Wed, 30 Sep 2015 08:01:28 +0000 (11:01 +0300)]
Make lines short to pass phpcs in 2 files under tests/phpunit/includes/

Bug: T102614
Change-Id: I21a7cbc40a3015c3d6cbea1b9d7df58a358beb6a

8 years agoMerge "mw.widgets.CategorySelector: Link to category page and display existence status"
jenkins-bot [Wed, 30 Sep 2015 16:16:41 +0000 (16:16 +0000)]
Merge "mw.widgets.CategorySelector: Link to category page and display existence status"

8 years agoMake lines short to pass phpcs in BagOStuffTest.php
Amir E. Aharoni [Wed, 30 Sep 2015 07:55:19 +0000 (10:55 +0300)]
Make lines short to pass phpcs in BagOStuffTest.php

Bug: T102614
Change-Id: I125cf7ec294818ae4c7741acf24a40980448daa9

8 years agoMerge "mediawiki.action.edit.preview: Remove spurious 'return'"
jenkins-bot [Wed, 30 Sep 2015 16:01:22 +0000 (16:01 +0000)]
Merge "mediawiki.action.edit.preview: Remove spurious 'return'"

8 years agoMerge "Pass real boolean or array params to mw.Api#get and #post when convenient"
jenkins-bot [Wed, 30 Sep 2015 16:01:19 +0000 (16:01 +0000)]
Merge "Pass real boolean or array params to mw.Api#get and #post when convenient"

8 years agoMerge "Rename RESTBase1/Parsoid3 `bodyOnly` parameter to `body_only`"
jenkins-bot [Wed, 30 Sep 2015 15:52:12 +0000 (15:52 +0000)]
Merge "Rename RESTBase1/Parsoid3 `bodyOnly` parameter to `body_only`"

8 years agoMake lines short to pass phpcs in ResourcesTest.php
Amir E. Aharoni [Wed, 30 Sep 2015 07:46:06 +0000 (10:46 +0300)]
Make lines short to pass phpcs in ResourcesTest.php

Bug: T102614
Change-Id: I3c5df376dbfc6cbb114b59202ee9d68d4d850746

8 years agoMerge "Chinese Conversion Table Update 2015-8"
jenkins-bot [Wed, 30 Sep 2015 15:32:14 +0000 (15:32 +0000)]
Merge "Chinese Conversion Table Update 2015-8"

8 years agoMerge "Rename message 'move-new-title' back to 'newtitle'"
jenkins-bot [Wed, 30 Sep 2015 14:33:55 +0000 (14:33 +0000)]
Merge "Rename message 'move-new-title' back to 'newtitle'"

8 years agoRename RESTBase1/Parsoid3 `bodyOnly` parameter to `body_only`
C. Scott Ananian [Wed, 30 Sep 2015 14:27:04 +0000 (10:27 -0400)]
Rename RESTBase1/Parsoid3 `bodyOnly` parameter to `body_only`

The old `bodyOnly` name was deprecated on 2015-09-09.

Bug: T114185
Change-Id: If1fe919672dec4ca281c7f72bfd769a4bcaa5047

8 years agomediawiki.action.edit.preview: Remove spurious 'return'
Bartosz Dziewoński [Mon, 28 Sep 2015 12:33:27 +0000 (14:33 +0200)]
mediawiki.action.edit.preview: Remove spurious 'return'

Retuning another Promise from a .done() callback does nothing, it's
only meaningful for .then(). Looking at other code, the .done() rather
than .then() was intended, the 'return' wasn't.

Change-Id: I1022ba45b8f422a626246fa38c4fe81428acb3bc

8 years agoMerge "Cleaned up WANObjectCache toy example code blocks"
jenkins-bot [Wed, 30 Sep 2015 13:38:14 +0000 (13:38 +0000)]
Merge "Cleaned up WANObjectCache toy example code blocks"

8 years agoPass real boolean or array params to mw.Api#get and #post when convenient
Bartosz Dziewoński [Wed, 26 Aug 2015 23:07:54 +0000 (01:07 +0200)]
Pass real boolean or array params to mw.Api#get and #post when convenient

We have this wonderful feature, let's use is more often!

Change-Id: I3cc48d11780c0f83df2f13acc9885bb0b4124a92

8 years agoMerge "Converted Interwiki::load to using getWithSetCallback()"
jenkins-bot [Wed, 30 Sep 2015 13:28:24 +0000 (13:28 +0000)]
Merge "Converted Interwiki::load to using getWithSetCallback()"

8 years agoMerge "Converted checkRedirect() to using getWithSetCallback()"
jenkins-bot [Wed, 30 Sep 2015 13:16:45 +0000 (13:16 +0000)]
Merge "Converted checkRedirect() to using getWithSetCallback()"

8 years agoRename message 'move-new-title' back to 'newtitle'
Bartosz Dziewoński [Wed, 30 Sep 2015 13:11:19 +0000 (15:11 +0200)]
Rename message 'move-new-title' back to 'newtitle'

Per post-merge feedback on 795922d59c4ab57115d68547c57ffd3c7daa91c5,
the changes to message contents are not substantial enough to
invalidate all existing translations.

Change-Id: Ifbbfd27c8ca6a4abe71e91e6fb7d61155a7be955

8 years agoMerge "Introduce CategoryMembershipChange"
jenkins-bot [Wed, 30 Sep 2015 12:44:37 +0000 (12:44 +0000)]
Merge "Introduce CategoryMembershipChange"

8 years agoMerge "Added DeleteLinksJob to support purging backlinks via job runners"
jenkins-bot [Wed, 30 Sep 2015 12:35:24 +0000 (12:35 +0000)]
Merge "Added DeleteLinksJob to support purging backlinks via job runners"

8 years agoConverted checkRedirect() to using getWithSetCallback()
Aaron Schulz [Wed, 30 Sep 2015 07:50:54 +0000 (00:50 -0700)]
Converted checkRedirect() to using getWithSetCallback()

* Also merged in the code for LocalRepo::getArticleID()

Change-Id: I80d46d2358a48a39e251be83cdb336f663dbfaff

8 years agoConverted Interwiki::load to using getWithSetCallback()
Aaron Schulz [Wed, 30 Sep 2015 06:40:25 +0000 (23:40 -0700)]
Converted Interwiki::load to using getWithSetCallback()

Change-Id: I4299715ce4c996fed8add773aa03441324eb0dfc

8 years agoCleaned up WANObjectCache toy example code blocks
Aaron Schulz [Wed, 30 Sep 2015 04:28:30 +0000 (21:28 -0700)]
Cleaned up WANObjectCache toy example code blocks

The list order logic was backwards

Change-Id: Id26e13b69d9e1e6ef132792bdcc693836757cbd8

8 years agoMerge "Improve brevity of Special:MovePage form and its description"
jenkins-bot [Wed, 30 Sep 2015 06:04:05 +0000 (06:04 +0000)]
Merge "Improve brevity of Special:MovePage form and its description"

8 years agoMerge "Added testStaleSet() WAN cache test"
jenkins-bot [Wed, 30 Sep 2015 05:39:58 +0000 (05:39 +0000)]
Merge "Added testStaleSet() WAN cache test"

8 years agoMake lines short to pass phpcs in 2 files under includes/
Amir E. Aharoni [Mon, 28 Sep 2015 12:43:19 +0000 (15:43 +0300)]
Make lines short to pass phpcs in 2 files under includes/

Bug: T102614
Change-Id: Iae4d4fbdba88ebcd9bcb018a2a0015d0c0ac607c

8 years agoMerge "Improved getWithSetCallback() docs to have more use cases"
jenkins-bot [Wed, 30 Sep 2015 04:07:06 +0000 (04:07 +0000)]
Merge "Improved getWithSetCallback() docs to have more use cases"

8 years agoMerge "Add option to expose original sha1 in thumb url"
jenkins-bot [Wed, 30 Sep 2015 01:43:52 +0000 (01:43 +0000)]
Merge "Add option to expose original sha1 in thumb url"

8 years agoAdded testStaleSet() WAN cache test
Aaron Schulz [Wed, 30 Sep 2015 01:14:48 +0000 (18:14 -0700)]
Added testStaleSet() WAN cache test

Change-Id: Ib8565c48af09af0df1809e877fde9d4d6c7e7038

8 years agoMerge "resourceloader: Vary module_deps on language (in addition to skin)"
jenkins-bot [Wed, 30 Sep 2015 00:51:11 +0000 (00:51 +0000)]
Merge "resourceloader: Vary module_deps on language (in addition to skin)"

8 years agoMerge "Fix Memcached key decode"
jenkins-bot [Wed, 30 Sep 2015 00:43:19 +0000 (00:43 +0000)]
Merge "Fix Memcached key decode"

8 years agoMerge "resourceloader: Store relative instead of absolute paths in module_deps"
jenkins-bot [Wed, 30 Sep 2015 00:42:38 +0000 (00:42 +0000)]
Merge "resourceloader: Store relative instead of absolute paths in module_deps"

8 years agoresourceloader: Vary module_deps on language (in addition to skin)
Timo Tijhof [Wed, 30 Sep 2015 00:15:57 +0000 (17:15 -0700)]
resourceloader: Vary module_deps on language (in addition to skin)

Re-use the md_skin database field for now as to not need a
schema change, beause this table is going away soon (T113916).

Bug: T113868
Change-Id: I7c7546ec58fd9be0447604989b908dd2084b0fe3

8 years agoAdded DeleteLinksJob to support purging backlinks via job runners
Aaron Schulz [Tue, 22 Sep 2015 19:07:05 +0000 (12:07 -0700)]
Added DeleteLinksJob to support purging backlinks via job runners

* This jobs should only be constructed via relevant Content object,
  e.g. the result of enqueueUpdate() being called on a DataUpdate
  returned by Content::getSecondaryUpdates().
* Also modified LinksDeletionUpdate to support a $pageId parameter.
* LinksDeletionUpdate can now be enqueued to a DeleteLinksJob.

Change-Id: I650dcf0bd172ede0d61357ec158a4704ae1f2033

8 years agoImproved getWithSetCallback() docs to have more use cases
Aaron Schulz [Wed, 30 Sep 2015 00:25:38 +0000 (17:25 -0700)]
Improved getWithSetCallback() docs to have more use cases

Change-Id: I428617c159009f22fa78129c16a8964ac2e830b9

8 years agoresourceloader: Store relative instead of absolute paths in module_deps
Timo Tijhof [Wed, 23 Sep 2015 01:35:38 +0000 (02:35 +0100)]
resourceloader: Store relative instead of absolute paths in module_deps

Make paths stored in the module_deps table relative to $IP. This ensures that when
the MediaWiki install path changes and/or if the location of the extension or skins
directory changes, that ResourceLoader's internal model is still accurate.

Previously when these paths change, ResourceLoader would exhibit various bugs.

1. Unable to detect changes in the module (if the directory no longer exists).
2. Point #1 is usually preceeded by one last cache invalidation as the content hash
   of the file path changes (from a valid hash to an empty string).
3. Unnecessary cache invalidation (if both old and new directories exist). This
   happens when a file is both an entry point (in the 'scripts' or 'styles' array)
   and also a file dependency. At first they are de-duplicated by array_unique.
   But after the disk path changes, the next check will result in the old path
   being fetched from module_deps, and the new path from the live configuration.
   This causes two changes that result in needless cache invalidation:
   - The hash list contains one more item (T111481).
   - The hash list contains both the old and new version of a file.
     (or even alternate versions, e.g. when a change is backported to the old
     wmf branch; it also affects wikis on the new branch due to the stale
     file path still in the database).

It seems unusual to move a MediaWiki install, and usually we recommend third
parties to run update.php if site administrators do move their wiki. However
Wikimedia's deployment system implicitly moves the MediaWiki install continously
from e.g. "/srv/mediawiki/php-1.26wmf5" to "/srv/mediawiki/php-1.26wmf6".

This caused virtually all ResourceLoader caching layers to get invalidated every
week when another wmf-branch is deployed, thus breaking these file paths, which
changes the version hash, which then invalidates the cache.

Bug: T111481
Change-Id: I173a9820b3067c4a6598a4c8d77e239797d2659c

8 years agoRemove b/c dependency of mediawiki.widgets upon the DateInputWidget
Kunal Mehta [Tue, 29 Sep 2015 22:54:30 +0000 (15:54 -0700)]
Remove b/c dependency of mediawiki.widgets upon the DateInputWidget

The only uses in gerrit were MediaWiki's ForeignStructuredUpload,
updated in 6318b4af, and the UploadWizard extension, updated in
f4632c01.

Change-Id: Ic404d9fb07008cdc2393e20cf92e7ec173e06473

8 years agoMerge "ForeignStructuredUpload: Depend on mediawiki.widgets.DateInputWidget"
jenkins-bot [Wed, 30 Sep 2015 00:16:20 +0000 (00:16 +0000)]
Merge "ForeignStructuredUpload: Depend on mediawiki.widgets.DateInputWidget"

8 years agoMerge "mediawiki.api.upload: Fix jsduck indentation error"
jenkins-bot [Wed, 30 Sep 2015 00:14:23 +0000 (00:14 +0000)]
Merge "mediawiki.api.upload: Fix jsduck indentation error"

8 years agoForeignStructuredUpload: Depend on mediawiki.widgets.DateInputWidget
James D. Forrester [Tue, 29 Sep 2015 23:35:44 +0000 (16:35 -0700)]
ForeignStructuredUpload: Depend on mediawiki.widgets.DateInputWidget

Change-Id: I1ba1b5eb415edb7de8d41429199658e9df21cb5c

8 years agoMerge "FauxResponse: Honor cookie options, and other cleanup"
jenkins-bot [Tue, 29 Sep 2015 23:09:50 +0000 (23:09 +0000)]
Merge "FauxResponse: Honor cookie options, and other cleanup"

8 years agoMerge "Bump oyejorge/less.php to 1.7.0.9"
jenkins-bot [Tue, 29 Sep 2015 23:00:16 +0000 (23:00 +0000)]
Merge "Bump oyejorge/less.php to 1.7.0.9"

8 years agoIntroduce CategoryMembershipChange
addshore [Thu, 17 Sep 2015 09:51:25 +0000 (10:51 +0100)]
Introduce CategoryMembershipChange

This is split from:
I03516bb34144d95e5f25c46ae98ab70ce699b31b

Change-Id: I27539d25ef3e81cf991657dffc0a62b9719d21d8

8 years agomediawiki.api.upload: Fix jsduck indentation error
Timo Tijhof [Tue, 29 Sep 2015 22:49:50 +0000 (15:49 -0700)]
mediawiki.api.upload: Fix jsduck indentation error

Follows-up 4738b66e754.

The incorrect indentation caused the second line of this description
to be rendered as a <pre> block.

Change-Id: I99b9718234073ed4e7ae02396ff8eb54f87fe1aa

8 years agoFauxResponse: Honor cookie options, and other cleanup
Brad Jorsch [Tue, 29 Sep 2015 02:09:07 +0000 (22:09 -0400)]
FauxResponse: Honor cookie options, and other cleanup

We have this nice class for unit testing cookie-setting, but the
cookie-setting method ignores all the parameters! Fix that. Also provide
accessors to check the entire set of cookie data, and the set cookies as
a whole.

While this does change the semantics of FauxRequest::getcookie() in that
the name now needs to be prefixed, no extension in Gerrit uses this
method so we should be fine.

Also clean up the case of the setCookie and getCookie methods while
we're at it. Since PHP method names are case-insensitive, this doesn't
even break compatibility with extensions.

Change-Id: Ib44a074bf9796bc0b470d557e39465792f399d30

8 years agoMerge "Split DateInputWidget & CalendarWidget into a separate ResourceLoader module"
jenkins-bot [Tue, 29 Sep 2015 22:40:05 +0000 (22:40 +0000)]
Merge "Split DateInputWidget & CalendarWidget into a separate ResourceLoader module"

8 years agoBump oyejorge/less.php to 1.7.0.9
Bryan Davis [Tue, 29 Sep 2015 22:39:41 +0000 (16:39 -0600)]
Bump oyejorge/less.php to 1.7.0.9

Fixes leading whitespace in oyejorge/less.php/lib/Less/Version.php

Change-Id: Ifbc353b583fc182c0dc297ccacc8102ed9279c59

8 years agoSplit DateInputWidget & CalendarWidget into a separate ResourceLoader module
Kunal Mehta [Mon, 28 Sep 2015 22:56:26 +0000 (15:56 -0700)]
Split DateInputWidget & CalendarWidget into a separate ResourceLoader module

...as the first step to splitting up the 'mediawiki.widgets' module.

For backwards-compatibility, it is a dependency of 'mediawiki.widgets'
until extensions that use the widget can be updated.

Also create the `mediaWiki.widgets` object in mediawiki.js instead of
having an entire file just for that one line.

Bug: T108733
Change-Id: Ife4cfba278dad063a3609929ff87eda7c877d589

8 years agoMerge "Refactored global state out of EnqueueableDataUpdate"
jenkins-bot [Tue, 29 Sep 2015 22:08:05 +0000 (22:08 +0000)]
Merge "Refactored global state out of EnqueueableDataUpdate"

8 years agoMerge "Removed old fake slave hacks used for debug log testing"
jenkins-bot [Tue, 29 Sep 2015 22:05:35 +0000 (22:05 +0000)]
Merge "Removed old fake slave hacks used for debug log testing"

8 years agoRefactored global state out of EnqueueableDataUpdate
Aaron Schulz [Thu, 24 Sep 2015 22:45:09 +0000 (15:45 -0700)]
Refactored global state out of EnqueueableDataUpdate

* Follow-up 25a44aa3e4fa
* The static DataUpdate::enqueueUpdates() method will
  deal with JobQueueGroup construction instead

Change-Id: Id7741a770cee81fdc3f61804b7574ccf737bc338

8 years agoAdd option to expose original sha1 in thumb url
Gilles Dubuc [Mon, 14 Sep 2015 17:03:04 +0000 (19:03 +0200)]
Add option to expose original sha1 in thumb url

Bug: T112546
Change-Id: I545586ff8d0020d00d9faa1dff2d0d9721134452

8 years agoUpdate OOjs UI to v0.12.10
James D. Forrester [Tue, 29 Sep 2015 21:23:51 +0000 (14:23 -0700)]
Update OOjs UI to v0.12.10

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

Change-Id: I048794c2c3e66e11762598ed97db31afc00cba0c

8 years agoMerge "More namespace translations for Extremeñu (ext)"
jenkins-bot [Tue, 29 Sep 2015 21:06:29 +0000 (21:06 +0000)]
Merge "More namespace translations for Extremeñu (ext)"

8 years agoMerge "Actually declare the base LoadMonior::clearCaches"
jenkins-bot [Tue, 29 Sep 2015 20:49:18 +0000 (20:49 +0000)]
Merge "Actually declare the base LoadMonior::clearCaches"

8 years agoMerge "Removed $options from RecentChange::newFromConds"
jenkins-bot [Tue, 29 Sep 2015 20:33:18 +0000 (20:33 +0000)]
Merge "Removed $options from RecentChange::newFromConds"

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 29 Sep 2015 19:45:20 +0000 (21:45 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I91a42f708cd83f7dd52a91641088148add7f9a83

8 years agoAvoid paranoid IDEA error on $conn->getSlavePos() call
Aaron Schulz [Tue, 29 Sep 2015 08:32:34 +0000 (01:32 -0700)]
Avoid paranoid IDEA error on $conn->getSlavePos() call

Change-Id: I07ca17ad3a434496a3cc14112ad361457c096b4b

8 years agoMerge "Work around IE9's broken handling of .styleSheet.cssText"
jenkins-bot [Tue, 29 Sep 2015 19:16:53 +0000 (19:16 +0000)]
Merge "Work around IE9's broken handling of .styleSheet.cssText"

8 years agoWork around IE9's broken handling of .styleSheet.cssText
Bartosz Dziewoński [Mon, 28 Sep 2015 17:12:06 +0000 (19:12 +0200)]
Work around IE9's broken handling of .styleSheet.cssText

IE9 drops @media queries from .styleSheet.cssText when that property
is read. Therefore we can't trust it to contain what we put there
previously.

Bug: T108727
Change-Id: Ic4f553966e48e3fc608a47ef193df923227ceb96

8 years agomw.widgets.CategorySelector: Link to category page and display existence status
Bartosz Dziewoński [Thu, 24 Sep 2015 18:45:36 +0000 (20:45 +0200)]
mw.widgets.CategorySelector: Link to category page and display existence status

This contains a silly amount of code to avoid firing separate requests
for each CategoryCapsuleItemWidget that is created, which really
should be a separate class shared with TitleInputWidget but isn't now.
The real widget code here is quite simple.

Change-Id: I66e603fd45b8d3fd61618f9115cd031f6fa01e9d

8 years agoUser::incEditCountImmediate(): Add explicit IS NOT NULL check
Kevin Israel [Fri, 25 Sep 2015 04:15:14 +0000 (00:15 -0400)]
User::incEditCountImmediate(): Add explicit IS NOT NULL check

Within the UPDATE query, if user_editcount IS NULL, user_editcount+1 will
also be NULL, and the change becomes a no-op. So in MySQL, the number of
affected rows would be zero, which is the number of rows that actually
changed.

However, other DBMSs (e.g. PostgreSQL, SQLite) do count no-op changes,
meaning the code would not initialize user_editcount if it were NULL.
Explicitly checking for NULL should ensure consistent behavior across
database types.

Also, if the CLIENT_FOUND_ROWS flag is set when connecting to MySQL, the
server returns "Rows matched:" instead of "Changed:" as the affected row
count. This change would be necessary if MediaWiki, like Drupal, is
changed to use that flag <https://www.drupal.org/node/805858>.

Change-Id: Idac160bae56adc5c5d17f8558c55d87000019741

8 years agoMerge "Remove $wgUseLinkNamespaceDBFields"
jenkins-bot [Tue, 29 Sep 2015 18:24:56 +0000 (18:24 +0000)]
Merge "Remove $wgUseLinkNamespaceDBFields"

8 years agoMore namespace translations for Extremeñu (ext)
maurelio [Tue, 29 Sep 2015 18:00:02 +0000 (20:00 +0200)]
More namespace translations for Extremeñu (ext)

Change-Id: I1bdadbbeb7a416e1047d5961a3579a367aae1be8

8 years agoRemove $wgUseLinkNamespaceDBFields
umherirrender [Tue, 29 Sep 2015 18:00:33 +0000 (20:00 +0200)]
Remove $wgUseLinkNamespaceDBFields

Marked as may removed with 1.25, 1.27 should be okay than.

Change-Id: I4ccd7dfe79fa555946cab64dd1eb179a3fc8291d

8 years agoRemoved $options from RecentChange::newFromConds
Aaron Schulz [Tue, 29 Sep 2015 17:31:55 +0000 (10:31 -0700)]
Removed $options from RecentChange::newFromConds

* The FORCE INDEX statements are not needed

Change-Id: Ia6f386140e88ad01fc35a10b00dbcb0d1eb934ea

8 years agoMake it more obvious that users can remove their email address
Glaisher [Mon, 28 Sep 2015 16:42:52 +0000 (21:42 +0500)]
Make it more obvious that users can remove their email address

* Add help message to new email address field indicating that the field
  should be left blank if the user want to remove their email address.
  and the consequences of no email address it.
* Update changeemail related messages.

Bug: T98799
Change-Id: Ie92e393207ee30811fd30e25e72b9e523d95fd62

8 years agoMerge "Add mw.ForeignStructuredUpload.BookletLayout"
jenkins-bot [Tue, 29 Sep 2015 16:09:37 +0000 (16:09 +0000)]
Merge "Add mw.ForeignStructuredUpload.BookletLayout"

8 years agoMerge "mediawiki.jqueryMsg: Allow more than one thing inside a wikilink"
jenkins-bot [Tue, 29 Sep 2015 16:07:11 +0000 (16:07 +0000)]
Merge "mediawiki.jqueryMsg: Allow more than one thing inside a wikilink"

8 years agoMerge "Fix plural in mergehistory-done message"
jenkins-bot [Tue, 29 Sep 2015 15:42:53 +0000 (15:42 +0000)]
Merge "Fix plural in mergehistory-done message"

8 years agoMerge "Fix incomplete PHPDoc tags in ApiBase"
jenkins-bot [Tue, 29 Sep 2015 15:32:52 +0000 (15:32 +0000)]
Merge "Fix incomplete PHPDoc tags in ApiBase"

8 years agoFix plural in mergehistory-done message
Glaisher [Tue, 29 Sep 2015 15:20:09 +0000 (20:20 +0500)]
Fix plural in mergehistory-done message

Follow up to I9931bf48182bd41ff32bdac1798336319f233341

Change-Id: Ia4eb3bef3a11faef654922fe05c0d9ef98dc9b90

8 years agomw.widgets.TitleOptionWidget: Prevent page navigation by clicking labels
Bartosz Dziewoński [Tue, 29 Sep 2015 15:09:04 +0000 (17:09 +0200)]
mw.widgets.TitleOptionWidget: Prevent page navigation by clicking labels

However, allow opening the link in a new tab.

The same code is used in other components, e.g. jquery.suggestions.

Follow-up to ba358947bfb81b58d64489063bd4be816d1a46da.

Change-Id: Ie6840a20c1cc1a10fb1fb74717982dbe7e331d36

8 years agoFix incomplete PHPDoc tags in ApiBase
Thiemo Mättig [Wed, 2 Sep 2015 12:13:45 +0000 (14:13 +0200)]
Fix incomplete PHPDoc tags in ApiBase

Change-Id: Icb388723e51c8b07fee3900b98795cfe623942ac

8 years agoAdd mw.ForeignStructuredUpload.BookletLayout
Prateek Saxena [Wed, 2 Sep 2015 10:48:37 +0000 (16:18 +0530)]
Add mw.ForeignStructuredUpload.BookletLayout

Bug: T91717
Change-Id: Ibf283fd185e191ed6ac8668efe6409f11e73f439

8 years agomediawiki.jqueryMsg: Allow more than one thing inside a wikilink
Bartosz Dziewoński [Mon, 28 Sep 2015 21:13:54 +0000 (23:13 +0200)]
mediawiki.jqueryMsg: Allow more than one thing inside a wikilink

So that [[foo|bar {{SITENAME}}]] becomes parseable.

Change-Id: Idf825e4df24cb9a10cac136811936e54e8fce7b6

8 years agoMerge "mw.widgets.DateInputWidget: Actually display the indicator"
jenkins-bot [Tue, 29 Sep 2015 14:24:32 +0000 (14:24 +0000)]
Merge "mw.widgets.DateInputWidget: Actually display the indicator"

8 years agoMerge "SpecialMergeHistory: add redirect=no on target parameter on success message"
jenkins-bot [Tue, 29 Sep 2015 14:15:18 +0000 (14:15 +0000)]
Merge "SpecialMergeHistory: add redirect=no on target parameter on success message"

8 years agomw.widgets.DateInputWidget: Actually display the indicator
Bartosz Dziewoński [Mon, 28 Sep 2015 23:32:37 +0000 (01:32 +0200)]
mw.widgets.DateInputWidget: Actually display the indicator

We were only passing stuff around...

Change-Id: I0d494cffae0c26a6b04ffe102e9e9d6f3c5f5c81

8 years agomw.widgets.DateInputWidget: Actually enforce date requiredness
Bartosz Dziewoński [Mon, 28 Sep 2015 22:22:03 +0000 (00:22 +0200)]
mw.widgets.DateInputWidget: Actually enforce date requiredness

Also, never set 'invalid' flag before the user interacts
with the widget.

Change-Id: I1a00fcbd9d2f675487e821316a3b5ece6845e343

8 years agoSpecialMergeHistory: add redirect=no on target parameter on success message
Glaisher [Mon, 28 Sep 2015 17:40:40 +0000 (22:40 +0500)]
SpecialMergeHistory: add redirect=no on target parameter on success message

Removes mergehistory-success message and introduce mergehistory-done
so that fullurl doesn't have to be added to each translation message.

Bug: T85650
Change-Id: I9931bf48182bd41ff32bdac1798336319f233341

8 years agoMerge "mw.widgets.DateInputWidget: Implement $overlay config option"
jenkins-bot [Tue, 29 Sep 2015 12:33:18 +0000 (12:33 +0000)]
Merge "mw.widgets.DateInputWidget: Implement $overlay config option"

8 years agoMerge "OOjs UI: Backport d190bc51e60195eed81f147e9324c9ec21c9e68c"
jenkins-bot [Tue, 29 Sep 2015 12:33:15 +0000 (12:33 +0000)]
Merge "OOjs UI: Backport d190bc51e60195eed81f147e9324c9ec21c9e68c"

8 years agoMerge "Remove blue border from DateInputWidget calendar"
jenkins-bot [Tue, 29 Sep 2015 12:24:00 +0000 (12:24 +0000)]
Merge "Remove blue border from DateInputWidget calendar"

8 years agoMerge "Fallback and namespace names changes for Asturianu (ast)"
jenkins-bot [Tue, 29 Sep 2015 10:28:30 +0000 (10:28 +0000)]
Merge "Fallback and namespace names changes for Asturianu (ast)"

8 years agoMerge "Use variable documentation in Preprocessor_DOM.php"
jenkins-bot [Tue, 29 Sep 2015 10:11:46 +0000 (10:11 +0000)]
Merge "Use variable documentation in Preprocessor_DOM.php"

8 years agoMerge "Give instructions on removing email address from account"
jenkins-bot [Tue, 29 Sep 2015 10:11:42 +0000 (10:11 +0000)]
Merge "Give instructions on removing email address from account"

8 years agoActually declare the base LoadMonior::clearCaches
Aaron Schulz [Tue, 29 Sep 2015 08:22:02 +0000 (01:22 -0700)]
Actually declare the base LoadMonior::clearCaches

This fixes IDEA errors in LoadBalancer::clearLagTimeCache

Change-Id: Ibd863ef6bc670a29f65821e3f3cd9d721a652b9a

8 years agoRemoved old fake slave hacks used for debug log testing
Aaron Schulz [Tue, 29 Sep 2015 07:44:48 +0000 (00:44 -0700)]
Removed old fake slave hacks used for debug log testing

* Any modern automatic tests would use mocking methods

Change-Id: I5fbd8ebe7090f75bdcccc7a2848ae88f34a64512

8 years agoFallback and namespace names changes for Asturianu (ast)
maurelio [Tue, 29 Sep 2015 07:02:37 +0000 (09:02 +0200)]
Fallback and namespace names changes for Asturianu (ast)

* Set $fallback to Spanish (es), as Asturianu (ast) is a language spoken
solely in Spain. If a message is missing it'd be far more easier for local
users to understand Spanish rather than English.

* Added namespace gender aliases for asturianu.

Change-Id: Iafad07bae88bff5e6c39e5759f2ef4e5efcade1e

8 years agoChinese Conversion Table Update 2015-8
Chiefwei [Tue, 29 Sep 2015 06:29:46 +0000 (14:29 +0800)]
Chinese Conversion Table Update 2015-8

Update the Chinese conversion table routinely to fix bugs reported from
https://zh.wikipedia.org/wiki/Wikipedia:%E5%AD%97%E8%AF%8D%E8%BD%AC%E6%8D%A2/%E4%BF%AE%E5%A4%8D%E8%AF%B7%E6%B1%82 .

It is only data changes and only works for Chinese WikiProjects.

Change-Id: Ic9a467a79a0a4c2af8092ff8e22200993e801492

8 years agoMerge "Clarified WAN cache docs by using "datacenter" consistently"
jenkins-bot [Tue, 29 Sep 2015 05:46:30 +0000 (05:46 +0000)]
Merge "Clarified WAN cache docs by using "datacenter" consistently"

8 years agoMerge "Restructure /resources/src/mediawiki.page/"
jenkins-bot [Tue, 29 Sep 2015 04:12:03 +0000 (04:12 +0000)]
Merge "Restructure /resources/src/mediawiki.page/"

8 years agoMerge "WatchAction: Clean up redundant getFormFields() and show()"
jenkins-bot [Tue, 29 Sep 2015 03:50:47 +0000 (03:50 +0000)]
Merge "WatchAction: Clean up redundant getFormFields() and show()"

8 years agoRestructure /resources/src/mediawiki.page/
Timo Tijhof [Tue, 29 Sep 2015 03:15:48 +0000 (20:15 -0700)]
Restructure /resources/src/mediawiki.page/

Follows-up 0bfdd927.

Change-Id: I65b9343ea002c332323ededf4e328e4463faf698

8 years agoRestructure /resources/src/mediawiki.api/
Timo Tijhof [Tue, 29 Sep 2015 03:05:09 +0000 (20:05 -0700)]
Restructure /resources/src/mediawiki.api/

Re-do Ifbb0f6751 in a smaller scope as a first step.

Change-Id: I346f3587d3bfeaf0fe3467cd1f4dcf2d134ecc08