lhc/web/wiklou.git
8 years agoRemove blue border from DateInputWidget calendar
Ed Sanders [Fri, 25 Sep 2015 16:59:52 +0000 (17:59 +0100)]
Remove blue border from DateInputWidget calendar

CalendarWidget will now only get the blue focus border when it is
focussed itself, not always inside a focussed DateInputWidget.

Bug: T113741
Change-Id: I0332a9bac4c5ec6abb5a836125718e6b779bf496

8 years agoRemove border radii from CalendarWidget
Ed Sanders [Fri, 25 Sep 2015 17:22:11 +0000 (18:22 +0100)]
Remove border radii from CalendarWidget

Also remove rule removing border from 'today' on hover.

Bug: T113740
Change-Id: I9d71064b847433ed98ebaa8a1dce36af2cca7d27

8 years agoPut InfoAction distinct user counts behind miser mode
Aaron Schulz [Fri, 25 Sep 2015 06:55:16 +0000 (23:55 -0700)]
Put InfoAction distinct user counts behind miser mode

* The random I/O due to secondary lookups causes timeouts on
  larges pages that keep showing up in the logs.

Change-Id: I9bddcd3ba9ad5ff2f26ccec4553906ecc4a8129b

8 years agoMerge "In parserTests.php, fix upload directory handling"
jenkins-bot [Mon, 28 Sep 2015 17:23:56 +0000 (17:23 +0000)]
Merge "In parserTests.php, fix upload directory handling"

8 years agoDon't overwrite all available object caches
Florian [Sat, 26 Sep 2015 23:41:24 +0000 (01:41 +0200)]
Don't overwrite all available object caches

Just because some defined object caches are problematic in the installer, it
doesn't mean, that all others are problematic, too. Disable only the object
caches, which are known problematic ones by preserving the others.

Follow up: I1c1938b3fac395d

Bug: T113843
Change-Id: I951ef22d97b4c66d3b781a9bc4a30e7e2fca1395

8 years agoMerge "mediawiki.widgets: Add temporary workaround for upstream oojs-ui bug"
jenkins-bot [Mon, 28 Sep 2015 15:46:00 +0000 (15:46 +0000)]
Merge "mediawiki.widgets: Add temporary workaround for upstream oojs-ui bug"

8 years agomediawiki.widgets: Add temporary workaround for upstream oojs-ui bug
Ed Sanders [Mon, 28 Sep 2015 15:28:09 +0000 (16:28 +0100)]
mediawiki.widgets: Add temporary workaround for upstream oojs-ui bug

'choose' sometimes emits with null. Fixed upstream in I03f0b6d88f.

Change-Id: I4f5ab119555f9e3c439e3d91054b8b99d0dd89a5

8 years agoConvert Russian grammar cases from PHP to JSON
Amir E. Aharoni [Mon, 21 Sep 2015 19:57:08 +0000 (22:57 +0300)]
Convert Russian grammar cases from PHP to JSON

This is a follow-up to
Ib6a0afa5c3736f8b9b2e121cd752c53ee50fad75

The PHP logic for grammatical cases in Russian was growing.
It was too long and not reusable is JavaScript.

This patch moves all the logic to a JSON file,
indexed by the grammatical case name and then
by regular expressions that match the different
word classes, with the values being the replacements
that should be compatible with common regular expression
replacement functions in modern programming languages.

This patch doesn't introduce any functional changes
and doesn't change any tests.

The next steps, not necessarily in this order, are:
* Make it work also with JavaScript.
* Make JSON grammar data files loadable with ResourceLoader.
* Convert most or all grammar rules for all the languages to JSON.
* Make the data processing loop generic for all languages.
* Convert it also in jquery.i18n (Milkshake).
* Convert the test cases data from code to generic data.
* Move the JSON data to a separate reusable repository.

Change-Id: I0e8e1bfb9d3ec9f841f733356af32dad7d130e94

8 years agoMerge "Remove duplicate entry"
jenkins-bot [Mon, 28 Sep 2015 13:50:46 +0000 (13:50 +0000)]
Merge "Remove duplicate entry"

8 years agoMerge "Fix a PHPCS warning in SearchMySQL.php"
jenkins-bot [Mon, 28 Sep 2015 13:49:56 +0000 (13:49 +0000)]
Merge "Fix a PHPCS warning in SearchMySQL.php"

8 years agoMerge "Add new grammar forms for language names in Russian"
jenkins-bot [Mon, 28 Sep 2015 13:41:33 +0000 (13:41 +0000)]
Merge "Add new grammar forms for language names in Russian"

8 years agoRemove duplicate entry
Siebrand Mazeland [Mon, 28 Sep 2015 13:38:57 +0000 (15:38 +0200)]
Remove duplicate entry

First occurrence is 5 lines above. Shouldn't the banana check have found
this?

Change-Id: I7b193d4131e440e5d6ce67c62b5406b977de020c

8 years agoMerge "Remove superfluous rules from print CSS"
jenkins-bot [Mon, 28 Sep 2015 13:23:11 +0000 (13:23 +0000)]
Merge "Remove superfluous rules from print CSS"

8 years agoMerge "Fix most PHP CodeSniffer warnings in includes/api"
jenkins-bot [Mon, 28 Sep 2015 13:05:24 +0000 (13:05 +0000)]
Merge "Fix most PHP CodeSniffer warnings in includes/api"

8 years agoMerge "Fix two PHPCS warnings in NaiveForeignTitleFactory.php"
jenkins-bot [Mon, 28 Sep 2015 13:04:25 +0000 (13:04 +0000)]
Merge "Fix two PHPCS warnings in NaiveForeignTitleFactory.php"

8 years agoMerge "Fix PHPCS warnings in includes/specials/"
jenkins-bot [Mon, 28 Sep 2015 13:02:31 +0000 (13:02 +0000)]
Merge "Fix PHPCS warnings in includes/specials/"

8 years agoMerge "Fix 4 PHPCS warnings in Searchupdate.php"
jenkins-bot [Mon, 28 Sep 2015 12:54:50 +0000 (12:54 +0000)]
Merge "Fix 4 PHPCS warnings in Searchupdate.php"

8 years agoMerge "Fix 3 PHPCS warnings in MessageCache.php"
jenkins-bot [Mon, 28 Sep 2015 12:53:21 +0000 (12:53 +0000)]
Merge "Fix 3 PHPCS warnings in MessageCache.php"

8 years agoMerge "Fix 3 PHPCS warnings in includes/filerepo/"
jenkins-bot [Mon, 28 Sep 2015 12:53:17 +0000 (12:53 +0000)]
Merge "Fix 3 PHPCS warnings in includes/filerepo/"

8 years agoAdd new grammar forms for language names in Russian
Amir E. Aharoni [Tue, 11 Nov 2014 07:04:48 +0000 (09:04 +0200)]
Add new grammar forms for language names in Russian

CLDR provides translated language names. They are useful for showing
names by themselves in menus and lists, but it's often problematic to add them
to Russian sentences, because they need to be declined, so a message like
"This page is not available in the $1 language" is hard to localize.

This patch adds new cases for Russian -
"languagegen", "languageprep" and "languageadverb".
(The last one, as its name says, it's not actually a grammatical case,
but a transformation to an adverbial expression.)
This covers most of the needs for language names that MediaWiki supports.

Change-Id: Ib6a0afa5c3736f8b9b2e121cd752c53ee50fad75

8 years agoMerge "Fix PHP CS warning in LogPager.php"
jenkins-bot [Mon, 28 Sep 2015 12:46:15 +0000 (12:46 +0000)]
Merge "Fix PHP CS warning in LogPager.php"

8 years agoMerge "Fix 2 PHPCS warnings in ThumbnailRenderJob.php"
jenkins-bot [Mon, 28 Sep 2015 12:45:06 +0000 (12:45 +0000)]
Merge "Fix 2 PHPCS warnings in ThumbnailRenderJob.php"

8 years agoMerge "Fix PHPCS warnings in /includes/mail/"
jenkins-bot [Mon, 28 Sep 2015 12:44:04 +0000 (12:44 +0000)]
Merge "Fix PHPCS warnings in /includes/mail/"

8 years agoMerge "Fix a PHPCS warning in SkinTemplate.php"
jenkins-bot [Mon, 28 Sep 2015 12:36:26 +0000 (12:36 +0000)]
Merge "Fix a PHPCS warning in SkinTemplate.php"

8 years agoMerge "Fix 5 PHPCS warnings in WikiPage.php"
jenkins-bot [Mon, 28 Sep 2015 12:34:22 +0000 (12:34 +0000)]
Merge "Fix 5 PHPCS warnings in WikiPage.php"

8 years agoMerge "Fix 3 PHPCS warnings in ResourceLoaderImage.php"
jenkins-bot [Mon, 28 Sep 2015 12:26:35 +0000 (12:26 +0000)]
Merge "Fix 3 PHPCS warnings in ResourceLoaderImage.php"

8 years agoMerge "Fix PHPCS warnings in /includes/media/"
jenkins-bot [Mon, 28 Sep 2015 12:26:23 +0000 (12:26 +0000)]
Merge "Fix PHPCS warnings in /includes/media/"

8 years agoFix most PHP CodeSniffer warnings in includes/api
Siebrand Mazeland [Mon, 28 Sep 2015 11:15:17 +0000 (13:15 +0200)]
Fix most PHP CodeSniffer warnings in includes/api

Change-Id: I01bb3e4c96d6034a5b6c18728bb0574c710ea9db

8 years agoMerge "Fix PHPCS warnings in includes/installer"
jenkins-bot [Mon, 28 Sep 2015 12:24:36 +0000 (12:24 +0000)]
Merge "Fix PHPCS warnings in includes/installer"

8 years agoFix two PHPCS warnings in NaiveForeignTitleFactory.php
Siebrand Mazeland [Mon, 28 Sep 2015 12:19:29 +0000 (14:19 +0200)]
Fix two PHPCS warnings in NaiveForeignTitleFactory.php

Change-Id: I61f1e1beab7e6fdd6e817b728a837d4ea57f435f

8 years agoMerge "Fix PHPCS warnings in includes/htmlform/"
jenkins-bot [Mon, 28 Sep 2015 12:17:46 +0000 (12:17 +0000)]
Merge "Fix PHPCS warnings in includes/htmlform/"

8 years agoMerge "Make lines short to pass phpcs in testHelpers.inc"
jenkins-bot [Mon, 28 Sep 2015 12:17:42 +0000 (12:17 +0000)]
Merge "Make lines short to pass phpcs in testHelpers.inc"

8 years agoMerge "Cleanup LanguageTyv.php"
jenkins-bot [Mon, 28 Sep 2015 12:16:47 +0000 (12:16 +0000)]
Merge "Cleanup LanguageTyv.php"

8 years agoMerge "Rewrite comments on member variables of ParserOutput as proper variables docum...
jenkins-bot [Mon, 28 Sep 2015 12:16:11 +0000 (12:16 +0000)]
Merge "Rewrite comments on member variables of ParserOutput as proper variables documentation"

8 years agoFix PHPCS warnings in includes/specials/
Siebrand Mazeland [Mon, 28 Sep 2015 12:15:09 +0000 (14:15 +0200)]
Fix PHPCS warnings in includes/specials/

Change-Id: I37424a84d67aee8532a0224cd7a8147424778e53

8 years agoFix a PHPCS warning in SkinTemplate.php
Siebrand Mazeland [Mon, 28 Sep 2015 12:07:18 +0000 (14:07 +0200)]
Fix a PHPCS warning in SkinTemplate.php

Change-Id: Ic12cfce697875fa9459824672e10f4eaaf7b2499

8 years agoFix a PHPCS warning in SearchMySQL.php
Siebrand Mazeland [Mon, 28 Sep 2015 12:06:01 +0000 (14:06 +0200)]
Fix a PHPCS warning in SearchMySQL.php

Change-Id: I2a9d91e24421bd4c514a97e00abc1a7d6f7b3cf1

8 years agoMerge "mediawiki.toolbar: temporary workaround for T113868"
jenkins-bot [Mon, 28 Sep 2015 12:05:50 +0000 (12:05 +0000)]
Merge "mediawiki.toolbar: temporary workaround for T113868"

8 years agoFix 3 PHPCS warnings in ResourceLoaderImage.php
Siebrand Mazeland [Mon, 28 Sep 2015 12:04:45 +0000 (14:04 +0200)]
Fix 3 PHPCS warnings in ResourceLoaderImage.php

Change-Id: I2cadf8441ac28473e3c4d0bb122e74e3f6c031ed

8 years agoFix 5 PHPCS warnings in WikiPage.php
Siebrand Mazeland [Mon, 28 Sep 2015 11:53:41 +0000 (13:53 +0200)]
Fix 5 PHPCS warnings in WikiPage.php

Change-Id: Ib7e4c3ef2b2dbc0807c3823992d2164d2c68c8cb

8 years agoFix PHPCS warnings in /includes/media/
Siebrand Mazeland [Mon, 28 Sep 2015 11:50:29 +0000 (13:50 +0200)]
Fix PHPCS warnings in /includes/media/

Change-Id: I9b551dd7b9f4e8a11f86a1acf2c7241f02d85515

8 years agoCleanup LanguageTyv.php
Amir E. Aharoni [Sat, 26 Sep 2015 15:31:39 +0000 (18:31 +0300)]
Cleanup LanguageTyv.php

* Remove Latin letters - they are used inconsistently in this file
  and they aren't used anywhere in the code, because we only use
  Cyrillic Tuvan in MediaWiki UI.
* Remove commented-out variables.

Change-Id: I723ba331f27d313647b67c3af11c2e53ccc72961

8 years agoFix PHPCS warnings in /includes/mail/
Siebrand Mazeland [Mon, 28 Sep 2015 11:47:16 +0000 (13:47 +0200)]
Fix PHPCS warnings in /includes/mail/

Change-Id: Iea420ddecac86ef9a6f34b420b0cd151ba604e91

8 years agoFix PHP CS warning in LogPager.php
Siebrand Mazeland [Mon, 28 Sep 2015 11:44:39 +0000 (13:44 +0200)]
Fix PHP CS warning in LogPager.php

Change-Id: I31f074ad77309bf02163810eb6689dc0bb56460e

8 years agoFix 2 PHPCS warnings in ThumbnailRenderJob.php
Siebrand Mazeland [Mon, 28 Sep 2015 11:42:48 +0000 (13:42 +0200)]
Fix 2 PHPCS warnings in ThumbnailRenderJob.php

Change-Id: Id0a2d8342cec864ad9c5f9373495f2ca3ebdd1ab

8 years agoMake lines short to pass phpcs in testHelpers.inc
Amir E. Aharoni [Mon, 28 Sep 2015 11:41:44 +0000 (14:41 +0300)]
Make lines short to pass phpcs in testHelpers.inc

Bug: T102614
Change-Id: I317889b94213b626576ebcd4e15a4f95ee250d69

8 years agoFix PHPCS warnings in includes/installer
Siebrand Mazeland [Mon, 28 Sep 2015 11:40:27 +0000 (13:40 +0200)]
Fix PHPCS warnings in includes/installer

8 uses of $IP remain, which trigger the global naming convention
check.

Change-Id: I1040782323ec7512fb7badd6052742ecd13d9dff

8 years agoFix PHPCS warnings in includes/htmlform/
Siebrand Mazeland [Mon, 28 Sep 2015 11:35:28 +0000 (13:35 +0200)]
Fix PHPCS warnings in includes/htmlform/

Change-Id: Ifbf050c92a84d6af59709632965f48f3d567c0da

8 years agoFix 3 PHPCS warnings in includes/filerepo/
Siebrand Mazeland [Mon, 28 Sep 2015 11:29:33 +0000 (13:29 +0200)]
Fix 3 PHPCS warnings in includes/filerepo/

Change-Id: I00ea32f3a0666d225096d6c45710d0de67e2fe14

8 years agoFix 4 PHPCS warnings in Searchupdate.php
Siebrand Mazeland [Mon, 28 Sep 2015 11:25:15 +0000 (13:25 +0200)]
Fix 4 PHPCS warnings in Searchupdate.php

Change-Id: Ifdb3efd7317a68daac2e509c534e887cb6267562

8 years agoRewrite comments on member variables of ParserOutput as proper variables documentation
Amir E. Aharoni [Sun, 27 Sep 2015 13:12:36 +0000 (16:12 +0300)]
Rewrite comments on member variables of ParserOutput as proper variables documentation

This also makes lines short enough to pass phpcs.

Bug: T102614
Change-Id: I11597bc052e8a8c2eaf4d60f7913e4186d0eb8e2

8 years agoFix 3 PHPCS warnings in MessageCache.php
Siebrand Mazeland [Mon, 28 Sep 2015 11:18:54 +0000 (13:18 +0200)]
Fix 3 PHPCS warnings in MessageCache.php

Change-Id: I0970b8844fa89d3bdc4fec200d912ecf80a52176

8 years agoSet fallback to Spanish (es) for Extremaduran (ext)
maurelio [Mon, 28 Sep 2015 07:31:28 +0000 (09:31 +0200)]
Set fallback to Spanish (es) for Extremaduran (ext)

Extremaduran projects do fallback to English. It's more appropriate to
fallback to Spanish since ext is an Spanish dialect.

Bug: T113925
Change-Id: Idedc16104ddd14ce7fcee709aa847c4c53301563

8 years agoMerge "Add talk link to excontentauthor"
jenkins-bot [Mon, 28 Sep 2015 09:08:41 +0000 (09:08 +0000)]
Merge "Add talk link to excontentauthor"

8 years agoMerge "Make the comment in the beginning of LanguageFi.php shorter"
jenkins-bot [Mon, 28 Sep 2015 09:07:49 +0000 (09:07 +0000)]
Merge "Make the comment in the beginning of LanguageFi.php shorter"

8 years agoMerge "Remove an unnecessary condition from Ukrainian grammar rules"
jenkins-bot [Mon, 28 Sep 2015 08:58:46 +0000 (08:58 +0000)]
Merge "Remove an unnecessary condition from Ukrainian grammar rules"

8 years agoMerge "Update Ukrainian grammar rules and tests"
jenkins-bot [Mon, 28 Sep 2015 08:58:42 +0000 (08:58 +0000)]
Merge "Update Ukrainian grammar rules and tests"

8 years agoMerge "Setting $namespaceGenderAliases for Aragonese (an)"
jenkins-bot [Mon, 28 Sep 2015 07:38:45 +0000 (07:38 +0000)]
Merge "Setting $namespaceGenderAliases for Aragonese (an)"

8 years agoMerge "API: Fix some unclosed tags in en.json"
jenkins-bot [Mon, 28 Sep 2015 07:23:38 +0000 (07:23 +0000)]
Merge "API: Fix some unclosed tags in en.json"

8 years agoSetting $namespaceGenderAliases for Aragonese (an)
maurelio [Mon, 28 Sep 2015 07:15:29 +0000 (09:15 +0200)]
Setting $namespaceGenderAliases for Aragonese (an)

Bug: T113890
Change-Id: I977d365561949f5543b6ffc7c29885734bcf6ac2

8 years agoMerge "Move italic redirect link styles to modules"
jenkins-bot [Mon, 28 Sep 2015 06:42:46 +0000 (06:42 +0000)]
Merge "Move italic redirect link styles to modules"

8 years agoMerge "Update grammar rules and test for Ukrainian"
jenkins-bot [Mon, 28 Sep 2015 05:54:09 +0000 (05:54 +0000)]
Merge "Update grammar rules and test for Ukrainian"

8 years agoMerge "Add $namespaceGenderAliases for catalan language"
jenkins-bot [Mon, 28 Sep 2015 05:54:05 +0000 (05:54 +0000)]
Merge "Add $namespaceGenderAliases for catalan language"

8 years agoIn parserTests.php, fix upload directory handling
Tim Starling [Mon, 7 Sep 2015 06:10:12 +0000 (16:10 +1000)]
In parserTests.php, fix upload directory handling

Instead of having two conflicting filerepo configurations, one at
/tmp/test-repo and another at a randomized path, and populating the one
that isn't used with files, let's just have a single upload directory,
populate it with files, and then actually use those files.

This fixes a set of confusing system-dependent parser test failures. In
the failure scenario, the file upload would be recorded, but then
invalid JPEG metadata would trigger LocalFile::loadFromFile(), which
would look for the file in the wrong place and mark it missing. Then
parser tests would fail due to image links being broken (red).

This is probably not as nice as the fake in-memory repo used by
NewParserTest, but this approach does provide a richer integration test.
This is a conservative fix that just fixes the things that are terribly
broken rather than making new things.

Also:

* Clear the RepoGroup singleton, for completeness, since it doesn't
  make sense to set $wgLocalRepo without clearing it. Since we now set up
  a similar repo at initialisation to the one set up with each test, it
  probably doesn't have any effect.

* Warn if gd is not present since this causes 49 test failures.

* Use glob patterns in teardownUploadDir() instead of requiring every
  file to be individually listed. This fixes an error due to failure to
  delete a 240px file.

Change-Id: I56a0e0d1cb363b40cf19c735e00cbb8929c1401a

8 years agoMerge "Normalizing namespaces for Spanish language"
jenkins-bot [Mon, 28 Sep 2015 05:46:34 +0000 (05:46 +0000)]
Merge "Normalizing namespaces for Spanish language"

8 years agoMerge "Web installer: Fix collapsing of field help text"
jenkins-bot [Sun, 27 Sep 2015 22:50:53 +0000 (22:50 +0000)]
Merge "Web installer: Fix collapsing of field help text"

8 years agomediawiki.toolbar: temporary workaround for T113868
Ori Livneh [Sun, 27 Sep 2015 22:24:49 +0000 (15:24 -0700)]
mediawiki.toolbar: temporary workaround for T113868

ResourceLoader does not expect the set of files a module depends on to vary by
language, but since I39d8ed4, mediawiki.toolbar does. To fix this, we need to
replace the module_deps table with something less insane. In the interim, we
can avoid needless recurrent cache invalidation by referencing the superset of
all possible image files as the background-image for a dummy selector.

Bug: T113868
Change-Id: I94ced0617814d83beee35d30ff1158709e884a98

8 years agoAPI: Fix some unclosed tags in en.json
Brad Jorsch [Sun, 27 Sep 2015 20:08:10 +0000 (16:08 -0400)]
API: Fix some unclosed tags in en.json

Change-Id: Iaf97f17761b57ed2c202acd5f963e5be60e07730

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 27 Sep 2015 18:36:58 +0000 (20:36 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I07e7e7b3747d99f9b8e35a66c67962a944436f64

8 years agoMerge "Revert "composer.json: Bump Monolog to 1.17.1""
jenkins-bot [Sun, 27 Sep 2015 18:00:49 +0000 (18:00 +0000)]
Merge "Revert "composer.json: Bump Monolog to 1.17.1""

8 years agoMove italic redirect link styles to modules
umherirrender [Tue, 8 Sep 2015 16:03:11 +0000 (18:03 +0200)]
Move italic redirect link styles to modules

Move some italic styles from shared.css to the corresponding modules of
the needed pages

Change-Id: I8223ab41aaf2bc13942560c23c54a5d5a37b9df0

8 years agoMake lines short to pass phpcs in profileinfo.php
Amir E. Aharoni [Sun, 27 Sep 2015 07:51:29 +0000 (10:51 +0300)]
Make lines short to pass phpcs in profileinfo.php

Bug: T102614
Change-Id: I3ed44bab923f90e9ff4575e7ad5553225244effc

8 years agoRevert "composer.json: Bump Monolog to 1.17.1"
Reedy [Sun, 27 Sep 2015 16:53:22 +0000 (16:53 +0000)]
Revert "composer.json: Bump Monolog to 1.17.1"

Syntax error (older version of PHP?)

This reverts commit 4d23803d928b85125b0c81c851d6fb9bbeab5351.

Change-Id: I5167f97909d4d7ad4264a247f959ae984f932a7e

8 years agoMerge "composer.json: Bump Monolog to 1.17.1"
jenkins-bot [Sun, 27 Sep 2015 16:43:47 +0000 (16:43 +0000)]
Merge "composer.json: Bump Monolog to 1.17.1"

8 years agocomposer.json: Bump Monolog to 1.17.1
Bryan Davis [Sun, 27 Sep 2015 05:30:41 +0000 (23:30 -0600)]
composer.json: Bump Monolog to 1.17.1

Requires: Idc5010bfa54a0150e983e2f343feb08404a79aa5
Change-Id: I0a54bdf835092d0369d3041d85e04a54abea7d4f

8 years agoMake lines short to pass phpcs in files under includes/resourceloader
Amir E. Aharoni [Sun, 27 Sep 2015 08:06:49 +0000 (11:06 +0300)]
Make lines short to pass phpcs in files under includes/resourceloader

Bug: T102614
Change-Id: I2202438591e74a35570bb621f5aad3ac241fbc29

8 years agoMake lines short to pass phpcs in files under includes/
Amir E. Aharoni [Sun, 27 Sep 2015 08:10:34 +0000 (11:10 +0300)]
Make lines short to pass phpcs in files under includes/

Bug: T102614
Change-Id: I33ac3f4bb8116020ccda5d64fdd2924e78810546

8 years agoMake lines short to pass phpcs in files under includes/db/
Amir E. Aharoni [Sun, 27 Sep 2015 08:15:12 +0000 (11:15 +0300)]
Make lines short to pass phpcs in files under includes/db/

Bug: T102614
Change-Id: I95ec0f9bdfc23e0d10d24534801fe5d6609ed0cb

8 years agoMake lines short to pass phpcs in files under maintenance/
Amir E. Aharoni [Sun, 27 Sep 2015 07:41:06 +0000 (10:41 +0300)]
Make lines short to pass phpcs in files under maintenance/

Bug: T102614
Change-Id: Ieab3773a9ff8328e3672478a82ab31d8710fa8e2

8 years agoNormalizing namespaces for Spanish language
maurelio [Sun, 27 Sep 2015 15:15:37 +0000 (17:15 +0200)]
Normalizing namespaces for Spanish language

Bug: T113499
Change-Id: I1e070513e28d66543010b93d014e7dae7919e37a

8 years agoAdd $namespaceGenderAliases for catalan language
maurelio [Sun, 27 Sep 2015 15:05:15 +0000 (17:05 +0200)]
Add $namespaceGenderAliases for catalan language

Bug: T113616
Change-Id: I76a979ed2be57729edeafe93f104935bbef78318

8 years agoMerge "Optimized wfIsBadImage() redirect check"
jenkins-bot [Sun, 27 Sep 2015 15:03:08 +0000 (15:03 +0000)]
Merge "Optimized wfIsBadImage() redirect check"

8 years agoMerge "composer.json: alphabetize sections"
jenkins-bot [Sun, 27 Sep 2015 14:58:36 +0000 (14:58 +0000)]
Merge "composer.json: alphabetize sections"

8 years agoOptimized wfIsBadImage() redirect check
Aaron Schulz [Sun, 27 Sep 2015 05:14:41 +0000 (22:14 -0700)]
Optimized wfIsBadImage() redirect check

* Callers end up hitting wfFindFile() anyway, so we
  may as well use/prime the process cache. By trying
  to call checkRedirect() manually, it actually just
  caused an extra memcached query.
* 404 pages are often customized to show various
  icons file from sister sites, so this was taking
  up a significant portion of rendering time.

Change-Id: I7e2a1c6acf853629fcca3a8b3c2c810ebacd2acb

8 years agocomposer.json: alphabetize sections
Bryan Davis [Sun, 27 Sep 2015 05:16:10 +0000 (23:16 -0600)]
composer.json: alphabetize sections

Alphabetize the entries in require, require-dev, suggest, scrips and
config sections of the composer.json configuration file.

Change-Id: Ibcfdc428045581674620e2a552b9b49ab1b24f3d

8 years agoMake lines short to pass phpcs in OutputPage.php
Amir E. Aharoni [Sun, 27 Sep 2015 07:58:17 +0000 (10:58 +0300)]
Make lines short to pass phpcs in OutputPage.php

Bug: T102614
Change-Id: I5528fdbcf3d0a4832db1a94ced3d282fcf3e901f

8 years agoMake lines short to pass phpcs in KafkaHandler.php
Amir E. Aharoni [Sun, 27 Sep 2015 08:03:34 +0000 (11:03 +0300)]
Make lines short to pass phpcs in KafkaHandler.php

Bug: T102614
Change-Id: I9ba6a0b7580bc99dee295cdb56cd5977d63fd73a

8 years agoRemove an unnecessary condition from Ukrainian grammar rules
Amir E. Aharoni [Sun, 27 Sep 2015 12:28:43 +0000 (15:28 +0300)]
Remove an unnecessary condition from Ukrainian grammar rules

Change-Id: I04953ed9d1a0788a691b35cef2119bd34474ceec

8 years agoUpdate Ukrainian grammar rules and tests
Amir E. Aharoni [Sun, 27 Sep 2015 12:21:49 +0000 (15:21 +0300)]
Update Ukrainian grammar rules and tests

* Fix the '-ти' rule to match the name of Wikiquote.
* Add tests for '-ти' and '-ник' rules.
* Remove the '-ь' and '-ка' rules, which were copied from Russian
  and are not used in Ukrainian, and remove their tests as well.
* Remove non-implemented ("stub") cases.
* Cleanup the code of commafy().

Change-Id: I98647ceb8806d845f3c8150b92a5d9f7fe5866f2

8 years agoUpdate grammar rules and test for Ukrainian
Amir E. Aharoni [Sun, 27 Sep 2015 07:34:25 +0000 (10:34 +0300)]
Update grammar rules and test for Ukrainian

The grammar rules for Ukrainian have several mistakes.
This is the first in a series of commits that fix this.

* Add grammar tests for PHP. There weren't any tests at all,
  and now there are some. Not tests are added for rules that
  are wrong and irrelevant and will be removed in subsequent commits.
* Add tests for JavaScript, and update a grammar rule that was
  incorrectly copied from Russian.

Change-Id: I6de4581e2908eba39b33a13b07d048a34a3bd803

8 years agoMake lines short to pass phpcs in Language.php
Amir E. Aharoni [Sun, 27 Sep 2015 07:45:31 +0000 (10:45 +0300)]
Make lines short to pass phpcs in Language.php

Bug: T102614
Change-Id: I14fd848398ce68bd646f36b196560f70352d5f49

8 years agoWeb installer: Fix collapsing of field help text
Kevin Israel [Sat, 26 Sep 2015 23:34:47 +0000 (19:34 -0400)]
Web installer: Fix collapsing of field help text

Follows-up 1e06a9f02f9a.

Bug: T112383
Change-Id: I23030f48ce89abc460ac9e7ed3c148893ffb24ef

8 years agoRe-enable WhiteSpace.SpaceBeforeSingleLineComment sniff
Vivek Ghaisas [Sat, 26 Sep 2015 23:29:00 +0000 (04:59 +0530)]
Re-enable WhiteSpace.SpaceBeforeSingleLineComment sniff

Enable only the SingleSpaceBeforeSingleLineComment part, not the
EmptyComment part.

Change-Id: I98f2d6d401745d8aaacaca115789eb15b81c6813

8 years agoAdd space after "//" to pass SpaceBeforeSingleLineComment sniff
Vivek Ghaisas [Sat, 26 Sep 2015 23:42:27 +0000 (05:12 +0530)]
Add space after "//" to pass SpaceBeforeSingleLineComment sniff

Change-Id: I3a6f100220dfa168dd97b0b066f3d4789d8c9bf5

8 years agoMerge "Fix issues identified by SpaceBeforeSingleLineComment sniff"
jenkins-bot [Sat, 26 Sep 2015 23:18:06 +0000 (23:18 +0000)]
Merge "Fix issues identified by SpaceBeforeSingleLineComment sniff"

8 years agoFix issues identified by SpaceBeforeSingleLineComment sniff
Vivek Ghaisas [Fri, 11 Sep 2015 13:44:59 +0000 (19:14 +0530)]
Fix issues identified by SpaceBeforeSingleLineComment sniff

Change-Id: I048ccb1fa260e4b7152ca5f09b053defdd72d8f9

8 years agoMerge "Add 'hash' object cache for installer"
jenkins-bot [Sat, 26 Sep 2015 23:05:34 +0000 (23:05 +0000)]
Merge "Add 'hash' object cache for installer"

8 years agoAdd 'hash' object cache for installer
Florian [Sat, 26 Sep 2015 22:43:27 +0000 (00:43 +0200)]
Add 'hash' object cache for installer

It's used to e.g. cache less files in ResourceLoader, which would throw
an exception if the installer is used (while it requests the installer
styles), if the object cache isn't defined.

Follow up: I1ff61153ddb9

Bug: T113843
Change-Id: I1c1938b3fac395dda5b42dd68b675a67bdd30261

8 years agoDisable EmptyComment and SingleSpaceBeforeSingleLineComment code sniffers
Reedy [Sat, 26 Sep 2015 22:37:27 +0000 (23:37 +0100)]
Disable EmptyComment and SingleSpaceBeforeSingleLineComment code sniffers

Lots of warnings to be fixed in core

Change-Id: I9041ead57c2225cd618501d4998ceb85e9cb3c1b

8 years agoMerge "Remove excess newlines at the end of files"
jenkins-bot [Sat, 26 Sep 2015 22:25:48 +0000 (22:25 +0000)]
Merge "Remove excess newlines at the end of files"