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
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"
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
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
Mark Holmquist [Mon, 31 Oct 2016 13:21:38 +0000 (08:21 -0500)]
Allow empty href in SVGs
bawolff is right, this shouldn't harm anything.
Bug: T149549
Change-Id: I377efdee7478940154ef5ec921bd0c8f7ec0c110
jenkins-bot [Mon, 31 Oct 2016 13:01:28 +0000 (13:01 +0000)]
Merge "FormatMetadata: Do not format 'UserComment' as a number"
Bartosz Dziewoński [Mon, 31 Oct 2016 12:51:12 +0000 (13:51 +0100)]
FormatMetadata: Do not format 'UserComment' as a number
It's a freeform text field.
Change-Id: Ic3150f48c2e38fa26728bc22017b992d8ddfd152
jenkins-bot [Mon, 31 Oct 2016 07:20:43 +0000 (07:20 +0000)]
Merge "Don't show warning header for non-standard workflows on login-continue"
jenkins-bot [Mon, 31 Oct 2016 07:01:33 +0000 (07:01 +0000)]
Merge "Add firstLetter data for ~50 additional languages"
Yuri Astrakhan [Mon, 31 Oct 2016 00:26:08 +0000 (20:26 -0400)]
Document diff/DifferenceEngine.php function
Change-Id: I999824d8ce569de93fe4c9a889edea582d07611c
Translation updater bot [Sun, 30 Oct 2016 21:08:27 +0000 (22:08 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I695ddf72027c55d160192f0ee4e88d6738a13fa6
jenkins-bot [Sat, 29 Oct 2016 22:28:38 +0000 (22:28 +0000)]
Merge "Make determineCoreSchema a public function again in DatabasePostgres"
Paladox [Sat, 29 Oct 2016 22:09:52 +0000 (23:09 +0100)]
Make determineCoreSchema a public function again in DatabasePostgres
It was changed to a private function today, but it is called in
PostgresInstaller so it is causing this error
PHP Fatal error: Call to private method
DatabasePostgres::determineCoreSchema() from context 'PostgresInstaller'
in /home/travis/build/paladox/mw/includes/installer/PostgresInstaller.php
on line 515
Caused by I2a067ca89a03f9ebf3f70a4f36ddae92e5b1e468
Change-Id: Ifac5a5c7dfeceeb8c7827d6d70e757633df77ca5
jenkins-bot [Sat, 29 Oct 2016 21:28:39 +0000 (21:28 +0000)]
Merge "Move LinkBatch operations for QueryPage to a helper function"
Florian Schmidt [Sat, 29 Oct 2016 20:46:17 +0000 (22:46 +0200)]
Move LinkBatch operations for QueryPage to a helper function
This is easier to maintain as duplicated code everywhere.
This change also adds LinkBatch operations to specialpages, that does
not had it so far, but where it's useful.
Change-Id: I4936ecfb2be3a7709d99570c0561ab0cc9cd754f
Aaron Schulz [Sat, 29 Oct 2016 16:16:39 +0000 (09:16 -0700)]
Add missing Database::timestamp() calls
This was broken for Postgres installations
Change-Id: I0c1d442e3cf1d9a4d5359e7a8f8fd02a31d1ac65
jenkins-bot [Sat, 29 Oct 2016 20:43:16 +0000 (20:43 +0000)]
Merge "Fix missing commit() flag in postgres savepoint class"
jenkins-bot [Sat, 29 Oct 2016 20:28:09 +0000 (20:28 +0000)]
Merge "Add LinkBatch to Special:UnwatchedPages"
Translation updater bot [Sat, 29 Oct 2016 20:05:39 +0000 (22:05 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ia735ef197567ad5151b508bc3b2851610f9b19a4
umherirrender [Sat, 29 Oct 2016 18:26:10 +0000 (20:26 +0200)]
Add LinkBatch to Special:UnwatchedPages
Get all the information for blue links in one query.
Change-Id: I18cbaf69c5f75e00e48e27d4b5e7220f51c31808
jenkins-bot [Sat, 29 Oct 2016 16:55:23 +0000 (16:55 +0000)]
Merge "Make LBFactoryTest.php pass for sqlite"
Aaron Schulz [Sat, 29 Oct 2016 16:14:15 +0000 (09:14 -0700)]
Fix missing commit() flag in postgres savepoint class
Previously, the transaction was left dangling, causing massive
unit failure.
Change-Id: I8fb6e69b44ff0ceb0cf7c4fb45f204e140472406
Florian Schmidt [Wed, 21 Sep 2016 20:45:32 +0000 (22:45 +0200)]
Don't show warning header for non-standard workflows on login-continue
When a user needs/wants to login again (reauthentication or user account switch),
the Login special page shows a header to explain what happened ("already logged
in" or "need to re-authenticate"). For now, the form also displays this header
for a continued login workflow (e.g. when the user needs to enter secondary auth-
entication data, like a one time password). This is misleading, as the user already
knows what and why he has to login (again). Other error/warning messages are maybe
not as visible as they should be.
This change omits the header message for the login-continue auth action.
Bug: T146317
Change-Id: I2115bbe7965e8d0326f71872a4d33767dd0f956b
Brian Wolff [Sat, 29 Oct 2016 11:55:27 +0000 (11:55 +0000)]
Add firstLetter data for ~50 additional languages
Based on CLDR 29 data files.
This did the relatively easy languages in CLDR 29 (Which is most
of them). I skipped languages with complicated tailoring files.
Change-Id: I8367604f7d3a1cdef9cb4e15813893c8cbfff1ff
Aaron Schulz [Sat, 29 Oct 2016 07:04:39 +0000 (00:04 -0700)]
Rename JobQueueDB::getSlaveDB() to getReplicaDB()
Change-Id: I7a88c4876e76836c92cc0b45b4e72124a087121c
Aaron Schulz [Thu, 27 Oct 2016 05:44:08 +0000 (22:44 -0700)]
Make LBFactoryTest.php pass for sqlite
Change-Id: I4fe929e82218231f6c8afa64da8c0ccb42d2c362
Aaron Schulz [Sat, 29 Oct 2016 05:14:26 +0000 (22:14 -0700)]
Various small cleanups to DatabasePostgres
* Add missing method visibilites
* Removed redundant doc blocks
* Use empty string for mSchema for consistency with
the base class
Change-Id: I2a067ca89a03f9ebf3f70a4f36ddae92e5b1e468
jenkins-bot [Sat, 29 Oct 2016 01:31:01 +0000 (01:31 +0000)]
Merge "Postgres updater fixes to make update.php able to run"
Aaron Schulz [Tue, 25 Oct 2016 18:56:41 +0000 (11:56 -0700)]
Postgres updater fixes to make update.php able to run
* Remove redundant schema prefix from relname=x query. The
schema filtering is already done via the JOIN. The relname
portion is just the table name not <schema>.<table name>.
* Avoid explicit table schema qualification and rely on the
search path, as MW 1.27 did. Previously it only used the
global $wgDBschema var to pass to determineCoreSchema()
instead of keeping it in mSchema.
* Clean up some code duplication in Database::tableName() and
make the code comments clearer.
* Make DatabasePostgres::tableName() use parent::tableName()
instead of a method that just wraps this method. The intent
seems clearer this way.
* Remove unused return value in
PostgresUpdater::rebuildTextSearch().
Bug: T148628
Change-Id: Id11d9576b7c2fdad22ff7f90727c12997217a632
Timo Tijhof [Fri, 28 Oct 2016 22:57:44 +0000 (23:57 +0100)]
resourceloader: Optimise startup by merging regexes
Merge webOS, misc and Google Glass regexes.
* Add various test cases for PlayStation.
* Add tests for unrelated user agent matching "Glass".
Change-Id: Ifb0944d190f230bb36197b22cf3099c187dad091
jenkins-bot [Fri, 28 Oct 2016 21:28:40 +0000 (21:28 +0000)]
Merge "Make updateCategoryCounts() have better lag checks"
Translation updater bot [Fri, 28 Oct 2016 20:03:35 +0000 (22:03 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ic7e8cf96d2bd8ca7a583824eea1ea4a3ed6429ac
jenkins-bot [Fri, 28 Oct 2016 17:53:30 +0000 (17:53 +0000)]
Merge "Add Parser to MediaWikiServices"
jenkins-bot [Fri, 28 Oct 2016 13:25:18 +0000 (13:25 +0000)]
Merge "Introduce InterwikiLookupAdapter on top of SiteLookup"
jenkins-bot [Fri, 28 Oct 2016 11:31:44 +0000 (11:31 +0000)]
Merge "Pass context to ChangeTags::tagDescription"
Matěj Suchánek [Fri, 28 Oct 2016 08:57:52 +0000 (08:57 +0000)]
Add space between label and selector
Change-Id: Id5c8c857a2a1339b0ce626bac98f0869e27d5a75
Tim Starling [Wed, 28 Sep 2016 06:32:17 +0000 (16:32 +1000)]
Parser test file editor
Add editTests.php, which provides an interactive interface to the
parser tests, with semi-automated editing.
Change-Id: I1a20d007ba4627d562a16c03849bbad7aec0e516
jenkins-bot [Fri, 28 Oct 2016 01:04:54 +0000 (01:04 +0000)]
Merge "PHPSessionHandler: Workaround PHP5 bug"
jenkins-bot [Thu, 27 Oct 2016 22:51:31 +0000 (22:51 +0000)]
Merge "Change .tocnumber to use grey text for section numbers in Table of Contents boxes"
cenarium [Wed, 28 Sep 2016 19:39:28 +0000 (21:39 +0200)]
Pass context to ChangeTags::tagDescription
To avoid wfMessage calls.
Change-Id: Icaa984fa8c69ccb38fbfd3e30877a4c572501c28
jenkins-bot [Thu, 27 Oct 2016 20:30:10 +0000 (20:30 +0000)]
Merge "Refactor rev_delete handling on deletion"
Translation updater bot [Thu, 27 Oct 2016 20:01:18 +0000 (22:01 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I83ef5fa88f65ec941b87888943273892857d5561
Kunal Mehta [Thu, 27 Oct 2016 17:57:20 +0000 (10:57 -0700)]
Remove tracking category stuff that accidentally slipped into
61adc1e14
Bug: T149310
Change-Id: I0a3725a72b1467c57280ae1880935dd5fa54ae9e
umherirrender [Thu, 27 Oct 2016 17:33:14 +0000 (19:33 +0200)]
Refactor rev_delete handling on deletion
Refactoring handling of the rev_delete database field, which is not
needed to select, when the suppress option is set.
Also added a new const, to avoid a comment about that things should be
15 ...
Change-Id: Ia5bcb835172bf6c10e2e872555fc67e91806ebe1
Leszek Manicki [Thu, 27 Oct 2016 13:55:39 +0000 (15:55 +0200)]
Fix reference in docs of HashConfig::set
Change-Id: I82473e42a746ed4280ea22372d8d17d797070334
jenkins-bot [Thu, 27 Oct 2016 10:49:57 +0000 (10:49 +0000)]
Merge "UploadBase: Permit SVG files with broken namespace definition (Inkscape bug)"
Bartosz Dziewoński [Wed, 5 Oct 2016 20:18:39 +0000 (22:18 +0200)]
UploadBase: Permit SVG files with broken namespace definition (Inkscape bug)
Inkscape mangles namespace definitions created by Adobe Illustrator
(apparently it can't parse custom entities or something, maybe just
in 'xmlns' attributes). These files are still valid SVG, and not
a security issue (although Illustrator probably won't like them),
so it's okay to allow them.
Added tests with some example files.
* buggynamespace-original.svg
File generated by Illustrator (edited by hand to reduce filesize).
Based on <https://commons.wikimedia.org/w/?curid=
16495597>.
* buggynamespace-okay.svg
The original file, opened and saved in Inkscape (no other changes).
* buggynamespace-okay2.svg
The original file, opened and saved in Inkscape twice.
* buggynamespace-bad.svg
The original file, edited by hand to remove custom entities.
This is not valid XML and should be rejected (although it's valid
when parsed as HTML, and some image viewers might display it).
* buggynamespace-evilhtml.svg
An SVG file using an entity declared namespace for a namespace
we want to ban. Based on buggynamespace-original.svg.
Bug: T144827
Change-Id: I0eb9766cab86a58d729f10033c64f57d2076d917
jenkins-bot [Thu, 27 Oct 2016 05:53:03 +0000 (05:53 +0000)]
Merge "New HTMLForm size filter field; add size filter to Special:Newpages"
jenkins-bot [Thu, 27 Oct 2016 05:43:38 +0000 (05:43 +0000)]
Merge "Add short-circuit to DatabasePostgres::schemaExists()"
jenkins-bot [Thu, 27 Oct 2016 02:48:43 +0000 (02:48 +0000)]
Merge "Factor out some methods in the header generation"
This, that and the other [Thu, 27 Oct 2016 01:23:18 +0000 (12:23 +1100)]
New HTMLForm size filter field; add size filter to Special:Newpages
The conversion of SpecialNewpages to HTMLForm seems to be half-finished.
It's not using HTMLForm to read in the request query, which means we have
to roll our own logic. Kind of defeats the purpose of using HTMLForm in
the first place.
When ProtectedPages is converted to HTMLForm (T117722), it can use this new
field type.
Bug: T12817
Change-Id: I069609fbb37b18c3df25156779ad7ac7cd5d6813
Aaron Schulz [Wed, 26 Oct 2016 23:07:12 +0000 (16:07 -0700)]
Add short-circuit to DatabasePostgres::schemaExists()
Change-Id: I5221f7d937be1e87689df5a21fd64e244dbd4c2a
Raimond Spekking [Wed, 26 Oct 2016 21:51:36 +0000 (21:51 +0000)]
Revert "Localisation updates from https://translatewiki.net."
Conflicts with https://gerrit.wikimedia.org/r/#/c/318151/
This reverts commit
bc2fe61db26ef99f14b17be36476fc20a3bb4e0f.
Change-Id: Ib17efe29d4f78eb3508ffe57c3fa365b64aa1341
Translation updater bot [Wed, 26 Oct 2016 20:22:24 +0000 (22:22 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I62a31a3a58174c1c4481bcfb51ab94cc17cac7d9
Brad Jorsch [Wed, 26 Oct 2016 19:20:17 +0000 (15:20 -0400)]
Add a grant for viewing restricted log entries
In core this holds the 'suppressionlog' right. SpamBlacklist and
TitleBlacklist would add their permissions here as well.
Bug: T149235
Change-Id: I8e2304e7b6f2af0c3d21d7d7390e4979b8eaee39
WMDE-Fisch [Wed, 26 Oct 2016 14:34:08 +0000 (16:34 +0200)]
Factor out some methods in the header generation
As preparation for some more minor refactoring there.
Change-Id: I31f585e5c4fcf724d9aaf670a21f4f0af42e98ce