lhc/web/wiklou.git
7 years agoun -> in
Reedy [Wed, 9 Nov 2016 23:22:56 +0000 (23:22 +0000)]
un -> in

Change-Id: If8aecd28bcf7d6bf7c44141f83ac3c47ee4419e4

7 years agoRelease notes for Id88c8066, Id1ace959, I3c29131e
Bartosz Dziewoński [Wed, 9 Nov 2016 01:41:54 +0000 (02:41 +0100)]
Release notes for Id88c8066, Id1ace959, I3c29131e

* Id88c8066fae3f369e8977b4b7488f67071bdeeb7
* Id1ace9599642a36b333c63eaeebab0537466e7bd
* I3c29131ea2041fa7429eae5fab5fae04e39f3da0

Change-Id: Ibd21c5bdd0601ec302cd774488822064ced6b906

7 years agoMerge "Revert "MediaWiki.php: Redirect non-standard title urls to canonical""
jenkins-bot [Wed, 9 Nov 2016 01:27:38 +0000 (01:27 +0000)]
Merge "Revert "MediaWiki.php: Redirect non-standard title urls to canonical""

7 years agoMerge "Revert "Use display name in category page subheadings if provided""
jenkins-bot [Tue, 8 Nov 2016 23:55:35 +0000 (23:55 +0000)]
Merge "Revert "Use display name in category page subheadings if provided""

7 years agoRevert "Use display name in category page subheadings if provided"
Liuxinyu970226 [Thu, 18 Aug 2016 00:47:05 +0000 (00:47 +0000)]
Revert "Use display name in category page subheadings if provided"

This reverts commit 8ccde8984913896d59a3c2b529768cfe74100afd.

For the reason, see T43720#2531092

Bug: T149510
Change-Id: Id1ace9599642a36b333c63eaeebab0537466e7bd

7 years agoRevert "Move NewPP limit report HTML comments to JS variables" and followups
Bartosz Dziewoński [Tue, 8 Nov 2016 21:03:21 +0000 (22:03 +0100)]
Revert "Move NewPP limit report HTML comments to JS variables" and followups

This change resulted in unreasonable feature loss (human-readable
limit report was gone). Three months and multiple followups later,
the functionality is still not completely restored. Given lack
of response from the original author, I think it is time to revert
and reconsider, especially since the 1.28 release is soon.

A machine-readable limit report would be a very useful feature,
but not at the cost of losing human-readable limit report.

This reverts the following commits:

* Move NewPP limit report HTML comments to JS variables
  b7c4c8717f964d1890d185ec3e6e9481fcb734e4
* Only pretty-print the parser report JS vars
  28adc4d7eef2d7d8e5696a4f9849538a769daa00
* Show wgPageParseReport on page previews too
  1255654ed5a89ed57491bda38f544ed87e3bc601
* Re-add human readable parser limit report
  0051f108b954b52b9981d5d85862ac1f292db80c
* Restore hooks.txt for ParserLimitReportFormat
  4663e7a7371fabb96ed9c909e5b93042c5f08438

Resolved minor merge conflicts in OutputPage (with 80e5b160)
and release notes.

Bug: T110763
Bug: T142210
Change-Id: Id88c8066fae3f369e8977b4b7488f67071bdeeb7

7 years agoMerge "Update weblinks in comments from HTTP to HTTPS"
jenkins-bot [Tue, 8 Nov 2016 21:32:00 +0000 (21:32 +0000)]
Merge "Update weblinks in comments from HTTP to HTTPS"

7 years agoMerge "Clarify "while blocked" where something else could be "blocked" too"
jenkins-bot [Tue, 8 Nov 2016 21:26:07 +0000 (21:26 +0000)]
Merge "Clarify "while blocked" where something else could be "blocked" too"

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 8 Nov 2016 21:08:57 +0000 (22:08 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: Ifac228e77e7eb1d8e74aeac5a13bbe815ba80ca2

7 years agoMerge "[search] Don't show the create link twice on results page"
jenkins-bot [Tue, 8 Nov 2016 18:36:57 +0000 (18:36 +0000)]
Merge "[search] Don't show the create link twice on results page"

7 years agoMerge "[search] Remove more dead code"
jenkins-bot [Tue, 8 Nov 2016 18:19:13 +0000 (18:19 +0000)]
Merge "[search] Remove more dead code"

7 years agoMerge "[search] Remove unused SpecialSearch functions"
jenkins-bot [Tue, 8 Nov 2016 18:17:21 +0000 (18:17 +0000)]
Merge "[search] Remove unused SpecialSearch functions"

7 years agoMerge "Convert action=markpatrolled fallback interface to HTTP POST"
jenkins-bot [Tue, 8 Nov 2016 17:43:25 +0000 (17:43 +0000)]
Merge "Convert action=markpatrolled fallback interface to HTTP POST"

7 years agoUC Mini should be blacklisted
Baha [Mon, 7 Nov 2016 15:09:24 +0000 (10:09 -0500)]
UC Mini should be blacklisted

The UC Mini browser should be blacklisted. The experience
when we try to run JavaScript is suboptimal - very similar
to how it was for Opera Mini

Bug: T147369
Change-Id: I60b40bcb8c684aa836a4a65ed1deecf06b28e51c

7 years agoMerge "Lazy load PasswordReset on SpecialPasswordReset"
jenkins-bot [Tue, 8 Nov 2016 04:23:14 +0000 (04:23 +0000)]
Merge "Lazy load PasswordReset on SpecialPasswordReset"

7 years agoMerge "Let findHooks.php find UserCreateForm/UserLoginForm"
jenkins-bot [Tue, 8 Nov 2016 04:07:52 +0000 (04:07 +0000)]
Merge "Let findHooks.php find UserCreateForm/UserLoginForm"

7 years agoMerge "Restore hooks.txt for ParserLimitReportFormat"
jenkins-bot [Tue, 8 Nov 2016 04:00:41 +0000 (04:00 +0000)]
Merge "Restore hooks.txt for ParserLimitReportFormat"

7 years agoMerge "Fix docs for OutputPage::addLanguageLinks and OutputPage::setLanguageLinks"
jenkins-bot [Tue, 8 Nov 2016 03:36:32 +0000 (03:36 +0000)]
Merge "Fix docs for OutputPage::addLanguageLinks and  OutputPage::setLanguageLinks"

7 years agoMerge "Remove ParserTestParser hook from hooks.txt"
jenkins-bot [Tue, 8 Nov 2016 02:43:12 +0000 (02:43 +0000)]
Merge "Remove ParserTestParser hook from hooks.txt"

7 years agoMerge "Rebuilt PHPVersionCheck to be an own class"
jenkins-bot [Mon, 7 Nov 2016 23:20:14 +0000 (23:20 +0000)]
Merge "Rebuilt PHPVersionCheck to be an own class"

7 years ago[search] Remove more dead code
Erik Bernhardson [Mon, 7 Nov 2016 22:45:07 +0000 (14:45 -0800)]
[search] Remove more dead code

This code in SpecialSearch looks to still be around from the days where
there was a feature that go would send you to directly to an edit page,
rather than showing search results. That feature no longer exists, so
remove the related code.

Change-Id: If5b064b08a6258bfab31ab8f8b62c1d7283c8912

7 years ago[search] Remove unused SpecialSearch functions
Erik Bernhardson [Mon, 7 Nov 2016 22:42:47 +0000 (14:42 -0800)]
[search] Remove unused SpecialSearch functions

AFAICT SpecialSearch is never extended into anything else. These
functions are protected, an unused within this class. There are a couple
other public functions that look unused, but i suppose a hook consumer
could be using them so leaving in for now.

Change-Id: I214c6144f81dade14a0a8c616743191a295b716d

7 years agoAdd $wgCSPFalsePositiveUrls to release notes
Brian Wolff [Fri, 28 Oct 2016 05:26:27 +0000 (05:26 +0000)]
Add $wgCSPFalsePositiveUrls to release notes

Follow up d84479c4.

Change-Id: I604bdd601b9b1e36964342eed3858336e683d769

7 years ago[search] Don't show the create link twice on results page
Erik Bernhardson [Mon, 7 Nov 2016 21:49:09 +0000 (13:49 -0800)]
[search] Don't show the create link twice on results page

Due to how things flow through the rendering if an offset is provided
and there are no results, SpecialSearch::showCreateLink gets run twice
and the user gets an odd output.

Bug: T149269
Change-Id: Ifed921207f82cc0d1c1cb621a81127486d4dd03e

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 7 Nov 2016 21:06:52 +0000 (22:06 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I0655e33ea35f6b96ea4a404ad858ab668c689733

7 years agoMerge "LoginSignupSpecialPage: Don't output empty 'uselang'"
jenkins-bot [Mon, 7 Nov 2016 20:29:10 +0000 (20:29 +0000)]
Merge "LoginSignupSpecialPage: Don't output empty 'uselang'"

7 years agoMerge "IcuCollation: Do not split $tailoringFirstLetters into verified/not verified"
jenkins-bot [Mon, 7 Nov 2016 19:22:07 +0000 (19:22 +0000)]
Merge "IcuCollation: Do not split $tailoringFirstLetters into verified/not verified"

7 years agoReplace abandoned color from early palette iteration
Volker E [Mon, 7 Nov 2016 18:15:30 +0000 (10:15 -0800)]
Replace abandoned color from early palette iteration

Replacing abandoned color `#9aa0a7` from early iteration of the
overhauled color palette as it was too close to `#a2a9b1`.
Follow-up to I94a54b0b0cbc95f95cb8a53a02c199f6f28178ab

Bug: T148267
Change-Id: I50f5b2688683f2048a4f0ae037027b22d29f1962

7 years agoMWExceptionHandler: Do not use 'exception' for custom log data
Bryan Davis [Mon, 7 Nov 2016 17:30:09 +0000 (10:30 -0700)]
MWExceptionHandler: Do not use 'exception' for custom log data

When we create an exception-like set of data for logging in
MWExceptionHandler::handleFatalError, add it to the logging context as
a 'fatal_exception' member. The 'exception' value in a log context
should only be populated with a real Exception object.

Bug: T150106
Change-Id: I253943849f19ed5480dbda7bfbc0bf607f69c47d

7 years agoLoginSignupSpecialPage: Don't output empty 'uselang'
Brad Jorsch [Mon, 7 Nov 2016 15:55:00 +0000 (10:55 -0500)]
LoginSignupSpecialPage: Don't output empty 'uselang'

It confuses things because the empty string is accepted as a language,
which falls back to English.

Bug: T146147
Change-Id: Ie56eb95a85a24c5701901abdfb722cebc108bde4

7 years agoMerge "Remove empty lines at end of functions"
jenkins-bot [Mon, 7 Nov 2016 15:56:56 +0000 (15:56 +0000)]
Merge "Remove empty lines at end of functions"

7 years agoFix docs for OutputPage::addLanguageLinks and OutputPage::setLanguageLinks
Leszek Manicki [Mon, 7 Nov 2016 13:13:51 +0000 (14:13 +0100)]
Fix docs for OutputPage::addLanguageLinks and  OutputPage::setLanguageLinks

Per what has been described and fixed in
Ie9c42ac2b4ff143e36d07642f57cca769e8c00e7.

Change-Id: I2af28ae97805f3259ca038942a84b43f89b55150

7 years agoMerge "Fix docs for LanguageLinks hook"
jenkins-bot [Mon, 7 Nov 2016 15:08:58 +0000 (15:08 +0000)]
Merge "Fix docs for LanguageLinks hook"

7 years agoUpdate weblinks in comments from HTTP to HTTPS
Fomafix [Thu, 13 Oct 2016 05:34:26 +0000 (07:34 +0200)]
Update weblinks in comments from HTTP to HTTPS

Use HTTPS instead of HTTP where the HTTP link is a redirect to the HTTPS link.

Also update some defect links.

Change-Id: Ic3a5eac910d098ed5c2a21e9f47c9b6ee06b2643

7 years agoMerge "Remove redundant "below" from authmanager-create-from-login"
jenkins-bot [Mon, 7 Nov 2016 13:31:38 +0000 (13:31 +0000)]
Merge "Remove redundant "below" from authmanager-create-from-login"

7 years agoFix docs for LanguageLinks hook
addshore [Mon, 7 Nov 2016 12:59:48 +0000 (12:59 +0000)]
Fix docs for LanguageLinks hook

Also updated on mw.org.
This array never has language keys (at least not
unless other extensions add them) but core will
always just have numerical keys.

Change-Id: Ie9c42ac2b4ff143e36d07642f57cca769e8c00e7

7 years agoMerge "Rewording BotPasswords message to reflect what "grant" really does"
jenkins-bot [Mon, 7 Nov 2016 05:17:43 +0000 (05:17 +0000)]
Merge "Rewording BotPasswords message to reflect what "grant" really does"

7 years agoRewording BotPasswords message to reflect what "grant" really does
Huji Lee [Sun, 6 Nov 2016 18:05:08 +0000 (13:05 -0500)]
Rewording BotPasswords message to reflect what "grant" really does

Bug: T150080
Change-Id: Ie2ba9cc0638ab44966cf31f83dbf90036234c0e7

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 6 Nov 2016 21:03:03 +0000 (22:03 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I6dba125eef74a035a20055c88e8578e5f7d2f219

7 years agoRemove redundant "below" from authmanager-create-from-login
Nemo bis [Sun, 6 Nov 2016 19:11:56 +0000 (20:11 +0100)]
Remove redundant "below" from authmanager-create-from-login

System messages should not hardcode references to specific positions
of the interface elements, especially when such specifications do not
help understanding.

Bug: T137690
Change-Id: I306efc768bf20f6b4aa03cbca42f0cdf084b9a31

7 years agoClarify "while blocked" where something else could be "blocked" too
Nemo bis [Sun, 6 Nov 2016 18:22:48 +0000 (19:22 +0100)]
Clarify "while blocked" where something else could be "blocked" too

In some sentences more than others, it's not clear to everyone that
the adjective refers to "you".

Bug: T135431
Change-Id: I62f7bf9f3b1a8e3b88560507b74df69c462962bb

7 years agoMerge "LocalRepo::checkRedirect(): Fix use of __METHOD__ in closure"
jenkins-bot [Sat, 5 Nov 2016 21:20:45 +0000 (21:20 +0000)]
Merge "LocalRepo::checkRedirect(): Fix use of __METHOD__ in closure"

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 5 Nov 2016 21:08:40 +0000 (22:08 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I71bc95fcc846ac6ff162af37c27e3a6bb1ff4d4c

7 years agoLocalRepo::checkRedirect(): Fix use of __METHOD__ in closure
Kevin Israel [Fri, 22 Jul 2016 09:39:27 +0000 (05:39 -0400)]
LocalRepo::checkRedirect(): Fix use of __METHOD__ in closure

Change-Id: Ic8b4d2d54f1986fe4b52bc595221c9384389379b

7 years agoRemove not used variables in ResourcesTest
Leszek Manicki [Tue, 6 Sep 2016 10:22:14 +0000 (12:22 +0200)]
Remove not used variables in ResourcesTest

Change-Id: I45f531e66545175c689b8f6a62a5c3ed62ea5a9a

7 years agoRemove empty lines at end of functions
umherirrender [Sat, 5 Nov 2016 10:55:10 +0000 (11:55 +0100)]
Remove empty lines at end of functions

It looks like there is something missing after the last statement
Also remove some other empty lines at begin of functions, ifs or loops
while at these files

Change-Id: Ib00b5cfd31ca4dcd0c32ce33754d3c80bae70641

7 years agoRemove ParserTestParser hook from hooks.txt
umherirrender [Sat, 5 Nov 2016 10:15:42 +0000 (11:15 +0100)]
Remove ParserTestParser hook from hooks.txt

The hook was removed in Ia8e17008cb9d9b62ce5645e15a41a3b402f4026a

The mentioned file in the documenation was renamed:
parserTest.inc -> ParserTest.php -> ParserTestRunner.php

Change-Id: I8fcf8302b84254d1dc5a3b629f425616bd1f5d13

7 years agoAdd missing @since tags to EditPage protected methods
addshore [Fri, 4 Nov 2016 10:11:52 +0000 (11:11 +0100)]
Add missing @since tags to EditPage protected methods

Follows I31f585e5c4fcf724d9aaf670a21f4f0af42e98ce

Change-Id: I6118b8a9a03a20be72a69d429ef75e417dc4cf7d

7 years agoLet findHooks.php find UserCreateForm/UserLoginForm
umherirrender [Sat, 5 Nov 2016 09:36:52 +0000 (10:36 +0100)]
Let findHooks.php find UserCreateForm/UserLoginForm

To make findHooks.php happy the hooks must be explicit called with
Hooks::run, passing the name with a variable makes it impossible to
detect and therefore the script unhappy.
In case of B/C this is should be a possible solution.

Change-Id: Iaf4d325a3821e09a742d23a3a5bca8493965bfb8

7 years agoRestore hooks.txt for ParserLimitReportFormat
umherirrender [Sat, 5 Nov 2016 09:29:17 +0000 (10:29 +0100)]
Restore hooks.txt for ParserLimitReportFormat

The hook was readded with Iad2646acde79b8a59710bb9fd5fbbfea5a39c341

The text is from I2783c46c6d80f828f9ecf5e71fc8f35910454582

Change-Id: I5e26e0c9bef06e0a6213fd219bda58a61da80665

7 years agoFix case of MediaWikiSite in IWLookupAdapter
addshore [Fri, 4 Nov 2016 10:10:33 +0000 (11:10 +0100)]
Fix case of MediaWikiSite in IWLookupAdapter

Change-Id: Ice98cb0a3127333c045cfb4328081ad5c490c435

7 years agoFix @since tags of changes that missed the branch
addshore [Fri, 4 Nov 2016 10:09:49 +0000 (11:09 +0100)]
Fix @since tags of changes that missed the branch

Follows:
FormOptions: I29ae63472536f99f7f9546f30d86e7bd324d3094
MediaWikiServices: Ie5fd2c523ceec8cc2656e749928f38909dc4bdf1
InterwikiLookupAdapter: I387dc2ff3f5564fcedde835dec66781d8e9424fd

Change-Id: I8d99d0b559d04083fb83b0fcf45cde95dab32d64

7 years agoConvert action=markpatrolled fallback interface to HTTP POST
Timo Tijhof [Wed, 26 Oct 2016 16:14:21 +0000 (17:14 +0100)]
Convert action=markpatrolled fallback interface to HTTP POST

The main interface already has javascript enhancement to use
the API and mw.notify. This patch affects permalinks without
tokens, and opening the link without javascript.

This will match the current behaviour of action=watch.

Bug: T130946
Change-Id: I6be2c07824c17b165e068fc4ac36ab192e12bc9d

7 years agoMerge "Add form identifier to Special:BlockList"
jenkins-bot [Fri, 4 Nov 2016 23:50:34 +0000 (23:50 +0000)]
Merge "Add form identifier to Special:BlockList"

7 years agoImprove getLagTimes.php output and add statsD flag
Aaron Schulz [Wed, 26 Oct 2016 22:17:08 +0000 (15:17 -0700)]
Improve getLagTimes.php output and add statsD flag

* The script now lists all DBs in the LBFactory,
  not just those of the current wiki cluster.
* Add a --report option to send the metrics
  to statsD so that the MediaWiki view of lag can
  be measured, rather than just the DB-level view.
  This avoids some noise with depooled servers.

Bug: T149210
Change-Id: I6eae25e29aecf21251ad0eec53c56a86f35007f5

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 4 Nov 2016 21:16:09 +0000 (22:16 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I9b6a112fde83f365f8cbef17360ffb01ab5225a7

7 years agoMerge "Add access modifiers to htmlform classes"
jenkins-bot [Fri, 4 Nov 2016 20:37:59 +0000 (20:37 +0000)]
Merge "Add access modifiers to htmlform classes"

7 years agoAdd form identifier to Special:BlockList
Florian Schmidt [Tue, 18 Oct 2016 17:04:02 +0000 (19:04 +0200)]
Add form identifier to Special:BlockList

This will allow HTMLForm to indentify, if the form was
submitted and use the data of the request, instead of the
default data.

Bug: T147705
Change-Id: I1a5129eb6d24c3f4963bf63e9db9a41f68ef3bbc

7 years agoMerge "mediawiki.action.edit.preview: Substitute $ by $$ in newSubStr for .replace()"
jenkins-bot [Fri, 4 Nov 2016 17:37:39 +0000 (17:37 +0000)]
Merge "mediawiki.action.edit.preview: Substitute $ by $$ in newSubStr for .replace()"

7 years agomediawiki.action.edit.preview: Substitute $ by $$ in newSubStr for .replace()
Fomafix [Wed, 2 Nov 2016 16:58:58 +0000 (17:58 +0100)]
mediawiki.action.edit.preview: Substitute $ by $$ in newSubStr for .replace()

The newSubStr parameter of .replace() can contain replacement patterns
starting with $. The pattern $$ inserts a single $.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace#Specifying_a_string_as_a_parameter

Bug: T149816
Change-Id: I69619357b7091e302e50398c6258a321346a6240

7 years agoAdd access modifiers to htmlform classes
addshore [Fri, 4 Nov 2016 10:40:42 +0000 (11:40 +0100)]
Add access modifiers to htmlform classes

Change-Id: Id8c0f0676b3200993af3cec493efc99839211bcc

7 years agoMerge "Add GENDER support to protection null revision edit summary"
jenkins-bot [Fri, 4 Nov 2016 06:13:20 +0000 (06:13 +0000)]
Merge "Add GENDER support to protection null revision edit summary"

7 years agoAdd GENDER support to protection null revision edit summary
This, that and the other [Fri, 11 Dec 2015 08:26:05 +0000 (19:26 +1100)]
Add GENDER support to protection null revision edit summary

The edit summary for protection null revisions are still messy
"Lego messages", but now with GENDER support.

The message documentation (qqq) for "protectedarticle",
"modifiedarticleprotection", and "unprotectedarticle" was incorrect, but
now matches the fact that these are IRC-only messages.

Bug: T121091
Change-Id: Ia1151fb5aab8334d3351588531fcdac499fcc486

7 years agoMerge "Disable magic links by default"
jenkins-bot [Fri, 4 Nov 2016 02:38:28 +0000 (02:38 +0000)]
Merge "Disable magic links by default"

7 years agoMerge "Don't cache replacement patterns in wfEscapeWikitext() during tests"
jenkins-bot [Fri, 4 Nov 2016 02:37:12 +0000 (02:37 +0000)]
Merge "Don't cache replacement patterns in wfEscapeWikitext() during tests"

7 years agoMerge "Add tracking categories when magic links are used"
jenkins-bot [Fri, 4 Nov 2016 02:29:54 +0000 (02:29 +0000)]
Merge "Add tracking categories when magic links are used"

7 years agoDisable magic links by default
Kunal Mehta [Thu, 3 Nov 2016 18:16:00 +0000 (11:16 -0700)]
Disable magic links by default

And add release notes for all the magic links changes in 1.28.

Bug: T147536
Change-Id: I66b2c4424b17cc86bbd7339de588f1c00cd2f18d

7 years agoDon't cache replacement patterns in wfEscapeWikitext() during tests
Kunal Mehta [Thu, 3 Nov 2016 18:50:44 +0000 (11:50 -0700)]
Don't cache replacement patterns in wfEscapeWikitext() during tests

Parser tests depend upon being able to change the value of
$wgEnableMagicLinks at runtime, so skip caching the replacement patterns
while parser tests or phpunit tests are being run.

Change-Id: Ic9fe4fe898aa353bdefa2bf8207b77d2ac14887f

7 years agoAdd tracking categories when magic links are used
Kunal Mehta [Thu, 3 Nov 2016 18:06:20 +0000 (11:06 -0700)]
Add tracking categories when magic links are used

This adds 3 tracking categories, one for each type of magic link (ISBN,
RFC, PMID). This will allow wikis to gauge usage and identify pages that
need migrating.

These will only show up if the respective magic links are enabled via
$wgEnableMagicLinks.

Change-Id: Ic483f0c493112bf6373e1b37961e1241c20c3582

7 years agoinstaller: Make help link in sidebar same as default Main Page one
MtDu [Thu, 3 Nov 2016 23:47:15 +0000 (18:47 -0500)]
installer: Make help link in sidebar same as default Main Page one

Point to www.mediawiki.org instead of meta.wikimedia.org.

Bug: T148004
Change-Id: I1bc8a84773e69529aed719ce36f1196f12b56226

7 years agoMake LBFactorySingle external LB methods throw exceptions
Aaron Schulz [Thu, 3 Nov 2016 21:01:08 +0000 (14:01 -0700)]
Make LBFactorySingle external LB methods throw exceptions

There are no external clusters with this LB factory class,
so calling these methods makes no sense.

Change-Id: I63a9c6c76ba036980cfaab3ef03574295e46c6bf

7 years agoMerge "Break long lines in OutputPage::sendCacheControl()"
jenkins-bot [Thu, 3 Nov 2016 21:56:16 +0000 (21:56 +0000)]
Merge "Break long lines in OutputPage::sendCacheControl()"

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 3 Nov 2016 21:27:38 +0000 (22:27 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: Ia3c53700406b070077e3f2381c7735d54e545c9b

7 years agoBreak long lines in OutputPage::sendCacheControl()
Aaron Schulz [Thu, 3 Nov 2016 20:06:59 +0000 (13:06 -0700)]
Break long lines in OutputPage::sendCacheControl()

Change-Id: I72d494f4c97aef9d500bb5d7b36dad30a44f501a

7 years agoMerge "htmlform: Tighten CSS rules for .mw-htmlform-flatlist"
jenkins-bot [Thu, 3 Nov 2016 19:25:41 +0000 (19:25 +0000)]
Merge "htmlform: Tighten CSS rules for .mw-htmlform-flatlist"

7 years agoMerge "Don't fatal on invalid timestamps"
jenkins-bot [Thu, 3 Nov 2016 19:21:54 +0000 (19:21 +0000)]
Merge "Don't fatal on invalid timestamps"

7 years agoMerge "Improve getUrlDomainDistance() return values"
jenkins-bot [Thu, 3 Nov 2016 19:16:53 +0000 (19:16 +0000)]
Merge "Improve getUrlDomainDistance() return values"

7 years agoMerge "DatabaseMysqlBase visibility cleanups"
jenkins-bot [Thu, 3 Nov 2016 19:16:06 +0000 (19:16 +0000)]
Merge "DatabaseMysqlBase visibility cleanups"

7 years agoDon't fatal on invalid timestamps
Kunal Mehta [Thu, 27 Oct 2016 19:06:30 +0000 (12:06 -0700)]
Don't fatal on invalid timestamps

Database::timestamp() intentionally lets errors bubble up, so catch
invalid user-provided timestamps in
ReverseChronologicalPage::getDateCond(), and avoid using an offset in
that case.

Bug: T149257
Change-Id: Ida85eb44b66e8a0166e7f68a101ff094e04b1c8e

7 years agohtmlform: Tighten CSS rules for .mw-htmlform-flatlist
Bartosz Dziewoński [Tue, 18 Oct 2016 22:45:56 +0000 (15:45 -0700)]
htmlform: Tighten CSS rules for .mw-htmlform-flatlist

They accidentally applied to a MenuOptionWidget in autocompletion dropdowns, too.

Change-Id: I54d0988e78b65e0fb922ef353626453cce56e474

7 years agoRebuilt PHPVersionCheck to be an own class
Florian Schmidt [Tue, 13 Sep 2016 15:45:36 +0000 (17:45 +0200)]
Rebuilt PHPVersionCheck to be an own class

The class keyword should work in all reasonable working php installations,
as far as I know. In this way, the php version check does not rely on a
set of global functions. It also should make maintaining the different
checks a bit easier.

Change-Id: I73ee098a8cf931ca4df6263c6e0a3e215555b612

7 years agoAdd hooks for WatchedItemQueryService / ApiQueryWatchlist
Brad Jorsch [Tue, 11 Oct 2016 20:17:22 +0000 (16:17 -0400)]
Add hooks for WatchedItemQueryService / ApiQueryWatchlist

In order for an extension to add data to ApiQueryWatchlist, we need to
provide a way to allow it to manipulate the database query made by
WatchedItemQueryService. We also need some hooks in ApiQueryWatchlist to
handle the marshalling of data to and from WatchedItemQueryService.

To better handle hooking, this also moves some of the continuation logic
from ApiQueryWatchlist to WatchedItemQueryService.

Bug: T147939
Change-Id: Ie45376980f92da964a579887b28175c00fd8f57e

7 years agoDatabaseMysqlBase visibility cleanups
Aaron Schulz [Thu, 3 Nov 2016 05:24:51 +0000 (22:24 -0700)]
DatabaseMysqlBase visibility cleanups

Change-Id: I015fc37a5525a31fb779ba841a1966675ebc494d

7 years agoImprove getUrlDomainDistance() return values
Aaron Schulz [Thu, 3 Nov 2016 04:56:00 +0000 (21:56 -0700)]
Improve getUrlDomainDistance() return values

This change is just cosmetic given the caller it has.

Change-Id: I591f92e56d9f5574d032dda380bc03b491b10738

7 years agoMerge "resourceloader: Optimise startup by merging regexes"
jenkins-bot [Thu, 3 Nov 2016 00:29:58 +0000 (00:29 +0000)]
Merge "resourceloader: Optimise startup by merging regexes"

7 years agoMerge "Use Database::addQuotes in Special:WantedPages/UnwatchedPages"
jenkins-bot [Wed, 2 Nov 2016 23:37:18 +0000 (23:37 +0000)]
Merge "Use Database::addQuotes in Special:WantedPages/UnwatchedPages"

7 years agoUse Database::addQuotes in Special:WantedPages/UnwatchedPages
umherirrender [Sat, 29 Oct 2016 18:50:57 +0000 (20:50 +0200)]
Use Database::addQuotes in Special:WantedPages/UnwatchedPages

Database::addQuotes uses the correct quotes/apos, hopefully together
with numeric values

Change-Id: Ia3aba8cabf3ae877f56185e5724dca204a19f73a

7 years agoMerge "Localisation updates from https://translatewiki.net."
L10n-bot [Wed, 2 Nov 2016 21:19:12 +0000 (21:19 +0000)]
Merge "Localisation updates from https://translatewiki.net."

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 2 Nov 2016 21:10:26 +0000 (22:10 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: Ic0c342a71a911ed1c68e48212769d6c462ed946f

7 years agoMerge "Follow-up Id0021594: Remove extra code for redlink suggestions"
jenkins-bot [Wed, 2 Nov 2016 21:09:32 +0000 (21:09 +0000)]
Merge "Follow-up Id0021594: Remove extra code for redlink suggestions"

7 years agoMerge "Revert "Parser functions now format numbers according to page language""
jenkins-bot [Wed, 2 Nov 2016 20:46:51 +0000 (20:46 +0000)]
Merge "Revert "Parser functions now format numbers according to page language""

7 years agoMerge "Restore default $defaultDateFormat in sk (Slovak)"
jenkins-bot [Wed, 2 Nov 2016 20:46:48 +0000 (20:46 +0000)]
Merge "Restore default $defaultDateFormat in sk (Slovak)"

7 years agoMerge "mw.loader.store: Count modules which fail to execute, too"
jenkins-bot [Wed, 2 Nov 2016 20:26:39 +0000 (20:26 +0000)]
Merge "mw.loader.store: Count modules which fail to execute, too"

7 years agoRevert "Parser functions now format numbers according to page language"
Legoktm [Wed, 2 Nov 2016 20:22:32 +0000 (20:22 +0000)]
Revert "Parser functions now format numbers according to page language"

This reverts commit 4290f686c07265d40718fc3358f196de41bbde57.

Bug: T149840
Change-Id: I7e2dfe14813b510a1a974ae0007390bb2879f804

7 years agoRestore default $defaultDateFormat in sk (Slovak)
Federico Leva [Tue, 1 Nov 2016 09:28:45 +0000 (10:28 +0100)]
Restore default $defaultDateFormat in sk (Slovak)

Follow-up to b321f48d80db27ecff3d9d88c6881c63f27b86c0
As spotted in https://sk.wikipedia.org/?diff=6358764 , cs has
$defaultDateFormat = 'ČSN basic dt' which is not defined in sk.
Restore the "dmy" default which sk used to inherit from en and
which is defined below.

Change-Id: I1c7e7f71587c95090f3bb0bfe58eb013485970bd

7 years agomw.loader.store: Count modules which fail to execute, too
Ori Livneh [Wed, 2 Nov 2016 19:49:22 +0000 (15:49 -0400)]
mw.loader.store: Count modules which fail to execute, too

"Failed" will probably always be either zero or one, because it is
unlikely the asyncEval error callback can ever be called more than once.
But the stats will let us verify this, and will give us an indication of
how often errors happen in general.

Change-Id: I6dea28d84bbca0f02ad8c5bf9a8e9d976622d815

7 years agoMerge "CSSMin: Correctly avoid fallbacks when embedding SVG files"
jenkins-bot [Wed, 2 Nov 2016 18:33:17 +0000 (18:33 +0000)]
Merge "CSSMin: Correctly avoid fallbacks when embedding SVG files"

7 years agoMerge "SpecialActiveUsers: Change checkboxes to dropdown"
jenkins-bot [Wed, 2 Nov 2016 16:50:28 +0000 (16:50 +0000)]
Merge "SpecialActiveUsers: Change checkboxes to dropdown"

7 years agoSpecialActiveUsers: Change checkboxes to dropdown
Sethakill [Wed, 11 May 2016 13:42:12 +0000 (15:42 +0200)]
SpecialActiveUsers: Change checkboxes to dropdown

Moved form to new function and
fixed text about cached version.

Bug: T116354
Change-Id: I29ae63472536f99f7f9546f30d86e7bd324d3094

7 years agoRevert "EditPage: Show EditFilterMergedContent hook errors in an errorbox"
Paladox [Sat, 29 Oct 2016 21:51:27 +0000 (21:51 +0000)]
Revert "EditPage: Show EditFilterMergedContent hook errors in an errorbox"

This reverts commit a02a7ff8eab9d589d77c03d4b4c58fc4a05e65c8.

Bug: T149473
Change-Id: I35a650c6ec478542351824e8ae8a8d8354ffa50f