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

9 years agoApply mw-ui-input to captchas in registration form
jdlrobson [Wed, 30 Jul 2014 01:24:55 +0000 (18:24 -0700)]
Apply mw-ui-input to captchas in registration form

Change-Id: Ie8160985799eefc2b24315008b23c447d4497dd5

9 years agoCheck whether TYPE_COMBINED modules are allowed to be included in the page
Kunal Mehta [Thu, 24 Jul 2014 23:02:45 +0000 (16:02 -0700)]
Check whether TYPE_COMBINED modules are allowed to be included in the page

With the introduction of the OutputPageScriptsForBottomQueue hook,
modules loaded through it are TYPE_COMBINED, which
OutputPage::makeResourceLoaderLink was not checking on whether
or not it was safe to include them.

Change-Id: I33f39a5643b3d05db5a89e62fa6c86d437dea143

9 years agoMerge "checkTemporaryPassword should call loadPasswords() first"
jenkins-bot [Wed, 30 Jul 2014 01:17:49 +0000 (01:17 +0000)]
Merge "checkTemporaryPassword should call loadPasswords() first"

9 years agoMerge "Revert "Add OutputPageScriptsForBottomQueue hook""
jenkins-bot [Wed, 30 Jul 2014 00:36:40 +0000 (00:36 +0000)]
Merge "Revert "Add OutputPageScriptsForBottomQueue hook""

9 years agoMerge "Define fallback skin using $wgFallbackSkin instead of hardcoding Vector"
jenkins-bot [Wed, 30 Jul 2014 00:26:38 +0000 (00:26 +0000)]
Merge "Define fallback skin using $wgFallbackSkin instead of hardcoding Vector"

9 years agoRevert "Add OutputPageScriptsForBottomQueue hook"
Legoktm [Wed, 30 Jul 2014 00:16:57 +0000 (00:16 +0000)]
Revert "Add OutputPageScriptsForBottomQueue hook"

After some discussion with Roan, it turns out this
hook is unnecessary. The proper solution is to use
addModuleScripts/addModuleStyles instead of a
plain addModules.

This reverts commit e7361de181dcadbcc7c32de92b3498c9fb9d0193.

Bug: 68712
Change-Id: Iadbff5f7fbbc5a08d6336674b12315967f45591d

9 years agoMerge "Remove utilities from styleguide"
jenkins-bot [Tue, 29 Jul 2014 23:46:34 +0000 (23:46 +0000)]
Merge "Remove utilities from styleguide"

9 years agoJust log exceptions instead of spamming them in JobRunner
Aaron Schulz [Tue, 29 Jul 2014 22:55:28 +0000 (15:55 -0700)]
Just log exceptions instead of spamming them in JobRunner

* Even the CLI script already shows the error=X snippet.
  Logging the error should be enough, and avoids showing
  output when all we want is the JSON.

Change-Id: Iade412ea61cf427865d841ecab5498e4fcdb7e13

9 years agoRemove utilities from styleguide
jdlrobson [Tue, 29 Jul 2014 22:20:22 +0000 (15:20 -0700)]
Remove utilities from styleguide

Document them but don't include them. Styleguide is currently written
for elements so it is rather strange.

Change-Id: I4c8bd18430d737445c14ac828d50a0844c456ca4

9 years agoFixed MediaWiki dual getter/setters from fataling
Aaron Schulz [Tue, 29 Jul 2014 22:31:58 +0000 (15:31 -0700)]
Fixed MediaWiki dual getter/setters from fataling

Change-Id: I1361bbc0494dcf29b009f4684e57b10b488d1755

9 years agoRevert "Update jquery.ui Vector theme to 1.9.2"
MarkTraceur [Tue, 29 Jul 2014 21:54:59 +0000 (21:54 +0000)]
Revert "Update jquery.ui Vector theme to 1.9.2"

This change messed up jquery.ui.button styling on Commons, so we're reverting.

This reverts commit 7bb0c9a01eb0266696a9c3989572ae3a5b67bfdd.

Change-Id: Ibef35ce9f5a642f89bf70ec891ba1425f678ec1e

9 years agoMerge "Revert "test: coverage for wfWikiID()""
Chad [Tue, 29 Jul 2014 21:23:17 +0000 (21:23 +0000)]
Merge "Revert "test: coverage for wfWikiID()""

9 years agoRevert "test: coverage for wfWikiID()"
Chad [Tue, 29 Jul 2014 21:23:03 +0000 (21:23 +0000)]
Revert "test: coverage for wfWikiID()"

Introduces broken test that doesn't pass regression or HHVM.

This reverts commit 4f55b804f20960e039671a3dbf3f3eb4a5a4b81e.

Change-Id: Ib82cc9b89e7392b752e9ef98134e90186e371247

9 years agoClean up user version constants
Chad Horohoe [Thu, 24 Jul 2014 00:26:27 +0000 (17:26 -0700)]
Clean up user version constants

- Two global constants unused outside of this class so removed
- Shorten name since MW and USER are redundant since it's in a class
- Use class constant instead of global define consistently

Change-Id: I0e8b05372512de568a230a6e5026751aa37c4c4e

9 years agoMerge "Clean up search results if scrolled of the end"
jenkins-bot [Tue, 29 Jul 2014 20:34:10 +0000 (20:34 +0000)]
Merge "Clean up search results if scrolled of the end"

9 years agocheckTemporaryPassword should call loadPasswords() first
Brian Wolff [Tue, 29 Jul 2014 20:21:10 +0000 (17:21 -0300)]
checkTemporaryPassword should call loadPasswords() first

Otherwise mNewpassword could be null.

Mlpearc reports on irc getting fatals about mNewpassword not
being an object. I couldn't reproduce, but loadPasswords() should
definitely be called here.

Change-Id: I6d1b74b79c87d1a1870971aafd1349255170123d

9 years agoMerge "Added explicit type-cast to hash_pbkdf2"
jenkins-bot [Tue, 29 Jul 2014 20:20:15 +0000 (20:20 +0000)]
Merge "Added explicit type-cast to hash_pbkdf2"

9 years agoMerge "Disallow top level domains in Cookie::validateCookieDomain()."
jenkins-bot [Tue, 29 Jul 2014 20:07:47 +0000 (20:07 +0000)]
Merge "Disallow top level domains in Cookie::validateCookieDomain()."

9 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Tue, 29 Jul 2014 20:05:43 +0000 (20:05 +0000)]
Merge "Localisation updates from https://translatewiki.net."

9 years agoMerge "Unsetting the email address for a user when the email address is invalidated."
jenkins-bot [Tue, 29 Jul 2014 19:50:55 +0000 (19:50 +0000)]
Merge "Unsetting the email address for a user when the email address is invalidated."

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 29 Jul 2014 19:42:40 +0000 (21:42 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Id59d00bd9402da7fd03a34bd6d0ceb9bd2d00024

9 years agoAdded Html::radio, Html::check, and Html::label.
Tyler Anthony Romeo [Thu, 7 Mar 2013 19:03:44 +0000 (14:03 -0500)]
Added Html::radio, Html::check, and Html::label.

Migrated some convenience functions from the Xml
class to Html so they can be used. Only added
functions that acted as more than just a wrapper
for another function.

Change-Id: I4cc5876d4be6e04ec554444242cc049a3cff0f58

9 years agoMerge "Make upload_source_file and upload_source_url more specific"
jenkins-bot [Tue, 29 Jul 2014 19:22:46 +0000 (19:22 +0000)]
Merge "Make upload_source_file and upload_source_url more specific"

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

Specifically functions blockedPage(), noCreatePermission(), readOnlyPage()
and userNotLoggedInPage().

Change-Id: I3f8b16037d15a8b743dff975a8d7fe2b531a40d9

9 years agoMerge "Special:Search: Insert a difference between exist and non exist page"
jenkins-bot [Tue, 29 Jul 2014 18:29:29 +0000 (18:29 +0000)]
Merge "Special:Search: Insert a difference between exist and non exist page"

9 years agoMerge "Restore the number of rows shown on Special:Watchlist"
jenkins-bot [Tue, 29 Jul 2014 18:28:17 +0000 (18:28 +0000)]
Merge "Restore the number of rows shown on Special:Watchlist"

9 years agoSpecial:Search: Insert a difference between exist and non exist page
Florian [Tue, 29 Jul 2014 18:15:55 +0000 (20:15 +0200)]
Special:Search: Insert a difference between exist and non exist page

The css class of "page exist" or "create this page" should
be different when the page exists (instead of "createlink").

Change-Id: I6d4d9d88a561749ae158ca9d27e563c2c5f9b943

9 years agoRestore the number of rows shown on Special:Watchlist
umherirrender [Tue, 29 Jul 2014 17:02:16 +0000 (19:02 +0200)]
Restore the number of rows shown on Special:Watchlist

This reverts the result of Iada3a93762dd25fdaf35fb707304abc40bd4a5b1.
It used a param which was added to function doHeader in
I495d19258205d8713a19aa934a7657aecbe240d4.
It reused the old message to reduce translation interaction.

Bug: 62017
Change-Id: Ie722c509a6ad1346b1624abee778f4cbdc79d457

9 years agoClean up search results if scrolled of the end
Nik Everett [Tue, 29 Jul 2014 16:54:40 +0000 (12:54 -0400)]
Clean up search results if scrolled of the end

If the user ends up off the end of the search results then show them a
slightly more sane page:  no more showing results 50 - 20 of 20.

Bug: 68783
Change-Id: I29354e15873054278be18d74b2355b83b86f35f3

9 years agoMerge "Toolbar: Only show on WikiText pages"
Mwalker [Tue, 29 Jul 2014 16:52:51 +0000 (16:52 +0000)]
Merge "Toolbar: Only show on WikiText pages"