lhc/web/wiklou.git
9 years agoMerge "Remove useless $out parameter from SkinTemplate::prepareQuickTemplate()"
jenkins-bot [Thu, 14 Aug 2014 16:47:32 +0000 (16:47 +0000)]
Merge "Remove useless $out parameter from SkinTemplate::prepareQuickTemplate()"

9 years agoMerge "Followup I4049b666: "Removing prefix exception for HTMLCheckMatrix""
jenkins-bot [Thu, 14 Aug 2014 12:51:27 +0000 (12:51 +0000)]
Merge "Followup I4049b666: "Removing prefix exception for HTMLCheckMatrix""

9 years agoMerge "mediawiki.notify: Simplify callback by using .then()"
jenkins-bot [Wed, 13 Aug 2014 23:04:00 +0000 (23:04 +0000)]
Merge "mediawiki.notify: Simplify callback by using .then()"

9 years agoMerge "Use camel case for variable names in Article.php"
jenkins-bot [Wed, 13 Aug 2014 22:42:57 +0000 (22:42 +0000)]
Merge "Use camel case for variable names in Article.php"

9 years agoMerge "Don't set the session name in CLI or when sessions are deactivated"
jenkins-bot [Wed, 13 Aug 2014 22:30:55 +0000 (22:30 +0000)]
Merge "Don't set the session name in CLI or when sessions are deactivated"

9 years agoMerge "Allow to send the memory usage with UDP profiler."
jenkins-bot [Wed, 13 Aug 2014 22:24:39 +0000 (22:24 +0000)]
Merge "Allow to send the memory usage with UDP profiler."

9 years agoEnabled $wgUseLinkNamespaceDBFields
Aaron Schulz [Tue, 12 Aug 2014 17:55:05 +0000 (10:55 -0700)]
Enabled $wgUseLinkNamespaceDBFields

Change-Id: I7aa64c3ef50cd0bc210ea755a0c9d6ee1b7abb7c

9 years agomediawiki.notify: Simplify callback by using .then()
Fomafix [Wed, 13 Aug 2014 21:31:48 +0000 (21:31 +0000)]
mediawiki.notify: Simplify callback by using .then()

Change-Id: Ifff25534d716721ff1d2d4484dbd0f63161ecb43

9 years agoMerge "Pass $name to default Skin constructor for backwards-compatability"
jenkins-bot [Wed, 13 Aug 2014 21:21:07 +0000 (21:21 +0000)]
Merge "Pass $name to default Skin constructor for backwards-compatability"

9 years agoMerge "Added --lastUpdatedId option to backlink namespace population script"
jenkins-bot [Wed, 13 Aug 2014 21:06:52 +0000 (21:06 +0000)]
Merge "Added --lastUpdatedId option to backlink namespace population script"

9 years agoMerge "Run some parser tests with tidy."
jenkins-bot [Wed, 13 Aug 2014 21:02:56 +0000 (21:02 +0000)]
Merge "Run some parser tests with tidy."

9 years agoMerge "Revert "Made LCStoreDB try to use a separate DB connection""
jenkins-bot [Wed, 13 Aug 2014 21:01:36 +0000 (21:01 +0000)]
Merge "Revert "Made LCStoreDB try to use a separate DB connection""

9 years agoMerge "includes/actions/: Use Config instead of globals"
jenkins-bot [Wed, 13 Aug 2014 20:48:48 +0000 (20:48 +0000)]
Merge "includes/actions/: Use Config instead of globals"

9 years agoPass $name to default Skin constructor for backwards-compatability
Kunal Mehta [Wed, 13 Aug 2014 20:45:56 +0000 (13:45 -0700)]
Pass $name to default Skin constructor for backwards-compatability

This feature was necessary when it was only possible to specify the
name of the class a skin used, this was the only way for one class to
dynamically serve multiple skins (such as if the skins were purely
template based with no PHP or if one skin had different themes to it).
It also provided an option for other skins to set $this->skinname dynamically.

See code review on I5c442f3c9e.

Change-Id: I7315fadf2e26d164ccc4f47b6d883945fa2570da

9 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Wed, 13 Aug 2014 20:42:33 +0000 (20:42 +0000)]
Merge "Localisation updates from https://translatewiki.net."

9 years agoMerge "SkinFallbackTemplate: Use SkinFactory instead of $wgValidSkinNames"
jenkins-bot [Wed, 13 Aug 2014 20:41:06 +0000 (20:41 +0000)]
Merge "SkinFallbackTemplate: Use SkinFactory instead of $wgValidSkinNames"

9 years agoincludes/actions/: Use Config instead of globals
Kunal Mehta [Wed, 13 Aug 2014 02:45:55 +0000 (19:45 -0700)]
includes/actions/: Use Config instead of globals

Changed InfoAction::pageCounts to be non-static, so
it's able to access $this to get the Config object.

Also replaced instances of $wgScript with wfScript().

Change-Id: I4a6a3224e762f13640af04a73e2934b887dffedd

9 years agoMerge "Fix documentation."
jenkins-bot [Wed, 13 Aug 2014 20:27:00 +0000 (20:27 +0000)]
Merge "Fix documentation."

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 13 Aug 2014 20:24:45 +0000 (22:24 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ie88a32c00c27abb72f24c9585884b7253d938b31

9 years agoMerge "Update release notes and documentation about skins"
jenkins-bot [Wed, 13 Aug 2014 20:24:19 +0000 (20:24 +0000)]
Merge "Update release notes and documentation about skins"

9 years agoSkinFallbackTemplate: Use SkinFactory instead of $wgValidSkinNames
Kunal Mehta [Mon, 11 Aug 2014 12:40:52 +0000 (05:40 -0700)]
SkinFallbackTemplate: Use SkinFactory instead of $wgValidSkinNames

Change-Id: I463d263fc24a3e0c589ddc7176b77dffde17d105

9 years agoFixed spacing
umherirrender [Wed, 13 Aug 2014 17:59:03 +0000 (19:59 +0200)]
Fixed spacing

- Added newline at end of files
- Added/Removed spaces around comma, parentheses and negation
- Added space after function word

Change-Id: I2dd338153aeb5f07702ba015945e95c7d0ae673b

9 years agoMerge "Correct variable names in @param to match method declarations"
jenkins-bot [Wed, 13 Aug 2014 20:13:37 +0000 (20:13 +0000)]
Merge "Correct variable names in @param to match method declarations"

9 years agoMerge "Cleanup - let's make IDEs more useful"
jenkins-bot [Wed, 13 Aug 2014 20:08:54 +0000 (20:08 +0000)]
Merge "Cleanup - let's make IDEs more useful"

9 years agoCleanup - let's make IDEs more useful
Yuri Astrakhan [Tue, 8 Jul 2014 21:40:06 +0000 (17:40 -0400)]
Cleanup - let's make IDEs more useful

http://phpdoc.org/docs/latest/references/phpdoc/types.html

If IDEs have many warnings, we don't look at them.
Let's minimize the number of warnings, and make them useful again.

* Some function docs fixes
* Removed unused $iwprefixes var in ApiQuerySearch.php
* declared private $blockStatusByUid in SpecialActiveusers
* declared private $repo in UploadFromChunks

Change-Id: Ifd20f78b168b9a913fdb8d89dc26a76a173b1c29

9 years agoUpdate release notes and documentation about skins
Bartosz Dziewoński [Wed, 13 Aug 2014 19:58:01 +0000 (21:58 +0200)]
Update release notes and documentation about skins

skins/README based on extensions/README. Also updated the latter.

Bug: 68402
Bug: 69372
Change-Id: I6d045af0509aa8fc485255b507554d771d101ee0

9 years agoCorrect variable names in @param to match method declarations
umherirrender [Wed, 13 Aug 2014 19:41:39 +0000 (21:41 +0200)]
Correct variable names in @param to match method declarations

Some @param have a typo in the variable name,
some @param's were in wrong order.

Change-Id: Ie25806831027112b398f6f4a909c59147ac3a5fa

9 years agoFix documentation.
Daniel Friesen [Wed, 13 Aug 2014 19:36:28 +0000 (12:36 -0700)]
Fix documentation.

It's true that right now the internal skin name doesn't have to be all-lowercase,
however not doing so leads to side effects such as the changing of case of i18n message keys,
if the documentation makes programmers aware that something other than all-lowercase can
be used, they should also be aware of the side effects of doing so.

Change-Id: Ib1ed192b1ba83ae864313c34b450a1151485750b

9 years agoUse /** for doc comments
umherirrender [Wed, 13 Aug 2014 19:26:20 +0000 (21:26 +0200)]
Use /** for doc comments

/* is only a comment, which is not used when build the documentation

Change-Id: Id5f917928e3a253a90fd17b0d7aad7340f9393f5

9 years agoMerge "SkinFactory: Improve documentation and comments"
jenkins-bot [Wed, 13 Aug 2014 18:58:07 +0000 (18:58 +0000)]
Merge "SkinFactory: Improve documentation and comments"

9 years agoMerge "SkinFactory: register skins in Setup.php"
jenkins-bot [Wed, 13 Aug 2014 18:56:53 +0000 (18:56 +0000)]
Merge "SkinFactory: register skins in Setup.php"

9 years agoFixed some docs
umherirrender [Wed, 13 Aug 2014 18:01:46 +0000 (20:01 +0200)]
Fixed some docs

- Added since to @deprecated
- Use lowercase array on @param
- Added missing type on @param
- Swapped type and variable on @param
- Fixed spelling of @return

Change-Id: Idbbc6b4c8aadb6d98c636f53024ac513346c912b

9 years agoMerge "ApiTestCase: Avoid notices about undefined indices"
jenkins-bot [Wed, 13 Aug 2014 17:53:59 +0000 (17:53 +0000)]
Merge "ApiTestCase: Avoid notices about undefined indices"

9 years agoApiTestCase: Avoid notices about undefined indices
Bartosz Dziewoński [Wed, 13 Aug 2014 17:47:57 +0000 (19:47 +0200)]
ApiTestCase: Avoid notices about undefined indices

We're going to throw an exception right away here, but this is still
problematic because of PHPUnit:

"By default, PHPUnit converts PHP errors, warnings, and notices that
are triggered during the execution of a test to an exception."
http://phpunit.de/manual/4.2/en/writing-tests-for-phpunit.html#writing-tests-for-phpunit.errors

Also change the exception message to something saner.

Change-Id: I766c36076d34428035be78bbb3cf36cc572b565b

9 years agoDocs: compatability -> compatibility
umherirrender [Wed, 13 Aug 2014 17:39:07 +0000 (19:39 +0200)]
Docs: compatability -> compatibility

https://en.wiktionary.org/wiki/compatability

Change-Id: I71d82ae04d4b17609a1d5a7eec4497115e64972e

9 years agoMerge "EditPage::newSectionSummary should return a value in all code paths"
jenkins-bot [Wed, 13 Aug 2014 16:41:49 +0000 (16:41 +0000)]
Merge "EditPage::newSectionSummary should return a value in all code paths"

9 years agoSet $wgUploadNavigationUrl to false on parser and unit tests
umherirrender [Fri, 8 Aug 2014 19:44:01 +0000 (21:44 +0200)]
Set $wgUploadNavigationUrl to false on parser and unit tests

Setting this to default avoids failing parser tests,
when it is set in LocalSettings.php

Bug: 54576
Change-Id: I531d5839e9abe571c6c29f290bb159dabca34798

9 years agoSkinFactory: Improve documentation and comments
Bartosz Dziewoński [Wed, 13 Aug 2014 11:55:55 +0000 (13:55 +0200)]
SkinFactory: Improve documentation and comments

* Document parameters to register()
* Document what the "human-readable name" does
* Document the distinction between autodiscovery and $wgValidSkinNames
  skins

Change-Id: Iee5bd18b3e68f3e48ccd28e386109e60fee31085

9 years agoSkinFactory: register skins in Setup.php
Kunal Mehta [Mon, 11 Aug 2014 11:33:54 +0000 (12:33 +0100)]
SkinFactory: register skins in Setup.php

This un-makes $wgValidSkinNames a legacy thing, and is
more backwards-compatible friendly.

Change-Id: I5c442f3c9e4ee7a4a3980fd02138ee756ef9fa7a

9 years agoRemove deprecated $wgHTCPMulticastAddress, $wgHTCPMulticastRouting and $wgHTCPPort
withoutaname [Thu, 31 Jul 2014 03:18:28 +0000 (20:18 -0700)]
Remove deprecated $wgHTCPMulticastAddress, $wgHTCPMulticastRouting and $wgHTCPPort

Change-Id: Icfbc178d823e59f2e305cbc4bca0b194d2786026

9 years agoMerge "Remove return from Action::checkCanExecute"
jenkins-bot [Wed, 13 Aug 2014 01:31:07 +0000 (01:31 +0000)]
Merge "Remove return from Action::checkCanExecute"

9 years agoMerge "resourceloader: Wrap only=script responses in "if(window.mw)""
jenkins-bot [Wed, 13 Aug 2014 00:50:10 +0000 (00:50 +0000)]
Merge "resourceloader: Wrap only=script responses in "if(window.mw)""

9 years agoresourceloader: Wrap only=script responses in "if(window.mw)"
Timo Tijhof [Wed, 6 Aug 2014 15:54:22 +0000 (15:54 +0000)]
resourceloader: Wrap only=script responses in "if(window.mw)"

We currently have a few legacy requests to the load.php end point
that bypass the ResourceLoader client by coding a request to
load.php via a "<script src>" directly. Most prominently the
request for the 'site' wiki module (aka MediaWiki:Common.js).

Remove the manual wrapping of embedded private modules as this
is now taken are of by ResourceLoader::makeModuleResponse itself.

Misc:
* Mark "jquery" and "mediawiki" as Raw modules. While the startup
  module had this already, these didn't. Without this, they'd
  get the conditional wrap – which would be a problem since mediawiki.js
  can't be conditional on 'window.mw' for that file defines that
  namespace itself.
* Strip the cache-key comment in the unit tests because the hash
  no longer matches and using the generic 'wiki' dbname was breaking
  DB queries.
* Relates to bug 63587.
* See also 05d0f6fefdcc959d which expands the reach of the non-JS
  environment to IE6 and helped expose this bug.

Change-Id: Icf6ede09b51ce212aa70ff6be4b341762ec75b4d

9 years agoFix phpcs issues in actions and revisiondelete dirs
addshore [Mon, 11 Aug 2014 20:58:31 +0000 (21:58 +0100)]
Fix phpcs issues in actions and revisiondelete dirs

Change-Id: I54c1e336b8c44ff8720ac38c8b2d68ede42af305

9 years agoMerge "actions: Move SubmitAction class out of EditAction.php"
jenkins-bot [Tue, 12 Aug 2014 22:33:18 +0000 (22:33 +0000)]
Merge "actions: Move SubmitAction class out of EditAction.php"

9 years agoMerge "resourceloader: Fix undefined variable in ResourceLoaderFileModule::getSkipFun...
jenkins-bot [Tue, 12 Aug 2014 22:29:06 +0000 (22:29 +0000)]
Merge "resourceloader: Fix undefined variable in ResourceLoaderFileModule::getSkipFunction"

9 years agoactions: Move SubmitAction class out of EditAction.php
withoutaname [Mon, 4 Aug 2014 00:15:17 +0000 (17:15 -0700)]
actions: Move SubmitAction class out of EditAction.php

Straight move, except for the slight change in the comparison operator
for session_id().

Change-Id: I9404f48ee75ff3d3655f2f5b75a05d66f334b80d

9 years agoresourceloader: Fix undefined variable in ResourceLoaderFileModule::getSkipFunction
Alexandre Emsenhuber [Tue, 12 Aug 2014 18:15:53 +0000 (20:15 +0200)]
resourceloader: Fix undefined variable in ResourceLoaderFileModule::getSkipFunction

Follows-up 75c08916b02ac87. Looking at the call chain of
validateScriptFile() up to JSTokenzier, the first parameter is the file
name, otherwise "[inline]" is used; so that variable should be $localPath.

Bug: 69214
Change-Id: If7f36449cb352f50ba795a6d306e5d949a3dbd29

9 years agoMerge "Change "ENGINE=HEAP" to "ENGINE=MEMORY""
jenkins-bot [Tue, 12 Aug 2014 22:12:19 +0000 (22:12 +0000)]
Merge "Change "ENGINE=HEAP" to "ENGINE=MEMORY""

9 years agoMerge "Remove duplicate override in SpecialRecentchangeslinked.php"
jenkins-bot [Tue, 12 Aug 2014 19:01:07 +0000 (19:01 +0000)]
Merge "Remove duplicate override in SpecialRecentchangeslinked.php"

9 years agoRemove duplicate override in SpecialRecentchangeslinked.php
Reedy [Tue, 12 Aug 2014 18:48:29 +0000 (19:48 +0100)]
Remove duplicate override in SpecialRecentchangeslinked.php

Causes bug in FR

Change-Id: I5efa8953e6e6717ba043fa13a652f1dfcf936bf2

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 12 Aug 2014 18:47:37 +0000 (20:47 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I73acb1878dc7e7d2186219f542bf3e8f4ca3d944

9 years agoRemove useless $out parameter from SkinTemplate::prepareQuickTemplate()
Alexandre Emsenhuber [Tue, 12 Aug 2014 18:03:45 +0000 (20:03 +0200)]
Remove useless $out parameter from SkinTemplate::prepareQuickTemplate()

Part II; follow-up I4fac5b14af (ff4da35).

It makes sufficient time the first part was merged, no need to pass the
parameter anymore.

Change-Id: Icb390995912b4860df4ce2571105d3a9dc97a092

9 years agoChange "ENGINE=HEAP" to "ENGINE=MEMORY"
withoutaname [Mon, 4 Aug 2014 14:37:43 +0000 (07:37 -0700)]
Change "ENGINE=HEAP" to "ENGINE=MEMORY"

"Memory" is the preferred term, see
https://dev.mysql.com/doc/refman/5.0/en/memory-storage-engine.html

Change-Id: I1fd05d027903af6023002dd357998ce5f2606708

9 years agoRemove return from Action::checkCanExecute
umherirrender [Sun, 3 Aug 2014 18:42:25 +0000 (20:42 +0200)]
Remove return from Action::checkCanExecute

No need to return true on success, because failure gives Exception,
so the return value needs no checking.

Change-Id: Id59bfaebc14bd1c638a721c303f585c1de627508

9 years agoMake travis notifications go to #mediawiki-feed
addshore [Tue, 12 Aug 2014 11:49:02 +0000 (12:49 +0100)]
Make travis notifications go to #mediawiki-feed

Change-Id: If61d0ac868c0932a0bb0aae76db4354190874c35

9 years agoRevert "Travis CI: Drop 5.3 as a build target"
Addshore [Mon, 11 Aug 2014 20:08:46 +0000 (20:08 +0000)]
Revert "Travis CI: Drop 5.3 as a build target"

This reverts commit 420f55ad976a4929fdc9b1eff9ed2b6044c633d6.

Change-Id: I4c8aa600c72041daf49ed6158b9375bdcc5c9015

9 years agoFix visibility in SkinFallback and StubObject
addshore [Mon, 11 Aug 2014 21:22:18 +0000 (22:22 +0100)]
Fix visibility in SkinFallback and StubObject

Change-Id: Ie4c1aabd966fcdf87a9129ceb59c058740292f2e

9 years agoAdd @codingStandardsIgnore tags to parser classes
addshore [Mon, 11 Aug 2014 20:44:31 +0000 (21:44 +0100)]
Add @codingStandardsIgnore tags to parser classes

Change-Id: I16d19de3d2b2461a68030afd3a79aa59c9e948d4

9 years agoFix phpcs issues in parser
addshore [Mon, 11 Aug 2014 20:24:54 +0000 (21:24 +0100)]
Fix phpcs issues in parser

This fixes all issues except for:
 - class names
 - line length

Change-Id: Ie91b010d5b3eec49d3b80b6e93b125a901ef43c6

9 years agoFix phpcs stuff in profileinfo.php
addshore [Mon, 11 Aug 2014 21:32:04 +0000 (22:32 +0100)]
Fix phpcs stuff in profileinfo.php

Change-Id: Ia0709ced1ac6365a0c1f7c14c52d2487041a9c3f

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 11 Aug 2014 19:37:31 +0000 (21:37 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I13bfc16a2cba749eb74e0657c337eda0f4a3491d

9 years agoMerge "Cleanup some docs (tests)"
jenkins-bot [Mon, 11 Aug 2014 18:35:42 +0000 (18:35 +0000)]
Merge "Cleanup some docs (tests)"

9 years agoMerge "Remove some unnecessary IE 6 hacks"
jenkins-bot [Mon, 11 Aug 2014 18:31:53 +0000 (18:31 +0000)]
Merge "Remove some unnecessary IE 6 hacks"

9 years agoCleanup some docs (tests)
umherirrender [Thu, 24 Jul 2014 12:55:43 +0000 (14:55 +0200)]
Cleanup some docs (tests)

- Swap "$variable type" to "type $variable"
- Fixed spacing inside docs
- Makes beginning of @param/@var/@throws in capital
- Changed some types to match the more common spelling

Change-Id: Ia041964250d8b7c0349d79dc9b131c5b8696e795

9 years agoAdd release notes for Ibe28a69c9fbab00b81c53b1643df722a3f1fbf19
Kunal Mehta [Sun, 10 Aug 2014 23:03:09 +0000 (00:03 +0100)]
Add release notes for Ibe28a69c9fbab00b81c53b1643df722a3f1fbf19

Change-Id: I0a2b2feafcf2561369145bec80ec14c7929beff9

9 years agoMerge "Do not allow a user to delete a page they can't edit"
jenkins-bot [Sun, 10 Aug 2014 21:47:22 +0000 (21:47 +0000)]
Merge "Do not allow a user to delete a page they can't edit"

9 years agoDo not allow a user to delete a page they can't edit
Brad Jorsch [Sun, 10 Aug 2014 20:23:28 +0000 (21:23 +0100)]
Do not allow a user to delete a page they can't edit

This was probably overlooked in the past because usually the only users
who can delete pages also have permission to edit the relevant
protection levels.

Change-Id: Ibe28a69c9fbab00b81c53b1643df722a3f1fbf19

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

Change-Id: I5529c6d8115cc05b3de8d3fde9de948f1719bed3

9 years agoMerge "API: Remove action=paraminfo 'props' and 'errors' result properties"
jenkins-bot [Sun, 10 Aug 2014 14:08:52 +0000 (14:08 +0000)]
Merge "API: Remove action=paraminfo 'props' and 'errors' result properties"

9 years agoFix userrights-interwiki when the 'user' table is shared
UltrasonicNXT [Wed, 5 Feb 2014 21:03:15 +0000 (21:03 +0000)]
Fix userrights-interwiki when the 'user' table is shared

At present, this function selects the user table from the same DB as the
user_groups, however, in wikifarms this is not often the case, as the user
table is often shared, but the user_groups table not. Adding a check in
here, and passing the shared table, if needed, ONLY to the user query,
should fix.

Change-Id: Ib85630067c402b8e4f50ff11a33fe7f0eadd4f16

9 years agoRequire a ResourceLoader instance is passed to ResourceLoaderContext
Kunal Mehta [Sun, 10 Aug 2014 10:36:59 +0000 (11:36 +0100)]
Require a ResourceLoader instance is passed to ResourceLoaderContext

Change-Id: Ie1e5453b47349fc00664325827f88a1e7a6de43f

9 years agoMerge "Make styleguide mobile first"
jenkins-bot [Sun, 10 Aug 2014 03:20:13 +0000 (03:20 +0000)]
Merge "Make styleguide mobile first"

9 years agoFix documentation for Html::closeElement
Matthew Flaschen [Sun, 10 Aug 2014 02:23:27 +0000 (22:23 -0400)]
Fix documentation for Html::closeElement

Follow-up to d950da075dcb6c6dd3f68a50a0d427569350763a

Change-Id: I916052cf924dd3c6664b6d7d02175fd74a71527b

9 years agoMerge "Skin: Don't double-check for non-existing skin in newFromKey()"
jenkins-bot [Sun, 10 Aug 2014 01:39:43 +0000 (01:39 +0000)]
Merge "Skin: Don't double-check for non-existing skin in newFromKey()"

9 years agoSkin: Don't double-check for non-existing skin in newFromKey()
Bartosz Dziewoński [Sun, 10 Aug 2014 01:24:58 +0000 (03:24 +0200)]
Skin: Don't double-check for non-existing skin in newFromKey()

normalizeKey() should have already handled this.

Change-Id: Idf2510ec86841ed18d589f392a30db1b41ac0c24

9 years agoMerge "Never display empty sections on Special:Version"
jenkins-bot [Sun, 10 Aug 2014 01:23:59 +0000 (01:23 +0000)]
Merge "Never display empty sections on Special:Version"

9 years agoNever display empty sections on Special:Version
Bartosz Dziewoński [Fri, 8 Aug 2014 22:38:14 +0000 (00:38 +0200)]
Never display empty sections on Special:Version

Follow-up to d423112b.

Change-Id: I44c8bfe6f4ca1350a7e35a253785f772602353c1

9 years agoMove Vector's hooks documentation to mediawiki/skins/Vector
Bartosz Dziewoński [Sat, 9 Aug 2014 15:06:33 +0000 (17:06 +0200)]
Move Vector's hooks documentation to mediawiki/skins/Vector

Change-Id: Ide133c1ec0ae701c5864edcbab428be314bd159e

9 years agoRemove some unnecessary IE 6 hacks
Bartosz Dziewoński [Sun, 10 Aug 2014 01:12:34 +0000 (03:12 +0200)]
Remove some unnecessary IE 6 hacks

We dropped JS support for IE 6. These workarounds for its bugs are no
longer necessary, because this code is no longer loaded. (The CSS
files modified are parts of modules that require JS support.)

We probably have a lot more, these just came up when grepping for
'IE6' and were obvious.

Change-Id: I7588b03f6ade699ddda4ec28be6c6f512e4b0ea8

9 years agoMerge "Cleanup some docs (languages)"
jenkins-bot [Sat, 9 Aug 2014 23:02:01 +0000 (23:02 +0000)]
Merge "Cleanup some docs (languages)"

9 years agoMerge "Cleanup some docs (maintenance)"
jenkins-bot [Sat, 9 Aug 2014 21:05:39 +0000 (21:05 +0000)]
Merge "Cleanup some docs (maintenance)"

9 years agoMerge "Introduce SkinFactory"
jenkins-bot [Sat, 9 Aug 2014 20:49:41 +0000 (20:49 +0000)]
Merge "Introduce SkinFactory"

9 years agoIntroduce SkinFactory
Kunal Mehta [Sat, 9 Aug 2014 12:36:35 +0000 (13:36 +0100)]
Introduce SkinFactory

Modeled similar to ConfigFactory, this lets skins
register themselves via a callback, allowing for
proper dependency injection.

Loading via $wgValidSkinNames is still supported,
but considered "legacy", not deprecated though.

Skin::newFromKey is now deprecated (and had only
one caller in an extension, which I'll update
afterwards).

Change-Id: I1960483f87c2ef55c994545239b728fa376f17f4

9 years agoCleanup some docs (languages)
umherirrender [Thu, 24 Jul 2014 12:55:43 +0000 (14:55 +0200)]
Cleanup some docs (languages)

- Makes beginning of @param in capital
- Removed return void

Change-Id: Ie05436c1ef886cb23c62ccde95384f253f83694c

9 years agoCleanup some docs (maintenance)
umherirrender [Sat, 9 Aug 2014 19:26:14 +0000 (21:26 +0200)]
Cleanup some docs (maintenance)

- Fixed spacing inside docs
- Makes beginning of @param/@return in capital

Change-Id: I864b8b3f1f67e34e369aba7aadaf87e7752c894d

9 years agoMerge "Special:Allpages replace table with unordered list"
jenkins-bot [Sat, 9 Aug 2014 19:06:54 +0000 (19:06 +0000)]
Merge "Special:Allpages replace table with unordered list"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 9 Aug 2014 17:14:04 +0000 (19:14 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I0a3841a41e7f3ff5c19a756f1e7ce36779025204

9 years agoFollowup 248ac9e: set $wgAutoloadClasses to an array after declaring
Chad Horohoe [Sat, 9 Aug 2014 16:36:07 +0000 (17:36 +0100)]
Followup 248ac9e: set $wgAutoloadClasses to an array after declaring

Change-Id: I07cc526ff3145c38bc08cd9b83fb266dc20a47c1

9 years agoMerge "Support GENDER in MediaWiki:Blockip and Special:Block"
jenkins-bot [Sat, 9 Aug 2014 16:25:30 +0000 (16:25 +0000)]
Merge "Support GENDER in MediaWiki:Blockip and Special:Block"

9 years agoMerge "mediawiki.content.json.css: Don't use funny fonts"
jenkins-bot [Sat, 9 Aug 2014 15:06:22 +0000 (15:06 +0000)]
Merge "mediawiki.content.json.css: Don't use funny fonts"

9 years agomediawiki.content.json.css: Don't use funny fonts
Bartosz Dziewoński [Sat, 9 Aug 2014 14:58:39 +0000 (16:58 +0200)]
mediawiki.content.json.css: Don't use funny fonts

* Allow skin-provided fonts for .mw-json.
* Use standard monospace font for .mw-json .value. We need to write
  'monospace, monospace' because of old browsers, see design/monospace.html.

Change-Id: I4ed850408895dd1962a0503227ccb384bf479790

9 years agoMake mediawiki.content.json.css not trigger JSDuck
Bartosz Dziewoński [Sat, 9 Aug 2014 14:56:06 +0000 (16:56 +0200)]
Make mediawiki.content.json.css not trigger JSDuck

Fun fact: JSDuck tests don't run for .css file changes on Jenkins, but
when they do run for .js file changes, they also process .css files
and the documentation comments in them.

Change /** to /*! to prevent that, like we've done in other files.

Follow-up to d2a82fcb.

Change-Id: Ib7f9875ea818bc72fe9aaed167b428e570c6df2e

9 years agoUse new static instead of new self
Kunal Mehta [Sat, 9 Aug 2014 13:15:46 +0000 (14:15 +0100)]
Use new static instead of new self

See code review on I957d6bda626b8e749a99717b5c89c4db38a36bf8

Change-Id: I79e4a987636509515df044da7a6951d3e4b4f824

9 years agoMerge "Correct variable types in phpdoc"
jenkins-bot [Sat, 9 Aug 2014 12:37:50 +0000 (12:37 +0000)]
Merge "Correct variable types in phpdoc"

9 years agoCorrect variable types in phpdoc
Tom Arrow [Sat, 9 Aug 2014 12:31:02 +0000 (13:31 +0100)]
Correct variable types in phpdoc

Change-Id: I1a57024868fa47d9537585f1bb738d6f7c725c7a
in: LocalisationCache.php and ImageQueryPage.php

9 years agoRemove unreachable return in ChangesList.php
Tom Arrow [Sat, 9 Aug 2014 12:23:08 +0000 (13:23 +0100)]
Remove unreachable return in ChangesList.php

Change-Id: Ic00d7b4eaebdaa795b550c4213c518b1c56bd297

9 years agoSplit SkinFallback and SkinfallbackTemplate
Tom Arrow [Sat, 9 Aug 2014 12:11:54 +0000 (13:11 +0100)]
Split SkinFallback and SkinfallbackTemplate

Change-Id: I55c866c08d4f442021c43068efe64be871afb96b

9 years agoMerge "Don't include images/categories when behind a local interwiki prefix"
jenkins-bot [Sat, 9 Aug 2014 11:51:07 +0000 (11:51 +0000)]
Merge "Don't include images/categories when behind a local interwiki prefix"

9 years agoMerge "Add $query parameter to OutputPage::addBacklinkSubtitle"
jenkins-bot [Sat, 9 Aug 2014 11:29:08 +0000 (11:29 +0000)]
Merge "Add $query parameter to OutputPage::addBacklinkSubtitle"