lhc/web/wiklou.git
9 years agoMerge "Test what happens with Konqueror 3.5 against the blacklist"
jenkins-bot [Fri, 26 Sep 2014 15:58:28 +0000 (15:58 +0000)]
Merge "Test what happens with Konqueror 3.5 against the blacklist"

9 years agoLanguage: Correct getSpecialPageAliases() documentation
Bartosz Dziewoński [Fri, 26 Sep 2014 13:48:55 +0000 (15:48 +0200)]
Language: Correct getSpecialPageAliases() documentation

Learned the hard way.

Change-Id: I72044c71f064f78a0d2d50034bdffae1e5985cde

9 years agoTest what happens with Konqueror 3.5 against the blacklist
Federico Leva [Fri, 26 Sep 2014 09:32:25 +0000 (11:32 +0200)]
Test what happens with Konqueror 3.5 against the blacklist

Konqueror 3.5 is not mentioned in recent compatibility decisions
https://lists.wikimedia.org/pipermail/wikitech-l/2014-August/077958.html
and should not be affected by the recent changes, but one 3.5.4
user reports problems on en.wikipedia.org since few days ago.

Konqueror 3.5 was released in 2006 and is more a contemporary of
Firefox 2 than of Firefox 3.5, though last in 3.5 series was released
on August 2008. http://www.kde.org/announcements/announce-3.5.10.php
Maybe it should be declared as grade C if it's really not currently
functioning.

Some vulnerabilities are known to CVE for 3.5.5, 3.5.7 and prior;
Secunia reports a moderately critical unpatched vulnerability.
https://secunia.com/community/advisories/product/3166

Change-Id: Ia42a9e5028f1aae4837b204eab1e50c4121061c5

9 years agoRemove executable bit from non-executable files
Alexandre Emsenhuber [Fri, 26 Sep 2014 06:47:44 +0000 (08:47 +0200)]
Remove executable bit from non-executable files

Follow-up:
- Ibd1c0617c4 (d30edce)
- I1a906f533f (42583e9)

Change-Id: I8081ed2f3fbb08f1d2c0c839a697029234e4d12d

9 years agoUse CSSJanus from upstream (v1.1.0)
Timo Tijhof [Fri, 26 Sep 2014 00:11:58 +0000 (17:11 -0700)]
Use CSSJanus from upstream (v1.1.0)

Remove the local copy and include upstream instead.

Remove local unit tests as it's now a proper upstream lib that
is tested by uptream.

Release:

  https://github.com/cssjanus/php-cssjanus/releases/tag/v1.1.0

Changes:

  Features
  * Support "/*!" syntax for @noflip.
  * Flip border-style.

  Bug fixes
  * Improve flipping of background-position.
  * Restrict four_notation_quantity to margin, padding and border-width.
  * Flip two values in border-radius rule (in addition to four values).

Change-Id: Ieb6e179d6163f99a9c98fd99c2277d25135871fe

9 years agoMerge "Simplified getMaxLag() to use getLagTimes()"
jenkins-bot [Fri, 26 Sep 2014 00:34:32 +0000 (00:34 +0000)]
Merge "Simplified getMaxLag() to use getLagTimes()"

9 years agoMerge "Special:Categories: Use mediawiki.ui classes and fix layout"
jenkins-bot [Fri, 26 Sep 2014 00:31:27 +0000 (00:31 +0000)]
Merge "Special:Categories: Use mediawiki.ui classes and fix layout"

9 years agoSimplified getMaxLag() to use getLagTimes()
Aaron Schulz [Thu, 25 Sep 2014 18:58:16 +0000 (11:58 -0700)]
Simplified getMaxLag() to use getLagTimes()

* This method now benefits from more cache sharing and de-duplicated
  lag time querying to reduce connection stampedes.

Change-Id: I2f3b9a22e4adabea703fbae1f96e65fb65125e2b

9 years agoSpecial:Categories: Use mediawiki.ui classes and fix layout
Prateek Saxena [Mon, 22 Sep 2014 22:13:30 +0000 (15:13 -0700)]
Special:Categories: Use mediawiki.ui classes and fix layout

Bug: 71146
Change-Id: I96c684f6f7b352afd368624d814761f359e7b551

9 years agoMerge "buttons: Set min-width of button groups and icon buttons"
jenkins-bot [Fri, 26 Sep 2014 00:13:28 +0000 (00:13 +0000)]
Merge "buttons: Set min-width of button groups and icon buttons"

9 years agoMerge "Implement FauxRequest::getRequestURL() - needed for MF tests"
jenkins-bot [Fri, 26 Sep 2014 00:06:26 +0000 (00:06 +0000)]
Merge "Implement FauxRequest::getRequestURL() - needed for MF tests"

9 years agobuttons: Set min-width of button groups and icon buttons
Prateek Saxena [Wed, 24 Sep 2014 22:12:29 +0000 (15:12 -0700)]
buttons: Set min-width of button groups and icon buttons

This was initially changed to 80px in
I8e6beaf12d7cf1f1af20f4ff144eb0a7c2667a47
and then to 70px because 80px was too large for mobile in
I00b44508e7783957a8c24c4890cc1ba4dfe265da

Buttons inside button groups and icon buttons have a requirement
of being narrower than that but not narrower than their height.

When pseudo element css is not supported icons need a min-width

Bug: 71248
Change-Id: Icf45b9c8800067d3e30f23bbda4a6de21b1289d1

9 years agoMerge "Remove duplicate "languages" from Grunt config"
jenkins-bot [Thu, 25 Sep 2014 23:26:14 +0000 (23:26 +0000)]
Merge "Remove duplicate "languages" from Grunt config"

9 years agoMerge "Add parser callback to get a page's current revision"
jenkins-bot [Thu, 25 Sep 2014 22:52:10 +0000 (22:52 +0000)]
Merge "Add parser callback to get a page's current revision"

9 years agoRemove duplicate "languages" from Grunt config
Helder [Thu, 25 Sep 2014 22:49:24 +0000 (19:49 -0300)]
Remove duplicate "languages" from Grunt config

Change-Id: I9cbb1211cf5e43cf119bd953a21ea6f0eebd6fa0

10 years agoImplement FauxRequest::getRequestURL() - needed for MF tests
Max Semenik [Thu, 25 Sep 2014 21:41:51 +0000 (14:41 -0700)]
Implement FauxRequest::getRequestURL() - needed for MF tests

Change-Id: Ib780582cdc68cb770c5fd12d805f4561bc0e2a13

10 years agoRevert "API: Fix list=allusers with multiple values for augroup"
Reedy [Thu, 25 Sep 2014 21:19:55 +0000 (21:19 +0000)]
Revert "API: Fix list=allusers with multiple values for augroup"

Causing a large load spike on enwiki api db slaves

This reverts commit aa5800519f301cbafa835ef3ee95c7b3f24050b4.

Change-Id: Ied559c4e701bb644b354af4e158b84537dde94e9

10 years agoMerge "Revert "Set site logo url in ResourceLoaderSiteModule instead of inline styles""
jenkins-bot [Thu, 25 Sep 2014 21:31:44 +0000 (21:31 +0000)]
Merge "Revert "Set site logo url in ResourceLoaderSiteModule instead of inline styles""

10 years agoRevert "Set site logo url in ResourceLoaderSiteModule instead of inline styles"
Legoktm [Thu, 25 Sep 2014 21:17:22 +0000 (21:17 +0000)]
Revert "Set site logo url in ResourceLoaderSiteModule instead of inline styles"

This caused bug 71334. The logo should be split out
into its own ResourceLoader module rather than
being in the site module.

This reverts commit efe0169c591d4987872143a3760228a694af33c4.

Bug: 71334
Change-Id: I0234e78f93c2eb6574bae4ad48941498709ae528

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 25 Sep 2014 20:41:28 +0000 (22:41 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I4eb4f41d8495ffc44d0d60563a4fb5652abd5cdc

10 years agoMerge "Created DatabaseBase::trxTimestamp method and added usage in ActiveUsers query"
jenkins-bot [Thu, 25 Sep 2014 20:29:58 +0000 (20:29 +0000)]
Merge "Created DatabaseBase::trxTimestamp method and added usage in ActiveUsers query"

10 years agoMerge "Move editoptions styling to mediawiki.skinning/interface.css"
jenkins-bot [Thu, 25 Sep 2014 19:45:17 +0000 (19:45 +0000)]
Merge "Move editoptions styling to mediawiki.skinning/interface.css"

10 years agoMove editoptions styling to mediawiki.skinning/interface.css
isarra [Wed, 24 Sep 2014 21:16:35 +0000 (21:16 +0000)]
Move editoptions styling to mediawiki.skinning/interface.css

Adding the editoptions box styling to mediawiki.skinning.interface instead
of the skin-agnostic mediawiki.action.* means it will only be added to skins
where it's likely to be appropriate, as this is also where the similar styles
for toc, categories, etc are defined.

This way skins in which the editoptions box would be inappropriate need never
worry about it anyway because they won't be using mediawiki.skinning.interface
for the same reason.

Bug: 58254
Change-Id: Ibd1c0617c426e34e7213ca0ce89a126340b012a7

10 years agoResourceLoaderFileModule: Support fallback in 'languageScripts'
Kunal Mehta [Fri, 29 Aug 2014 17:13:21 +0000 (10:13 -0700)]
ResourceLoaderFileModule: Support fallback in 'languageScripts'

Bug: 58139
Change-Id: Idd7657aa48a9eb2b075a85f77e066b425f330890

10 years agoMerge "Make mediawiki.action.view.dblClickEdit recheck preference"
Bartosz Dziewoński [Thu, 25 Sep 2014 16:47:28 +0000 (16:47 +0000)]
Merge "Make mediawiki.action.view.dblClickEdit recheck preference"

10 years agoMake mediawiki.action.view.dblClickEdit recheck preference
Alex Monk [Tue, 29 Jul 2014 18:51:09 +0000 (19:51 +0100)]
Make mediawiki.action.view.dblClickEdit recheck preference

There's a preference which makes the browser go to action=edit when double
clicking on the content. In VE we want to disable this while the editor is
open. With this check in place, we can turn it off by falsifying the value
of the preference (and then restoring the original value when VE closes).

Bug: 53058
Change-Id: I0f6225b25ad279755548361f82b855727758da2b

10 years agoMerge "Fix string callbacks for special page registration"
jenkins-bot [Thu, 25 Sep 2014 16:17:53 +0000 (16:17 +0000)]
Merge "Fix string callbacks for special page registration"

10 years agoFix string callbacks for special page registration
Bene [Thu, 25 Sep 2014 15:45:51 +0000 (17:45 +0200)]
Fix string callbacks for special page registration

Currently registering a special page with a factory by passing the
callback string does not work because the is_string check comes
before the is_callback check. If we change the order of this if-
clauses we can also support callbacks like 'Factory::createPage'.

Change-Id: I751f97026ed8c580732c74d66b2804dd180ed16f

10 years agoMerge "mediawiki.action.history.diff: Remove white background from table.diff"
jenkins-bot [Thu, 25 Sep 2014 15:41:28 +0000 (15:41 +0000)]
Merge "mediawiki.action.history.diff: Remove white background from table.diff"

10 years agoMerge "Add ability to pre-render thumbnails at upload time"
jenkins-bot [Thu, 25 Sep 2014 15:40:07 +0000 (15:40 +0000)]
Merge "Add ability to pre-render thumbnails at upload time"

10 years agomediawiki.action.history.diff: Remove white background from table.diff
isarra [Wed, 24 Sep 2014 20:40:58 +0000 (20:40 +0000)]
mediawiki.action.history.diff: Remove white background from table.diff

Skins where a white background works generally already have a white background
behind this. Skins where it doesn't work generally just wind up overriding this
back to the default (transparent).

Simply removing the background should simplify things.

Change-Id: I1a906f533f7ae2697ee18c998f316a0957ac8bda

10 years agoCouple of type hints for Block
Reedy [Tue, 16 Sep 2014 23:00:19 +0000 (00:00 +0100)]
Couple of type hints for Block

Change-Id: I9d16fbc2415fc4e751edc76be4dc3c7a62bd62c0

10 years agoMore sensible behavior when special page aliases conflict
Brad Jorsch [Fri, 19 Sep 2014 18:32:43 +0000 (14:32 -0400)]
More sensible behavior when special page aliases conflict

Right now, SpecialPageFactory::getAliasListObject() just chooses the
last-seen alias and allows any alias to completely override the page's
"canonical" name (from SpecialPageFactory::$list or $wgSpecialPages).
Although the latter doesn't come up often since (almost?) all special pages
have their canonical name as one of their English-language aliases.

More sensible behavior is to always prefer the "canonical" name over any
conflicting aliases, and to prefer an alias that's the first alias for a
special page over one that is a fallback.

Also, when a special page's first alias winds up not actually referring
to that special page, we MUST NOT go redirecting other names for that
special page to that wrong alias.

Bug: 70686
Change-Id: I4b17ec0fdc87b4b0d7ae9d9eea7ffacb54dd6891

10 years agoMinor code cleanup and a doc type cleanup
Yuri Astrakhan [Thu, 25 Sep 2014 02:13:19 +0000 (22:13 -0400)]
Minor code cleanup and a doc type cleanup

Change-Id: Ib89226a83738d1205405eac3926bfaa578966133

10 years agoresourceloader: Clean up $localBasePath variable assignment
Timo Tijhof [Thu, 25 Sep 2014 01:11:39 +0000 (18:11 -0700)]
resourceloader: Clean up $localBasePath variable assignment

No need to set a variable to value of itself. Also consistent
with the way $remoteBasePath is set, already.

Change-Id: I9b71322592a5ca2d85927fcf6732096f758847e9

10 years agoMerge "Fixed header in file history"
jenkins-bot [Wed, 24 Sep 2014 23:54:48 +0000 (23:54 +0000)]
Merge "Fixed header in file history"

10 years agoMerge "Limit active DB connections spawned in waitForAll() to one"
jenkins-bot [Wed, 24 Sep 2014 23:52:24 +0000 (23:52 +0000)]
Merge "Limit active DB connections spawned in waitForAll() to one"

10 years agoMerge "Use a less confusing column alias in findMissingFiles.php"
jenkins-bot [Wed, 24 Sep 2014 22:46:13 +0000 (22:46 +0000)]
Merge "Use a less confusing column alias in findMissingFiles.php"

10 years agoLimit active DB connections spawned in waitForAll() to one
Aaron Schulz [Fri, 19 Sep 2014 18:48:09 +0000 (11:48 -0700)]
Limit active DB connections spawned in waitForAll() to one

* If new connections are created, they will be closed before
  making the next ones now.

Change-Id: I289d81ec00d3e1e313624e2a4c28a67bfb317feb

10 years agoCreated DatabaseBase::trxTimestamp method and added usage in ActiveUsers query
Aaron Schulz [Tue, 23 Sep 2014 22:38:44 +0000 (15:38 -0700)]
Created DatabaseBase::trxTimestamp method and added usage in ActiveUsers query

Change-Id: Iba3c83ce8010583908f9dbaa8348f7226f524793

10 years agoFixed doc typo
Aaron Schulz [Wed, 24 Sep 2014 22:13:30 +0000 (15:13 -0700)]
Fixed doc typo

Change-Id: I80aa85337357d25b1973b4a266a3c961843b08b6

10 years agoMerge "Made JobQueueDB::doWaitForBackups wait for the right slaves"
jenkins-bot [Wed, 24 Sep 2014 20:15:59 +0000 (20:15 +0000)]
Merge "Made JobQueueDB::doWaitForBackups wait for the right slaves"

10 years agoMade JobQueueDB::doWaitForBackups wait for the right slaves
Aaron Schulz [Wed, 24 Sep 2014 20:07:34 +0000 (13:07 -0700)]
Made JobQueueDB::doWaitForBackups wait for the right slaves

Change-Id: I6022fea7add5c317da89d5361d166a047bcc95e4

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 24 Sep 2014 19:53:39 +0000 (21:53 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I66241c255b5cf101a32f239df9b4276ca3c37946

10 years agoMerge "Fix function case: WebRequest::getIntorNull -> getIntOrNull"
jenkins-bot [Wed, 24 Sep 2014 19:24:39 +0000 (19:24 +0000)]
Merge "Fix function case: WebRequest::getIntorNull -> getIntOrNull"

10 years agoSECURITY: Enhance CSS filtering in SVG files
csteipp [Thu, 4 Sep 2014 23:05:47 +0000 (16:05 -0700)]
SECURITY: Enhance CSS filtering in SVG files

* Filter <style> elements
* Normalize style elements and attributes before filtering
* Add checks for attributes that contain css
* Add unit tests for html5sec and reported bugs

Bug:69008
Change-Id: I732eece710f1bfaaeea1e5de541fcd4cfb375de7

10 years agoFix function case: WebRequest::getIntorNull -> getIntOrNull
umherirrender [Wed, 24 Sep 2014 18:49:08 +0000 (20:49 +0200)]
Fix function case: WebRequest::getIntorNull -> getIntOrNull

Change-Id: I3cdbb17ae00b9565f522a80e1455edf375043763

10 years agoHtmlForm: Add @since annotation for methods added to UI standardization
Prateek Saxena [Wed, 24 Sep 2014 18:09:16 +0000 (11:09 -0700)]
HtmlForm: Add @since annotation for methods added to UI standardization

Change-Id: I74f58df9de79d2ad055eaf9760763005996dc0a0

10 years agoMerge "HtmlForm: Use mw-ui-checkbox only if wgUseMediaWikiUIEverywhere is enabled"
jenkins-bot [Wed, 24 Sep 2014 18:15:21 +0000 (18:15 +0000)]
Merge "HtmlForm: Use mw-ui-checkbox only if wgUseMediaWikiUIEverywhere is enabled"

10 years agoMerge "Remove unused system messages "loginstart", "loginend" and "loginend-https""
jenkins-bot [Wed, 24 Sep 2014 17:29:54 +0000 (17:29 +0000)]
Merge "Remove unused system messages "loginstart", "loginend" and "loginend-https""

10 years agoMerge "Per 5a4a33a, remove support for magic quotes gpc"
jenkins-bot [Wed, 24 Sep 2014 17:26:56 +0000 (17:26 +0000)]
Merge "Per 5a4a33a, remove support for magic quotes gpc"

10 years ago$wgTitle is not needed for running parser tests
Chad Horohoe [Wed, 24 Sep 2014 16:56:43 +0000 (09:56 -0700)]
$wgTitle is not needed for running parser tests

Change-Id: Iaf14b1bc15763207a30cf624d5876120b0d5ce01

10 years agoAdd a process cache for fetchLanguageNames
Tim Starling [Tue, 23 Sep 2014 05:27:13 +0000 (15:27 +1000)]
Add a process cache for fetchLanguageNames

Since it is slow and is called many times when articles with lots of
interlanguage links are viewed.

Change-Id: Ib826ea6f1c105ffd43e456fb1c0c3b8aa6d8e391

10 years agoProfiling for Language::fetchLanguageNames
Tim Starling [Tue, 23 Sep 2014 03:54:34 +0000 (13:54 +1000)]
Profiling for Language::fetchLanguageNames

It is 16% of an enwiki Main Page parser cache hit, under HHVM.

Change-Id: Ifb2ce7592fa5b5cb9c7fb5af5949c43fecf18ca3

10 years agoMerge "Split SkinTemplate.php per-class"
jenkins-bot [Wed, 24 Sep 2014 15:59:08 +0000 (15:59 +0000)]
Merge "Split SkinTemplate.php per-class"

10 years agoMerge "Fix API-related 1.25 release notes"
jenkins-bot [Wed, 24 Sep 2014 15:56:42 +0000 (15:56 +0000)]
Merge "Fix API-related 1.25 release notes"

10 years agoFix API-related 1.25 release notes
Brad Jorsch [Wed, 24 Sep 2014 15:47:23 +0000 (11:47 -0400)]
Fix API-related 1.25 release notes

Use the section headers from 1.24, and move an entry that was placed in
the wrong section in Iff8d444c.

Change-Id: I460551491f23352f08e64aa3f216e2e5f39b5a6f

10 years agoAPI: ApiBase::PROP_* constants are deprecated
Brad Jorsch [Wed, 24 Sep 2014 15:42:22 +0000 (11:42 -0400)]
API: ApiBase::PROP_* constants are deprecated

They should have been marked so along with Ie11a401d.

Change-Id: I029f81dabf89c1765fc514579f44a6a0c940b572

10 years agoMerge "Add cURL constants test"
jenkins-bot [Wed, 24 Sep 2014 15:35:33 +0000 (15:35 +0000)]
Merge "Add cURL constants test"

10 years agoMerge "Add API output skin"
jenkins-bot [Wed, 24 Sep 2014 15:20:41 +0000 (15:20 +0000)]
Merge "Add API output skin"

10 years agoAdd API output skin
Brad Jorsch [Tue, 16 Sep 2014 17:47:34 +0000 (13:47 -0400)]
Add API output skin

The API output for help and 'fm' formats will soon have need of
including ResourceLoader modules on an otherwise-bare page. The easiest
way to do this is to use OutputPage, but that requires a skin. So let's
add a skin that outputs a basic page without any navigation elements or
other chrome (that may be added later, but that can wait for Design to
decide they want to design it).

Change-Id: Ifa95fae5acaa3cfbf2ca58a15f8d0c51d84b455a

10 years agoMerge "Fixes to prevent duplicate rows in ActiveUser cache"
jenkins-bot [Wed, 24 Sep 2014 14:49:38 +0000 (14:49 +0000)]
Merge "Fixes to prevent duplicate rows in ActiveUser cache"

10 years agoSplit SkinTemplate.php per-class
Bartosz Dziewoński [Wed, 24 Sep 2014 09:54:26 +0000 (11:54 +0200)]
Split SkinTemplate.php per-class

Change-Id: Id964cdc3bd362d696628d62cd34615aa1fa6b014

10 years agoFixed header in file history
robinhood701 [Wed, 24 Sep 2014 04:47:25 +0000 (00:47 -0400)]
Fixed header in file history

Change-Id: I622ddac6ea5bd1a3f8c14253e70c1a5a4c56b478

10 years agoHtmlForm: Use mw-ui-checkbox only if wgUseMediaWikiUIEverywhere is enabled
Prateek Saxena [Tue, 23 Sep 2014 23:34:53 +0000 (16:34 -0700)]
HtmlForm: Use mw-ui-checkbox only if wgUseMediaWikiUIEverywhere is enabled

Change-Id: I5d8f1bbcea72253d71df8c9e13253ff5612be363

10 years agoMerge "MediaWikiTestCase: Centralise insertPage() logic from SearchEngineTest"
jenkins-bot [Wed, 24 Sep 2014 01:26:57 +0000 (01:26 +0000)]
Merge "MediaWikiTestCase: Centralise insertPage() logic from SearchEngineTest"

10 years agoMerge "Randomize the JobRunner slave lags checks a bit"
jenkins-bot [Wed, 24 Sep 2014 01:20:34 +0000 (01:20 +0000)]
Merge "Randomize the JobRunner slave lags checks a bit"

10 years agoRandomize the JobRunner slave lags checks a bit
Aaron Schulz [Fri, 19 Sep 2014 20:28:05 +0000 (13:28 -0700)]
Randomize the JobRunner slave lags checks a bit

Change-Id: Iee777426776c12051761d29c90da80cea27619b1

10 years agoSlave lag check tweaks to JobRunner
Aaron Schulz [Sat, 20 Sep 2014 20:53:16 +0000 (13:53 -0700)]
Slave lag check tweaks to JobRunner

* Do not block forever, but wait up to 10 seconds. Likewise,
  check the lag times in memcached on startup. This at least
  lets runners avoid lagged wikis but still work on others.
* Made a few small related documentation and code cleanups.

Change-Id: Ic1339bab54cba6b6cbea7d97a80ff87c7c5c87af

10 years agoMerge "Special:BookSources: Use getConfig instead of Global"
jenkins-bot [Wed, 24 Sep 2014 00:39:48 +0000 (00:39 +0000)]
Merge "Special:BookSources: Use getConfig instead of Global"

10 years agoMerge "Fixed bug in BloomCacheRedis::getConnection"
jenkins-bot [Wed, 24 Sep 2014 00:33:02 +0000 (00:33 +0000)]
Merge "Fixed bug in BloomCacheRedis::getConnection"

10 years agoSpecial:BookSources: Use getConfig instead of Global
Prateek Saxena [Wed, 24 Sep 2014 00:29:33 +0000 (17:29 -0700)]
Special:BookSources: Use getConfig instead of Global

follow up to I00c4a00d4a2aeb7f6b39ede6fca1725991b68d7c

Change-Id: Ice8ec212e5a5fbb0e34ad02f4fffdcc4ce1424fc

10 years agoFixed bug in BloomCacheRedis::getConnection
Aaron Schulz [Wed, 24 Sep 2014 00:26:00 +0000 (17:26 -0700)]
Fixed bug in BloomCacheRedis::getConnection

* The array keys need to be re-indexed to avoid picking a deleted one

Change-Id: I3c22674a0194597598d66179bb5e3625da1dd38c

10 years agoMerge "Special:BookSources Add global"
jenkins-bot [Wed, 24 Sep 2014 00:10:09 +0000 (00:10 +0000)]
Merge "Special:BookSources Add global"

10 years agoSpecial:BookSources Add global
Prateek Saxena [Tue, 23 Sep 2014 23:53:44 +0000 (16:53 -0700)]
Special:BookSources Add global

Follow up to I00c4a00d4a2aeb7f6b39ede6fca1725991b68d7c

Change-Id: I7d09d6b648ccd710c4e3147c0c2b33d6ecaca15a

10 years agoMerge "Tweak checkbox sizes to be relative depending on where used."
jenkins-bot [Tue, 23 Sep 2014 23:40:29 +0000 (23:40 +0000)]
Merge "Tweak checkbox sizes to be relative depending on where used."

10 years agoMerge "Special:BlockList: Use mw-ui-progressive for search button"
jenkins-bot [Tue, 23 Sep 2014 23:34:28 +0000 (23:34 +0000)]
Merge "Special:BlockList: Use mw-ui-progressive for search button"

10 years agoTweak checkbox sizes to be relative depending on where used.
jdlrobson [Thu, 14 Aug 2014 20:01:00 +0000 (13:01 -0700)]
Tweak checkbox sizes to be relative depending on where used.

Use ems rather than pixels.
Add margins

Bug: 70133
Change-Id: Ia6adc4bda000508f14acf4214e778118efa35be0

10 years agoMerge "Special:EditWatchlist: Use destructive button and style checkboxes"
jenkins-bot [Tue, 23 Sep 2014 23:32:00 +0000 (23:32 +0000)]
Merge "Special:EditWatchlist: Use destructive button and style checkboxes"

10 years agoMerge "Special:BookSources: Use appropriate mediawiki.ui classes and update strings"
jenkins-bot [Tue, 23 Sep 2014 23:18:27 +0000 (23:18 +0000)]
Merge "Special:BookSources: Use appropriate mediawiki.ui classes and update strings"

10 years agoMerge "Make "/*@noflip*/ /*@embed*/" annotation work without CSSJanus hacks"
jenkins-bot [Tue, 23 Sep 2014 22:57:18 +0000 (22:57 +0000)]
Merge "Make "/*@noflip*/ /*@embed*/" annotation work without CSSJanus hacks"

10 years agoMerge "Move non-user specific things from Title::isValidMoveOperation() to MovePage"
jenkins-bot [Tue, 23 Sep 2014 22:48:44 +0000 (22:48 +0000)]
Merge "Move non-user specific things from Title::isValidMoveOperation() to MovePage"

10 years agoMake "/*@noflip*/ /*@embed*/" annotation work without CSSJanus hacks
Bartosz Dziewoński [Sat, 20 Sep 2014 21:26:13 +0000 (23:26 +0200)]
Make "/*@noflip*/ /*@embed*/" annotation work without CSSJanus hacks

This reverts most of commit 2d842f14250646475b5c2ffa2fe4f5a131f94236,
leaving only the test added in it, and reimplements the same
functionality better.

Instead of stripping /*@noflip*/ annotations in CSSJanus, which is
incompatible with other implementations that preserve it, extend
CSSMin to allow other CSS comments to be present before the
rule-global @embed annotation. (This required making the regex logic
in it even worse than it was, but it's actually slightly less terrible
than I expected it would be. Good thing we have tests!)

Bug: 69698
Change-Id: I58603ef64f7d7cdc6461b34721a4d6b15f15ad79

10 years agoUpdate OOjs UI to v0.1.0-pre (880100c45e)
James D. Forrester [Tue, 23 Sep 2014 22:28:49 +0000 (15:28 -0700)]
Update OOjs UI to v0.1.0-pre (880100c45e)

New changes:
e43584b Re-clip popups after resizing them

Change-Id: Ic4fa16be8e7bb0af9b05c9ad46ddbb45880b9ccc

10 years agoSpecial:BlockList: Use mw-ui-progressive for search button
Prateek Saxena [Tue, 23 Sep 2014 22:24:51 +0000 (15:24 -0700)]
Special:BlockList: Use mw-ui-progressive for search button

Bug: 71144
Change-Id: I56969edb6651a26ff2579e1ed9f9da34a9536e46

10 years agoFixes to prevent duplicate rows in ActiveUser cache
Aaron Schulz [Tue, 23 Sep 2014 16:45:04 +0000 (09:45 -0700)]
Fixes to prevent duplicate rows in ActiveUser cache

* Handle repeatable-read snapshots better for web requests
* In CLI mode, handle automatic reconnects better (rolling
  back). It has to abort since it lost the lock in that case.

bug: 71086
Change-Id: I5228889cf05857c87a06f7d073b5aa46f0c240be

10 years agoSpecial:EditWatchlist: Use destructive button and style checkboxes
Prateek Saxena [Tue, 23 Sep 2014 21:53:12 +0000 (14:53 -0700)]
Special:EditWatchlist: Use destructive button and style checkboxes

Bug: 71147
Change-Id: Icddec7a3b66ba1cc86459c2776a471391e92c8c7

10 years agoMerge "Add tests for Job::toString"
jenkins-bot [Tue, 23 Sep 2014 21:42:30 +0000 (21:42 +0000)]
Merge "Add tests for Job::toString"

10 years agoResourceLoaderWikiModule: Only check content format instead of namespace
Kunal Mehta [Mon, 15 Sep 2014 05:01:21 +0000 (22:01 -0700)]
ResourceLoaderWikiModule: Only check content format instead of namespace

Follows up I64e86c741.

Bug: 70835
Change-Id: Ieb9e5d045ed9b59cc83749234a9157689244c597

10 years agoSpecial:BookSources: Use appropriate mediawiki.ui classes and update strings
Prateek Saxena [Mon, 22 Sep 2014 22:00:06 +0000 (15:00 -0700)]
Special:BookSources: Use appropriate mediawiki.ui classes and update strings

Bug: 71145
Change-Id: I00c4a00d4a2aeb7f6b39ede6fca1725991b68d7c

10 years agoMerge "Restore Composer hook providing MediaWiki version"
jenkins-bot [Tue, 23 Sep 2014 21:27:35 +0000 (21:27 +0000)]
Merge "Restore Composer hook providing MediaWiki version"

10 years agoMessage: Correct output of wfMessage( 'non-existent-msg' )->text()
Erik Bernhardson [Wed, 4 Jun 2014 21:06:03 +0000 (14:06 -0700)]
Message: Correct output of wfMessage( 'non-existent-msg' )->text()

The output of Message::text() should always be acceptable to pass into
external html escaping, such as when the response is returned over an
API request and escaped by the client side code. Calling ->text() on a
non-existent key was returning the entity encoded value which leads to
double encoding down the line, this patch fixes that oversight.

Bug: 66199
Change-Id: Ieec94d4e4c7e5c36e5e68bbf01792e96368e54e0

10 years agoAdd tests for Job::toString
addshore [Tue, 23 Sep 2014 20:52:39 +0000 (21:52 +0100)]
Add tests for Job::toString

Change-Id: I00f41808af42a198a1e45a93201dd7bb3e4d9c2c

10 years agoMerge "Update OOjs UI to v0.1.0-pre (4ea8e2cba9)"
jenkins-bot [Tue, 23 Sep 2014 20:54:19 +0000 (20:54 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (4ea8e2cba9)"

10 years agoMerge "mediawiki.api: Support assert parameter in getToken and postWithToken"
jenkins-bot [Tue, 23 Sep 2014 20:52:53 +0000 (20:52 +0000)]
Merge "mediawiki.api: Support assert parameter in getToken and postWithToken"

10 years agoUpdate OOjs UI to v0.1.0-pre (4ea8e2cba9)
James D. Forrester [Tue, 23 Sep 2014 20:24:06 +0000 (13:24 -0700)]
Update OOjs UI to v0.1.0-pre (4ea8e2cba9)

New changes:
5d58e70 Documentation: ActionWidget is non-framed by default
7ecfa7c TextInputWidget: Determine validity on blur and change.
7c0834d Localisation updates from https://translatewiki.net.
948b303 build: Split test into a lint task for quickly running those tasks
bab8bef Localisation updates from https://translatewiki.net.

Change-Id: I5ccdeb9b5815ffef674dd17fe713a6b0e87ec2a4

10 years agoMerge "API: Remove XML tag highlighting from non-XML formats"
jenkins-bot [Tue, 23 Sep 2014 19:52:19 +0000 (19:52 +0000)]
Merge "API: Remove XML tag highlighting from non-XML formats"

10 years agoMerge "Move code to load User data from cache out of loadFromId"
jenkins-bot [Tue, 23 Sep 2014 19:47:07 +0000 (19:47 +0000)]
Merge "Move code to load User data from cache out of loadFromId"

10 years agoMerge "doxygen: Document problem with slashes and fix a few"
jenkins-bot [Tue, 23 Sep 2014 19:46:34 +0000 (19:46 +0000)]
Merge "doxygen: Document problem with slashes and fix a few"

10 years agoAPI: Remove XML tag highlighting from non-XML formats
Kevin Israel [Fri, 16 May 2014 16:49:36 +0000 (12:49 -0400)]
API: Remove XML tag highlighting from non-XML formats

Since 926afc65c316, the transformation assumes < and > occur in pairs.
This assumption is invalid for formats such as JSON.

Implementing proper JSON syntax highlighting falls outside the scope
of this workaround and is left for separate changes, likely including
the addition of a hook. That is part of the API roadmap RfC.

https://www.mediawiki.org/wiki/Requests_for_comment/API_roadmap#Changes_to_pretty-printed_HTML_formats

Bug: 65403
Change-Id: Iff8d444c82f7efd2bd1c9f703defc4f0984e8211