Jeff Janes [Mon, 8 Dec 2014 20:27:11 +0000 (12:27 -0800)]
PostgreSQL: Drop unneeded foreign key constraint
Change I1c7f3a84f10df05d6b37dccbad4c8232edf51580 causes
an existing foreign key assumption (under PostgreSQL) to be
violated upon deleting a page. This foreign key assumption does not
explicitly exist in MySQL, and is not implied via documentation. So
it was probably never needed in the first place.
Don't create the foreign key constraint in PostgreSQL, and drop it
if it already exists when running update.php.
The constraint was previously created with an implicit name, so
drop the constraint involving the specified column name (rc_cur_id),
rather than hard-coding the name of the constraint itself.
This bug probably exists under Oracle and MSSQL as well, but no attempt
was made to address it there.
Bug: T76254
Change-Id: I2abd650c8ce83c5b725aec0545fff14a927a305a
Alex Monk [Wed, 17 Sep 2014 19:42:35 +0000 (20:42 +0100)]
Fill the iw_api column of the interwiki table when installing
Was added in r69542 for interwiki-transclusion, but not populated.
Also make link for 'mw' consistent with 'mediawikiwiki' by using HTTPS.
Bug: 46992
Change-Id: Ieb6c4121ae4cd4e1aefbc372bbe82bdb0ce53b5d
jenkins-bot [Fri, 30 Jan 2015 18:09:51 +0000 (18:09 +0000)]
Merge "CategoryView modified to use css columns"
Niklas Laxström [Sat, 6 Dec 2014 10:31:32 +0000 (11:31 +0100)]
Escape unescaped messages shown in action=info
Change-Id: Id16d8c8dff73fdacad6c9a4ff7f2919945b7e893
Fomafix [Fri, 30 Jan 2015 14:59:56 +0000 (14:59 +0000)]
Add missing </ul> in Article::getRedirectHeaderHtml
Change-Id: I673213fc424c859ce81b1cf1a85e6ed9e508d0b6
Sumit Asthana [Wed, 28 Jan 2015 19:35:20 +0000 (01:05 +0530)]
CategoryView modified to use css columns
The categories on Category page were listed using table layout. This layout has
been changed to the responsive css column structure, which is 3 column wide
beyond 768px otherwise shrinks to a single column.
Bug: T85496
Change-Id: I2d3583efd470500c374965a433538845fcfade26
jenkins-bot [Fri, 30 Jan 2015 03:20:23 +0000 (03:20 +0000)]
Merge "Escape message 'version-poweredby-others' on Special:Version"
jenkins-bot [Thu, 29 Jan 2015 22:07:47 +0000 (22:07 +0000)]
Merge "convertExtensionToRegistration: Add --skin option"
Translation updater bot [Thu, 29 Jan 2015 21:35:41 +0000 (22:35 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I4af632da08565b289d5fca22efd6bb6df0d115b8
jenkins-bot [Thu, 29 Jan 2015 20:55:13 +0000 (20:55 +0000)]
Merge "normal: Add @covers tag to UtfNormal test"
jenkins-bot [Thu, 29 Jan 2015 20:54:53 +0000 (20:54 +0000)]
Merge "DeferredStringifier: Clean up comments and indentation in tests"
jenkins-bot [Thu, 29 Jan 2015 20:54:06 +0000 (20:54 +0000)]
Merge "ProcessCacheLRU: Clean up doc comments and add @covers tags to tests"
jenkins-bot [Thu, 29 Jan 2015 20:47:31 +0000 (20:47 +0000)]
Merge "Sync up with Parsoid parserTests."
umherirrender [Thu, 29 Jan 2015 20:32:58 +0000 (21:32 +0100)]
Escape message 'version-poweredby-others' on Special:Version
Bug: T85864
Change-Id: I1e90962c3c94c8b72aadfc4c0d041d52e2cde3f1
Timo Tijhof [Thu, 29 Jan 2015 20:38:34 +0000 (12:38 -0800)]
normal: Add @covers tag to UtfNormal test
Change-Id: Ib0d64bda44cbb1f72ea69025785442967bb26d74
Kunal Mehta [Thu, 29 Jan 2015 20:24:49 +0000 (12:24 -0800)]
convertExtensionToRegistration: Add --skin option
To write to skin.json instead of extension.json
Change-Id: I0e7dfbd871b7f80958fe7033d4595a205bb34293
jenkins-bot [Thu, 29 Jan 2015 20:14:37 +0000 (20:14 +0000)]
Merge "Avoid double escaped expiry time on action=protect"
Timo Tijhof [Thu, 29 Jan 2015 20:10:08 +0000 (12:10 -0800)]
DeferredStringifier: Clean up comments and indentation in tests
Change-Id: Ifdf2fe711a0be495465255c6fabb55fe34b79b27
Timo Tijhof [Thu, 29 Jan 2015 20:06:25 +0000 (12:06 -0800)]
ProcessCacheLRU: Clean up doc comments and add @covers tags to tests
Change-Id: Ie7e8f4b31d89fc0bee748c03d94cb54b23ab4f83
Nikerabbit [Thu, 29 Jan 2015 20:05:56 +0000 (20:05 +0000)]
Merge "Escape all return values from ProtectedPagesPager::formatValue"
Timo Tijhof [Mon, 26 Jan 2015 23:07:49 +0000 (15:07 -0800)]
CSSMin: Optimise isLocalUrl by moving fast comparison forward
Change-Id: I668e248bd51fb75dfeeef3b74973f517a188c7ba
Timo Tijhof [Mon, 26 Jan 2015 23:07:15 +0000 (15:07 -0800)]
CSSMin: Add tests for isRemoteUrl and isLocalUrl
Change-Id: I5a84eb62eaac96d0dd7f7e27bf76f64e7d7657cf
jenkins-bot [Thu, 29 Jan 2015 19:46:27 +0000 (19:46 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Siebrand Mazeland [Thu, 29 Jan 2015 19:39:32 +0000 (20:39 +0100)]
Localisation updates from https://translatewiki.net.
Updates for magic words.
Change-Id: Ic564d36de395c9a30be5f1390591da723f47edce
jenkins-bot [Thu, 29 Jan 2015 19:34:55 +0000 (19:34 +0000)]
Merge "Fully escape return value from FileDuplicateSearchPage::formatResult"
Siebrand Mazeland [Thu, 29 Jan 2015 19:11:58 +0000 (20:11 +0100)]
Localisation updates from https://translatewiki.net.
Updates for special page aliases.
Change-Id: Ic2b34a948d527cee6b76abd7e24a6d8a33b65bd2
jenkins-bot [Thu, 29 Jan 2015 17:59:25 +0000 (17:59 +0000)]
Merge "Use context when parsing messages in Article::setOldSubtitle"
jenkins-bot [Thu, 29 Jan 2015 17:59:08 +0000 (17:59 +0000)]
Merge "Set context when parsing message 'redirectpagesub' in Article"
jenkins-bot [Thu, 29 Jan 2015 17:54:45 +0000 (17:54 +0000)]
Merge "Set context when parsing message in SpecialLog::addHeader"
jenkins-bot [Thu, 29 Jan 2015 17:53:19 +0000 (17:53 +0000)]
Merge "Pass user to Title::quickUserCan in DifferenceEngine"
umherirrender [Thu, 29 Jan 2015 16:45:22 +0000 (17:45 +0100)]
Set context when parsing message 'redirectpagesub' in Article
Change-Id: I53fc0855fc8dd57cdfcae68751c9800969208310
umherirrender [Thu, 29 Jan 2015 16:01:58 +0000 (17:01 +0100)]
Use context when parsing messages in Article::setOldSubtitle
Change-Id: Iec4985021b862d6e99f5531545b7db287325263b
umherirrender [Thu, 29 Jan 2015 15:51:49 +0000 (16:51 +0100)]
Set context when parsing message in SpecialLog::addHeader
Also direct passing a message object to OutputPage::setPageTitle
Change-Id: If88ca673bffa033f9cd9cc7a680b73aa701578f3
umherirrender [Thu, 29 Jan 2015 15:46:28 +0000 (16:46 +0100)]
Pass user to Title::quickUserCan in DifferenceEngine
Change-Id: I2e984a51b7ad357a08ed1827b76f7f9803785cfc
Kunal Mehta [Thu, 29 Jan 2015 05:28:56 +0000 (21:28 -0800)]
ReplacementArray: Set explicit visiblity on functions
Also add a type-hint
Change-Id: I78a322dfa11a71e22a3d0b7064b808aec6bfbf83
Kunal Mehta [Thu, 29 Jan 2015 05:21:46 +0000 (21:21 -0800)]
Move ReplacementArray into includes/libs/
Change-Id: I95b748c77522027753fb5bd0237f25e254938c16
Kunal Mehta [Thu, 29 Jan 2015 05:05:04 +0000 (21:05 -0800)]
ExplodeIterator: Set explicit visiblity on functions
Change-Id: I407280a432098d13ad75ff2d3468aa6a7d653da7
Kunal Mehta [Thu, 29 Jan 2015 04:59:50 +0000 (20:59 -0800)]
Move ExplodeIterator into includes/libs/
Change-Id: Ibb3b36dbce223454b9cd485743d7e7845f729bfb
Kunal Mehta [Thu, 29 Jan 2015 04:49:57 +0000 (20:49 -0800)]
replacers: Make Replacer abstract, and add abstract Replacer::replace()
Change-Id: Ib00dc8585e8ba599491e51e0b99a8667c3b4cd63
Kunal Mehta [Thu, 29 Jan 2015 04:46:13 +0000 (20:46 -0800)]
replacers: Set explicit visiblity on functions
Change-Id: I4f35ea9b4bd2503bc612dc25dc8d34fc5ca040a0
Kunal Mehta [Thu, 29 Jan 2015 04:42:25 +0000 (20:42 -0800)]
Move "Replacers" into includes/libs/replacers/
Split into separate files while we're at it
Change-Id: I0bba4dcea686de088bd96964833fe6fb649a41e9
Kunal Mehta [Wed, 7 Jan 2015 19:12:09 +0000 (11:12 -0800)]
Turn Utf8Test into a PHPUnit test case
Change-Id: I7e709f475a37a592fb3052f367894ebce32310f3
Kunal Mehta [Wed, 7 Jan 2015 18:41:51 +0000 (10:41 -0800)]
Move includes/normal to includes/libs/normal
Change-Id: Ib530ad9dbe1d3a33dc53ef8b9620f61d4e1a2d62
C. Scott Ananian [Wed, 28 Jan 2015 23:49:10 +0000 (15:49 -0800)]
Sync up with Parsoid parserTests.
This now aligns with Parsoid commit
88605a4a7a37a61da76238db6d3fff756e8514f1
Change-Id: Ia6d103bec95019eaece64166172a166f8eabdd09
jenkins-bot [Wed, 28 Jan 2015 23:37:59 +0000 (23:37 +0000)]
Merge "Output COPYING files as plain text in Special:Version/License/*"
jenkins-bot [Wed, 28 Jan 2015 23:33:50 +0000 (23:33 +0000)]
Merge "Add OutputPage::enableOOUI() to set up OOUI stuff when needed"
jenkins-bot [Wed, 28 Jan 2015 23:31:37 +0000 (23:31 +0000)]
Merge "Update and enrich API documentation"
umherirrender [Tue, 27 Jan 2015 20:25:53 +0000 (21:25 +0100)]
Escape all return values from ProtectedPagesPager::formatValue
Bug: T85864
Change-Id: Ifb58bd3823aa633135a701ae3e2ae9c955b422c0
Translation updater bot [Wed, 28 Jan 2015 21:17:46 +0000 (21:17 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Translation updater bot [Wed, 28 Jan 2015 21:12:34 +0000 (22:12 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I421056addc820a66a5912b9d4c23255302768cba
Ricordisamoa [Wed, 28 Jan 2015 21:04:31 +0000 (22:04 +0100)]
Output COPYING files as plain text in Special:Version/License/*
The vast majority of them consist of the GNU GPL, which is in
plain text format and not supposed to be converted into wikitext.
Change-Id: Iaa30b8994b8e4034ace61df8202a8b5002093ff2
umherirrender [Tue, 27 Jan 2015 20:35:42 +0000 (21:35 +0100)]
Escape return value from Skin::getUndeleteLink
Bug: T85864
Change-Id: I7a5dfc8ecd2f84da0dce3e1357af462a3c0da23f
jenkins-bot [Wed, 28 Jan 2015 20:52:05 +0000 (20:52 +0000)]
Merge "Special:AllMessages: Ignore case of first letter when sorting"
jenkins-bot [Wed, 28 Jan 2015 20:45:22 +0000 (20:45 +0000)]
Merge "Only try to load UtfNormalDefines.php once"
jenkins-bot [Wed, 28 Jan 2015 20:43:32 +0000 (20:43 +0000)]
Merge "Fix doc for ManualLogEntry::setParameters()"
Kunal Mehta [Wed, 7 Jan 2015 18:27:01 +0000 (10:27 -0800)]
Only try to load UtfNormalDefines.php once
It's already loaded in Defines.php, so no need to do it again
Change-Id: Ie6f3bf3fbbcbaadd85cfc8e54527b93e98f7b898
Siebrand Mazeland [Tue, 28 Oct 2014 17:37:47 +0000 (18:37 +0100)]
Update and enrich API documentation
As discussed previously with Brad. I've done the first 10% or so of the
documentation. Once this has been merged, I'll continue with the rest.
Change-Id: Iaef77a14b2bc184ca28bac02087e67744d4573d4
Brad Jorsch [Wed, 28 Jan 2015 19:15:13 +0000 (11:15 -0800)]
Fix doc for ManualLogEntry::setParameters()
Numbered-and-named parameters are "number:type:name" (where "type" is
often empty), not "number:name".
Change-Id: I417a3d6caf929a94ffed5e315692950295b3be0d
umherirrender [Wed, 28 Jan 2015 18:16:44 +0000 (19:16 +0100)]
Pass user to Title::userCan in InfoAction
Change-Id: Id4dac8ca3b36839abdb184d0ad538b2400aa80ff
Sam Reed [Tue, 27 Jan 2015 06:02:56 +0000 (06:02 +0000)]
Don't split regex string unnecessarily
Change-Id: Id5912e64916ce5c7be2991478c32531596917540
JuneHyeon Bae [Wed, 28 Jan 2015 11:18:08 +0000 (20:18 +0900)]
Add plainlinks class to <h2> in Special:Version
Make "Parser extension tags" and "Parser function hooks" <h2> external
links to plainlink by adding plainlinks class to <h2>.
Bug: T70426
Change-Id: Ibbef62ff5bb0457eb25b9964c190c3e8283b2610
umherirrender [Tue, 27 Jan 2015 20:47:55 +0000 (21:47 +0100)]
Fully escape return value from FileDuplicateSearchPage::formatResult
Also avoids unneeded recreation of a title object
Bug: T85864
Change-Id: I0298887e2ee5da9c1694393fb06cfa5eed0e46d3
Siebrand Mazeland [Wed, 14 Jan 2015 18:25:21 +0000 (19:25 +0100)]
Make Sanitizer::removeHTMLtags() and ::removeHTMLComments public
The functions are used in at least 5 extensions in Gerrit, so not private
at all.
Change-Id: Id6d7b82d7333184ff2b1dcd592a80af30a50a889
jenkins-bot [Wed, 28 Jan 2015 13:42:26 +0000 (13:42 +0000)]
Merge "SpecialMovepage: Correctly apply target namespace to subpages"
jenkins-bot [Wed, 28 Jan 2015 13:37:59 +0000 (13:37 +0000)]
Merge "Import: Fix error reporting"
Rohan [Fri, 1 Aug 2014 14:21:12 +0000 (19:51 +0530)]
SpecialMovepage: Correctly apply target namespace to subpages
Previously, moving a page from a subject namespace to a talk namespace
(or vice-versa), resulted in the subpages being moved to the new page
name, but still in the old namespace.
Bug: T44024
Change-Id: Iefc5b495e777840dc6a2fe1226b8869d807f2d94
jenkins-bot [Tue, 27 Jan 2015 21:48:39 +0000 (21:48 +0000)]
Merge "Run clearSearchIndex when mysql in rebuildTextIndex"
Translation updater bot [Tue, 27 Jan 2015 20:46:43 +0000 (21:46 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ibce6a86870950a0ba414f52078cbe4f98dee7032
umherirrender [Tue, 27 Jan 2015 19:44:34 +0000 (20:44 +0100)]
Avoid double escaped expiry time on action=protect
Xml::option passed the first param to Html::element which escaped the
value, so no htmlspecialchars is needed for $show. The htmlspecialchar
moved closer to output, because the comparision does not need it
Bug: T85864
Change-Id: Ib8b948563095143de686756ceaf46c48cab2c5e0
addshore [Tue, 27 Jan 2015 18:22:07 +0000 (10:22 -0800)]
Run clearSearchIndex when mysql in rebuildTextIndex
Bug: T64276
Change-Id: If86fe65dbbc04e4d83882155ec50375f9e179581
Kunal Mehta [Tue, 27 Jan 2015 07:00:07 +0000 (23:00 -0800)]
registration: Ignore keys prefixed with @ in "config"
This will allow for documentation of individual configuration
options.
Change-Id: I180bc742c96985c2a8358aef814d993fca9aba84
Sam Reed [Tue, 27 Jan 2015 05:34:40 +0000 (05:34 +0000)]
Remove copious amounts of commented out preg_replace calls
Change-Id: I9b9afea3dc6729598b240845c3d34357548cdd4a
Sam Reed [Tue, 27 Jan 2015 05:31:43 +0000 (05:31 +0000)]
Remove unused $fname temporary variables
Change-Id: Ia7a32ecdfc293e870e42cd7398fc017de0d59f11
jenkins-bot [Tue, 27 Jan 2015 00:19:39 +0000 (00:19 +0000)]
Merge "Avoid double escaped message 'nbytes' on Special:NewPages"
Kunal Mehta [Mon, 26 Jan 2015 23:02:03 +0000 (15:02 -0800)]
convertExtensionToRegistration: Document parameters
Bug: T87620
Change-Id: I0326632c24bf429cd09f4e51f6e6990536d6c76f
jenkins-bot [Mon, 26 Jan 2015 22:08:23 +0000 (22:08 +0000)]
Merge "tests: Remove resources/ from phpunit coverage"
Timo Tijhof [Mon, 26 Jan 2015 21:46:46 +0000 (13:46 -0800)]
tests: Remove resources/ from phpunit coverage
It only has one meaningful PHP file, which is a config file.
Change-Id: I7f7d06bb1970b2105173232df7679f259497ae4c
Kunal Mehta [Mon, 26 Jan 2015 21:23:30 +0000 (13:23 -0800)]
convertExtensionToRegistration: Move 'namemsg' to top as well
Change-Id: Ib2bac10980fee3bb2704219a80ec55a4b8c55607
Translation updater bot [Mon, 26 Jan 2015 21:14:18 +0000 (22:14 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I4d09b80fa0edeb2c127d2a572e0b168e82c7cba1
umherirrender [Mon, 26 Jan 2015 18:46:40 +0000 (19:46 +0100)]
Avoid double escaped message 'nbytes' on Special:NewPages
Bug: T85864
Change-Id: I69c2daaa119a9697a2a2cedf4ff498df85458401
m4tx [Fri, 2 Jan 2015 21:46:37 +0000 (22:46 +0100)]
Add missing documentation in DateFormatter.php
Change-Id: Ic5c04bdb88bc57a7c44159d7858ef791c24354c4
jenkins-bot [Mon, 26 Jan 2015 00:03:46 +0000 (00:03 +0000)]
Merge "Add links to Special:EditWatchlist in Preferences' Watchlist tab"
Translation updater bot [Sun, 25 Jan 2015 20:23:32 +0000 (21:23 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I23c7e0cfe9200b772a0845c3904b537ee6ab7545
jenkins-bot [Sun, 25 Jan 2015 07:37:01 +0000 (07:37 +0000)]
Merge "Usercreate: Move label of extraInput to right place"
jenkins-bot [Sun, 25 Jan 2015 00:15:21 +0000 (00:15 +0000)]
Merge "SpecialMovepage: Improve sanity of form-generating code"
jenkins-bot [Sat, 24 Jan 2015 22:48:47 +0000 (22:48 +0000)]
Merge "Make data provider in MediaHandlerTest static"
Translation updater bot [Sat, 24 Jan 2015 21:48:37 +0000 (22:48 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I3bfbe8a79a988dd00d0945c26097e45be2434d51
jenkins-bot [Sat, 24 Jan 2015 20:43:41 +0000 (20:43 +0000)]
Merge "resourceloader: Make 'script' argument to mw.loader.implement optional"
glaisher [Tue, 20 Jan 2015 17:00:21 +0000 (22:00 +0500)]
Add links to Special:EditWatchlist in Preferences' Watchlist tab
This adds a new "Edit watchlist" section to Watchlist tab with links
to Special:EditWatchlist, EditWatchlist/raw and EditWatchlist/clear.
Bug: T26632
Change-Id: Id31fba4f7aadaa3e427becece3837a8d00b7718f
umherirrender [Sat, 24 Jan 2015 10:03:59 +0000 (11:03 +0100)]
Special:AllMessages: Ignore case of first letter when sorting
When a message key is defined with a upper case letter the sorting in
Special:AllMessages gets confused, because the upper case letter is
sorted before the lower case letters. Doing the upper case first, than
sorting avoids this when having such a key.
Bug: T86139
Change-Id: I8e9f7ca276a2fa999d8bd41c948cc083964ec66d
umherirrender [Sat, 24 Jan 2015 09:54:41 +0000 (10:54 +0100)]
Usercreate: Move label of extraInput to right place
With change Ib585e32463765d7eb7d0be5dae54dc828ddd4ca9 the position of
the label for extraInput (from TitleBlacklist or AntiSpoof) was
misplaced outside of the label. This breaks clicking on the label to
check the box. It is also possible to have line break between check box
and label, which is unneeded there.
Bug: T87385
Follow-Up: Ib585e32463765d7eb7d0be5dae54dc828ddd4ca9
Change-Id: I8384621075c6a73cff7575af0380f90bc75e234d
jenkins-bot [Sat, 24 Jan 2015 07:07:05 +0000 (07:07 +0000)]
Merge "mediawiki.ui: Remove color and background-color 'inherit' from inputs"
jenkins-bot [Sat, 24 Jan 2015 01:41:32 +0000 (01:41 +0000)]
Merge "LSG: Fix Makefile"
Legoktm [Sat, 24 Jan 2015 01:34:13 +0000 (01:34 +0000)]
Merge "Output number of conflicts"
jenkins-bot [Sat, 24 Jan 2015 01:32:48 +0000 (01:32 +0000)]
Merge "mediawiki.cookie: Re-add documentation about non-zero default expiration"
Timo Tijhof [Sat, 24 Jan 2015 01:13:13 +0000 (17:13 -0800)]
mediawiki.cookie: Re-add documentation about non-zero default expiration
Follows-up
81319eb28d7538d12ff6b. The statement was accurate, but
somewhat confusingly phrased.
Change-Id: I718831ff23309187e30ba7e304fbd0e0ed0182fd
Sam Reed [Sat, 24 Jan 2015 00:43:26 +0000 (00:43 +0000)]
Output number of conflicts
Change-Id: I1e52db4c3bc60ab41cff3f86aa565a99ffc564ef
Sam Reed [Sat, 24 Jan 2015 00:37:53 +0000 (00:37 +0000)]
Fix stdClass typo in namespaceDupes.php
Change-Id: I129c0d0ad5770d3d9bcdbc1881757f3c13f37c35
Erik Bernhardson [Wed, 14 Jan 2015 18:50:18 +0000 (10:50 -0800)]
ApiPageSet lazy loads content models
A preceding patch, I7eff0bff, adjusts multiple Title methods to load the
content model from the database if it is not known. This patch
adjusts ApiPageSet to query for the content model with the initial data
load rather than allowing the lazy loading to pull in the content
model one at a time as requested.
`
Bug: T86612
Change-Id: I9a9272da729d9323efde76a3c0a09f55127db537
jenkins-bot [Fri, 23 Jan 2015 21:46:51 +0000 (21:46 +0000)]
Merge "Add HiDPI PNG variants for 'Powered by MediaWiki' footer icon"