lhc/web/wiklou.git
9 years agojquery.confirmable: Add a space between buttons
Bartosz Dziewoński [Fri, 12 Sep 2014 19:15:29 +0000 (21:15 +0200)]
jquery.confirmable: Add a space between buttons

It should have always been there, my bad. Problems with lack of the
space:

* Languages with ligatures may decide to join the last letters of
  "Yes" with first letters of "No", producing a mess. (This was
  reported with a proposed solution as I0e6fcd83, I opted for doing
  this fix instead.)
* The "Yes" and "No" may be read together by screen readers, as
  "Yesno" (although I didn't test this), and similarly misinterpreted
  by other tools.
* The interface looks silly when copy-pasted.

Change-Id: I65c771fc22e105bf5978e6e4ee5068200f294b9e

9 years agoMerge "Under HHVM, measure resources for the thread, not calling process"
jenkins-bot [Wed, 10 Sep 2014 19:20:03 +0000 (19:20 +0000)]
Merge "Under HHVM, measure resources for the thread, not calling process"

9 years agoUnder HHVM, measure resources for the thread, not calling process
Ori Livneh [Thu, 4 Sep 2014 23:56:20 +0000 (16:56 -0700)]
Under HHVM, measure resources for the thread, not calling process

As of <https://github.com/facebook/hhvm/commit/0f98cab>, it is possible to
call getrusage( [ int $who = 0 ] ) with $who = 2 to request resource usage
info for the current thread (RUSAGE_THERAD), rather than the calling process
(RUSAGE_SELF). (Earlier versions of HHVM return RUSAGE_SELF data unless $who
is 1.)

PHP5 code can assume that each request is handled in a dedicated subprocess,
but the same is not true of HHVM, which is multi-threaded. Therefore, to get
resource usage data for the current request context, it is necessary to ask
for RUSAGE_THREAD rather than RUSAGE_SELF.

To do this, introduce a new global function in Profiler.php: wfGetRusage().
It is defined there and not in GlobalFunctions.php so that it can be used early
in WebStart.php.

Bug: 70227
Change-Id: Ibe9598ecdfc0f6c434f8b3c7a94f06a7b2fcca23

9 years agoMerge "Show the revision list immediately on "umerge" log action links"
jenkins-bot [Wed, 10 Sep 2014 18:05:50 +0000 (18:05 +0000)]
Merge "Show the revision list immediately on "umerge" log action links"

9 years agoMerge "Do deletion updates after commit."
jenkins-bot [Wed, 10 Sep 2014 17:54:54 +0000 (17:54 +0000)]
Merge "Do deletion updates after commit."

9 years agoMerge "Remove JSONContentHandler::$contentClass"
jenkins-bot [Wed, 10 Sep 2014 17:53:22 +0000 (17:53 +0000)]
Merge "Remove JSONContentHandler::$contentClass"

9 years agoDo deletion updates after commit.
daniel [Wed, 10 Sep 2014 17:40:25 +0000 (19:40 +0200)]
Do deletion updates after commit.

WikiPage::doDeleteArticleReal now triggers secondary data updates
(link tables, etc) only after the deletion proper is committed.
This is consistent with the way doEditContent applies secondary
data updates, and avoids nested transactions (e.g. by one of the
updates using a retry loop).

Change-Id: Ie4d96f77d210c9953104a0e6fb11ea8ed348c42a

9 years agoUpdate OOjs UI to v0.1.0-pre (f9c217dfa4)
James D. Forrester [Wed, 10 Sep 2014 17:25:43 +0000 (10:25 -0700)]
Update OOjs UI to v0.1.0-pre (f9c217dfa4)

New changes:
720debe PopupWidget: Toggle clipping -after- updating dimensions

Change-Id: I77f667b1eadc49096f2312a55157c070376be61e

9 years agoMerge "Ignore duplicate key errors in update-keys.sql"
jenkins-bot [Wed, 10 Sep 2014 17:20:10 +0000 (17:20 +0000)]
Merge "Ignore duplicate key errors in update-keys.sql"

9 years agoMerge "Add release notes for Iac37a2369"
jenkins-bot [Wed, 10 Sep 2014 17:04:34 +0000 (17:04 +0000)]
Merge "Add release notes for Iac37a2369"

9 years agoAdd release notes for Iac37a2369
Kunal Mehta [Wed, 10 Sep 2014 16:56:21 +0000 (09:56 -0700)]
Add release notes for Iac37a2369

Change-Id: I986448d862bd1023440ff85a912e3d7267a3579f

9 years agoAvoid a fatal error in maintenance/cleanupTitles.php
Alexandre Emsenhuber [Mon, 8 Sep 2014 18:54:53 +0000 (20:54 +0200)]
Avoid a fatal error in maintenance/cleanupTitles.php

Title::makeTitleSafe() can return null; so only call
exists() if an object was returned, and otherwise behave
the same way as if the page existed: use another name.

Change-Id: I75ea5c5b25fa5fdf6646a177a5fbccc0dbff9b47

9 years agoMerge "Merge mediawiki.legacy.upload into mediawiki.special.upload"
jenkins-bot [Wed, 10 Sep 2014 16:46:09 +0000 (16:46 +0000)]
Merge "Merge mediawiki.legacy.upload into mediawiki.special.upload"

9 years agoMerge "Added DatabaseBase::selectRowCount() method"
jenkins-bot [Wed, 10 Sep 2014 14:52:28 +0000 (14:52 +0000)]
Merge "Added DatabaseBase::selectRowCount() method"

9 years agoMerge "Fix malformed UTF-8 going to query profiler"
jenkins-bot [Wed, 10 Sep 2014 11:45:48 +0000 (11:45 +0000)]
Merge "Fix malformed UTF-8 going to query profiler"

9 years agoMerge "Maintenance: Add an easy way to access Config instances"
jenkins-bot [Wed, 10 Sep 2014 11:32:11 +0000 (11:32 +0000)]
Merge "Maintenance: Add an easy way to access Config instances"

9 years agoMerge "StatCounter: Use Config instead of globals"
jenkins-bot [Wed, 10 Sep 2014 10:07:57 +0000 (10:07 +0000)]
Merge "StatCounter: Use Config instead of globals"

9 years agoMaintenance: Add an easy way to access Config instances
Kunal Mehta [Thu, 7 Aug 2014 20:57:14 +0000 (21:57 +0100)]
Maintenance: Add an easy way to access Config instances

Change-Id: I97d50c624e988c70bb2ac0da4fc33957ce3cf524

9 years agoStatCounter: Use Config instead of globals
Kunal Mehta [Wed, 10 Sep 2014 00:18:00 +0000 (17:18 -0700)]
StatCounter: Use Config instead of globals

Change-Id: I5b2281291c907ce543e8aa0400b0bda3bf253579

9 years agoMerge "Apply vform styling to HTMLForm buttons"
jenkins-bot [Wed, 10 Sep 2014 00:05:32 +0000 (00:05 +0000)]
Merge "Apply vform styling to HTMLForm buttons"

9 years agoSpecialUpload: Use Config instead of global
Florian [Fri, 1 Aug 2014 14:56:29 +0000 (16:56 +0200)]
SpecialUpload: Use Config instead of global

Bug: 69188
Change-Id: I40f6e17aea365b88ba5c445580f445c3b03d0f31

9 years agoAdd padding to printfooter
Amir E. Aharoni [Tue, 9 Sep 2014 20:04:30 +0000 (23:04 +0300)]
Add padding to printfooter

Without padding it sticks too close to the categories
and to the article text.

Change-Id: I04cbd1daed470f33b8212f10622736fd17525ddd

9 years agoMerge "Language: s/error_log/wfWarn/"
jenkins-bot [Tue, 9 Sep 2014 19:50:03 +0000 (19:50 +0000)]
Merge "Language: s/error_log/wfWarn/"

9 years agoMerge "UploadFromUrlTest: Don't reference skins/common/ (via bits.wm.o)"
jenkins-bot [Tue, 9 Sep 2014 19:43:08 +0000 (19:43 +0000)]
Merge "UploadFromUrlTest: Don't reference skins/common/ (via bits.wm.o)"

9 years agoDeprecate defunct Skin::getCommonStylePath()
Bartosz Dziewoński [Tue, 9 Sep 2014 15:26:23 +0000 (17:26 +0200)]
Deprecate defunct Skin::getCommonStylePath()

Change-Id: I5e4b870363ff885a4625c2d059048e85395fd159

9 years agoMerge "Fix undefined argument in OldChangesList"
jenkins-bot [Tue, 9 Sep 2014 14:30:29 +0000 (14:30 +0000)]
Merge "Fix undefined argument in OldChangesList"

9 years agoFix undefined argument in OldChangesList
aude [Sat, 6 Sep 2014 16:40:52 +0000 (18:40 +0200)]
Fix undefined argument in OldChangesList

Bug: 70407
Change-Id: I17bbaeaf7c9cae51e33c859867ef3a3199b68a43

9 years agoPass OutputPage to SkinTemplateGetLanguageLink hook.
daniel [Tue, 9 Sep 2014 10:34:24 +0000 (12:34 +0200)]
Pass OutputPage to SkinTemplateGetLanguageLink hook.

Hook handlers should have access to the OutputPage object,
so they can use information stored there for generating
language links. This is needed to allow efficient generation
of "badges" by the Wikibase extension.

Change-Id: Ic479e2fa5cc3a4d663e478858caee2742e6805b9

9 years agoMerge "Add linkTrail for Central Kurdish (ckb)"
jenkins-bot [Tue, 9 Sep 2014 06:23:45 +0000 (06:23 +0000)]
Merge "Add linkTrail for Central Kurdish (ckb)"

9 years agoMerge "Add content-not-allowed-here to API message map"
jenkins-bot [Tue, 9 Sep 2014 05:10:06 +0000 (05:10 +0000)]
Merge "Add content-not-allowed-here to API message map"

9 years agoUpdate OOjs UI to v0.1.0-pre (1c5e409ab1)
James D. Forrester [Tue, 9 Sep 2014 01:20:42 +0000 (18:20 -0700)]
Update OOjs UI to v0.1.0-pre (1c5e409ab1)

New changes:
83193e5 Make tools wrapper display inline so tools wrap around actions
1c5e409 Add backgrounds and borders to dropdowns in Minerva

Change-Id: I93e35c207042fe5efdc3e01498405c9ec606c67a

9 years agoAdd content-not-allowed-here to API message map
Alex Monk [Tue, 9 Sep 2014 01:16:04 +0000 (02:16 +0100)]
Add content-not-allowed-here to API message map

So we don't get 'Unknown error: "content-not-allowed-here"'

Bug: 70593
Change-Id: Ibde9eb45c798a7b3abef088f7abd78c926d13031

9 years agoCurlHttpRequest: Check library version, not CURLOPT_REDIR_PROTOCOLS
Kevin Israel [Mon, 8 Sep 2014 22:15:09 +0000 (18:15 -0400)]
CurlHttpRequest: Check library version, not CURLOPT_REDIR_PROTOCOLS

This works around <https://github.com/facebook/hhvm/issues/3702>.
We don't actually use the constant, so checking the library version
should suffice.

Bug: 70570
Change-Id: I732d8f7eb2908bae10100594f693cf7a63f8b5b1

9 years agoMerge "Update OOjs UI to v0.1.0-pre (cc3c62607c)"
jenkins-bot [Mon, 8 Sep 2014 20:39:23 +0000 (20:39 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (cc3c62607c)"

9 years agoIgnore duplicate key errors in update-keys.sql
Max Semenik [Mon, 8 Sep 2014 19:16:02 +0000 (12:16 -0700)]
Ignore duplicate key errors in update-keys.sql

Otherwise, reinstalls can fail.

Change-Id: Ie4f7f73152a055f9a8d69970c22795433f564b26

9 years agoAdd linkTrail for Central Kurdish (ckb)
Calak [Mon, 8 Sep 2014 19:21:33 +0000 (19:21 +0000)]
Add linkTrail for Central Kurdish (ckb)

Like other RTL wikis; Persian (fa) and Arabic (ar)

Change-Id: I42125730fa5f5415963d91eb8042a1a079b4f7b7

9 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Mon, 8 Sep 2014 19:17:22 +0000 (19:17 +0000)]
Merge "Localisation updates from https://translatewiki.net."

9 years agoMerge "Html: Don't accept paths relative to skins/common/images/ in infoBox()"
jenkins-bot [Mon, 8 Sep 2014 19:15:51 +0000 (19:15 +0000)]
Merge "Html: Don't accept paths relative to skins/common/images/ in infoBox()"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 8 Sep 2014 19:15:49 +0000 (21:15 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Id20ad6471e08b3582bc93cb25999530daa003a53

9 years agoMerge "CategoryFinder: give parent category tree an accessor"
jenkins-bot [Mon, 8 Sep 2014 19:05:51 +0000 (19:05 +0000)]
Merge "CategoryFinder: give parent category tree an accessor"

9 years agoHtml: Don't accept paths relative to skins/common/images/ in infoBox()
Bartosz Dziewoński [Fri, 5 Sep 2014 18:17:40 +0000 (20:17 +0200)]
Html: Don't accept paths relative to skins/common/images/ in infoBox()

There are no files worth referencing there anymore.

No usages found in extensions, only one usage in core already didn't
depend on that behavior.

Change-Id: If1fd68a3a7355c8195fd2aad86e7584a5772bd4c

9 years agoMerge "When getting remote config, if the caller requested a single setting without...
jenkins-bot [Mon, 8 Sep 2014 18:48:05 +0000 (18:48 +0000)]
Merge "When getting remote config, if the caller requested a single setting without an array, always do that"

9 years agoUpdate OOjs UI to v0.1.0-pre (cc3c62607c)
James D. Forrester [Mon, 8 Sep 2014 18:26:16 +0000 (11:26 -0700)]
Update OOjs UI to v0.1.0-pre (cc3c62607c)

New changes:
cc3c626 Make help button for FieldLayout frameless again

Change-Id: Ic6fecd07b680a544e165e2813fc92360d18ad2bf

9 years agoMerge "Don't let LTR usernames jumble RTL watchlists"
jenkins-bot [Mon, 8 Sep 2014 18:03:17 +0000 (18:03 +0000)]
Merge "Don't let LTR usernames jumble RTL watchlists"

9 years agoFix indentation in ParserOutput.php
Brad Jorsch [Mon, 8 Sep 2014 15:00:14 +0000 (11:00 -0400)]
Fix indentation in ParserOutput.php

Looks like someone's IDE indenter malfunctioned in Ibe3e88fa.

Change-Id: I328c1485e53568bb7005a8ba00ed5cf6ffe2633b

9 years agoMerge "API: created a new api to flag messages as read"
jenkins-bot [Mon, 8 Sep 2014 15:20:30 +0000 (15:20 +0000)]
Merge "API: created a new api to flag messages as read"

9 years agoMerge "Chunked upload result should consistently have a "stage" value for "Poll""
jenkins-bot [Mon, 8 Sep 2014 15:16:53 +0000 (15:16 +0000)]
Merge "Chunked upload result should consistently have a "stage" value for "Poll""

9 years agoDon't let LTR usernames jumble RTL watchlists
Amir E. Aharoni [Mon, 8 Sep 2014 15:06:33 +0000 (18:06 +0300)]
Don't let LTR usernames jumble RTL watchlists

Adding unicode-bidi: embed isolates them from other
fields like time, title, summary etc.

This is particularly relevant to showing Wikidata changes.

Change-Id: I5c3f53318fcbfed75b0df9e24e5ff8636c0fea4b

9 years agoMerge "Make the PHP code snippet in SkinFallbackTemplate explicitly ltr"
jenkins-bot [Mon, 8 Sep 2014 14:36:16 +0000 (14:36 +0000)]
Merge "Make the PHP code snippet in SkinFallbackTemplate explicitly ltr"

9 years agoMerge "$wgAuth is no longer a stub object"
jenkins-bot [Mon, 8 Sep 2014 13:41:45 +0000 (13:41 +0000)]
Merge "$wgAuth is no longer a stub object"

9 years agoAdd @covers tags to ApiModuleManagerTest
Kunal Mehta [Mon, 8 Sep 2014 09:03:06 +0000 (02:03 -0700)]
Add @covers tags to ApiModuleManagerTest

Change-Id: Iaac773576a663d2f426632ad95f94b3556ef15b2

9 years agoAdd ApiModuleManager::getClassName()
Kunal Mehta [Fri, 15 Aug 2014 22:45:16 +0000 (15:45 -0700)]
Add ApiModuleManager::getClassName()

In cases where an extension has multiple API modules that
have the same exact factory requirements, it would let them
use the same factory function and check with the module manager
what the class name to construct should be. This is already possible
using getNamesWithClasses, but this makes it much more
straightforward.

Change-Id: I889e3e6f15907896a8df376913125d903debe984

9 years ago$wgAuth is no longer a stub object
Kunal Mehta [Wed, 13 Aug 2014 22:40:01 +0000 (15:40 -0700)]
$wgAuth is no longer a stub object

Follows-up Icb36e47a

Change-Id: I92031c905cd61cc31eae34c90f2ce49a8f84ba8b

9 years agoChunked upload result should consistently have a "stage" value for "Poll"
Gilles Dubuc [Fri, 5 Sep 2014 07:31:00 +0000 (09:31 +0200)]
Chunked upload result should consistently have a "stage" value for "Poll"

Change-Id: If9c2b215c43eef002482695701182c471f8bb450
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/855

9 years agoUpdate Moment.js from 2.8.1 to 2.8.3
paladox [Sat, 6 Sep 2014 12:54:30 +0000 (12:54 +0000)]
Update Moment.js from 2.8.1 to 2.8.3

Project site
* http://momentjs.com
* https://github.com/moment/moment/

File source
* https://github.com/moment/moment/tree/2.8.3

Changelog
* https://github.com/moment/moment/blob/2.8.3/CHANGELOG.md

Difference between 2.8.1 and 2.8.3

1.8.3

Bugfixes:
* #1801 proper pluralization for Arabic
* #1833 improve spm integration
* #1871 fix zone bug caused by Firefox 24
* #1882 Use hh:mm in Czech
* #1883 Fix 2.8.0 regression in duration as conversions
* #1890 Faster travis builds
* #1892 Faster isBefore/After/Same
* #1848 Fix flaky month diffs
* #1895 Fix 2.8.0 regression in moment.utc with format array
* #1896 Support setting invalid instance locale (noop)
* #1897 Support moment([str]) in addition to moment([int])

1.8.2

Minor bugfixes:
* #1874 use  Object.prototype.hasOwnProperty  instead of obj.hasOwnProperty  (ie8 bug)
* #1873 add  duration#toString()
* #1859 better month/weekday names in norwegian
* #1812 meridiem parsing for greek
* #1804 spanish del -> de
* #1800 korean LT improvement

Change-Id: I60595e8ea41e136c7afee12ad3702ecec6dd4aef

9 years agoMerge "resourceloader: Only store sources' load.php urls"
jenkins-bot [Sun, 7 Sep 2014 23:10:33 +0000 (23:10 +0000)]
Merge "resourceloader: Only store sources' load.php urls"

9 years agoMerge "Warn about bug 44011"
jenkins-bot [Sun, 7 Sep 2014 22:28:21 +0000 (22:28 +0000)]
Merge "Warn about bug 44011"

9 years agoMerge "Article: Don't hardcode <img> tags on redirect page"
jenkins-bot [Sun, 7 Sep 2014 21:36:03 +0000 (21:36 +0000)]
Merge "Article: Don't hardcode <img> tags on redirect page"

9 years agoMerge "Move mediawiki.png to assets/ directory"
jenkins-bot [Sun, 7 Sep 2014 21:26:50 +0000 (21:26 +0000)]
Merge "Move mediawiki.png to assets/ directory"

9 years agoMerge "Move file type icons to new assets/ directory"
jenkins-bot [Sun, 7 Sep 2014 21:26:00 +0000 (21:26 +0000)]
Merge "Move file type icons to new assets/ directory"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 7 Sep 2014 19:30:51 +0000 (21:30 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I5e83ff26f39d55131aceb150cb814e073c243d1e

9 years agoWarn about bug 44011
Jackmcbarn [Sun, 7 Sep 2014 15:08:20 +0000 (11:08 -0400)]
Warn about bug 44011

Add a note to the documentation for $wgURLProtocols warning about
bug #44011.

Change-Id: Ifc8a1efefb862173c897796395532fda8300439f

9 years agoRemove JSONContentHandler::$contentClass
Kunal Mehta [Tue, 2 Sep 2014 00:57:24 +0000 (17:57 -0700)]
Remove JSONContentHandler::$contentClass

Was deprecated in I70f1a3291.

Change-Id: I92d0fae344e158b9c46f2297c78a2e65fc3516db

9 years agoWhen getting remote config, if the caller requested a single setting without an array...
Alex Monk [Sat, 6 Sep 2014 21:42:02 +0000 (22:42 +0100)]
When getting remote config, if the caller requested a single setting without an array, always do that

Even if it comes from the cache. See Idfec62d5 review comments for PS43.

Change-Id: I67ceef7fec61b7f37728f120354bd886018d244e

9 years agoAPI: created a new api to flag messages as read
Petr Bena [Tue, 26 Aug 2014 13:06:12 +0000 (15:06 +0200)]
API: created a new api to flag messages as read

New api is called "ClearHasMsg" and does nothing but erase a new message
flag from currently logged in user.

This is useful for tools that can read the new messages using some api, or some
other way (loading the text using different session, preload the text using a
buffer where it's unrevealed later if user actually did read it, or closed the
application before), so it can be useful in situations when you need to flag new
messages as read in a different time than that when you actually read them.

Bug: 64238
Change-Id: Ife575711c32bb8e3bcac789de4a6b37e1888d032

9 years agoMerge "Article: Localize alt text of redirect icon"
jenkins-bot [Sat, 6 Sep 2014 12:54:30 +0000 (12:54 +0000)]
Merge "Article: Localize alt text of redirect icon"

9 years agoMake the PHP code snippet in SkinFallbackTemplate explicitly ltr
Amir E. Aharoni [Sat, 6 Sep 2014 12:46:56 +0000 (15:46 +0300)]
Make the PHP code snippet in SkinFallbackTemplate explicitly ltr

Change-Id: If03a72706b94663b38a41f778a046b2fc325f260

9 years agoMimeMagic: Use Config instead of globals
Kunal Mehta [Sat, 23 Aug 2014 08:13:19 +0000 (01:13 -0700)]
MimeMagic: Use Config instead of globals

Change-Id: I07d1420deddeb886c714d7e2c99f8b456573a07f

9 years agomediawiki.ui: Correct documentation numbering in form component
Prateek Saxena [Sat, 6 Sep 2014 11:20:43 +0000 (16:50 +0530)]
mediawiki.ui: Correct documentation numbering in form component

Change-Id: I38d5df1fe9122080168dce7060be53bdb4963e99

9 years agoUpdate OOjs UI to v0.1.0-pre (72f047e5d8)
James D. Forrester [Sat, 6 Sep 2014 00:15:09 +0000 (17:15 -0700)]
Update OOjs UI to v0.1.0-pre (72f047e5d8)

New changes:
72f047e Followup 67f83f1: fall back to empty string to avoid 'undefined'

Change-Id: Ieb49700a48e2a2c7b00fec551e96ed7830dc3f01

9 years agoMerge "mw.Debug.profile: Tweak support check to handle PhantomJS"
jenkins-bot [Fri, 5 Sep 2014 23:28:20 +0000 (23:28 +0000)]
Merge "mw.Debug.profile: Tweak support check to handle PhantomJS"

9 years agoMerge "img_auth: fix mismatched profiling"
jenkins-bot [Fri, 5 Sep 2014 23:17:12 +0000 (23:17 +0000)]
Merge "img_auth: fix mismatched profiling"

9 years agoMerge "resourceloader: Pass a Config to the ResourceLoader constructor"
jenkins-bot [Fri, 5 Sep 2014 23:06:31 +0000 (23:06 +0000)]
Merge "resourceloader: Pass a Config to the ResourceLoader constructor"

9 years agoimg_auth: fix mismatched profiling
Chad Horohoe [Fri, 5 Sep 2014 23:04:42 +0000 (16:04 -0700)]
img_auth: fix mismatched profiling

Change-Id: Iab2ed48ef00e55dcf5313b9c2a94ffdca2fdb790

9 years agoresourceloader: Pass a Config to the ResourceLoader constructor
Kunal Mehta [Sat, 23 Aug 2014 06:18:20 +0000 (23:18 -0700)]
resourceloader: Pass a Config to the ResourceLoader constructor

Instead of relying on the default being main, which is deprecated.

Change-Id: I200e2c2dc922ae1fa5fa68d449403d0287e41786

9 years agomw.Debug.profile: Tweak support check to handle PhantomJS
Matthew Flaschen [Fri, 11 Jul 2014 04:40:40 +0000 (00:40 -0400)]
mw.Debug.profile: Tweak support check to handle PhantomJS

* Latest PhantomJS (1.9.7) supports Array.prototype.map,
  Array.prototype.reduce, Array.prototype.filter, and
  document.createElementNS, but not Function.prototype.bind
* Check all of these in the init function, and if they're available
  continue (unless there's no profiling data) and initialize
  this.createSvgElement (previously done inline)
* Accordingly, rename buildRequiresES5 to buildRequiresBrowserFeatures
  and tweak message

Change-Id: If464b1093ec445afbb6c6b8c230e0e2669ad8c5c

9 years agoMerge "Release notes for b1d215726e"
jenkins-bot [Fri, 5 Sep 2014 22:02:22 +0000 (22:02 +0000)]
Merge "Release notes for b1d215726e"

9 years agoApply vform styling to HTMLForm buttons
Bryan Davis [Fri, 5 Sep 2014 21:56:19 +0000 (15:56 -0600)]
Apply vform styling to HTMLForm buttons

Check for isVForm() and apply styling matching the default submit button
when generating alternate form submit buttons.

Change-Id: Ia3313087248af1537ac4740694846b6ff1187b1a

9 years agoRelease notes for b1d215726e
Aaron Schulz [Fri, 5 Sep 2014 21:55:10 +0000 (14:55 -0700)]
Release notes for b1d215726e

Change-Id: I311c74ea038a59383280960187c48dbc1ba275a0

9 years agoMerge "Removed LCStoreAccel class"
jenkins-bot [Fri, 5 Sep 2014 21:54:37 +0000 (21:54 +0000)]
Merge "Removed LCStoreAccel class"

9 years agoUpdate OOjs UI to v0.1.0-pre (8ad150e4e7)
James D. Forrester [Fri, 5 Sep 2014 21:30:35 +0000 (14:30 -0700)]
Update OOjs UI to v0.1.0-pre (8ad150e4e7)

New changes:
94b6415 Use grunt-svg2png to convert SVG icons to PNG for distribution
319052d window.svg: Fix XML validity
eab00f2 build: Remove documentation lies from 'copy' task
67f83f1 Make CSS transplantation work in IE10
8ad150e Make the background reset for dialogs in Apex work in IE10

Change-Id: I01efa40a98c4e2d23dea1060cd8116dd30a1ddcd

9 years agoMerge "Added a BloomCacheRedisTest class"
jenkins-bot [Fri, 5 Sep 2014 21:28:00 +0000 (21:28 +0000)]
Merge "Added a BloomCacheRedisTest class"

9 years agoMerge mediawiki.legacy.upload into mediawiki.special.upload
Alex Monk [Fri, 5 Sep 2014 20:34:57 +0000 (21:34 +0100)]
Merge mediawiki.legacy.upload into mediawiki.special.upload

Bug: 31946
Change-Id: Iba7d5a655847f00dde8f11c46dfc13f43b610433

9 years agoRemoved LCStoreAccel class
Aaron Schulz [Fri, 5 Sep 2014 20:33:10 +0000 (13:33 -0700)]
Removed LCStoreAccel class

* Since individual message keys can expire, this can cause broken
  messages when such a key is needed (the message is treated as if
  it did not exist). The base class clearly documents a need for
  more atomicity (only top level keys can fall it separately).

Change-Id: I992bba77a0afdeeeade8be013708277b79f22314

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 5 Sep 2014 20:18:49 +0000 (22:18 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ia7c9948f92b74f6a3c0d8dfa789e666640420bd5

9 years agoAdded DatabaseBase::selectRowCount() method
Aaron Schulz [Fri, 15 Aug 2014 17:52:20 +0000 (10:52 -0700)]
Added DatabaseBase::selectRowCount() method

* Useful for doing COUNT(*) with a LIMIT for performance
* Made MergeHistory use it

Change-Id: If1cfc52ea22fd09d34915c29b45d0b487d28d15a

9 years agoArticle: Don't hardcode <img> tags on redirect page
Bartosz Dziewoński [Fri, 5 Sep 2014 14:12:04 +0000 (16:12 +0200)]
Article: Don't hardcode <img> tags on redirect page

* Created a ResourceLoader module for redirect page styling.
* Fixed a couple of bugs in Article code.

Keeping two of the old files for a while because they might still be
referenced by something (bug 69277 comment 11).

Bug: 69277
Change-Id: I8fa565833545e41d0232101566da8c5ffa850e36

9 years agoMerge "Add parser tests about building table with {{!}}"
jenkins-bot [Fri, 5 Sep 2014 19:36:40 +0000 (19:36 +0000)]
Merge "Add parser tests about building table with {{!}}"

9 years agoMerge "Remove unneeded spaces inside html in NoLocalSettings.php"
jenkins-bot [Fri, 5 Sep 2014 19:33:17 +0000 (19:33 +0000)]
Merge "Remove unneeded spaces inside html in NoLocalSettings.php"

9 years agoMerge "Sanitizer::escapeId: Decode entity before replacing spaces"
jenkins-bot [Fri, 5 Sep 2014 19:32:47 +0000 (19:32 +0000)]
Merge "Sanitizer::escapeId: Decode entity before replacing spaces"

9 years agoMerge "Refactor: Use local variables for editsections in Parser"
jenkins-bot [Fri, 5 Sep 2014 19:30:35 +0000 (19:30 +0000)]
Merge "Refactor: Use local variables for editsections in Parser"

9 years agoMerge "Add tests for User::getCanonicalName()"
jenkins-bot [Fri, 5 Sep 2014 19:29:57 +0000 (19:29 +0000)]
Merge "Add tests for User::getCanonicalName()"

9 years agoMerge "Improve tests for OutputPage::makeResourceLoaderLink"
jenkins-bot [Fri, 5 Sep 2014 19:25:26 +0000 (19:25 +0000)]
Merge "Improve tests for OutputPage::makeResourceLoaderLink"

9 years agoMerge "mediawiki.notification: Also hide #mw-notification-area upon creation"
jenkins-bot [Fri, 5 Sep 2014 19:00:54 +0000 (19:00 +0000)]
Merge "mediawiki.notification: Also hide #mw-notification-area upon creation"

9 years agoCategoryFinder: give parent category tree an accessor
Chad Horohoe [Fri, 5 Sep 2014 18:56:41 +0000 (11:56 -0700)]
CategoryFinder: give parent category tree an accessor

Change-Id: Iab8589877cef12943c428ff43ff730ba4f87acb3

9 years agomediawiki.notification: Also hide #mw-notification-area upon creation
Roan Kattouw [Fri, 5 Sep 2014 18:40:27 +0000 (11:40 -0700)]
mediawiki.notification: Also hide #mw-notification-area upon creation

6c5b246 made it so #mw-notification-area was hidden when the last
notification was dismissed, but it still left it visible when
initially creating it. This meant that if you used mw.notify(),
you had no problems, but if you loaded the mediawiki.notification
module manually and called it manually, you would still get
a 12px-tall click-stealing invisible div until the first notification
was displayed.

Bug: 52659
Change-Id: Ibec399ac9ef083036aa2b31a38bcc1bc36b87d96

9 years agoUploadFromUrlTest: Don't reference skins/common/ (via bits.wm.o)
Bartosz Dziewoński [Fri, 5 Sep 2014 18:37:53 +0000 (20:37 +0200)]
UploadFromUrlTest: Don't reference skins/common/ (via bits.wm.o)

Files from that directory have a tendency to suddenly disappear.

Replaced the URL with the MediaWiki logo used on mediawiki.org, which
should be not disappear. This whole stuff is a bit meh though.

Change-Id: I7bf22bd7e51f518500e5767b4d5012c2eb17f020

9 years agoMerge "Remove Parsoid-specific padding and background"
jenkins-bot [Fri, 5 Sep 2014 18:35:46 +0000 (18:35 +0000)]
Merge "Remove Parsoid-specific padding and background"

9 years agoMerge "Typo fix: HMTL → HTML"
jenkins-bot [Fri, 5 Sep 2014 18:07:34 +0000 (18:07 +0000)]
Merge "Typo fix: HMTL → HTML"

9 years agoRemove Parsoid-specific padding and background
Gabriel Wicke [Fri, 5 Sep 2014 18:04:30 +0000 (11:04 -0700)]
Remove Parsoid-specific padding and background

Those shouldn't be necessary any more, and are getting in the way for visual
diffing.

Change-Id: Ic7ea7d014d27bc7cf9a3d7c26808c96bf7f1d8fb