lhc/web/wiklou.git
8 years agoChange spelling in apihelp-emailuser-example-email
Amir E. Aharoni [Mon, 27 Jul 2015 17:32:05 +0000 (20:32 +0300)]
Change spelling in apihelp-emailuser-example-email

No reason for capital "User" here.

Change-Id: I78d425e3c2d46a5b40c779d57f9477d26dd91b59

8 years agoMerge "SpecialBlock: Simplify HTMLForm submit callback handling"
jenkins-bot [Mon, 27 Jul 2015 17:29:34 +0000 (17:29 +0000)]
Merge "SpecialBlock: Simplify HTMLForm submit callback handling"

8 years agoMerge "Implement CalendarWidget and DateInputWidget"
jenkins-bot [Mon, 27 Jul 2015 17:18:24 +0000 (17:18 +0000)]
Merge "Implement CalendarWidget and DateInputWidget"

8 years agoSpecialBlock: Simplify HTMLForm submit callback handling
Bartosz Dziewoński [Mon, 27 Jul 2015 14:23:24 +0000 (16:23 +0200)]
SpecialBlock: Simplify HTMLForm submit callback handling

We can just use onSubmit() instead of our own custom stuff.
The comment stating that we can't is wrong; perhaps it used
to be correct, back when it was written.

Change-Id: Ib18fb7292a67b471e9ad13cf38038287b9bd2bd2

8 years agoImplement CalendarWidget and DateInputWidget
Bartosz Dziewoński [Thu, 23 Jul 2015 21:47:08 +0000 (23:47 +0200)]
Implement CalendarWidget and DateInputWidget

Example usage: I193fcd3175ebc96297f9d2cdd0f4de428388dd8e

Bug: T97425
Change-Id: I6f760f7c32e2e6ed2008e897af72fb9e17dd663b

8 years agoMerge "Read extension.json files in the web updater"
jenkins-bot [Mon, 27 Jul 2015 16:52:55 +0000 (16:52 +0000)]
Merge "Read extension.json files in the web updater"

8 years agoMerge "mediawiki.legacy.shared: Set form field labels to 'vertical-align: middle'"
Prtksxna [Mon, 27 Jul 2015 16:23:18 +0000 (16:23 +0000)]
Merge "mediawiki.legacy.shared: Set form field labels to 'vertical-align: middle'"

8 years agoMerge "Convert Special:RandomInCategory to use OOUI display format"
jenkins-bot [Mon, 27 Jul 2015 04:14:53 +0000 (04:14 +0000)]
Merge "Convert Special:RandomInCategory to use OOUI display format"

8 years agoMerge "HTMLTitleTextField: Support 'relative' config option"
jenkins-bot [Mon, 27 Jul 2015 02:12:47 +0000 (02:12 +0000)]
Merge "HTMLTitleTextField: Support 'relative' config option"

8 years agoKill broken OOUI implementations of HTMLSelectAndOtherField, HTMLSelectOrOtherField
Bartosz Dziewoński [Sun, 26 Jul 2015 23:22:56 +0000 (01:22 +0200)]
Kill broken OOUI implementations of HTMLSelectAndOtherField, HTMLSelectOrOtherField

They inherited getInputOOUI() from their respective parents, which
obviously didn't work correctly. These shouldn't be inheriting from
incompatible parents, probably… but meh.

Change-Id: Id99ee74c4efd27fab0ee32555723a02df8015458

8 years agoMerge "SpecialChangeContentModel: Use autocomplete for title field"
jenkins-bot [Sun, 26 Jul 2015 22:18:50 +0000 (22:18 +0000)]
Merge "SpecialChangeContentModel: Use autocomplete for title field"

8 years agoMerge "Allow HTMLTitleTextField to work on GET forms"
jenkins-bot [Sun, 26 Jul 2015 22:18:32 +0000 (22:18 +0000)]
Merge "Allow HTMLTitleTextField to work on GET forms"

8 years agomediawiki.legacy.shared: Set form field labels to 'vertical-align: middle'
Bartosz Dziewoński [Mon, 20 Jul 2015 13:59:27 +0000 (15:59 +0200)]
mediawiki.legacy.shared: Set form field labels to 'vertical-align: middle'

'vertical-align: top' doesn't look right when the field is a bit
higher than text, which is the case in MediaWiki UI and OOUI forms.
Doesn't seem to break anything in plain forms, as far as I could tell.

Change-Id: I0fb4b30248816fedf46144dd3868e7b858203c8c

8 years agoConvert Special:RandomInCategory to use OOUI display format
Kunal Mehta [Sat, 4 Jul 2015 07:40:15 +0000 (00:40 -0700)]
Convert Special:RandomInCategory to use OOUI display format

And set up autocompletion and validation for the Category input.

Change-Id: I4c0b11e2ae0cfa906bbde77fc89901cf88a9a5bd

8 years agoHTMLTitleTextField: Support 'relative' config option
Bartosz Dziewoński [Sun, 26 Jul 2015 20:54:45 +0000 (22:54 +0200)]
HTMLTitleTextField: Support 'relative' config option

Uses:
* SpecialExport: I2b3524e61efc618aa2b7484134bba562d5f9011c
* SpecialRandomInCategory: I4c0b11e2ae0cfa906bbde77fc89901cf88a9a5bd

Change-Id: Ia7c773fee34fd8809c8683c62d700f5373ceb45c

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 26 Jul 2015 19:15:45 +0000 (21:15 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I9caa7403537f589c651c7d08308c660fd680b277

8 years agoRead extension.json files in the web updater
Kunal Mehta [Mon, 8 Jun 2015 00:04:07 +0000 (17:04 -0700)]
Read extension.json files in the web updater

The web updater reads LocalSettings.php in function scope to figure out
what extensions have been loaded. This doesn't work for extensions being
loaded through the ExtensionRegistry since they're only added to a
queue.

This adds the ability for the installer to read and get information from
the current extension load queue. LocalSettings.php is still read for
extensions that have not been converted yet.

Other uses of Installer::getExistingLocalSettings() were audited and
determined to be safe with regards to extension usage.

Extensions that register hooks using explicit globals
($GLOBALS['wgHooks']['FooBar']) are still broken.

Bug: T100414
Change-Id: Icc574a38a7947a1e3aff8622a4889e9dcfd7a4b2

8 years agoShow correct default limit in Special:BlockList
Florianschmidtwelzow [Wed, 27 May 2015 06:21:26 +0000 (08:21 +0200)]
Show correct default limit in Special:BlockList

Instead of hardcoded default of 50, use the default, which is used
in BlockListPager, which can be a user setting.

Bug: T71132
Change-Id: I5a7f0eb71782cc2282098368a2caf9c893b688fa

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 25 Jul 2015 19:41:30 +0000 (21:41 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I1ef8b132428cecab9acc3a7fa55c0a93ad9a622a

8 years agoAdded CachingSiteStore APC comments
Aaron Schulz [Tue, 21 Jul 2015 19:52:30 +0000 (12:52 -0700)]
Added CachingSiteStore APC comments

Change-Id: I9ed8fe42cb40beb80dc789099ca09b7a077c07bd

8 years agoSpecialAllMessages: Add missing <select id=""> for the <label for="">
Fomafix [Thu, 23 Jul 2015 08:41:27 +0000 (08:41 +0000)]
SpecialAllMessages: Add missing <select id=""> for the <label for="">

Resolves validation error:
The for attribute of the label element must refer to a form control.

Change-Id: I5093cadd1ce706a91c22d038109e51df03819d5c

8 years agoMerge "HTMLForm: Allow IP adresses as username in HTMLUserTextField"
jenkins-bot [Sat, 25 Jul 2015 01:48:17 +0000 (01:48 +0000)]
Merge "HTMLForm: Allow IP adresses as username in HTMLUserTextField"

8 years agoSpecialChangeContentModel: Use autocomplete for title field
Kunal Mehta [Wed, 1 Jul 2015 05:31:14 +0000 (22:31 -0700)]
SpecialChangeContentModel: Use autocomplete for title field

Change-Id: I766da59e6cbf7ed8f887d1a684ea9e284e9cf67e

8 years agoAllow HTMLTitleTextField to work on GET forms
Kunal Mehta [Sat, 25 Jul 2015 01:18:49 +0000 (18:18 -0700)]
Allow HTMLTitleTextField to work on GET forms

Just skip validation if it is a GET form and the current input is an
empty string. Callers will need to check that it is not the empty string
though.

Also make sure HTMLForm::mMethod is always lowercase.

Change-Id: I605f32048fe97eebd7e04b6ffd799759aeb7f31e

8 years agoMerge "Revert "Convert Special:Search to OOUI""
jenkins-bot [Fri, 24 Jul 2015 21:00:16 +0000 (21:00 +0000)]
Merge "Revert "Convert Special:Search to OOUI""

8 years agoRevert "Convert Special:Search to OOUI"
EBernhardson [Fri, 24 Jul 2015 20:10:52 +0000 (20:10 +0000)]
Revert "Convert Special:Search to OOUI"

This reverts commit 855f4cc0bf7e769ae947597ca5ea5007965f5bad.

Bug: T106273
Change-Id: Iba0ffc05458a855590b7aa0fb887417be8304de1

8 years agoEscape unescaped content shown in Special:BlockList
Niklas Laxström [Sat, 6 Dec 2014 10:51:39 +0000 (11:51 +0100)]
Escape unescaped content shown in Special:BlockList

Change-Id: I38bd12613b4066c312635f9920a9e2d2002dbf6d

8 years agoMerge "Increase $wgSVGMaxSize to 5120 pixels wide (previously 2048)."
jenkins-bot [Fri, 24 Jul 2015 19:51:11 +0000 (19:51 +0000)]
Merge "Increase $wgSVGMaxSize to 5120 pixels wide (previously 2048)."

8 years agoMerge "build: Use blacklist instead of whitelist for jshint/jscs/jsonlint"
jenkins-bot [Fri, 24 Jul 2015 19:41:34 +0000 (19:41 +0000)]
Merge "build: Use blacklist instead of whitelist for jshint/jscs/jsonlint"

8 years agoMerge "SpecialAllMessages: Apply wfBCP47() to HTML lang attribute"
jenkins-bot [Fri, 24 Jul 2015 19:31:37 +0000 (19:31 +0000)]
Merge "SpecialAllMessages: Apply wfBCP47() to HTML lang attribute"

8 years agoMerge "Rework PHP and vendor check"
jenkins-bot [Fri, 24 Jul 2015 19:21:54 +0000 (19:21 +0000)]
Merge "Rework PHP and vendor check"

8 years agoMerge "Update fallback order for luz"
jenkins-bot [Fri, 24 Jul 2015 18:55:54 +0000 (18:55 +0000)]
Merge "Update fallback order for luz"

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 24 Jul 2015 18:51:17 +0000 (20:51 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Iece9968f0faa42899222700c347c4a8a4aefe0ef

8 years agoMerge "The http-invalid-url message has a parameter, so send it"
jenkins-bot [Fri, 24 Jul 2015 18:10:15 +0000 (18:10 +0000)]
Merge "The http-invalid-url message has a parameter, so send it"

8 years agoHTMLForm: Allow IP adresses as username in HTMLUserTextField
Florian [Fri, 24 Jul 2015 16:59:53 +0000 (18:59 +0200)]
HTMLForm: Allow IP adresses as username in HTMLUserTextField

Can be configured with the 'ipallowed' config parameter, which defaults
to false (IP's not allowed).

Bug: T106807
Change-Id: Ib2885883bdb3383c60382bf3257afdfc3cc26821

8 years agoMerge "OutputPage.php: Use descriptive $variant instead of $_v as local variable"
jenkins-bot [Fri, 24 Jul 2015 16:58:35 +0000 (16:58 +0000)]
Merge "OutputPage.php: Use descriptive $variant instead of $_v as local variable"

8 years agoMerge "Suppress stdin warning with --quiet"
jenkins-bot [Fri, 24 Jul 2015 16:49:58 +0000 (16:49 +0000)]
Merge "Suppress stdin warning with --quiet"

8 years agoThe http-invalid-url message has a parameter, so send it
Brian Wolff [Fri, 24 Jul 2015 13:05:57 +0000 (07:05 -0600)]
The http-invalid-url message has a parameter, so send it

Currently was outputting raw $1 to user.

Change-Id: If1d10270f4d446c4d1703457903034e8356c1503

8 years agoMerge "Fix doxygen warnings for missing commands"
jenkins-bot [Fri, 24 Jul 2015 11:29:26 +0000 (11:29 +0000)]
Merge "Fix doxygen warnings for missing commands"

8 years agoMerge "HTMLUserTextField: "else if" → "elseif""
jenkins-bot [Fri, 24 Jul 2015 11:27:00 +0000 (11:27 +0000)]
Merge "HTMLUserTextField: "else if" → "elseif""

8 years agoMerge "HTMLForm: Allow to set the primary flag for submit buttons"
jenkins-bot [Fri, 24 Jul 2015 11:22:46 +0000 (11:22 +0000)]
Merge "HTMLForm: Allow to set the primary flag for submit buttons"

8 years agoHTMLUserTextField: "else if" → "elseif"
Kunal Mehta [Fri, 24 Jul 2015 11:12:45 +0000 (04:12 -0700)]
HTMLUserTextField: "else if" → "elseif"

Change-Id: I4df7773f79ccb90e1eff5295b94a9f5dd4cd0097

8 years agoMerge "Fixed missing space in User CAS exception"
Aaron Schulz [Fri, 24 Jul 2015 09:10:58 +0000 (09:10 +0000)]
Merge "Fixed missing space in User CAS exception"

8 years agoSuppress stdin warning with --quiet
Arlo Breault [Mon, 20 Jul 2015 20:22:24 +0000 (13:22 -0700)]
Suppress stdin warning with --quiet

Change-Id: I789260be1c83e0f081e6b7cd84cdab291d07837e

8 years agoMerge "resources: Provide jquery.i18n (v1.0.3)"
jenkins-bot [Thu, 23 Jul 2015 22:59:24 +0000 (22:59 +0000)]
Merge "resources: Provide jquery.i18n (v1.0.3)"

8 years agoresources: Provide jquery.i18n (v1.0.3)
James D. Forrester [Mon, 6 Jul 2015 23:11:03 +0000 (16:11 -0700)]
resources: Provide jquery.i18n (v1.0.3)

Rather than some installations having it available via ULS and others
having to hack around its existence, let's just make jquery.i18n
available for everyone simply.

Change-Id: Ib29811c5350e34ba6464f64f217fa592f4305070

8 years agoLog exceptions in the StatsD process
Gergő Tisza [Thu, 23 Jul 2015 20:02:22 +0000 (20:02 +0000)]
Log exceptions in the StatsD process

Change-Id: Iff14cbbfbe81d38c55b41ff115c66156323df035

8 years agoMerge "Update OOjs to v1.1.8"
jenkins-bot [Thu, 23 Jul 2015 21:03:38 +0000 (21:03 +0000)]
Merge "Update OOjs to v1.1.8"

8 years agobuild: Use blacklist instead of whitelist for jshint/jscs/jsonlint
Kunal Mehta [Fri, 10 Jul 2015 03:33:09 +0000 (20:33 -0700)]
build: Use blacklist instead of whitelist for jshint/jscs/jsonlint

* jsonlint now includes docs/, includes/ (api and installer i18n),
  maintenance/, and tests/.
  539 files -> 864 files.
  - Continue to exclude JSDuck artefacts in docs/js/.
  - Continue to exclude vendor/.

* jshint now includes mw-config/ and maintenance/.
  177 files -> 179 files.

* jscs now includes everything jshint includes.
  172 files -> 179 files.
  - The -skip.js files no longer need excluding.

Use the native exclude syntax for jshint and jscs so that other
software and services with JSHint support use these as well.

Change-Id: Idebf30275f9c93483069367f923ed290c38e0b26

8 years agoFixed missing space in User CAS exception
Aaron Schulz [Thu, 23 Jul 2015 20:51:37 +0000 (13:51 -0700)]
Fixed missing space in User CAS exception

Change-Id: Ibb34a3bd33c1eb92a2e2787a7e2402615ef02ccd

8 years agoMerge "WAN and stash cache notes"
jenkins-bot [Thu, 23 Jul 2015 20:34:23 +0000 (20:34 +0000)]
Merge "WAN and stash cache notes"

8 years agoWAN and stash cache notes
Aaron Schulz [Wed, 22 Jul 2015 02:23:08 +0000 (19:23 -0700)]
WAN and stash cache notes

Change-Id: I80afde1a4b533eb1e67e7d19511318d13e3e128e

8 years agoHTMLForm: Allow to set the primary flag for submit buttons
Florian [Thu, 23 Jul 2015 16:38:18 +0000 (18:38 +0200)]
HTMLForm: Allow to set the primary flag for submit buttons

Currently, every submit button generated by HTMLForm itself (not via
the descriptor) doesn't have the primary flag and there is no (easy) way
to add it, although this generated submit button is most likely the primary
one.

Add a new function HTMLForm::setSubmitPrimary() to allow a form to set
add the primary flag to this submit button.

Change-Id: I3ce363f995389a87764edb586b4b64ab2b77b0db

8 years agoUpdate OOjs to v1.1.8
James D. Forrester [Thu, 23 Jul 2015 19:18:59 +0000 (12:18 -0700)]
Update OOjs to v1.1.8

Release notes:
 https://git.wikimedia.org/blob/oojs%2Fcore.git/v1.1.8/History.md

Change-Id: Ica8fe2007fa93b233fcef1675c29981d759b74a8

8 years agoMerge "OutputPage: Load skin-appropriate OOUI theme"
jenkins-bot [Thu, 23 Jul 2015 18:31:06 +0000 (18:31 +0000)]
Merge "OutputPage: Load skin-appropriate OOUI theme"

8 years agoMerge "ResourcesOOUI: Convert theme names to lowercase"
jenkins-bot [Thu, 23 Jul 2015 17:44:33 +0000 (17:44 +0000)]
Merge "ResourcesOOUI: Convert theme names to lowercase"

8 years agoOutputPage: Load skin-appropriate OOUI theme
Bartosz Dziewoński [Thu, 23 Jul 2015 16:37:53 +0000 (18:37 +0200)]
OutputPage: Load skin-appropriate OOUI theme

We allow skins to choose the appropriate OOUI theme for it
using 'SkinOOUIThemes', but we ignored that here. Luckily this
was not a problem for the Apex theme (the only one other than
the default, MediaWiki theme), the additional CSS classes
this generated were just ignored.

Depends on Apex and MonoBook skins being updated to use canonical
case for theme names, see I1a88092f0ceb210c642bbee875e368ded3c186f8.

Change-Id: I368804cca141acf9cc15a348d9b7244046395a70

8 years agoMerge "Fix doxygen return class with namespace"
jenkins-bot [Thu, 23 Jul 2015 17:29:41 +0000 (17:29 +0000)]
Merge "Fix doxygen return class with namespace"

8 years agoResourcesOOUI: Convert theme names to lowercase
Bartosz Dziewoński [Thu, 23 Jul 2015 17:22:24 +0000 (19:22 +0200)]
ResourcesOOUI: Convert theme names to lowercase

We'd like 'SkinOOUIThemes' to use canonical mixed-case theme names
(see I368804cca141acf9cc15a348d9b7244046395a70), so we must ensure that
lowercase ones are used for file names here before we change the affected
skins (Apex and MonoBook, see I1a88092f0ceb210c642bbee875e368ded3c186f8).

Change-Id: I489922dab303320bfecfbadd26069abbad7d2c53

8 years agoUpdate fallback order for luz
Siebrand Mazeland [Thu, 23 Jul 2015 17:28:19 +0000 (19:28 +0200)]
Update fallback order for luz

Change-Id: I68154c19880ee59da05493fb72e735e61c3183aa

8 years agoOutputPage.php: Use descriptive $variant instead of $_v as local variable
Fomafix [Thu, 23 Jul 2015 10:53:31 +0000 (10:53 +0000)]
OutputPage.php: Use descriptive $variant instead of $_v as local variable

Change-Id: I35a493dea0d71b6be693724c80834a178971da79

8 years agoSpecialAllMessages: Apply wfBCP47() to HTML lang attribute
Fomafix [Thu, 23 Jul 2015 08:26:24 +0000 (08:26 +0000)]
SpecialAllMessages: Apply wfBCP47() to HTML lang attribute

Change-Id: Ia20bb5916ffa80af53640f5077ec88a636d415f0

8 years agomw.ui: Fix broken hover state for quiet buttons
Prateek Saxena [Thu, 23 Jul 2015 05:37:54 +0000 (11:07 +0530)]
mw.ui: Fix broken hover state for quiet buttons

Follows up I270e2fcf863265a51ed62f790dff1ee9cf31a8b6

Bug: T106618
Change-Id: Iac259da37bb6303c1ef6d8a7da9b2e3801d309e7

8 years agoFix doxygen return class with namespace
Florianschmidtwelzow [Thu, 23 Jul 2015 05:42:41 +0000 (07:42 +0200)]
Fix doxygen return class with namespace

Doxygen uses a single "\" as a start sign for a command.
Anything after "OOUI" will be interpreted as a command
(and throws a warning "Unknown command" or something else) when
you create the doc. The doc itself will show the following
as the return values of the function:
Returns
    OOUI|OOUI

See: https://phabricator.wikimedia.org/F214499

As a workaround you can escape the backslash with a second
backslash (OOUI\\FieldLayout) or this notation should work, too:
OOUI::Fieldlayout

Follow up: I9050c4a09cbb841ad26ca01a25f706227e35e3be

Change-Id: I0c9300e72e00e1d827c63074cbaa51a935828695

8 years agoMerge "HTMLForm: Handle HTMLFormFieldWithButton subclasses in OOUI forms"
jenkins-bot [Thu, 23 Jul 2015 02:18:59 +0000 (02:18 +0000)]
Merge "HTMLForm: Handle HTMLFormFieldWithButton subclasses in OOUI forms"

8 years agoHTMLForm: Handle HTMLFormFieldWithButton subclasses in OOUI forms
Florian [Thu, 16 Jul 2015 17:59:59 +0000 (19:59 +0200)]
HTMLForm: Handle HTMLFormFieldWithButton subclasses in OOUI forms

Example usages in:
* I47a8649208279a4090623a3088112fcff9abc4d3 (Special:Watchlist)
* I2b3524e61efc618aa2b7484134bba562d5f9011c (Special:Export)

Change-Id: I9050c4a09cbb841ad26ca01a25f706227e35e3be
Co-Authored-By: Florian <florian.schmidt.welzow@t-online.de>
Co-Authored-By: Bartosz Dziewoński <matma.rex@gmail.com>
8 years agoDon't double-serialize values for APC
Ori Livneh [Wed, 22 Jul 2015 22:26:02 +0000 (15:26 -0700)]
Don't double-serialize values for APC

The last time we had encountered APC errors related to serialization /
unserialization was 2011. PHP's implementation has had many bugfixes since
then, and HHVM's implementation is a complete rewrite. So let's stop working
around alleged bugs.

To prevent errors resulting from HHVM code receiving serialize()d values when
it isn't expecting them, add a key suffix.

Change-Id: I4b2cf1715538aa3d9163787f43eb31984a380d35

8 years agoMerge "Add Southern Luri (luz)"
jenkins-bot [Wed, 22 Jul 2015 21:32:38 +0000 (21:32 +0000)]
Merge "Add Southern Luri (luz)"

8 years agoMerge "Disallow qqq as interface language"
jenkins-bot [Wed, 22 Jul 2015 21:21:13 +0000 (21:21 +0000)]
Merge "Disallow qqq as interface language"

8 years agoAdd Southern Luri (luz)
mjbmr [Sat, 27 Jun 2015 17:13:33 +0000 (17:13 +0000)]
Add Southern Luri (luz)

Also add ordered list style type for Southern Luri (luz)

Change-Id: I1099cb846f029df850126e59306849b0eec88e7b

8 years agoDisallow qqq as interface language
Niklas Laxström [Tue, 7 Jul 2015 12:44:49 +0000 (14:44 +0200)]
Disallow qqq as interface language

Any page on translatewiki with param setlang=qqq times out. All messages
get parsed recursively until parser-template-loop-warning is reached.
uselang=qqq is already ignored, see RequestContext::sanitizeLangCode.

There is a counterpart to this patch in ULS, where it is changed
to use Language::isSupportedLanguage.

Bug: T104987
Change-Id: Ie77fe18681dfd5f9089fbaa8090dd9cc1c206da4

8 years agoFix name of Western and Southern Balochi
mjbmr [Fri, 17 Jul 2015 23:03:27 +0000 (23:03 +0000)]
Fix name of Western and Southern Balochi

Current names are Persian and not equal to Western and Southern.
Changed to native values equal to Southern and Western.

Change-Id: Ie30acda8535042ece4c11c246c3c18fd7156fc54

8 years agoMerge "Use feature test rather than version check"
Aaron Schulz [Wed, 22 Jul 2015 20:10:10 +0000 (20:10 +0000)]
Merge "Use feature test rather than version check"

8 years agoMerge "Update OOjs UI to v0.12.1"
jenkins-bot [Wed, 22 Jul 2015 19:58:35 +0000 (19:58 +0000)]
Merge "Update OOjs UI to v0.12.1"

8 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Wed, 22 Jul 2015 19:54:53 +0000 (19:54 +0000)]
Merge "Localisation updates from https://translatewiki.net."

8 years agoMerge "Add linktrail for Latvian"
jenkins-bot [Wed, 22 Jul 2015 19:48:45 +0000 (19:48 +0000)]
Merge "Add linktrail for Latvian"

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 22 Jul 2015 19:48:20 +0000 (21:48 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I0927e6088a726e7fcc50480e97632639bd7555aa

8 years agoUse feature test rather than version check
Niklas Laxström [Wed, 22 Jul 2015 19:43:17 +0000 (21:43 +0200)]
Use feature test rather than version check

Not sure why I didn't do this in the first place.

Bug: T106579
Change-Id: I238aedacd4f960ad4ca7549c232fd3a7eec3f02f

8 years agoUpdate OOjs UI to v0.12.1
James D. Forrester [Wed, 22 Jul 2015 19:41:02 +0000 (12:41 -0700)]
Update OOjs UI to v0.12.1

Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.12.1/History.md

Change-Id: I2c1629c3f8a7f91003e0848de8bc78025a51bb8b

8 years agoAdd id to Parser tags/hooks headings
S Page [Tue, 21 Jul 2015 00:34:27 +0000 (17:34 -0700)]
Add id to Parser tags/hooks headings

All h2 headings in Special:Version had an id attribute except for
Parser extension tags and Parser function hooks.

Change-Id: I7d1d290862861b229791ba3973b502b44d9274f8

8 years agoMerge "mw.widgets.TitleInputWidget: Don't bypass namespace choice with redirects"
jenkins-bot [Wed, 22 Jul 2015 15:16:55 +0000 (15:16 +0000)]
Merge "mw.widgets.TitleInputWidget: Don't bypass namespace choice with redirects"

8 years agoMerge "mw.widgets.TitleInputWidget: Allow limiting to main namespace, too"
jenkins-bot [Wed, 22 Jul 2015 15:15:53 +0000 (15:15 +0000)]
Merge "mw.widgets.TitleInputWidget: Allow limiting to main namespace, too"

8 years agoAdd linktrail for Latvian
Amir E. Aharoni [Wed, 22 Jul 2015 14:18:27 +0000 (09:18 -0500)]
Add linktrail for Latvian

With special characters from the Latvian alphabet.

Bug: T106515
Change-Id: Ieb2a5607037457b0c4574b89b1cdb88b3885cb35

8 years agoMerge "Implement OOUI version of tag filter in ChangeTags"
jenkins-bot [Wed, 22 Jul 2015 13:44:41 +0000 (13:44 +0000)]
Merge "Implement OOUI version of tag filter in ChangeTags"

8 years agoMerge "Correct documentation of ChangeTags::buildTagFilterSelector"
jenkins-bot [Wed, 22 Jul 2015 13:43:26 +0000 (13:43 +0000)]
Merge "Correct documentation of ChangeTags::buildTagFilterSelector"

8 years agoMerge "Add LICENSE for mustache.js library"
jenkins-bot [Wed, 22 Jul 2015 12:20:34 +0000 (12:20 +0000)]
Merge "Add LICENSE for mustache.js library"

8 years agoMerge "widgets: Code quality and cleanup pass"
jenkins-bot [Wed, 22 Jul 2015 08:20:16 +0000 (08:20 +0000)]
Merge "widgets: Code quality and cleanup pass"

8 years agoAdd LICENSE for mustache.js library
Kunal Mehta [Wed, 22 Jul 2015 06:52:12 +0000 (23:52 -0700)]
Add LICENSE for mustache.js library

The mustache.js file does not contain any licensing information, so include
upstream's LICENSE file. Taken from
 <https://github.com/janl/mustache.js/blob/0.8.2/LICENSE>.

Change-Id: I57a21da20121222c39ce22bf998d508a8293dca2

8 years agomw.widgets.TitleInputWidget: Don't bypass namespace choice with redirects
Bartosz Dziewoński [Wed, 22 Jul 2015 00:16:20 +0000 (02:16 +0200)]
mw.widgets.TitleInputWidget: Don't bypass namespace choice with redirects

If 'namespace' was not null, and 'showRedirectTargets' was true (the default),
pages from namespaces other than the chosen one could appear in the
suggestions when a cross-namespace redirect from chosen to other namespace
was encountered. Prevent this.

Change-Id: Id863d002d598dc2429919e88dd2dde9e9836bb3d

8 years agomw.widgets.TitleInputWidget: Allow limiting to main namespace, too
Bartosz Dziewoński [Wed, 22 Jul 2015 00:14:04 +0000 (02:14 +0200)]
mw.widgets.TitleInputWidget: Allow limiting to main namespace, too

Not sure if it was intentional or a bug, but the widget would treat
`namespace: 0` (assume main namespace) in config the same as
`namespace: null` (allow all namespaces). This has been changed.

Change-Id: Iab2a76771de0debe9111d4ccce3477b022000e51

8 years agowidgets: Code quality and cleanup pass
Bartosz Dziewoński [Wed, 22 Jul 2015 00:01:16 +0000 (02:01 +0200)]
widgets: Code quality and cleanup pass

Fixing typos, enforcing coding conventions from OOUI,
renaming parameters, formatting code.

Change-Id: I92dc28c8ac3d6c00e40ad48d76730deb29edefec

8 years agoMade DB ignoreErrors() method protected
Aaron Schulz [Sun, 8 Mar 2015 15:06:29 +0000 (08:06 -0700)]
Made DB ignoreErrors() method protected

* This should *only* ever be used internal for error suppression,
  such as in the exception reporting methods. Having it public
  means callers have to worry (in theory) about whether the
  DB handles errors one way or a totally different way even
  though there is really only meant to be one.

Change-Id: I5916830d1bd53ee948308f394e55c17dd515ad33

8 years agoRework PHP and vendor check
paladox [Sun, 5 Jul 2015 12:42:28 +0000 (12:42 +0000)]
Rework PHP and vendor check

* separate warnings for PHP version and vendor

* new wfGenericError() function

* minimum PHP version in a single place

Bug: T102094
Change-Id: I7ae0369e4bab279d5e1bc754fe1a0bc8543bb2ed

8 years agoMerge "Allow numeric statsd key name components"
jenkins-bot [Tue, 21 Jul 2015 19:54:00 +0000 (19:54 +0000)]
Merge "Allow numeric statsd key name components"

8 years agoAllow numeric statsd key name components
Ori Livneh [Tue, 21 Jul 2015 19:40:20 +0000 (12:40 -0700)]
Allow numeric statsd key name components

Make sure BufferingStatsdDataFactory::normalizeMetricKey() doesn't delete
digits in key names.

Change-Id: I22baa81a88a3e0bc0d5b8b58bd6bb922c58a3255

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 21 Jul 2015 19:27:20 +0000 (21:27 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: If7e824aeef7bcacbc7f55b94ecef7e37ccf9e19a

8 years agoMerge "Support for storing files under SHA-1 names"
Gilles [Tue, 21 Jul 2015 17:55:14 +0000 (17:55 +0000)]
Merge "Support for storing files under SHA-1 names"

8 years agoMerge "Update button focus and hover state according to spec"
jenkins-bot [Tue, 21 Jul 2015 16:29:52 +0000 (16:29 +0000)]
Merge "Update button focus and hover state according to spec"

8 years agoSupport for storing files under SHA-1 names
Aaron Schulz [Tue, 10 Mar 2015 13:26:14 +0000 (14:26 +0100)]
Support for storing files under SHA-1 names

* Added a "storageLayout" flag to LocalRepo config (supports "sha1")
* Added a simple migration script to copy files the SHA1 paths
* Currently works with img_auth.php + thumb_handler.php for URLs
* Added visibility to some LocalFile methods
* Simple tests for the wrapper class.

Co-Authored-By: Gilles Dubuc <gdubuc@wikimedia.org>
Change-Id: Iad46ad669c8ae3c02d10da10c3f7a16fe161663f
Bug: T1210

8 years agoUpdate button focus and hover state according to spec
Prateek Saxena [Tue, 21 Jul 2015 11:07:53 +0000 (16:37 +0530)]
Update button focus and hover state according to spec

Design spec at https://phabricator.wikimedia.org/M31

Change-Id: I270e2fcf863265a51ed62f790dff1ee9cf31a8b6