lhc/web/wiklou.git
10 years agomediawiki.action.view.redirect: Remove deployment hack
Bartosz Dziewoński [Fri, 29 Aug 2014 17:38:20 +0000 (19:38 +0200)]
mediawiki.action.view.redirect: Remove deployment hack

Follow-up to c49bd9cb.

Change-Id: Ic3904d40e89533483434e074b2021d4ec3db6831

10 years agoFix case of SpecialAllPages/SpecialAllMessages in SpecialPageFactory
umherirrender [Fri, 26 Sep 2014 20:09:04 +0000 (22:09 +0200)]
Fix case of SpecialAllPages/SpecialAllMessages in SpecialPageFactory

[autoloader] Class SpecialAllpages was loaded using incorrect case
[autoloader] Class SpecialAllmessages was loaded using incorrect case

Follow-Up: Ic137bc7adbc4a9ed96448ba0fee4807b67b3112d
Follow-Up: I21a164af0b6ec123bf654cd1e4e7085b1192f067
Change-Id: Idae65141de0de41bf4244408218a91c4b87d5b7d

10 years agoFix case of SpecialShortPages in SpecialPageFactory
umherirrender [Fri, 26 Sep 2014 20:58:34 +0000 (22:58 +0200)]
Fix case of SpecialShortPages in SpecialPageFactory

[autoloader] Class ShortpagesPage was loaded using incorrect case

Just for information: This was not visible on Special:Specialpages.
In SpecialPageFactory::$list the class LongPagesPage is before
ShortPagesPage and loads that class due to "extends", when
ShortPagesPage should be loaded, the class is already there and no
warning is generated. The warning is shown, when reording the $list.

Change-Id: Ie0ac708b40ff51372545278bb694865650fa8b1f

10 years agoUpdate CREDITS
Jackmcbarn [Sat, 27 Sep 2014 22:27:16 +0000 (18:27 -0400)]
Update CREDITS

Add myself as a developer, and sort the whole thing alphabetically.

Change-Id: Ib089c09fa0c52d8adba2058251c626d9161b048b

10 years agoMerge "Remove dead code after removal of cancel button on Special:ChangeEmail"
jenkins-bot [Sat, 27 Sep 2014 19:35:11 +0000 (19:35 +0000)]
Merge "Remove dead code after removal of cancel button on Special:ChangeEmail"

10 years agoMerge "FormatJson::parse( TRY_FIXING ) - remove trailing commas"
jenkins-bot [Sat, 27 Sep 2014 19:33:33 +0000 (19:33 +0000)]
Merge "FormatJson::parse( TRY_FIXING ) - remove trailing commas"

10 years agoMerge "Bidi-isolate extension version on Special:Version"
jenkins-bot [Sat, 27 Sep 2014 19:33:24 +0000 (19:33 +0000)]
Merge "Bidi-isolate extension version on Special:Version"

10 years agoRemove dead code after removal of cancel button on Special:ChangeEmail
Alexandre Emsenhuber [Sat, 27 Sep 2014 18:45:55 +0000 (20:45 +0200)]
Remove dead code after removal of cancel button on Special:ChangeEmail

Since the removal of the cancel button, the "wpCancel" parameter
cannot be present anymore, thus this check is now unneccessary.

Change-Id: Id72b29484554989ce8a639f2e0d3ecc07622edad

10 years agoMerge "Remove executable bit from non-executable files"
jenkins-bot [Sat, 27 Sep 2014 18:38:47 +0000 (18:38 +0000)]
Merge "Remove executable bit from non-executable files"

10 years agoRemove executable bit from non-executable files
Alexandre Emsenhuber [Sat, 27 Sep 2014 18:21:43 +0000 (20:21 +0200)]
Remove executable bit from non-executable files

Change-Id: I6def7588b970a15c4e6bd49dc4f7a7138687a99e

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 27 Sep 2014 18:04:58 +0000 (20:04 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I2932704fa919944fc2ddf8c0578e4947e010974d

10 years agoFormatJson::parse( TRY_FIXING ) - remove trailing commas
Yuri Astrakhan [Sat, 27 Sep 2014 10:20:36 +0000 (06:20 -0400)]
FormatJson::parse( TRY_FIXING ) - remove trailing commas

Removes trailing commas from json text when parsing
Solves very common cases like [1,2,3,]

Resulting status will be set to OK but not Good to warn caller

Change-Id: Ic0eb0a711da3ae578d6bb58d7474279d6845a4a7

10 years agoRemove explict autoload from phpunit tests
umherirrender [Sat, 27 Sep 2014 08:38:58 +0000 (10:38 +0200)]
Remove explict autoload from phpunit tests

The phpunit tests are loading all classes, so there is no need for an
explicit load.

Change-Id: Ifb26a5082e3366c44f6a1e65baf64c6ff9bf8449

10 years agoMerge "Add release notes for skins/common/ removal"
jenkins-bot [Sat, 27 Sep 2014 01:10:31 +0000 (01:10 +0000)]
Merge "Add release notes for skins/common/ removal"

10 years agoUpdate OOjs UI to v0.1.0-pre (98e770ce46)
Roan Kattouw [Fri, 26 Sep 2014 22:57:21 +0000 (15:57 -0700)]
Update OOjs UI to v0.1.0-pre (98e770ce46)

New changes:
888f1c6 Fix for endless loop in SelectWidget
28f6b94 PopupWidget: Make $element not be a 0x0 box

Change-Id: Id9c9e79e4a1fb4d3a42f7fec65c1360b3b192bfd

10 years agoMerge "Remove Preferences::trySetUserEmail (deprecated 1.20)"
jenkins-bot [Fri, 26 Sep 2014 21:45:27 +0000 (21:45 +0000)]
Merge "Remove Preferences::trySetUserEmail (deprecated 1.20)"

10 years agoMerge "Remove LogEventsList::getDisplayTitle (deprecated 1.20)"
jenkins-bot [Fri, 26 Sep 2014 21:44:36 +0000 (21:44 +0000)]
Merge "Remove LogEventsList::getDisplayTitle (deprecated 1.20)"

10 years agoMerge "Remove XmlDumpWriter::schemaVersion (deprecated 1.20)"
jenkins-bot [Fri, 26 Sep 2014 21:43:03 +0000 (21:43 +0000)]
Merge "Remove XmlDumpWriter::schemaVersion (deprecated 1.20)"

10 years agoMerge "Remove ApiQueryUsers::getAutoGroups (deprecated 1.20)"
jenkins-bot [Fri, 26 Sep 2014 21:40:40 +0000 (21:40 +0000)]
Merge "Remove ApiQueryUsers::getAutoGroups (deprecated 1.20)"

10 years agoRemove Preferences::trySetUserEmail (deprecated 1.20)
umherirrender [Fri, 26 Sep 2014 19:28:00 +0000 (21:28 +0200)]
Remove Preferences::trySetUserEmail (deprecated 1.20)

Change-Id: I31b008c93eae54b2aecc18154d0c2e3df3fdb712

10 years agoRemove LogEventsList::getDisplayTitle (deprecated 1.20)
umherirrender [Fri, 26 Sep 2014 19:25:53 +0000 (21:25 +0200)]
Remove LogEventsList::getDisplayTitle (deprecated 1.20)

Change-Id: If8306adec1cd64064280f8ffa1163237ee427cf2

10 years agoRemove XmlDumpWriter::schemaVersion (deprecated 1.20)
umherirrender [Fri, 26 Sep 2014 19:24:26 +0000 (21:24 +0200)]
Remove XmlDumpWriter::schemaVersion (deprecated 1.20)

Change-Id: I725d19e46d4728d46d58bfbd3d5a9ad54c4df24a

10 years agoRemove ApiQueryUsers::getAutoGroups (deprecated 1.20)
umherirrender [Fri, 26 Sep 2014 19:22:20 +0000 (21:22 +0200)]
Remove ApiQueryUsers::getAutoGroups (deprecated 1.20)

Change-Id: Idb43eca139c3e63f8a53ef076b2dfa7c5e3941b5

10 years agoMerge "buttons: Update focus for quiet buttons"
jenkins-bot [Fri, 26 Sep 2014 21:29:36 +0000 (21:29 +0000)]
Merge "buttons: Update focus for quiet buttons"

10 years agoMerge "buttons: Update focus state"
jenkins-bot [Fri, 26 Sep 2014 21:29:14 +0000 (21:29 +0000)]
Merge "buttons: Update focus state"

10 years agobuttons: Update focus for quiet buttons
Prateek Saxena [Tue, 23 Sep 2014 23:30:57 +0000 (16:30 -0700)]
buttons: Update focus for quiet buttons

Bug: 62924
Change-Id: Ide6174c5da3a04b8e6c4370fbc191783e976f6ee

10 years agobuttons: Update focus state
Prateek Saxena [Tue, 23 Sep 2014 23:20:42 +0000 (16:20 -0700)]
buttons: Update focus state

Currently the hover and focus state are exactly the same. The hover
state is subtle and making it hard to navigate using a keyboard.

Now the buttons have a border when focused.

Bug: 62924
Change-Id: Ibd75f7caaf5f34d8bcc53381335a048cede26950

10 years agoSet site logo in mediawiki.skinning.interface module instead of inline styles
tholam [Sun, 1 Dec 2013 00:49:21 +0000 (18:49 -0600)]
Set site logo in mediawiki.skinning.interface module instead of inline styles

Requires skins use the 'mw-wiki-logo' class on the logo element for the styles
to apply and to load the 'mediawiki.skinning.interface' module (or implement
their own skin module that uses the ResourceLoaderSkinModule class).

This is backwards compatible with skins using inline styles as the class only
applies when used.

Bug: 56257
Change-Id: I4e6db89a688843ac24539f8fd1b408c0d04881b3

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

Change-Id: I0117cee6fead0262213b250e7844183362b03562

10 years agoi18n: Use native digits on 'difference-missing-revision'
Ebrahim Byagowi [Thu, 25 Sep 2014 12:34:41 +0000 (12:34 +0000)]
i18n: Use native digits on 'difference-missing-revision'

Change-Id: I19cd68562690c4ab8b077681d0f3d18d4286a5cd

10 years agoMerge "QA: Do not mention Wikimedia Foundation wikis in browser tests"
jenkins-bot [Fri, 26 Sep 2014 19:52:42 +0000 (19:52 +0000)]
Merge "QA: Do not mention Wikimedia Foundation wikis in browser tests"

10 years agoMerge "API: Add ApiPageSet accessors for just good and missing titles"
jenkins-bot [Fri, 26 Sep 2014 19:26:54 +0000 (19:26 +0000)]
Merge "API: Add ApiPageSet accessors for just good and missing titles"

10 years agoCOPYING: Update the list of CC licenses icons used
Bartosz Dziewoński [Fri, 26 Sep 2014 14:11:11 +0000 (16:11 +0200)]
COPYING: Update the list of CC licenses icons used

Change-Id: If2e28e63be25c0e2284c1469a466954f497db457

10 years agoMerge "Added FormatJson::parse( $value, $options = 0 ) returning Status"
jenkins-bot [Fri, 26 Sep 2014 19:05:58 +0000 (19:05 +0000)]
Merge "Added FormatJson::parse( $value, $options = 0 ) returning Status"

10 years agoMerge "Avoid [GlobalTitleFail] spam"
jenkins-bot [Fri, 26 Sep 2014 19:04:37 +0000 (19:04 +0000)]
Merge "Avoid [GlobalTitleFail] spam"

10 years agoAdded FormatJson::parse( $value, $options = 0 ) returning Status
Yuri Astrakhan [Mon, 15 Sep 2014 23:53:49 +0000 (19:53 -0400)]
Added FormatJson::parse( $value, $options = 0 ) returning Status

* Returns Status object that will contain decoded value on success
* Adds i18n messages for all available PHP JSON errors

ATTN Translation team: please copy these messages:

gwtoolset-json-error-depth => json-error-depth
gwtoolset-json-error-state-mismatch => json-error-state-mismatch
gwtoolset-json-error-ctrl-char => json-error-ctrl-char
gwtoolset-json-error-syntax => json-error-syntax
gwtoolset-json-error-utf8 => json-error-utf8

Change-Id: I1c4f37aaabad369b75a1fbd223fad27ebcfe1c3c

10 years agoAvoid [GlobalTitleFail] spam
umherirrender [Fri, 26 Sep 2014 17:18:43 +0000 (19:18 +0200)]
Avoid [GlobalTitleFail] spam

MediaWiki::getTitle is checking, if a title is set on the context, but
that needs to call RequestContext::getTitle, which gives a warning, when
no title is set:

RequestContext::getTitle called by MediaWiki::getTitle with no title
set.

Adding a RequestContext::hasTitle function to check the title and avoid
the warning. Was added in I72c5c3fb75c9ceff02390c91b3735f2da90845de.

Change-Id: I4d8f8ef799cd91f0d2affe881019583ac77a31b7

10 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"

10 years agoQA: Do not mention Wikimedia Foundation wikis in browser tests
Željko Filipin [Fri, 26 Sep 2014 15:43:31 +0000 (17:43 +0200)]
QA: Do not mention Wikimedia Foundation wikis in browser tests

Change-Id: Iab47a1deff9f7ecda7edf3de18afdfcc00815819
Paired-With: Chris McMahon
Bug: 67616

10 years agoAPI: Add ApiPageSet accessors for just good and missing titles
Brad Jorsch [Fri, 26 Sep 2014 14:56:00 +0000 (10:56 -0400)]
API: Add ApiPageSet accessors for just good and missing titles

ApiPageSet::getAllTitlesByNamespace is fine when that's what you want.
But in all existing uses in core, it's not what's actually wanted.
* ApiQueryBacklinksprop can generate wrong ORDER BY because it considers
  redirect and invalid titles that it doesn't acutally query.
* ApiQueryCategoryInfo raises a fatal error with category redirects.
* ApiQueryDuplicateFiles and ApiQueryImageInfo will add information for
  redirects, leaving them missing the standard data and missing from
  indexpageids.

What all these need is really something along the lines of
"ApiPageSet::getGoodAndMissingTitlesByNamespace". So let's add that,
plus a few similar methods for good measure.

Bug: 71337
Change-Id: I3a205057edcbc303393718e1c8bfb1f1b1f95323

10 years agoAdd release notes for skins/common/ removal
Bartosz Dziewoński [Fri, 26 Sep 2014 14:22:08 +0000 (16:22 +0200)]
Add release notes for skins/common/ removal

Bug: 69277
Change-Id: I87566d4adcdcfba7a3fec2a5992ee61f95ec512c

10 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

10 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

10 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

10 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

10 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()"

10 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"

10 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

10 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

10 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"

10 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"

10 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

10 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"

10 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"

10 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"