lhc/web/wiklou.git
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 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 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 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 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 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 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

10 years agoRemove JSDuck 4 support
Timo Tijhof [Tue, 29 Apr 2014 18:25:26 +0000 (20:25 +0200)]
Remove JSDuck 4 support

Also fold more of the options back into jsduck/config.json which
makes it easier to run without the maintenance script.

The maintenance script only serves as convenience for
publication via Jenkins where we want a branch-specific footnote
and disablle parallel processing since that doesn't work in the
Ruby version used in wmf-production.

Change-Id: I2e1e89408328c614a89f6c4e408df90d1e346d76

10 years agoMerge "The $CHANGEDORCREATED parameter to the 'enotif_body' message will not be remov...
jenkins-bot [Tue, 29 Apr 2014 18:15:48 +0000 (18:15 +0000)]
Merge "The $CHANGEDORCREATED parameter to the 'enotif_body' message will not be removed in 1.23"

10 years agoAddition of a parser test for page= parameter of image inclusion
Tpt [Wed, 18 Dec 2013 17:56:15 +0000 (18:56 +0100)]
Addition of a parser test for page= parameter of image inclusion

Support for DjVu is detected and parser tests that rely on it are disabled if needed.

Introduce DjVuSupport to easily detect DjVu support in unit tests

Change-Id: I53fd7b54e765d5f349abe74481bbc6f62f2b349e

10 years agoMerge "Do not increment the total site edit count on null edits"
jenkins-bot [Tue, 29 Apr 2014 17:06:28 +0000 (17:06 +0000)]
Merge "Do not increment the total site edit count on null edits"

10 years agoMerge "Make the link in printfooter explicitly ltr"
jenkins-bot [Tue, 29 Apr 2014 16:37:00 +0000 (16:37 +0000)]
Merge "Make the link in printfooter explicitly ltr"

10 years agoMerge "Document that IContextSource::getTitle can return null"
jenkins-bot [Tue, 29 Apr 2014 14:42:57 +0000 (14:42 +0000)]
Merge "Document that IContextSource::getTitle can return null"

10 years agoMerge "JSDuck-ify /resources/mediawiki.page/*"
jenkins-bot [Tue, 29 Apr 2014 13:48:28 +0000 (13:48 +0000)]
Merge "JSDuck-ify /resources/mediawiki.page/*"

10 years agoMerge "JSDuck-ify /resources/mediawiki.action/*"
jenkins-bot [Tue, 29 Apr 2014 13:42:58 +0000 (13:42 +0000)]
Merge "JSDuck-ify /resources/mediawiki.action/*"

10 years agoMerge "jquery.tabIndex: Add jsduck documentation"
jenkins-bot [Tue, 29 Apr 2014 13:41:39 +0000 (13:41 +0000)]
Merge "jquery.tabIndex: Add jsduck documentation"

10 years agoJSDuck-ify /resources/mediawiki.page/*
Timo Tijhof [Sun, 27 Apr 2014 15:29:54 +0000 (17:29 +0200)]
JSDuck-ify /resources/mediawiki.page/*

Adds mw.hook "mediawiki.page.gallery.resize" to the index.

Change-Id: I538659a62fe99991de2a99cbc61c25eb98dd7f8e

10 years agoJSDuck-ify /resources/mediawiki.action/*
Timo Tijhof [Sun, 27 Apr 2014 15:27:02 +0000 (17:27 +0200)]
JSDuck-ify /resources/mediawiki.action/*

Change-Id: If7dcd9675b54fceb5b2b10b30cc26844a4907f79

10 years agoMerge "jquery.hidpi: Add jsduck documentation"
jenkins-bot [Tue, 29 Apr 2014 13:27:18 +0000 (13:27 +0000)]
Merge "jquery.hidpi: Add jsduck documentation"

10 years agoMerge "jquery.footHovzer: Add jsduck documentation"
jenkins-bot [Tue, 29 Apr 2014 13:27:16 +0000 (13:27 +0000)]
Merge "jquery.footHovzer: Add jsduck documentation"

10 years agojquery.tabIndex: Add jsduck documentation
Timo Tijhof [Sun, 27 Apr 2014 15:23:30 +0000 (17:23 +0200)]
jquery.tabIndex: Add jsduck documentation

Change-Id: I73ec9b6e8a5fcc95ea71dcaa19f9b9aa481fde18

10 years agojquery.hidpi: Add jsduck documentation
Timo Tijhof [Sun, 27 Apr 2014 14:45:22 +0000 (16:45 +0200)]
jquery.hidpi: Add jsduck documentation

Change-Id: Ib33eaa488f967efbf45cee83d903e6279b8b782a

10 years agojquery.footHovzer: Add jsduck documentation
Timo Tijhof [Sun, 27 Apr 2014 14:38:03 +0000 (16:38 +0200)]
jquery.footHovzer: Add jsduck documentation

Change-Id: I554a64951e47b2d8aa0a791619337f4b96e94f48

10 years agoMerge "jquery.checkboxShiftClick: Add jsduck documentation"
jenkins-bot [Tue, 29 Apr 2014 13:10:16 +0000 (13:10 +0000)]
Merge "jquery.checkboxShiftClick: Add jsduck documentation"

10 years agoMerge "jquery.byteLength: Add jsduck documentation"
jenkins-bot [Tue, 29 Apr 2014 13:09:57 +0000 (13:09 +0000)]
Merge "jquery.byteLength: Add jsduck documentation"

10 years agoMerge "jquery.getAttrs: Add jsduck documentation"
jenkins-bot [Tue, 29 Apr 2014 13:08:58 +0000 (13:08 +0000)]
Merge "jquery.getAttrs: Add jsduck documentation"

10 years agoMerge "Consistently use '@deprecated since' in JavaScript code"
jenkins-bot [Tue, 29 Apr 2014 11:30:51 +0000 (11:30 +0000)]
Merge "Consistently use '@deprecated since' in JavaScript code"

10 years agojquery.checkboxShiftClick: Add jsduck documentation
Timo Tijhof [Sun, 27 Apr 2014 14:28:04 +0000 (16:28 +0200)]
jquery.checkboxShiftClick: Add jsduck documentation

Change-Id: Ifb0ad7bface406e6e322186f92083b2b8877a8af

10 years agojquery.byteLength: Add jsduck documentation
Timo Tijhof [Sun, 27 Apr 2014 14:26:54 +0000 (16:26 +0200)]
jquery.byteLength: Add jsduck documentation

Change-Id: Iee8a5c930b6d2dcb0f5a66aca04e9b18c755d787

10 years agojquery.getAttrs: Add jsduck documentation
Timo Tijhof [Sun, 27 Apr 2014 14:25:37 +0000 (16:25 +0200)]
jquery.getAttrs: Add jsduck documentation

Change-Id: Ic7c10bb4fdeb7d76c0b6b09dab6957536601a20a

10 years agoDo not increment the total site edit count on null edits
Aaron Schulz [Tue, 29 Apr 2014 03:46:16 +0000 (20:46 -0700)]
Do not increment the total site edit count on null edits

Change-Id: I0d8d7bcbbd7783cd9845cb5ec2704e854a083e19

10 years agoMerge "API: Warn when unsupported PHP array syntax is used"
jenkins-bot [Tue, 29 Apr 2014 03:30:10 +0000 (03:30 +0000)]
Merge "API: Warn when unsupported PHP array syntax is used"

10 years agoAppend redirect=no to RecentChanges/Watchlist redirect entries
withoutaname [Sat, 26 Apr 2014 00:50:18 +0000 (17:50 -0700)]
Append redirect=no to RecentChanges/Watchlist redirect entries

This change adds redirect=no in the URL of redirect entries in the RecentChanges or in the Watchlist.
Entries which are not redirects will not be affected.
Some typos in documentation were also fixed.

Bug: 890
Change-Id: I79593811d92b2f57abd742c8ba9e66769d8bc9b7

10 years agoMerge "Do not do backlink purges on null edits"
jenkins-bot [Tue, 29 Apr 2014 00:13:13 +0000 (00:13 +0000)]
Merge "Do not do backlink purges on null edits"

10 years agoDo not do backlink purges on null edits
Aaron Schulz [Tue, 29 Apr 2014 00:02:47 +0000 (17:02 -0700)]
Do not do backlink purges on null edits

Change-Id: Ibcf5ceeea8b82eda188c4d944db6df1c7c9e3e44

10 years agoDisable job throttling for DuplicateJob jobs
Aaron Schulz [Mon, 28 Apr 2014 23:09:35 +0000 (16:09 -0700)]
Disable job throttling for DuplicateJob jobs

Change-Id: I461ea9710660d061ae2da1f99f39247877332ca2

10 years agoMerge "mediawiki.util: Add mw.log.deprecate to #jsMessage"
jenkins-bot [Mon, 28 Apr 2014 22:44:59 +0000 (22:44 +0000)]
Merge "mediawiki.util: Add mw.log.deprecate to #jsMessage"

10 years agoConsistently use '@deprecated since' in JavaScript code
Bartosz Dziewoński [Mon, 28 Apr 2014 22:40:51 +0000 (00:40 +0200)]
Consistently use '@deprecated since' in JavaScript code

JSDuck doesn't actually handle the 'since', but IMO that's a bug in JSDuck.

Change-Id: I9142a3c46ffc2890f5b58133e44caf5873c1229f

10 years agomediawiki.util: Add mw.log.deprecate to #jsMessage
Fomafix [Sat, 26 Apr 2014 13:49:47 +0000 (13:49 +0000)]
mediawiki.util: Add mw.log.deprecate to #jsMessage

Duplicate code to wikibits.js to prevent deprecate message on loading.

Change-Id: Ib41d52456825526c5217743302e80a2de2bbe8d8

10 years agoMerge "jquery.accessKeyLabel: Minor code and documentation clean up"
jenkins-bot [Mon, 28 Apr 2014 21:49:16 +0000 (21:49 +0000)]
Merge "jquery.accessKeyLabel: Minor code and documentation clean up"

10 years agoMerge "Follow-up Ia0cc9612d: Fix unexpected leading whitespace in Skin HTML"
jenkins-bot [Mon, 28 Apr 2014 21:44:05 +0000 (21:44 +0000)]
Merge "Follow-up Ia0cc9612d: Fix unexpected leading whitespace in Skin HTML"

10 years agojquery.makeCollapsible: Add jsduck documentation
Timo Tijhof [Sun, 27 Apr 2014 14:20:58 +0000 (16:20 +0200)]
jquery.makeCollapsible: Add jsduck documentation

Change-Id: I92417b62b11697a0e2ec9b8dcb4950ecedf617ac

10 years agojquery.colorUtil: Add jsduck documentation
Timo Tijhof [Sun, 27 Apr 2014 14:10:05 +0000 (16:10 +0200)]
jquery.colorUtil: Add jsduck documentation

Change-Id: Idd91e07d7718b054e5827d0df0fe5302f6a97405

10 years agojquery.client: Add jsduck documentation
Timo Tijhof [Sun, 27 Apr 2014 13:37:28 +0000 (15:37 +0200)]
jquery.client: Add jsduck documentation

Change-Id: Idd78fa72dcff46341cd55ba128ef24107d240c6b

10 years agoMerge "mediawiki.language.init: Clarify documentation"
jenkins-bot [Mon, 28 Apr 2014 20:41:17 +0000 (20:41 +0000)]
Merge "mediawiki.language.init: Clarify documentation"

10 years agoMerge "Title: Add unit test to assert ":A" is a valid title value"
jenkins-bot [Mon, 28 Apr 2014 20:35:20 +0000 (20:35 +0000)]
Merge "Title: Add unit test to assert ":A" is a valid title value"

10 years agoMerge "Finish removing boolean return values from JobQueue code"
jenkins-bot [Mon, 28 Apr 2014 20:27:04 +0000 (20:27 +0000)]
Merge "Finish removing boolean return values from JobQueue code"

10 years agoFinish removing boolean return values from JobQueue code
Thiemo Mättig [Wed, 16 Apr 2014 18:07:26 +0000 (20:07 +0200)]
Finish removing boolean return values from JobQueue code

This is a follow-up for patch
Ia706ac0122a7dd7f418e2dc2d3bd36e9a0252c25.

Change-Id: I19fe58a939706d3f7594d937e0bcad6d97c52a50

10 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Mon, 28 Apr 2014 20:17:41 +0000 (20:17 +0000)]
Merge "Localisation updates from https://translatewiki.net."

10 years agomediawiki.language.init: Clarify documentation
Timo Tijhof [Mon, 28 Apr 2014 20:12:16 +0000 (22:12 +0200)]
mediawiki.language.init: Clarify documentation

Change-Id: If2b96ba2c835c9e6d14adfa84e0bea7981beda0e

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 28 Apr 2014 20:06:42 +0000 (20:06 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I9eb2c1a6a757ccc2f0c3e79c2e038ea94746ad2d

10 years agoUpdate OOjs UI to v0.1.0-pre (b91660e612)
James D. Forrester [Mon, 28 Apr 2014 19:57:53 +0000 (12:57 -0700)]
Update OOjs UI to v0.1.0-pre (b91660e612)

New changes:
db345e1 Add text config option to OO.ui.Element
47e272a Add aggregate method
beaa3be Localisation updates from https://translatewiki.net.
32fef8b Follow-up I0eddaaed91: Fix mistake in class name
62df7aa Followup 32fef8b5ee247: actually fix event aggregation, unbreak toolgroup disabling
e3a09eb Element: Make onDOMEvent fix focusout in addition to focusin
cc33eb6 InputWidget: DOM property is 'readOnly', not 'readonly'
59e9a07 Localisation updates from https://translatewiki.net.
c7109be build: Update jscs config and phase out deprecated jshint config
58c2862 Localisation updates from https://translatewiki.net.

Change-Id: I3f0049f03eb443113246761c81a0175ecfd9a94e

10 years agohttp -> https rewrite: Only replace one http by https
umherirrender [Sat, 26 Apr 2014 20:34:21 +0000 (22:34 +0200)]
http -> https rewrite: Only replace one http by https

This avoids changing from
http://de.wikipedia.org/wiki/Spezial:Weblinksuche/http://wikimedia.org
to
https://de.wikipedia.org/wiki/Spezial:Weblinksuche/https://wikimedia.org
instead of
https://de.wikipedia.org/wiki/Spezial:Weblinksuche/http://wikimedia.org

Bug: 63573
Change-Id: Ife5099c3c5a0e943bb08b81be5d5669d0e02be17

10 years agoFixed call to undefined method in TransactionProfiler
Aaron Schulz [Sat, 26 Apr 2014 23:20:17 +0000 (16:20 -0700)]
Fixed call to undefined method in TransactionProfiler

Change-Id: I855b514f8b63c7e81935b13df4612f09628142b3

10 years agoMade DB errors go to the exception log again
Aaron Schulz [Mon, 28 Apr 2014 17:53:16 +0000 (10:53 -0700)]
Made DB errors go to the exception log again

* Some DB errors are caught while others bubble up to users.
  It is useful to log the latter separately and it also provides
  more context. The exception logs have a backtrace where as the
  regular DB logs do not.

Change-Id: I7ef7693d96e0258119f714e678099e4813ca0c94

10 years agoTitle: Add unit test to assert ":A" is a valid title value
Timo Tijhof [Mon, 28 Apr 2014 17:50:32 +0000 (19:50 +0200)]
Title: Add unit test to assert ":A" is a valid title value

Mostly to catch regressions. While this is an invalid title,
it is valid as syntax when creating a Title *object*, the actual
page title itself does not allow leading colons.

Change-Id: Idbe8a3bfe487926c5fc8bdcfa69a957fc9d0bc49

10 years agoPass user and user_text to Revision constructor
umherirrender [Mon, 28 Apr 2014 17:09:28 +0000 (19:09 +0200)]
Pass user and user_text to Revision constructor

This avoids the use of $wgUser in Revision constructor and makes the
dependency on the global visible.

Change-Id: Ief79c9769d28a1adb16abab8da1ec01984d9ef92

10 years agoAdd $user param to Revision::newNullRevision
umherirrender [Mon, 28 Apr 2014 16:59:20 +0000 (18:59 +0200)]
Add $user param to Revision::newNullRevision

This avoids the use of $wgUser in Revision constructor and makes the
dependency on the global visible.

Change-Id: Ib67bd706a3c4ef081f475406e9aa1094c42222ef

10 years agoDrop vendor prefixes for border-radius
Timo Tijhof [Mon, 28 Apr 2014 15:46:55 +0000 (17:46 +0200)]
Drop vendor prefixes for border-radius

http://caniuse.com/border-radius
* -moz is for Firefox 3.6
* -webkit is for Chrome 4, Safari 4, and iOS 3

Also:
* Vendor prefixes should go before the standardised one.
  http://css-tricks.com/ordering-css3-properties/
* jquery-ui vector theme was missing standardised properties
  in some cases. Added those.

Follows-up c6b0205

Change-Id: I150626e5fba3d65128c14e0945b83ac65efd3078

10 years agoMake the link in printfooter explicitly ltr
Amir E. Aharoni [Mon, 28 Apr 2014 11:59:22 +0000 (14:59 +0300)]
Make the link in printfooter explicitly ltr

Without this, in RTL wikis the "http" appears
in the middle of the URL.

To test, set
$wgLanguageCode = "he";
create an article called "ספר", view it in print mode
and note the URL at the bottom.

Change-Id: I1c0194c5cbd186e953eb0fc49184caa66c436ad1

10 years agoMerge "Use strict array_search in DatabasePostgres.php"
jenkins-bot [Sun, 27 Apr 2014 23:45:44 +0000 (23:45 +0000)]
Merge "Use strict array_search in DatabasePostgres.php"

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 27 Apr 2014 20:26:23 +0000 (20:26 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I52efb742c5d3fb6004f43930d30318c5d9d033a1

10 years agojquery.accessKeyLabel: Enable for target=mobile
Timo Tijhof [Sun, 27 Apr 2014 18:26:44 +0000 (20:26 +0200)]
jquery.accessKeyLabel: Enable for target=mobile

Follows-up 6a81b0e, which split this module out of mediawiki.util,
but didn't give it the same target. So the mediawiki.util module
was now broken on module due to a dependency on an unknown module
named "jquery.accessKeyLabel".

Bug: 64512
Change-Id: I324501411829a71e30d424a8c5304748575fcba3