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"
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
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
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
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
Antoine Musso [Fri, 4 Nov 2016 16:38:43 +0000 (17:38 +0100)]
tests: stop updating the search engine
While running includes/api tests, profiling reports tests are doing
hundred of inserts followed by hundred of matching deletes. That is due
to the search engine updates.
For almost all tests, there is no need to update the search engine, that
is a waste of I/O and CPU cycles.
Speed up the run by using 'SearchEngineDummy'.
Our search tests still pass since they take care of setting up a search
engine.
Change-Id: Ic10e989e27fd3901ea215f544a0490baef57f0a4
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"
Bartosz Dziewoński [Wed, 2 Nov 2016 15:18:58 +0000 (16:18 +0100)]
Connect OOjs UI's deprecation warnings to MediaWiki's logging system
Change-Id: I0aa24a877ec1cf6505cb66b0129c6969ef90313f
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"
Stephane Bisson [Tue, 1 Nov 2016 14:51:13 +0000 (10:51 -0400)]
DBError expects IDatabase|null as its first argument
I came across LBFactory.php:357 while testing my
master/replica db setup. It was not configured correctly
and I got "Argument 1 passed to DBExpectedError::__construct()
must implement interface IDatabase, string given" instead
of the actual error.
Change-Id: I949e1803f84459f8bb83e957a88d1e927cad16f7
jenkins-bot [Tue, 1 Nov 2016 04:47:29 +0000 (04:47 +0000)]
Merge "Document diff/DifferenceEngine.php function"
Brad Jorsch [Mon, 31 Oct 2016 20:37:26 +0000 (16:37 -0400)]
Don't parse <nowiki><span class="error"></nowiki>
Which means we can't check if a parser limit was exceeded while trying
to expand the content of a tag, but that's probably not a huge loss.
It'll just result in potentially strange output rather than an exception.
Bug: T149622
Change-Id: I7910dfa0f61b1cc9168c7ed1498b2bda27c47f0e
Alex Monk [Fri, 28 Oct 2016 00:29:57 +0000 (01:29 +0100)]
Follow-up Id0021594: Remove extra code for redlink suggestions
We do a second query now instead which handles this by itself.
Move the description stuff to be generic for all redlinks
Bug: T149130
Change-Id: Iddc542d2aa02fd14a88014c78bd5a18e1f39f37e
Translation updater bot [Mon, 31 Oct 2016 21:04:13 +0000 (22:04 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I3f98e468088f53f688b357ed1ebf7a36c0df0f0b
jenkins-bot [Mon, 31 Oct 2016 20:33:31 +0000 (20:33 +0000)]
Merge "Rename JobQueueDB::getSlaveDB() to getReplicaDB()"
Brad Jorsch [Mon, 31 Oct 2016 17:41:17 +0000 (13:41 -0400)]
API: Error if sensitive AuthManager parameters are in the query string
There was only 1 hit in the feature usage log in the past 30 days for
this code path, so this should be good to go.
ApiLogin, on the other hand, received 27048 hits over the same time
period. So let's not do that one just yet.
Change-Id: I1ae3b928fda9ddc94c8182155637920713dd404d
Bartosz Dziewoński [Mon, 31 Oct 2016 15:47:05 +0000 (16:47 +0100)]
IcuCollation: Do not split $tailoringFirstLetters into verified/not verified
At this point I think it's safe to assume that these mostly work well,
and the split makes maintenance of the alphabetical list more difficult
(some entries were already in wrong order). We've been enabling these
collations for more and more Wikimedia wikis and not hearing about any
problems. Mistakes, if any are present, should be treated like any
other bug.
Also made some comments consistent.
Change-Id: I4b5fbcf4dbbdd4dc194ed821341296171fa64bb0
jenkins-bot [Mon, 31 Oct 2016 14:32:39 +0000 (14:32 +0000)]
Merge "Allow empty href in SVGs"
Sam Wilson [Mon, 31 Oct 2016 04:38:12 +0000 (12:38 +0800)]
Remove spaces after cast operators
This fixes the outstanding mis-spaced cast operators to bring them
into line with the coding standards on mediawiki.org (and with the
more common usage within this codebase).
Bug: T149545
Change-Id: Ib7bcf95bbee83d20c05f6d621ce7b4e1fb58a347