lhc/web/wiklou.git
10 years agoMake gallery properties publically accessible.
Mark A. Hershberger [Sat, 3 May 2014 17:12:18 +0000 (13:12 -0400)]
Make gallery properties publically accessible.

They were public in the previous release of MediaWiki (1.22), although
the visibility was not set explicitly.

See I779d5a683982dc25bc7cdd30addd5870f2a7efd0 and
https://github.com/SemanticMediaWiki/SemanticResultFormats/issues/12

Change-Id: I309cf46891223c5f1520e97b04d4ed315a300e7a

10 years agoMerge "Use an actual URL for helppage in enotif_body"
jenkins-bot [Sat, 3 May 2014 16:00:59 +0000 (16:00 +0000)]
Merge "Use an actual URL for helppage in enotif_body"

10 years agoUse an actual URL for helppage in enotif_body
Federico Leva [Thu, 10 Apr 2014 16:11:06 +0000 (18:11 +0200)]
Use an actual URL for helppage in enotif_body

The helppage can be a full URL, which canonicalurl doesn't like.

This means that if a wiki
* has a custom enotif_body which uses canonicalurl + helppage, but
* doesn't have helppage defined locally (as local/interwiki title),
then it will still have to fix either of the two locally.

Bug: 63269
Change-Id: I82d26b648ef23b69ae4fbd0a74ffa23eb7a93dae

10 years agoMerge "Check for the namespace correctly in Special:Allmessages"
jenkins-bot [Sat, 3 May 2014 08:33:09 +0000 (08:33 +0000)]
Merge "Check for the namespace correctly in Special:Allmessages"

10 years agoAdded missing File::RENDER_NOW flag to thumb.php
Aaron Schulz [Fri, 2 May 2014 23:33:14 +0000 (16:33 -0700)]
Added missing File::RENDER_NOW flag to thumb.php

Change-Id: I5f05b09272ebcad5cf8409af7ad61d9e9004a2f0

10 years agoMerge "Update OOjs UI to v0.1.0-pre (9a6c625f5f)"
jenkins-bot [Fri, 2 May 2014 21:57:37 +0000 (21:57 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (9a6c625f5f)"

10 years agoMerge "Update OOjs UI to v0.1.0-pre (e6edd86d37)"
jenkins-bot [Fri, 2 May 2014 21:57:35 +0000 (21:57 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (e6edd86d37)"

10 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Fri, 2 May 2014 20:12:29 +0000 (20:12 +0000)]
Merge "Localisation updates from https://translatewiki.net."

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 2 May 2014 19:47:25 +0000 (19:47 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I65fccf05eac621d55e6404631359d5add9499b1f

10 years agoRestore mediawiki.toc dependency on mediawiki.util
Timo Tijhof [Fri, 2 May 2014 19:45:44 +0000 (21:45 +0200)]
Restore mediawiki.toc dependency on mediawiki.util

Follows-up If0438b7b6f4649, which broken the toc toggle module
since it was no longer part of a global module (mediawiki.util)
but only added to individual pages by the parser.

While that is a superior load mechanism, it broke existing pages
due to parser cache. Not the general html cache for logged-out
users but the main parser cache, which affects logged-in users
as well.

Bug: 64765
Change-Id: Ia12998fb11c686e1cc965578f7beb31c79b1b12c

10 years agoUpdate OOjs UI to v0.1.0-pre (9a6c625f5f)
James D. Forrester [Fri, 2 May 2014 19:04:45 +0000 (12:04 -0700)]
Update OOjs UI to v0.1.0-pre (9a6c625f5f)

New changes:
9a6c625 Fix regression in frame style scoping

Change-Id: Ia8d4a7525d951a1b59c0c983262d868ed6d379ed

10 years agoMerge "Rename basic skinning modules: skins.common.* → mediawiki.skinning.*"
jenkins-bot [Fri, 2 May 2014 18:38:22 +0000 (18:38 +0000)]
Merge "Rename basic skinning modules: skins.common.* → mediawiki.skinning.*"

10 years agoMerge "jquery.makeCollapsible: Use the pointer cursor for all toggles"
jenkins-bot [Fri, 2 May 2014 18:24:52 +0000 (18:24 +0000)]
Merge "jquery.makeCollapsible: Use the pointer cursor for all toggles"

10 years agoMerge "jquery.textSelection: Remove hardcoded checks for removed WikiEditor iframe...
jenkins-bot [Fri, 2 May 2014 18:19:38 +0000 (18:19 +0000)]
Merge "jquery.textSelection: Remove hardcoded checks for removed WikiEditor iframe mode"

10 years agojquery.makeCollapsible: Use the pointer cursor for all toggles
Derk-Jan Hartman [Thu, 18 Jul 2013 17:39:45 +0000 (19:39 +0200)]
jquery.makeCollapsible: Use the pointer cursor for all toggles

Change-Id: I82030a5879782eb2475a3a4bc2e0bb2988add06a

10 years agoMerge "HtmlFormatter: fix check for empty ruleset"
jenkins-bot [Fri, 2 May 2014 18:00:37 +0000 (18:00 +0000)]
Merge "HtmlFormatter: fix check for empty ruleset"

10 years agoMerge "Made wfThumbIsStandard() aware of the width/height handler scaling choice"
jenkins-bot [Fri, 2 May 2014 17:59:16 +0000 (17:59 +0000)]
Merge "Made wfThumbIsStandard() aware of the width/height handler scaling choice"

10 years agoUpdate OOjs UI to v0.1.0-pre (e6edd86d37)
Roan Kattouw [Fri, 2 May 2014 17:42:57 +0000 (10:42 -0700)]
Update OOjs UI to v0.1.0-pre (e6edd86d37)

New changes:
e1c2ae8 [BREAKING CHANGE] Cleanup widget focus/select/clear methods

Change-Id: I7214257bcd33b400df4f7b1d8c2be317936f0cff

10 years agoRename basic skinning modules: skins.common.* → mediawiki.skinning.*
Bartosz Dziewoński [Tue, 29 Apr 2014 08:37:46 +0000 (10:37 +0200)]
Rename basic skinning modules: skins.common.* → mediawiki.skinning.*

For consistency in module naming: skins.* contains the modules for
particular skins, mediawiki.* contains the modules for core MediaWiki
itself. Clearly this belongs more to the latter than the former.
'skinning' is probably the best thing to name these to not sound silly
and avoid confusion with actual skins.

(The fact that there are files in skins/ that are not skin-related is
a remnant of bad decisions in the past. I want to clean that up as
well this year.)

Updated release notes and usages, kept old definitions for HTML
backwards-compatibility (for 30 days on WMF deployment).

I intend to backport this to 1.23 (sans the compatibility modules).
Otherwise the current module names become "public API" and we either
break compatibility later or support them forever.

Change-Id: I3947eaacd389eaba32f6fc8370395caec4aa1edb

10 years agoMerge "Fix API login after I7c957e1e"
jenkins-bot [Fri, 2 May 2014 15:53:59 +0000 (15:53 +0000)]
Merge "Fix API login after I7c957e1e"

10 years agoRelease notes for recent HTMLForm changes
Brad Jorsch [Tue, 11 Mar 2014 16:37:34 +0000 (12:37 -0400)]
Release notes for recent HTMLForm changes

Change-Id: I1828914e01eab6be0ce45b3f08b7a60242bd4c12

10 years agoHTMLForm: Add "cloner" type
Brad Jorsch [Fri, 7 Mar 2014 16:03:32 +0000 (11:03 -0500)]
HTMLForm: Add "cloner" type

SecurePoll is going to need the ability to have a form for stuff like
"one or more admin usernames" and "one or more poll questions, each with
one or more options".

This change implements a generic field container that simply displays as
a <ul> followed by an "add more" button, with each <li> containing
various fields including a "remove" button.

Since this is only going to show up in SecurePoll to people creating a
poll (not to general users), the current design is functional but not
necessarily beautiful. Those interested in beauty are welcome to do so
in a followup change.

Change-Id: I46fad3971739ddc961259fe32eb6e1cd265a1c06

10 years agoHTMLForm: Add hide-if
Brad Jorsch [Thu, 27 Feb 2014 17:14:38 +0000 (12:14 -0500)]
HTMLForm: Add hide-if

SecurePoll will need a way to display a field only if another field has
a particular value.

We already have this for a limited case in HTMLSelectOrOtherField; this
makes it possible to specify that any particular field should be hidden
based on any other field.

Change-Id: I5d2e6fb1efba0ad97647ac140e2b9a9ac0aee06e

10 years agoFix API login after I7c957e1e
Brad Jorsch [Fri, 2 May 2014 14:09:40 +0000 (10:09 -0400)]
Fix API login after I7c957e1e

Prior to change I7c957e1e, API logins were done as if the "keep me
logged in" checkbox was checked. That change altered this for no
apparent reason.

Bug: 64727
Change-Id: I7fcca2a1eabcac3b2c232cd05d9989af85cc3ed0

10 years agoCheck for the namespace correctly in Special:Allmessages
Amir E. Aharoni [Fri, 2 May 2014 11:31:09 +0000 (13:31 +0200)]
Check for the namespace correctly in Special:Allmessages

This is a followup to I21a6d4359faf9d86ce3b01e423e8c3ab4c02658f

It fixes an error there, which causes a lot of messages
not to appear.

This checks for the namespace of the page correctly.

Change-Id: I63a34a4d674454edf9627a5893ef9dd15643f927

10 years agoMerge "Made TransactionProfiler handle nested transactions to the same server/DB"
jenkins-bot [Fri, 2 May 2014 05:21:17 +0000 (05:21 +0000)]
Merge "Made TransactionProfiler handle nested transactions to the same server/DB"

10 years agoMerge "Initialize static input to null"
jenkins-bot [Fri, 2 May 2014 05:17:02 +0000 (05:17 +0000)]
Merge "Initialize static input to null"

10 years agoMade partial file download errors in Swift more useful
Aaron Schulz [Thu, 1 May 2014 19:34:42 +0000 (12:34 -0700)]
Made partial file download errors in Swift more useful

Change-Id: I97a5cd1ed38508468122e33968b88adf2570a9a3

10 years agoConsistency tweak: Add www. to mediawiki.org
Raimond Spekking [Thu, 1 May 2014 21:11:49 +0000 (23:11 +0200)]
Consistency tweak: Add www. to mediawiki.org

Change-Id: I14f69248fb65fc2c6f396910e3475b64606b380a

10 years agoHtmlFormatter: fix check for empty ruleset
Max Semenik [Wed, 30 Apr 2014 18:46:52 +0000 (11:46 -0700)]
HtmlFormatter: fix check for empty ruleset

This ensures that no unneeded HTML parse will occur

Change-Id: I2fae4bea555f823e5244c1430f9f3f43a3f78b71

10 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Thu, 1 May 2014 20:37:39 +0000 (20:37 +0000)]
Merge "Localisation updates from https://translatewiki.net."

10 years agoMerge "Expand core post edit functionality to match VE"
jenkins-bot [Thu, 1 May 2014 20:29:02 +0000 (20:29 +0000)]
Merge "Expand core post edit functionality to match VE"

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 1 May 2014 20:12:08 +0000 (20:12 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Ia1b1f7e1cfdd30cb258acb2f12717a00a9edb32c

10 years agoInitialize static input to null
csteipp [Thu, 1 May 2014 19:58:46 +0000 (12:58 -0700)]
Initialize static input to null

Followup to I8710844f21d21cbbf28517b0cc25b0713b506bee.

Change-Id: I1163deeaf18a31480ed425c7aedd0024591fd4ce

10 years agoMerge "mediawiki.util.test: Suppress deprecation notice for jsMessage"
jenkins-bot [Thu, 1 May 2014 19:43:39 +0000 (19:43 +0000)]
Merge "mediawiki.util.test: Suppress deprecation notice for jsMessage"

10 years agoMade TransactionProfiler handle nested transactions to the same server/DB
Aaron Schulz [Thu, 1 May 2014 07:08:52 +0000 (00:08 -0700)]
Made TransactionProfiler handle nested transactions to the same server/DB

Change-Id: Ie4dfd4af88a9da76c76b21053bbd125c6ad3b193

10 years agoUpdate OOjs UI to v0.1.0-pre (301887f487)
James D. Forrester [Thu, 1 May 2014 19:36:20 +0000 (12:36 -0700)]
Update OOjs UI to v0.1.0-pre (301887f487)

New changes:
d641133 Add Agora theme dialogs

Change-Id: Ia43507e933bf728b6a8f1d15b2fc0ffb8e998ae3

10 years agoMerge "mediawiki.js: Move stray lines int global scope to closure"
jenkins-bot [Thu, 1 May 2014 19:33:49 +0000 (19:33 +0000)]
Merge "mediawiki.js: Move stray lines int global scope to closure"

10 years agoAdjust indent of some comment blocks
umherirrender [Wed, 30 Apr 2014 18:53:31 +0000 (20:53 +0200)]
Adjust indent of some comment blocks

Change-Id: Ic25419490fa6a35c11ccc2b7810527e6661e027c

10 years agoAdd missing @return in Language.php
umherirrender [Wed, 30 Apr 2014 18:01:16 +0000 (20:01 +0200)]
Add missing @return in Language.php

Change-Id: I977bc5bf21235ce0f07cf0214597a37afad2b4eb

10 years agoMerge "Update default contents of interwiki table"
jenkins-bot [Thu, 1 May 2014 18:37:49 +0000 (18:37 +0000)]
Merge "Update default contents of interwiki table"

10 years agoMerge "i18n: consistency tweaks"
jenkins-bot [Thu, 1 May 2014 18:26:08 +0000 (18:26 +0000)]
Merge "i18n: consistency tweaks"

10 years agoMerge "Remove linktrail equal to 'en'"
jenkins-bot [Thu, 1 May 2014 16:42:31 +0000 (16:42 +0000)]
Merge "Remove linktrail equal to 'en'"

10 years agomediawiki.js: Move stray lines int global scope to closure
Timo Tijhof [Wed, 30 Apr 2014 19:38:31 +0000 (21:38 +0200)]
mediawiki.js: Move stray lines int global scope to closure

There was a local variable "mw" in the (implied) global scope,
which then got assigned to "window.mw". That's a bit odd having
both.

There were also some extra lines hanging outside the closure
(where we used jQuery instead of $).

Make the local "mw" actually local and move the rest into the
closure as well.

Remove obsolete "undefined" variable reset. Per code conventions,
we don't support environments that define "undefined". Most of
our modules already don't account for this but mediawiki base
still did.

Change-Id: Iab31788cc6413d0185d868da9cce130fd4d76cde

10 years agoAvoid fatal in Article::fetchContent()
Brad Jorsch [Thu, 1 May 2014 14:12:25 +0000 (10:12 -0400)]
Avoid fatal in Article::fetchContent()

The function is documented as returning false if there is no content to
the page, but this logic was lost in the ContentHandler change.

Even though it's "BC cruft", it still shouldn't fatal for something as
simple as a non-existent page.

Bug: 43737
Change-Id: Ic1924a42fa7b4227ac65838d0def6a66c3990573

10 years agoMerge "Change X-UA-Compatible from <meta> tag to HTTP header"
jenkins-bot [Thu, 1 May 2014 11:07:42 +0000 (11:07 +0000)]
Merge "Change X-UA-Compatible from <meta> tag to HTTP header"

10 years agoi18n: consistency tweaks
shirayuki [Sat, 26 Apr 2014 13:14:27 +0000 (22:14 +0900)]
i18n: consistency tweaks

- Replace "can not" by "cannot"
- Add "Special:MyLanguage" to mediawiki.org URLs
- Add full-stop

Spotted by Siebrand
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Uploadscriptednamespace/en

Change-Id: Ice4ab37fd2e680e9903643fd6f88e60a44787e2b

10 years agoMerge "ResourceLoaderLanguageDataModule: Clean up useless methods and fragile state"
jenkins-bot [Thu, 1 May 2014 06:21:27 +0000 (06:21 +0000)]
Merge "ResourceLoaderLanguageDataModule: Clean up useless methods and fragile state"

10 years agoMerge "Add WhatLinksHereProps hook, to allow extensions to annotate WhatLinksHere...
jenkins-bot [Thu, 1 May 2014 04:28:23 +0000 (04:28 +0000)]
Merge "Add WhatLinksHereProps hook, to allow extensions to annotate WhatLinksHere entries."

10 years agoAdd WhatLinksHereProps hook, to allow extensions to annotate WhatLinksHere entries.
Andrew Garrett [Thu, 27 Feb 2014 06:27:42 +0000 (17:27 +1100)]
Add WhatLinksHereProps hook, to allow extensions to annotate WhatLinksHere entries.

Needed by change 110090

Change-Id: I679abfbbdbd56498ec87579b4fe4e49ad486c84c

10 years agoMerge "Avoid fatal error if doing a DB query after close()"
jenkins-bot [Thu, 1 May 2014 03:23:45 +0000 (03:23 +0000)]
Merge "Avoid fatal error if doing a DB query after close()"

10 years agoMerge "jsduck: Add @inheritable to static methods from jQuery plugins"
jenkins-bot [Thu, 1 May 2014 01:41:18 +0000 (01:41 +0000)]
Merge "jsduck: Add @inheritable to static methods from jQuery plugins"

10 years agoMade wfThumbIsStandard() aware of the width/height handler scaling choice
Aaron Schulz [Wed, 30 Apr 2014 23:51:57 +0000 (16:51 -0700)]
Made wfThumbIsStandard() aware of the width/height handler scaling choice

* Generally, either the height or width is used for each description page
  link when using $wgImageLimits. This depends on the $wgImageLimits values
  and the file dimensions. Description page links should better pass the
  wfThumbIsStandard() method now, and thus have weaker rate-limiting.

Change-Id: Id1c3b0fc57f8ed3c14929a1a1661842a069b805d

10 years agoAvoid fatal error if doing a DB query after close()
Aaron Schulz [Wed, 30 Apr 2014 20:37:49 +0000 (13:37 -0700)]
Avoid fatal error if doing a DB query after close()

Change-Id: I606a3ec5a45136abf396f86f5a65db209128d5c9

10 years agoMerge "mediawiki.ui: Suppress default webkit-appearance of buttons from iOS"
jenkins-bot [Wed, 30 Apr 2014 23:59:59 +0000 (23:59 +0000)]
Merge "mediawiki.ui: Suppress default webkit-appearance of buttons from iOS"

10 years agomediawiki.util.test: Suppress deprecation notice for jsMessage
Timo Tijhof [Wed, 30 Apr 2014 23:39:33 +0000 (01:39 +0200)]
mediawiki.util.test: Suppress deprecation notice for jsMessage

* Hide the false positive when running the QUnit test suite.
* Clean up documentation comment (tag order) for consistency
  with the rest of the code base.

Follows-up Ib41d5245682552, I211593629ca2.

Change-Id: Iac42aef26f78b5637e5aaafb6fc48e60e9ea0e3f

10 years agoUpdate OOjs UI to v0.1.0-pre (bdbb9cfa55)
Roan Kattouw [Wed, 30 Apr 2014 23:34:19 +0000 (16:34 -0700)]
Update OOjs UI to v0.1.0-pre (bdbb9cfa55)

New changes:
471a8ca Rename intro.js and outro.js to have .txt extensions
250b0eb Localisation updates from https://translatewiki.net.
1eed712 [BREAKING CHANGE] Return promise instead of taking callback argument
92b5be9 Add getLookupMenu method to LookupInputWidget mixin

Change-Id: I16c2fa58c41bfb3a617dc0d469c50a8648e83a30

10 years agoMerge "Provide a ResourceLoader module for language names"
jenkins-bot [Wed, 30 Apr 2014 23:32:43 +0000 (23:32 +0000)]
Merge "Provide a ResourceLoader module for language names"

10 years agoMerge "Don't bother showing prev/next links navigation when there's few results"
jenkins-bot [Wed, 30 Apr 2014 23:31:18 +0000 (23:31 +0000)]
Merge "Don't bother showing prev/next links navigation when there's few results"

10 years agoDon't bother showing prev/next links navigation when there's few results
Chad Horohoe [Wed, 30 Apr 2014 23:16:02 +0000 (16:16 -0700)]
Don't bother showing prev/next links navigation when there's few results

Started working on bug 48466 bug we'll need a new message for viewprevnext
that doesn't have parens when there's no need. Saw this along the way and
it was easier.

Change-Id: If3d3503a1b7ebd6c8adad42725f53314733e72cf

10 years agojsduck: Add @inheritable to static methods from jQuery plugins
Timo Tijhof [Wed, 30 Apr 2014 22:32:57 +0000 (00:32 +0200)]
jsduck: Add @inheritable to static methods from jQuery plugins

Follows-up aa34a7128ae883. Forgot to add @inheritable in a few,
which is necessary for static methods as they aren't inherited by
default and thus wouldn't be mixed into jQuery (from jQuery.plugin).

Change-Id: I893103e90ac9becca721333a931a0bd53f193f6e

10 years agoResourceLoaderLanguageDataModule: Clean up useless methods and fragile state
Timo Tijhof [Wed, 30 Apr 2014 21:45:13 +0000 (23:45 +0200)]
ResourceLoaderLanguageDataModule: Clean up useless methods and fragile state

ResourceLoaderModule methods that need context should use context.
Setting a temporary property and then calling a bunch of methods
seems a bit fragile.

Though the actual instance could be passed around instead, in this
case the methods don't seem very useful. They're one-liner wrappers
that can just as well be done directly. It's not like we need the
abstraction for anything.

Follows-up f47dfe9.

Change-Id: I2f2f57896002fba87dc581dca61f5760ea5db31e

10 years agoProvide a ResourceLoader module for language names
Ed Sanders [Thu, 24 Apr 2014 23:51:56 +0000 (16:51 -0700)]
Provide a ResourceLoader module for language names

These will be autonyms by default, but localised language names
when the cldr extension is installed.

Change-Id: I63402b1e7c9194f68bccddd3eb0ba47d1e59a23d

10 years agoMerge "mw.loader: Improve error logging"
jenkins-bot [Wed, 30 Apr 2014 21:26:41 +0000 (21:26 +0000)]
Merge "mw.loader: Improve error logging"

10 years agoMerge "Drop vendor prefixes for border-radius"
jenkins-bot [Wed, 30 Apr 2014 20:50:00 +0000 (20:50 +0000)]
Merge "Drop vendor prefixes for border-radius"

10 years agomediawiki.ui: Suppress default webkit-appearance of buttons from iOS
kaldari [Wed, 30 Apr 2014 18:06:58 +0000 (11:06 -0700)]
mediawiki.ui: Suppress default webkit-appearance of buttons from iOS

On iOS, buttons made with <input type="submit"> (<button> is not affected)
have a native webkit-appearance that, unlike the desktop equivalent, is
not removed when properties like display, border and background are set.

It remains applied causing it to render awkwardly. Manually reset this
property to remove the default styling.

Bug: 64264
Change-Id: I65525e79503937fd42d4df01a1ce63936f4f92e4

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 30 Apr 2014 20:32:47 +0000 (20:32 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I0e483fcfac3c3c19fedd52aa4a2120614742683f

10 years agoMerge "Append redirect=no to RecentChanges/Watchlist redirect entries"
jenkins-bot [Wed, 30 Apr 2014 20:19:56 +0000 (20:19 +0000)]
Merge "Append redirect=no to RecentChanges/Watchlist redirect entries"

10 years agoMerge "mediawiki.api.test: Remove unused Sinon clocks"
jenkins-bot [Wed, 30 Apr 2014 18:51:19 +0000 (18:51 +0000)]
Merge "mediawiki.api.test: Remove unused Sinon clocks"

10 years agoMerge "Consistent use the same IIFE style in javascript"
jenkins-bot [Wed, 30 Apr 2014 18:50:13 +0000 (18:50 +0000)]
Merge "Consistent use the same IIFE style in javascript"

10 years agojquery.textSelection: Remove hardcoded checks for removed WikiEditor iframe mode
Bartosz Dziewoński [Wed, 30 Apr 2014 17:59:33 +0000 (19:59 +0200)]
jquery.textSelection: Remove hardcoded checks for removed WikiEditor iframe mode

Bug: 29328
Change-Id: I6c813cb5601bf79375444b4a1c598218102ce321

10 years agoMerge "Fixed "getCachedWork" callback in thumb.php to avoid 404s in the stream method"
jenkins-bot [Wed, 30 Apr 2014 17:44:17 +0000 (17:44 +0000)]
Merge "Fixed "getCachedWork" callback in thumb.php to avoid 404s in the stream method"

10 years agoRemove linktrail equal to 'en'
umherirrender [Wed, 30 Apr 2014 17:37:14 +0000 (19:37 +0200)]
Remove linktrail equal to 'en'

The languages does not have a fallback language, which maybe is
overridden, so there is no need to have the linktrail in its file.

Change-Id: I48334ae96a2c1318992922a4ad7f44b28485ff61

10 years agoFixed "getCachedWork" callback in thumb.php to avoid 404s in the stream method
Aaron Schulz [Wed, 30 Apr 2014 07:50:16 +0000 (00:50 -0700)]
Fixed "getCachedWork" callback in thumb.php to avoid 404s in the stream method

Change-Id: Id3781b87023291b9f7b2c7b3d8ae429a4065c227

10 years agoMerge "Removed commented-out migrateThumbFile() code"
jenkins-bot [Wed, 30 Apr 2014 17:22:45 +0000 (17:22 +0000)]
Merge "Removed commented-out migrateThumbFile() code"

10 years agoMerge "Made DB errors go to the exception log again"
jenkins-bot [Wed, 30 Apr 2014 17:21:47 +0000 (17:21 +0000)]
Merge "Made DB errors go to the exception log again"

10 years agoConsistent use the same IIFE style in javascript
Timo Tijhof [Fri, 13 Dec 2013 18:53:28 +0000 (19:53 +0100)]
Consistent use the same IIFE style in javascript

Most of our IIFE (Immediately-Invoced Function Expression) were
already the same way, these two were different. Made them
consistent (parenthesis on the outside).

$ ack '\}\s*\([^)]+\)\s*\)' --js resources/src/ skins/
  81 matches (0 false positives)

$ ack '\}\s*\)\s*\(' --js resources/src/ skins/
  6 matches (2 false positives, 2 in upstream forks)

Fixed the two matches in the last one that weren't upstream forks.

Change-Id: I51da0e7eb3c0a7071af0ebaa3310e31c99b9d3a5

10 years agomw.loader: Improve error logging
Timo Tijhof [Tue, 15 Apr 2014 04:39:34 +0000 (23:39 -0500)]
mw.loader: Improve error logging

Follows-up 4f23099c22.

Change-Id: Ie643cf7fba5112b6be0e30410696e1737d549058

10 years agomediawiki.api.test: Remove unused Sinon clocks
Timo Tijhof [Wed, 30 Apr 2014 14:48:01 +0000 (16:48 +0200)]
mediawiki.api.test: Remove unused Sinon clocks

Change-Id: I64dcd0a97c94e0b3ba1d6e98d0514e31315a24b9

10 years agoMoved isDeleted() check down to avoid information leakage in thumb.php
Aaron Schulz [Wed, 30 Apr 2014 07:51:35 +0000 (00:51 -0700)]
Moved isDeleted() check down to avoid information leakage in thumb.php

Change-Id: Idcbf79ef7c82f5bcf3c0ab1002fde2201d81313f

10 years agoRemoved commented-out migrateThumbFile() code
Aaron Schulz [Wed, 30 Apr 2014 07:30:37 +0000 (00:30 -0700)]
Removed commented-out migrateThumbFile() code

Change-Id: Ic52d3a8d93808b365c3f06fef9e51d65efcd1d57

10 years agoChange X-UA-Compatible from <meta> tag to HTTP header
Matthew Flaschen [Mon, 21 Apr 2014 22:46:56 +0000 (18:46 -0400)]
Change X-UA-Compatible from <meta> tag to HTTP header

Derk-Jan Hartman suggested this to remove a HTML validation error.  As he
noted, the HTTP header is also more effective, since it works on
intranets, and is not sensitive to ordering issues within the <head>.

See http://stackoverflow.com/questions/6156639 .

Bug: 62885
Change-Id: I2214abcb1badbbaca48427a31d1218c9db9a6af7

10 years agoMerge "Added VirtualRESTServiceClient/VirtualRESTService classes"
jenkins-bot [Wed, 30 Apr 2014 03:09:54 +0000 (03:09 +0000)]
Merge "Added VirtualRESTServiceClient/VirtualRESTService classes"

10 years agoMerge "Tweaked wfThumbIsStandard() to recognize handler-specific default parameters"
jenkins-bot [Wed, 30 Apr 2014 01:35:12 +0000 (01:35 +0000)]
Merge "Tweaked wfThumbIsStandard() to recognize handler-specific default parameters"

10 years agoUpdate OOjs UI to v0.1.0-pre (70f1886a35)
James D. Forrester [Wed, 30 Apr 2014 00:13:15 +0000 (17:13 -0700)]
Update OOjs UI to v0.1.0-pre (70f1886a35)

New changes:
c486e35 Add info icon and alert indicator
5928259 Add a 'ready' event to the window open sequence
d2f1933 Improve info and alert icons/indicators
6d78021 Defer window 'ready' event to let rendering happen
7705a94 Add focus method to SearchWidget
70f1886 Improve alert and required indicators

Change-Id: I58ae4c8154d45b34e2dcd404a5d8c3c9bbffd32f

10 years agoAdded VirtualRESTServiceClient/VirtualRESTService classes
Aaron Schulz [Tue, 28 Jan 2014 20:21:29 +0000 (12:21 -0800)]
Added VirtualRESTServiceClient/VirtualRESTService classes

* Reference handling cleanup for loops in MultiHttpClient
* Support a slightly more convenient request array format for MultiHttpClient
* Added missing license header to MultiHttpClient

Change-Id: Icc86ed9e4c2ac78363aa7b6f3147253bb59e2afb

10 years agoApiParse: Add prop=modules
Bartosz Dziewoński [Wed, 16 Apr 2014 21:07:54 +0000 (23:07 +0200)]
ApiParse: Add prop=modules

action=parse&prop=modules now provides the ResourceLoader modules used
on the page (included in the ParserOutput object). This is intended to
be used by the live preview functionality.

Bug: 24134
Change-Id: Ib5032e4eeaf6bb97dac965c580a5107437c7bbd4

10 years agoTweaked wfThumbIsStandard() to recognize handler-specific default parameters
Aaron Schulz [Tue, 29 Apr 2014 21:39:05 +0000 (14:39 -0700)]
Tweaked wfThumbIsStandard() to recognize handler-specific default parameters

* Now thumbnails with default lossy/lossless values will still count as "standard",
  for example. This makes use of the file media handler.

Change-Id: Ia69301dfbf85bb26a17f8eee0939d690021343ec

10 years agoMerge "Sync up with Parsoid parserTests."
jenkins-bot [Tue, 29 Apr 2014 21:07:06 +0000 (21:07 +0000)]
Merge "Sync up with Parsoid parserTests."

10 years agoMerge "vector: Apply content text style via .mw-body-content instead of #bodyContent"
jenkins-bot [Tue, 29 Apr 2014 20:46:04 +0000 (20:46 +0000)]
Merge "vector: Apply content text style via .mw-body-content instead of #bodyContent"

10 years agovector: Apply content text style via .mw-body-content instead of #bodyContent
Trevor Parscal [Thu, 24 Apr 2014 20:28:46 +0000 (13:28 -0700)]
vector: Apply content text style via .mw-body-content instead of #bodyContent

Font size, line height and positioning styles related to content
rendering should be re-usable for applying in other contexts.
Not just the #bodyContent div.

The use of classes for content styling has been recommended and generally
agreed upon, specifically in the context of the RFC about scoping site CSS:
    https://www.mediawiki.org/wiki/Requests_for_comment/Scoping_site_CSS

This change takes the first step toward introducing a reusable class
throughout the UI to apply content-specific styles where needed.

This also makes it possible to resolve a bug in which VisualEditor
does not receive the correct styles because it creates the edit surface
outside the #bodyContent (but within #content) and had no way to
receive the same styling.

Bug: 63985
Change-Id: I66c56c577bad064261c3e4a62a1c1b2566d53972

10 years agoSync up with Parsoid parserTests.
C. Scott Ananian [Tue, 29 Apr 2014 19:59:43 +0000 (15:59 -0400)]
Sync up with Parsoid parserTests.

This now aligns with Parsoid commit c257ad0880a19df3f10d9942896da9a40f57b17c

Change-Id: I64786aeb0ed264b8f8638106be114a8a2a1cd682

10 years agoMerge "Fix some issues with Microsoft SQL Server support"
jenkins-bot [Tue, 29 Apr 2014 20:15:31 +0000 (20:15 +0000)]
Merge "Fix some issues with Microsoft SQL Server support"

10 years agoMerge "Fix IE9's lack of support for console.warn.apply"
jenkins-bot [Tue, 29 Apr 2014 19:47:00 +0000 (19:47 +0000)]
Merge "Fix IE9's lack of support for console.warn.apply"

10 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Tue, 29 Apr 2014 19:40:12 +0000 (19:40 +0000)]
Merge "Localisation updates from https://translatewiki.net."

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 29 Apr 2014 19:30:48 +0000 (19:30 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I6903588d1a8100f44ee0b3aca6025daa69a0bc63

10 years agoMerge "Addition of a parser test for page= parameter of image inclusion"
jenkins-bot [Tue, 29 Apr 2014 19:29:20 +0000 (19:29 +0000)]
Merge "Addition of a parser test for page= parameter of image inclusion"

10 years agoFix IE9's lack of support for console.warn.apply
Mark A. Hershberger [Thu, 10 Apr 2014 15:22:51 +0000 (11:22 -0400)]
Fix IE9's lack of support for console.warn.apply

Bug: 63770
Change-Id: I8c286af374df5b5c1e7fa6b9ea1bef2ddaf5d796

10 years agoMerge "Remove JSDuck 4 support"
jenkins-bot [Tue, 29 Apr 2014 18:40:50 +0000 (18:40 +0000)]
Merge "Remove JSDuck 4 support"

10 years agowikibits.js: Remove false deprecation notices
Bartosz Dziewoński [Tue, 29 Apr 2014 18:20:32 +0000 (20:20 +0200)]
wikibits.js: Remove false deprecation notices

We are clearly not removing these properties/functions in 1.23.

Bug: 63964
Change-Id: I5737c053d7e9eb5f6a3c6770475b6c2c8f48adab