jenkins-bot [Tue, 8 Nov 2016 18:19:13 +0000 (18:19 +0000)]
Merge "[search] Remove more dead code"
jenkins-bot [Tue, 8 Nov 2016 18:17:21 +0000 (18:17 +0000)]
Merge "[search] Remove unused SpecialSearch functions"
jenkins-bot [Tue, 8 Nov 2016 17:43:25 +0000 (17:43 +0000)]
Merge "Convert action=markpatrolled fallback interface to HTTP POST"
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
jenkins-bot [Tue, 8 Nov 2016 04:23:14 +0000 (04:23 +0000)]
Merge "Lazy load PasswordReset on SpecialPasswordReset"
jenkins-bot [Tue, 8 Nov 2016 04:07:52 +0000 (04:07 +0000)]
Merge "Let findHooks.php find UserCreateForm/UserLoginForm"
jenkins-bot [Tue, 8 Nov 2016 04:00:41 +0000 (04:00 +0000)]
Merge "Restore hooks.txt for ParserLimitReportFormat"
jenkins-bot [Tue, 8 Nov 2016 03:36:32 +0000 (03:36 +0000)]
Merge "Fix docs for OutputPage::addLanguageLinks and OutputPage::setLanguageLinks"
jenkins-bot [Tue, 8 Nov 2016 02:43:12 +0000 (02:43 +0000)]
Merge "Remove ParserTestParser hook from hooks.txt"
jenkins-bot [Mon, 7 Nov 2016 23:20:14 +0000 (23:20 +0000)]
Merge "Rebuilt PHPVersionCheck to be an own class"
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
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
Brian Wolff [Fri, 28 Oct 2016 05:26:27 +0000 (05:26 +0000)]
Add $wgCSPFalsePositiveUrls to release notes
Follow up
d84479c4.
Change-Id: I604bdd601b9b1e36964342eed3858336e683d769
Translation updater bot [Mon, 7 Nov 2016 21:06:52 +0000 (22:06 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I0655e33ea35f6b96ea4a404ad858ab668c689733
jenkins-bot [Mon, 7 Nov 2016 20:29:10 +0000 (20:29 +0000)]
Merge "LoginSignupSpecialPage: Don't output empty 'uselang'"
jenkins-bot [Mon, 7 Nov 2016 19:22:07 +0000 (19:22 +0000)]
Merge "IcuCollation: Do not split $tailoringFirstLetters into verified/not verified"
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
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
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
jenkins-bot [Mon, 7 Nov 2016 15:56:56 +0000 (15:56 +0000)]
Merge "Remove empty lines at end of functions"
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
jenkins-bot [Mon, 7 Nov 2016 15:08:58 +0000 (15:08 +0000)]
Merge "Fix docs for LanguageLinks hook"
jenkins-bot [Mon, 7 Nov 2016 13:31:38 +0000 (13:31 +0000)]
Merge "Remove redundant "below" from authmanager-create-from-login"
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
jenkins-bot [Mon, 7 Nov 2016 05:17:43 +0000 (05:17 +0000)]
Merge "Rewording 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
Translation updater bot [Sun, 6 Nov 2016 21:03:03 +0000 (22:03 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I6dba125eef74a035a20055c88e8578e5f7d2f219
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
jenkins-bot [Sat, 5 Nov 2016 21:20:45 +0000 (21:20 +0000)]
Merge "LocalRepo::checkRedirect(): Fix use of __METHOD__ in closure"
Translation updater bot [Sat, 5 Nov 2016 21:08:40 +0000 (22:08 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I71bc95fcc846ac6ff162af37c27e3a6bb1ff4d4c
Kevin Israel [Fri, 22 Jul 2016 09:39:27 +0000 (05:39 -0400)]
LocalRepo::checkRedirect(): Fix use of __METHOD__ in closure
Change-Id: Ic8b4d2d54f1986fe4b52bc595221c9384389379b
Leszek Manicki [Tue, 6 Sep 2016 10:22:14 +0000 (12:22 +0200)]
Remove not used variables in ResourcesTest
Change-Id: I45f531e66545175c689b8f6a62a5c3ed62ea5a9a
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
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
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
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
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
addshore [Fri, 4 Nov 2016 10:10:33 +0000 (11:10 +0100)]
Fix case of MediaWikiSite in IWLookupAdapter
Change-Id: Ice98cb0a3127333c045cfb4328081ad5c490c435
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
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
jenkins-bot [Fri, 4 Nov 2016 23:50:34 +0000 (23:50 +0000)]
Merge "Add form identifier to Special:BlockList"
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
Translation updater bot [Fri, 4 Nov 2016 21:16:09 +0000 (22:16 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I9b6a112fde83f365f8cbef17360ffb01ab5225a7
jenkins-bot [Fri, 4 Nov 2016 20:37:59 +0000 (20:37 +0000)]
Merge "Add access modifiers to htmlform classes"
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
jenkins-bot [Fri, 4 Nov 2016 17:37:39 +0000 (17:37 +0000)]
Merge "mediawiki.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
addshore [Fri, 4 Nov 2016 10:40:42 +0000 (11:40 +0100)]
Add access modifiers to htmlform classes
Change-Id: Id8c0f0676b3200993af3cec493efc99839211bcc
jenkins-bot [Fri, 4 Nov 2016 06:13:20 +0000 (06:13 +0000)]
Merge "Add 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
jenkins-bot [Fri, 4 Nov 2016 02:38:28 +0000 (02:38 +0000)]
Merge "Disable magic links by default"
jenkins-bot [Fri, 4 Nov 2016 02:37:12 +0000 (02:37 +0000)]
Merge "Don't cache replacement patterns in wfEscapeWikitext() during tests"
jenkins-bot [Fri, 4 Nov 2016 02:29:54 +0000 (02:29 +0000)]
Merge "Add tracking categories when magic links are used"
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
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
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
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
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
jenkins-bot [Thu, 3 Nov 2016 21:56:16 +0000 (21:56 +0000)]
Merge "Break long lines in OutputPage::sendCacheControl()"
Translation updater bot [Thu, 3 Nov 2016 21:27:38 +0000 (22:27 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ia3c53700406b070077e3f2381c7735d54e545c9b
Aaron Schulz [Thu, 3 Nov 2016 20:06:59 +0000 (13:06 -0700)]
Break long lines in OutputPage::sendCacheControl()
Change-Id: I72d494f4c97aef9d500bb5d7b36dad30a44f501a
jenkins-bot [Thu, 3 Nov 2016 19:25:41 +0000 (19:25 +0000)]
Merge "htmlform: Tighten CSS rules for .mw-htmlform-flatlist"
jenkins-bot [Thu, 3 Nov 2016 19:21:54 +0000 (19:21 +0000)]
Merge "Don't fatal on invalid timestamps"
jenkins-bot [Thu, 3 Nov 2016 19:16:53 +0000 (19:16 +0000)]
Merge "Improve getUrlDomainDistance() return values"
jenkins-bot [Thu, 3 Nov 2016 19:16:06 +0000 (19:16 +0000)]
Merge "DatabaseMysqlBase visibility cleanups"
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
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
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
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
Aaron Schulz [Thu, 3 Nov 2016 05:24:51 +0000 (22:24 -0700)]
DatabaseMysqlBase visibility cleanups
Change-Id: I015fc37a5525a31fb779ba841a1966675ebc494d
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
jenkins-bot [Thu, 3 Nov 2016 00:29:58 +0000 (00:29 +0000)]
Merge "resourceloader: Optimise startup by merging regexes"
jenkins-bot [Wed, 2 Nov 2016 23:37:18 +0000 (23:37 +0000)]
Merge "Use 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
L10n-bot [Wed, 2 Nov 2016 21:19:12 +0000 (21:19 +0000)]
Merge "Localisation 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
jenkins-bot [Wed, 2 Nov 2016 21:09:32 +0000 (21:09 +0000)]
Merge "Follow-up Id0021594: Remove extra code for redlink suggestions"
jenkins-bot [Wed, 2 Nov 2016 20:46:51 +0000 (20:46 +0000)]
Merge "Revert "Parser functions now format numbers according to page language""
jenkins-bot [Wed, 2 Nov 2016 20:46:48 +0000 (20:46 +0000)]
Merge "Restore default $defaultDateFormat in sk (Slovak)"
jenkins-bot [Wed, 2 Nov 2016 20:26:39 +0000 (20:26 +0000)]
Merge "mw.loader.store: Count modules which fail to execute, too"
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
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
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
jenkins-bot [Wed, 2 Nov 2016 18:33:17 +0000 (18:33 +0000)]
Merge "CSSMin: Correctly avoid fallbacks when embedding SVG files"
jenkins-bot [Wed, 2 Nov 2016 16:50:28 +0000 (16:50 +0000)]
Merge "SpecialActiveUsers: 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
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
jenkins-bot [Wed, 2 Nov 2016 12:04:50 +0000 (12:04 +0000)]
Merge "Revert "Gallery: Use intrinsic width for gallery to center caption""
Bartosz Dziewoński [Wed, 2 Nov 2016 11:52:24 +0000 (11:52 +0000)]
Revert "Gallery: Use intrinsic width for gallery to center caption"
Resulted in unforeseen changes to galleries using mode=packed
(and other modes other than traditional).
This reverts commit
e6dd624baeca16efe462e3938969a72c9ef4ed1e.
Bug: T149412
Change-Id: I57dabbd3b5c0e52f3fad1b2144764bcc2fdecda0
jenkins-bot [Wed, 2 Nov 2016 10:22:08 +0000 (10:22 +0000)]
Merge "Check MW version requires before manifest_version"
jenkins-bot [Wed, 2 Nov 2016 10:09:51 +0000 (10:09 +0000)]
Merge "Add PHP DateInputWidget"
Bartosz Dziewoński [Wed, 2 Nov 2016 09:25:40 +0000 (10:25 +0100)]
CSSMin: Correctly avoid fallbacks when embedding SVG files
The check for file existence before checking its MIME type was
building the path incorrectly, causing this piece of code to always
think the file does not exist. (The code to actually embed the file
was correct.)
This was not caught by the tests before of a bug in the test code,
which cancelled out this one.
Bug: T100958
Change-Id: I4469079f41d48052d0a02f98bb1ed02407abd54c
This, that and the other [Wed, 2 Nov 2016 03:31:08 +0000 (14:31 +1100)]
mediawiki.util: Fix replacement of $ signs in mw.util.getUrl
Bug: T149767
Change-Id: I91c1afa1f93966d1f01793d124fe8f2ae3dab0cf
Timo Tijhof [Wed, 2 Nov 2016 00:00:07 +0000 (00:00 +0000)]
WatchedItemStore: Update process cache when adding items
This way, when submitting POST to action=watch, the response will
not show "Unwatched" in the navigation 'content action' tabs.
This was previously the case on any wiki installation that has
more than 1 database as the skin would call User::isWatched(),
which would query stale data from a slave.
This doesn't yet account for the reverse use case (removing from
watchlist). That's to be addressed in a later commit.
Bug: T28292
Change-Id: Ie4b69c985815a77b70692db0c4dbf52e1a6a018d
Reedy [Tue, 1 Nov 2016 23:03:13 +0000 (23:03 +0000)]
Check MW version requires before manifest_version
Bug: T149751
Change-Id: I914be4da431dcd613bdf2d1fd5ba9f28cf5b936b
Geoffrey Mon [Tue, 18 Oct 2016 15:58:06 +0000 (11:58 -0400)]
Add PHP DateInputWidget
Bug: T120733
Change-Id: I8f80e27304a916bba16ed255c8e78073f9da3813
jenkins-bot [Tue, 1 Nov 2016 21:27:36 +0000 (21:27 +0000)]
Merge "Don't parse <nowiki><span class="error"></nowiki>"
Translation updater bot [Tue, 1 Nov 2016 21:03:38 +0000 (22:03 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I21d3b38d7ec6af6e2a8e6baa6092a6810eab1820
jenkins-bot [Tue, 1 Nov 2016 19:22:27 +0000 (19:22 +0000)]
Merge "DBError expects IDatabase|null as its first argument"
jenkins-bot [Tue, 1 Nov 2016 16:43:23 +0000 (16:43 +0000)]
Merge "Parser test file editor"