lhc/web/wiklou.git
9 years agoSpecialPasswordReset: Use Config instead of globals
Kunal Mehta [Mon, 4 Aug 2014 00:27:07 +0000 (17:27 -0700)]
SpecialPasswordReset: Use Config instead of globals

Change-Id: I017fb8b636771902c3b50c5588e6ae3d5db70688

9 years agoMerge "SpecialLog: Use Config instead of globals"
Kunal Mehta [Sun, 3 Aug 2014 23:57:43 +0000 (23:57 +0000)]
Merge "SpecialLog: Use Config instead of globals"

9 years agoUse wfScript() instead of globals in a few places
Kunal Mehta [Sun, 3 Aug 2014 23:41:53 +0000 (16:41 -0700)]
Use wfScript() instead of globals in a few places

Change-Id: I8a23e7b647c082119799b5bc8cfd5ff76c712f85

9 years agoMerge "SpecialLockdb: Use Config instead of globals"
jenkins-bot [Sun, 3 Aug 2014 23:39:53 +0000 (23:39 +0000)]
Merge "SpecialLockdb: Use Config instead of globals"

9 years agoSpecialLog: Use Config instead of globals
Kunal Mehta [Sun, 3 Aug 2014 23:38:57 +0000 (16:38 -0700)]
SpecialLog: Use Config instead of globals

Change-Id: I79fca62fccf27618f1da94c2d0fb263daad5c875

9 years agoMerge "SpecialListUsers: Use Config instead of globals"
jenkins-bot [Sun, 3 Aug 2014 23:36:07 +0000 (23:36 +0000)]
Merge "SpecialListUsers: Use Config instead of globals"

9 years agoSpecialLockdb: Use Config instead of globals
Kunal Mehta [Sun, 3 Aug 2014 23:35:52 +0000 (16:35 -0700)]
SpecialLockdb: Use Config instead of globals

Change-Id: I70b1fc0a4c89628c504f75e5e19beff5169cd5cb

9 years agoSpecialListUsers: Use Config instead of globals
Kunal Mehta [Sun, 3 Aug 2014 23:32:04 +0000 (16:32 -0700)]
SpecialListUsers: Use Config instead of globals

Change-Id: I3016d40bc36438b261b329d6db6bb38798079623

9 years agoMerge "Add tests for ConfigFactory::getDefaultInstance"
jenkins-bot [Sun, 3 Aug 2014 23:31:19 +0000 (23:31 +0000)]
Merge "Add tests for ConfigFactory::getDefaultInstance"

9 years agoAdd tests for ConfigFactory::getDefaultInstance
Kunal Mehta [Sun, 3 Aug 2014 21:05:50 +0000 (14:05 -0700)]
Add tests for ConfigFactory::getDefaultInstance

Change-Id: I6d356458dfe0a66f9af12ab58a6b1dcf47b6325a

9 years agoMerge "SpecialListFiles: Use Config instead of globals"
jenkins-bot [Sun, 3 Aug 2014 23:09:15 +0000 (23:09 +0000)]
Merge "SpecialListFiles: Use Config instead of globals"

9 years agoSpecialListFiles: Use Config instead of globals
Kunal Mehta [Sun, 3 Aug 2014 23:01:38 +0000 (16:01 -0700)]
SpecialListFiles: Use Config instead of globals

Change-Id: Id311c3009ce885b632897b6a0b85efc7ba445b9d

9 years agoSpecialLinkSearch: Use Config instead of globals
Kunal Mehta [Sun, 3 Aug 2014 22:59:42 +0000 (15:59 -0700)]
SpecialLinkSearch: Use Config instead of globals

Change-Id: I387049cc524de0847d0f195e4435d1935c7a047f

9 years agoMerge "SpecialChangeEmail: Use Config instead of globals"
Kunal Mehta [Sun, 3 Aug 2014 22:54:26 +0000 (22:54 +0000)]
Merge "SpecialChangeEmail: Use Config instead of globals"

9 years agoMerge "SpecialExport: Use Config instead of globals"
Addshore [Sun, 3 Aug 2014 22:49:57 +0000 (22:49 +0000)]
Merge "SpecialExport: Use Config instead of globals"

9 years agoMerge "SpecialChangePassword: Use Config instead of globals"
jenkins-bot [Sun, 3 Aug 2014 22:49:46 +0000 (22:49 +0000)]
Merge "SpecialChangePassword: Use Config instead of globals"

9 years agoMerge "DeletedContributionsPage: Use Config instead of globals"
jenkins-bot [Sun, 3 Aug 2014 22:47:15 +0000 (22:47 +0000)]
Merge "DeletedContributionsPage: Use Config instead of globals"

9 years agoMerge "SpecialExpandTemplates: Use Config instead of globals"
jenkins-bot [Sun, 3 Aug 2014 22:46:40 +0000 (22:46 +0000)]
Merge "SpecialExpandTemplates: Use Config instead of globals"

9 years agoUse wfScript() instead of global in a few places
Kunal Mehta [Sun, 3 Aug 2014 21:25:52 +0000 (14:25 -0700)]
Use wfScript() instead of global in a few places

Change-Id: I3bb8eb52508e0f0ba40a889b400b0fc303311e29

9 years agoSpecialExport: Use Config instead of globals
Kunal Mehta [Sun, 3 Aug 2014 22:10:25 +0000 (15:10 -0700)]
SpecialExport: Use Config instead of globals

Change-Id: I4a87a7007f4adc2ab47be1207f1a04a5ccd31323

9 years agoSpecialExpandTemplates: Use Config instead of globals
Kunal Mehta [Sun, 3 Aug 2014 21:55:15 +0000 (14:55 -0700)]
SpecialExpandTemplates: Use Config instead of globals

Change-Id: I84b1008a11aa12708231b6f460715a5cdd4f4e01

9 years agoDeletedContributionsPage: Use Config instead of globals
Kunal Mehta [Sun, 3 Aug 2014 21:45:53 +0000 (14:45 -0700)]
DeletedContributionsPage: Use Config instead of globals

Change-Id: I5d97deb6f36b5db3371f784c16159d8ee53ba8ee

9 years agoSpecialChangePassword: Use Config instead of globals
Kunal Mehta [Sun, 3 Aug 2014 21:32:34 +0000 (14:32 -0700)]
SpecialChangePassword: Use Config instead of globals

Change-Id: Iabd07d226ea6da340dc7fc52a2370c287b769bbc

9 years agoSpecialChangeEmail: Use Config instead of globals
Kunal Mehta [Sun, 3 Aug 2014 21:30:20 +0000 (14:30 -0700)]
SpecialChangeEmail: Use Config instead of globals

Change-Id: I8c2f6ec440839ebd0a48726c10867eec26946435

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 3 Aug 2014 19:52:58 +0000 (21:52 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ie088cb1ba258e63ae6b78dc6ff7d4c3eb8d59ff8

9 years agoVector: Remove dead @import in screen.less
Bartosz Dziewoński [Sun, 3 Aug 2014 19:14:57 +0000 (21:14 +0200)]
Vector: Remove dead @import in screen.less

This file doesn't exist anymore after If248781e, I forgot to remove
this line. In a better world this would be throwing an exception
instead of just doing nothing and being stupid.

Change-Id: If75f0f4c5c0a896a04ab0009665a212051120c37

9 years agoVector: Fix missing tab images on Special:Preferences
Bartosz Dziewoński [Sun, 3 Aug 2014 19:13:54 +0000 (21:13 +0200)]
Vector: Fix missing tab images on Special:Preferences

This fixes an issue in vector when you go to special preference the
images would not load. That is because you needed to add ../ to the
file path.

This follows up If248781e44300039eb52262d03b2f6722838dd12

Change-Id: Iee3303eb1288ad5fc9e5a39e4854774a6da375ff

9 years agoAllow use of phpunit.phar with MediaWiki's phpunit.php test entry point
addshore [Mon, 5 May 2014 16:40:54 +0000 (17:40 +0100)]
Allow use of phpunit.phar with MediaWiki's phpunit.php test entry point

MediaWiki tends to assume installation of phpunit via PEAR.
Distribution of phpunit via PEAR will eventually be discontinued,
in favor of distribution via PHAR or composer. PEAR installation
of phpunit 4.0 essentially distributes a phar.

https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-4.0.0

This patch allows phpunit.php to work with a phpunit.phar file,
as long as it's in the include path.  --with-phpunitdir can be used
to add a directory to the include path.

With composer install, no options are needed and it works.

Bug: 58881
Change-Id: Ibac9b36bbb9614d990c697a091947a64c8987d1d

9 years agoRemove MediaWikiPHPUnitCommand
addshore [Mon, 5 May 2014 16:10:07 +0000 (17:10 +0100)]
Remove MediaWikiPHPUnitCommand

All functionality has been moved to other places

Change-Id: I6b6b0ef846bc63108c4dff9e17098432fd9d1697

9 years agoMove debug-tests out of MediaWikiPHPUnitCommand
addshore [Mon, 5 May 2014 14:11:34 +0000 (15:11 +0100)]
Move debug-tests out of MediaWikiPHPUnitCommand

This also slightly refactors MediaWikiPHPUnitTestListener
so we can pass it into phpunit directly using the
--printer option

Change-Id: I6a19e3902130eeba6a0941f24a4f440b712058e5

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 2 Aug 2014 20:09:22 +0000 (22:09 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I627fb14816a7bdcaf98c6895ad162f9befd12d64

9 years agoDocumentation: put FormAction and FormlessAction into "Actions" group
withoutaname [Sun, 13 Jul 2014 07:15:44 +0000 (00:15 -0700)]
Documentation: put FormAction and FormlessAction into "Actions" group

Change-Id: Iac8a203426897446b8c9f3fbaaa9d608c419bce6

9 years agoMerge "Improve KSS doc for mw-ui-checkbox and input"
jenkins-bot [Fri, 1 Aug 2014 23:12:59 +0000 (23:12 +0000)]
Merge "Improve KSS doc for mw-ui-checkbox and input"

9 years agoImprove KSS doc for mw-ui-checkbox and input
S Page [Fri, 1 Aug 2014 22:53:46 +0000 (15:53 -0700)]
Improve KSS doc for mw-ui-checkbox and input

Improve English, end sentences with a full stop or period, show
placeholder styling in input examples.
Comments only.  `cd docs/kss && make kss && make kssopen` to check.

Change-Id: I61a7c120930b4ba76f9d0e69f36e4ef17db95ac4

9 years agoMerge "Separate select() parameter summary from detail"
jenkins-bot [Fri, 1 Aug 2014 22:49:36 +0000 (22:49 +0000)]
Merge "Separate select() parameter summary from detail"

9 years agoMerge "Docs: Add note that you might want Title::getLinkURL"
jenkins-bot [Fri, 1 Aug 2014 22:37:29 +0000 (22:37 +0000)]
Merge "Docs: Add note that you might want Title::getLinkURL"

9 years agoDocs: Add note that you might want Title::getLinkURL
Erik Bernhardson [Fri, 1 Aug 2014 20:58:51 +0000 (13:58 -0700)]
Docs: Add note that you might want Title::getLinkURL

While there are valid use cases of Title::getLocalURL, it is safer
to use Title::getLinkURL in most instances.  Additionally developers
won't accidentally their fragments that way.

Change-Id: I1bf567ba9c38103d39a883e8ea3a60f9f2082181

9 years agoAllow classes to be registered properly from installer
Chad Horohoe [Wed, 2 Jul 2014 22:40:49 +0000 (15:40 -0700)]
Allow classes to be registered properly from installer

Because otherwise extensions can cause the installer to explode when
they can't find their own classes at entry point.

I feel dirty.

Bug: 67440
Change-Id: I235fe58125fd49319963d949faffe024684755bd

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 1 Aug 2014 19:18:44 +0000 (21:18 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I2965067cc40170a93f0a2368ce22aab5eef83295

9 years agoMerge "Enforce array type hinting in OutputPage.php"
jenkins-bot [Fri, 1 Aug 2014 19:08:16 +0000 (19:08 +0000)]
Merge "Enforce array type hinting in OutputPage.php"

9 years agoCheck for result size failure in ApiQuery
Brad Jorsch [Fri, 1 Aug 2014 16:23:09 +0000 (12:23 -0400)]
Check for result size failure in ApiQuery

If someone sets $wgAPIMaxResultSize crazily small and then queries a
large number of pages, it can cause ApiQuery to fail to populate the
'pages' node. Then submodules might add data to the node, leading to
errors from the XML formatter (or bogus output from other formatters).

While that particular failure mode is probably going away soon, it's
still good to catch the error situation.

Bug: 68989
Change-Id: If0b2eda421fd86dd7acc4fe48cec47741e214221

9 years agoFix messed up parameters in Recentchanges hook
Thiemo Mättig [Fri, 1 Aug 2014 15:13:18 +0000 (17:13 +0200)]
Fix messed up parameters in Recentchanges hook

Ouch. Sorry.

Bug: 68938
Bug: 68943

Change-Id: I3c02c2ff06a3e8ee02136c876276cb63de03bcc7

9 years agoFactorise $this->getTitle() call in Article::confirmDelete()
Alexandre Emsenhuber [Fri, 1 Aug 2014 14:31:50 +0000 (16:31 +0200)]
Factorise $this->getTitle() call in Article::confirmDelete()

Call it once instead of seven times.

Change-Id: I2f4d298a15046c4dc02afbf7582c90a1f17ea4cb

9 years agoVastly increase how long wfWaitForSlaves() can block in CLI mode
Aaron Schulz [Fri, 1 Aug 2014 06:11:34 +0000 (23:11 -0700)]
Vastly increase how long wfWaitForSlaves() can block in CLI mode

* All maintenance scripts pretty much assumed this behavior, but it
  was not actually the case. This can avoid some massive lag problems.

Change-Id: I5894409d6abade16afd8144f6689c2aff3fa7327

9 years agoAdd mw-ui-* context colors for any element, plus special handling for anchors
Shahyar [Wed, 30 Jul 2014 16:44:19 +0000 (12:44 -0400)]
Add mw-ui-* context colors for any element, plus special handling for anchors

Progressive, constructive, destructive can now be used independently of mw-ui-button.

Change-Id: I89d80927d603407678182592a1b12e2132de4141

9 years agoMerge "Remove global functions deprecated since 1.22"
jenkins-bot [Thu, 31 Jul 2014 22:04:14 +0000 (22:04 +0000)]
Merge "Remove global functions deprecated since 1.22"

9 years agoMerge "Remove deprecated $wgCompiledFiles configuration setting"
jenkins-bot [Thu, 31 Jul 2014 21:43:56 +0000 (21:43 +0000)]
Merge "Remove deprecated $wgCompiledFiles configuration setting"

9 years agoMerge "Add mw-ui-checkbox"
jenkins-bot [Thu, 31 Jul 2014 21:01:32 +0000 (21:01 +0000)]
Merge "Add mw-ui-checkbox"

9 years agoAdd mw-ui-checkbox
jdlrobson [Thu, 24 Jul 2014 20:01:35 +0000 (13:01 -0700)]
Add mw-ui-checkbox

Move checkbox styling from BetaFeatures extension to core.
Drop vendor prefixed border radius support (http://caniuse.com/border-radius)

Use adjacent selector which is supported IE 7 and greater
Use not selector to filter out IE < 8 which do not support :checked

Change-Id: I6a0db7c8ce33d242120f1cba9222db4e2154696c

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 31 Jul 2014 20:00:15 +0000 (22:00 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Id172b0ad35f4b0513db7ad8b787431052a4428f2

9 years agoRemove useless temporary variable in Setup.php
Alexandre Emsenhuber [Thu, 31 Jul 2014 19:17:42 +0000 (21:17 +0200)]
Remove useless temporary variable in Setup.php

Also makes the definition of $wgLocalFileRepo consistent.

Change-Id: I6fc7a6e938699ded90eca577dd005a77466cbeee

9 years agoMerge "Shorten ternary expressions in RawAction.php"
jenkins-bot [Thu, 31 Jul 2014 17:44:29 +0000 (17:44 +0000)]
Merge "Shorten ternary expressions in RawAction.php"

9 years agoMerge "Api request log: improve module retrieval"
jenkins-bot [Thu, 31 Jul 2014 17:32:35 +0000 (17:32 +0000)]
Merge "Api request log: improve module retrieval"

9 years agoMerge "Throw exception in importDump instead of dumping a random backtrace and erroring"
jenkins-bot [Thu, 31 Jul 2014 17:21:56 +0000 (17:21 +0000)]
Merge "Throw exception in importDump instead of dumping a random backtrace and erroring"

9 years agoAPI: Allow undeleting files
Brad Jorsch [Tue, 15 Jul 2014 16:52:20 +0000 (12:52 -0400)]
API: Allow undeleting files

Strange that action=undelete didn't support this already.

Bug: 40817
Change-Id: Ia864158370411e555f63f70588ebd305a756d6f5

9 years agoMerge "Use <pre> to format bash commands"
jenkins-bot [Thu, 31 Jul 2014 15:53:27 +0000 (15:53 +0000)]
Merge "Use <pre> to format bash commands"

9 years agolist=logevent userid is returned as string, should be integer
Reedy [Thu, 31 Jul 2014 14:24:58 +0000 (15:24 +0100)]
list=logevent userid is returned as string, should be integer

Bug: 68921
Change-Id: Ibdc771cfc3286f8f20f64a2817a2ef01d4b1f8ad

9 years agoPartially undo failed revert of "Update jquery.ui Vector theme to 1.9.2"
Timo Tijhof [Thu, 31 Jul 2014 11:21:32 +0000 (12:21 +0100)]
Partially undo failed revert of "Update jquery.ui Vector theme to 1.9.2"

Follows-up 36b8e0e10ff which claims to revert 7bb0c9a01e, but
really just made a gigantic mess of the place and managed to somehow
partially undo the jQuery UI upgrade to 1.9 (3cb2ccd87863abb8a) which
breaks in all kinds of interesting ways because the stylesheets
it added instead are from jQuery UI 1.8 and naturally incompatible.

This restores resources/lib/jquery.ui from the mediawiki-core
tree at 977b5ea0e090 (parent of 7bb0c9a01e).

Change-Id: Ie3bcd8560fe5012ed616fc341e036e8614b5208c

9 years agoRemove global functions deprecated since 1.22
withoutaname [Thu, 31 Jul 2014 07:23:56 +0000 (00:23 -0700)]
Remove global functions deprecated since 1.22

Specifically functions wfArrayLookup(), wfArrayMerge(),
wfDebugDieBacktrace() and wfTime() from GlobalFunctions.php.

Change-Id: I9339cb2d8da41953a0e2a051452298f480256ebc

9 years agoUse <pre> to format bash commands
helderwiki [Thu, 31 Jul 2014 01:33:19 +0000 (22:33 -0300)]
Use <pre> to format bash commands

Change-Id: Iae36e9d2e16fbeede03e983b69b04bbaee573345

9 years agoMerge "Refactor Watchlist code so mobile can be more consistent"
jenkins-bot [Wed, 30 Jul 2014 23:54:34 +0000 (23:54 +0000)]
Merge "Refactor Watchlist code so mobile can be more consistent"

9 years agoMerge "Update OOjs UI to v0.1.0-pre (dd294dc785)"
jenkins-bot [Wed, 30 Jul 2014 23:48:52 +0000 (23:48 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (dd294dc785)"

9 years agoUnbreak Special:WhatLinksHere for $wgUseLinkNamespaceDBFields=false
Aaron Schulz [Tue, 29 Jul 2014 01:16:40 +0000 (18:16 -0700)]
Unbreak Special:WhatLinksHere for $wgUseLinkNamespaceDBFields=false

* Usage of the namespace selector gave a query error.
  This fixes b8c038f6784ef08205f7cf6d7cc11462140e3fa2.
* Also handle a high amount of outdated *_namespace fields better.

Change-Id: I57e51f18ae749ac64413a612d6070fab29dff51f

9 years agoMerge "Fix title handling in User::getCanonicalName"
jenkins-bot [Wed, 30 Jul 2014 23:27:56 +0000 (23:27 +0000)]
Merge "Fix title handling in User::getCanonicalName"

9 years agoMerge "Correct shadow flipping in CSSJanus"
jenkins-bot [Wed, 30 Jul 2014 23:27:32 +0000 (23:27 +0000)]
Merge "Correct shadow flipping in CSSJanus"

9 years agoMerge "Change addCategoryLinks() to use array_fill_keys"
jenkins-bot [Wed, 30 Jul 2014 23:23:42 +0000 (23:23 +0000)]
Merge "Change addCategoryLinks() to use array_fill_keys"

9 years agoCorrect shadow flipping in CSSJanus
Shahyar [Wed, 30 Jul 2014 22:50:17 +0000 (18:50 -0400)]
Correct shadow flipping in CSSJanus

Was incorrectly assuming values between -1 and 1 were 0
Fixes an issue with mw-ui-input class in RTL mode which
makes use of box shadow.

Change-Id: I13e52467721bc2534e0a7c5245e3380ac43736ef

9 years agoUpdate OOjs UI to v0.1.0-pre (dd294dc785)
James D. Forrester [Wed, 30 Jul 2014 23:10:53 +0000 (16:10 -0700)]
Update OOjs UI to v0.1.0-pre (dd294dc785)

New changes:
f9e65d6 Revert "Make scrolling in PanelLayout smoother on iOS"

Change-Id: I095717ce24aaa28835bb7869c43edb898f5291b9

9 years agoMerge "Fix 2 0.8 to 0.9 in export-0.9.xsd"
jenkins-bot [Wed, 30 Jul 2014 22:56:19 +0000 (22:56 +0000)]
Merge "Fix 2 0.8 to 0.9 in export-0.9.xsd"

9 years agoCreate preference to watchlist pages after rollbacking
Étienne Beaulé [Tue, 15 Jul 2014 12:32:16 +0000 (08:32 -0400)]
Create preference to watchlist pages after rollbacking

This change adds a  preference in the 'watchlist' section to
automatically watchlist a page after rollbacking.

The setting is only visible, if the user has the 'rollback'-right.
I have removed the watch reverts function per advice by Vogone.

Bug: 4488
Change-Id: I3aa831c9c04d627684641af0ca5a332795c87062

9 years agoMerge "Fixed fatal error for invalid codes in Special:MyLanguage"
Aaron Schulz [Wed, 30 Jul 2014 21:23:19 +0000 (21:23 +0000)]
Merge "Fixed fatal error for invalid codes in Special:MyLanguage"

9 years agoRemove deprecated $wgCompiledFiles configuration setting
withoutaname [Wed, 30 Jul 2014 20:46:53 +0000 (13:46 -0700)]
Remove deprecated $wgCompiledFiles configuration setting

Change-Id: I6a220291e6ebd9354e12898a77b7dc52fd59e63f

9 years agoChange addCategoryLinks() to use array_fill_keys
withoutaname [Wed, 23 Jul 2014 02:41:50 +0000 (19:41 -0700)]
Change addCategoryLinks() to use array_fill_keys

Previously it used an ugly array_combine hack.

Change-Id: I6bc4fb5cfffda468c61037588ebb4399b5121db5

9 years agoFix 2 0.8 to 0.9 in export-0.9.xsd
Reedy [Wed, 30 Jul 2014 20:08:46 +0000 (21:08 +0100)]
Fix 2 0.8 to 0.9 in export-0.9.xsd

Change-Id: Ida104bcd66dee477d724f3c99a671e5d617177df

9 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Wed, 30 Jul 2014 20:02:17 +0000 (20:02 +0000)]
Merge "Localisation updates from https://translatewiki.net."

9 years agoMerge "Update OOjs UI to v0.1.0-pre (3d8475c0b3)"
jenkins-bot [Wed, 30 Jul 2014 19:57:42 +0000 (19:57 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (3d8475c0b3)"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 30 Jul 2014 19:43:35 +0000 (21:43 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I9a52b0b7e9cbe3e791eb90f6835927599310481a

9 years agoUpdate OOjs UI to v0.1.0-pre (3d8475c0b3)
James D. Forrester [Wed, 30 Jul 2014 19:38:46 +0000 (12:38 -0700)]
Update OOjs UI to v0.1.0-pre (3d8475c0b3)

New changes:
feba6af Remove unused CSS classes
58af913 Remove direction style attribute
7463080 Restyle agora theme for mobile after window refactor
5708bdf Make scrolling in PanelLayout smoother on iOS
96b89c2 demos: Add right-aligned menu in toolbar demo

Change-Id: If38bbe6a7bc6c1452d2c56397344a3b75f5e46d5

9 years agoAdd dbname to XML database dump "siteinfo"
Reedy [Sun, 27 Jul 2014 17:31:17 +0000 (18:31 +0100)]
Add dbname to XML database dump "siteinfo"

Bug: 68686
Change-Id: I1d93a91e62dfde6c9ab4fac887d6fb2b33e36a72

9 years agoSECURITY: Copy prevent-clickjacking between OutputPage and ParserOutput
Brad Jorsch [Thu, 10 Jul 2014 19:16:29 +0000 (12:16 -0700)]
SECURITY: Copy prevent-clickjacking between OutputPage and ParserOutput

Special page transclusion returns an OutputPage, whose metadata is
copied into the ParserOutput, and then later back into an OutputPage.
The "preventClickjacking" flag should be part of that metadata.

Bug: 65778
Change-Id: I17d2720fb94bb383a92059e5adbf6c16ee3e9ef4

9 years agoFix for XSS issue in bug 66608
Gergő Tisza [Fri, 27 Jun 2014 00:15:03 +0000 (00:15 +0000)]
Fix for XSS issue in bug 66608

Generate the URL used for loading a new page in Javascript,
instead of relying on the URL in the link that has been clicked
(as that could have been crafted by an attacker).

Bug: 66608
Change-Id: I19e2bf3af017a37c35cbadce9a70194aac693f33

9 years agoSECURITY: Prepend jsonp callback with comment
csteipp [Thu, 17 Jul 2014 20:24:56 +0000 (13:24 -0700)]
SECURITY: Prepend jsonp callback with comment

Mitigate CVE-2014-4671 for unpatched flash players

Bug: 68187
Change-Id: I2f46e623c1f541dbbafb6e8333e0929055098b15

9 years agoFixed fatal error for invalid codes in Special:MyLanguage
Aaron Schulz [Wed, 30 Jul 2014 18:16:32 +0000 (11:16 -0700)]
Fixed fatal error for invalid codes in Special:MyLanguage

* Fixes "Exception from line 339 of languages/Language.php: Language::isValidBuiltInCode must be passed a string, boolean given"

Change-Id: I546998fe89261f3012fa404578d5684c7ddf59a5

9 years agoMerge "Preserve 'srbackend' query parameter"
Chad [Wed, 30 Jul 2014 18:03:58 +0000 (18:03 +0000)]
Merge "Preserve 'srbackend' query parameter"

9 years agoRemove functions deprecated since 1.21 from EditPage.php
withoutaname [Tue, 22 Jul 2014 00:13:45 +0000 (17:13 -0700)]
Remove functions deprecated since 1.21 from EditPage.php

Specifically functions getContent(), getPreloadedText(), mergeChangesInto()
and setPreloadedText().

Change-Id: I5a258b4f060b1a3ae1218b8a8f424f2c9e8f146e

9 years agoMerge "Remove functions deprecated since 1.19 from EditPage.php"
jenkins-bot [Wed, 30 Jul 2014 15:59:26 +0000 (15:59 +0000)]
Merge "Remove functions deprecated since 1.19 from EditPage.php"

9 years agoMerge "Remove $wgTitle from LanguageConverter subclasses"
jenkins-bot [Wed, 30 Jul 2014 15:50:41 +0000 (15:50 +0000)]
Merge "Remove $wgTitle from LanguageConverter subclasses"

9 years agoMerge "Remove check for PHP version in install.php"
jenkins-bot [Wed, 30 Jul 2014 15:47:47 +0000 (15:47 +0000)]
Merge "Remove check for PHP version in install.php"

9 years agoMerge "Log errors when several callbacks give exceptions in onTransaction* methods"
jenkins-bot [Wed, 30 Jul 2014 15:33:30 +0000 (15:33 +0000)]
Merge "Log errors when several callbacks give exceptions in onTransaction* methods"

9 years agoMerge "Fixed MediaWiki dual getter/setters from fataling"
jenkins-bot [Wed, 30 Jul 2014 15:31:19 +0000 (15:31 +0000)]
Merge "Fixed MediaWiki dual getter/setters from fataling"

9 years agoMerge "Fixed use of wrong class constant"
jenkins-bot [Wed, 30 Jul 2014 15:31:13 +0000 (15:31 +0000)]
Merge "Fixed use of wrong class constant"

9 years agoMerge "Clean up user version constants"
Chad Horohoe [Wed, 30 Jul 2014 14:21:34 +0000 (14:21 +0000)]
Merge "Clean up user version constants"

9 years agoMerge "Fix deprecated hooks not having a non-deprecated alternative"
jenkins-bot [Wed, 30 Jul 2014 13:53:36 +0000 (13:53 +0000)]
Merge "Fix deprecated hooks not having a non-deprecated alternative"

9 years agoMerge "Check whether TYPE_COMBINED modules are allowed to be included in the page"
jenkins-bot [Wed, 30 Jul 2014 13:45:20 +0000 (13:45 +0000)]
Merge "Check whether TYPE_COMBINED modules are allowed to be included in the page"

9 years agoMerge "Added Html::radio, Html::check, and Html::label."
jenkins-bot [Wed, 30 Jul 2014 13:11:52 +0000 (13:11 +0000)]
Merge "Added Html::radio, Html::check, and Html::label."

9 years agoMerge "Just log exceptions instead of spamming them in JobRunner"
jenkins-bot [Wed, 30 Jul 2014 10:39:27 +0000 (10:39 +0000)]
Merge "Just log exceptions instead of spamming them in JobRunner"

9 years agoMerge "Apply mw-ui-input to captchas in registration form"
jenkins-bot [Wed, 30 Jul 2014 10:28:54 +0000 (10:28 +0000)]
Merge "Apply mw-ui-input to captchas in registration form"

9 years agoMerge "Revert "test: coverage for wfWikiID()""
jenkins-bot [Wed, 30 Jul 2014 08:59:08 +0000 (08:59 +0000)]
Merge "Revert "test: coverage for wfWikiID()""

9 years agoRevert "test: coverage for wfWikiID()"
Hashar [Wed, 30 Jul 2014 08:55:22 +0000 (08:55 +0000)]
Revert "test: coverage for wfWikiID()"

Cause unit tests to fail for some reason:

 1) WfWikiId::testReturnsProperDbName
 Failed asserting that two strings are equal.
 --- Expected
 +++ Actual
 @@ @@
 -'known_db_name'
 +'known_db_name-unittest_'

 tests/phpunit/includes/GlobalFunctions/wfWikiIDTest.php:10
 tests/phpunit/MediaWikiTestCase.php:133
 tests/phpunit/MediaWikiPHPUnitCommand.php:42

Thus making the regression job to complain whenever a patch is merged:
https://integration.wikimedia.org/ci/job/mediawiki-core-regression-master/

This reverts commit 4f55b804f20960e039671a3dbf3f3eb4a5a4b81e.

Change-Id: Ib08e40742b74be88b72af79ec4ab6d427e3b6d14

9 years agoRemove return from MaintenanceFixup::outputChanneled
umherirrender [Mon, 21 Jul 2014 09:52:43 +0000 (11:52 +0200)]
Remove return from MaintenanceFixup::outputChanneled

Parent Maintenance::outputChanneled also has no return value

Change-Id: Idae9d3e1ca70d9f0ed81b345eb4fef21294cea39