Mark Holmquist [Tue, 16 Jul 2013 03:51:08 +0000 (20:51 -0700)]
Don't display empty preference sections
If a preference section has only hidden or API preferences, there are no
contents. So it would be silly to display a section heading for it,
since the user cannot see anything inside.
Change-Id: Ia1d89032c45a06c5103e50d90f3ef147213dd571
Translation updater bot [Wed, 14 Aug 2013 19:31:16 +0000 (19:31 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Wed, 14 Aug 2013 19:24:04 +0000 (19:24 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I625810f874ab2286e08494c2b844df5e9b976b3d
jenkins-bot [Wed, 14 Aug 2013 19:16:28 +0000 (19:16 +0000)]
Merge "Allow individual search backends to control whether they SearchUpdate"
jenkins-bot [Wed, 14 Aug 2013 19:05:23 +0000 (19:05 +0000)]
Merge "Don't use $wgVariantArticlePath for variants of non-content languages"
TheDJ [Wed, 14 Aug 2013 18:57:35 +0000 (18:57 +0000)]
Merge "jquery.tablesorter: buildCollationTable() on first sort, not on load"
Chad Horohoe [Tue, 13 Aug 2013 22:54:03 +0000 (15:54 -0700)]
Allow individual search backends to control whether they SearchUpdate
$wgDisableSearchUpdate is a sledgehammer for disabling all indexing
which is fine for most people, but sometimes you've got multiple
search backends and you want some to update but not others. This
allows each backend to tell core whether they support the feature.
This also removes the SearchUpdate hook which really doesn't make
sense and nobody uses but CirrusSearch and an abandoned extension
from 7 years ago.
Will require parallel change to MWSearch (Ibd002347) and Cirrus (I87a5b8cc)
Change-Id: I2063fe05000044225fa6bec2171ed0071b84a5cf
Liangent [Wed, 14 Aug 2013 16:04:26 +0000 (16:04 +0000)]
Don't use $wgVariantArticlePath for variants of non-content languages
Currently PathRouter understands variants of $wgContLang only, and it
wouldn't be easy to extend it to variants of the given title because at
the time of preparing PathRouter for parsing, the title is unknown yet.
Bug: 52852
Bug: 52850
Change-Id: I7dcf7dc73e36945e420a66d99329c09c75b17882
Liangent [Wed, 14 Aug 2013 15:35:41 +0000 (15:35 +0000)]
Followup Ifb005e7c: some cleanup in comments.
There're still various "disable" left there in messages, which are
fixable on translatewiki.net:
MessagesIke_cans.php:'variantname-iu' => 'disable',
MessagesIke_latn.php:'variantname-iu' => 'disable',
MessagesKk.php:'variantname-kk-kz' => 'disable',
MessagesKk.php:'variantname-kk-tr' => 'disable',
MessagesKk.php:'variantname-kk-cn' => 'disable',
MessagesKk.php:'variantname-kk' => 'disable',
MessagesKu_latn.php:'variantname-ku' => 'disable',
MessagesShi.php:'variantname-shi' => 'disable',
Change-Id: Ic8f874660f3b6f266ab791422cc5ee1749546a00
jenkins-bot [Tue, 13 Aug 2013 22:29:40 +0000 (22:29 +0000)]
Merge "Allow lines empty but for tabs and comments to be ignored."
C. Scott Ananian [Thu, 8 Aug 2013 23:48:16 +0000 (19:48 -0400)]
Allow lines empty but for tabs and comments to be ignored.
We originally allowed only spaces around comments. Now allow tabs as
well. This ought to affect very few pages, but it helps predictability
and to maintain consistency between the PHP preprocessor and parsoid.
Change-Id: Icb3ff6eec08aaa83ae332d03c910c13995c9c9ee
Translation updater bot [Tue, 13 Aug 2013 19:34:53 +0000 (19:34 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I9e0942f951e1d62d464f55a5dc313a7922c99ed8
jenkins-bot [Tue, 13 Aug 2013 18:55:29 +0000 (18:55 +0000)]
Merge "CologneBlue: Make editform's textareas 100% wide"
jenkins-bot [Tue, 13 Aug 2013 18:49:13 +0000 (18:49 +0000)]
Merge "Select search backend by query parameter"
jenkins-bot [Tue, 13 Aug 2013 18:09:10 +0000 (18:09 +0000)]
Merge "Made runJobs.php respect time limits better and try to bail before OOMs"
jenkins-bot [Tue, 13 Aug 2013 18:07:30 +0000 (18:07 +0000)]
Merge "Revert "Make line breaks in <blockquote> behave like <div> (bug 6200)." See bug 52763"
jenkins-bot [Tue, 13 Aug 2013 18:05:52 +0000 (18:05 +0000)]
Merge "Break some long lines"
jenkins-bot [Tue, 13 Aug 2013 18:03:53 +0000 (18:03 +0000)]
Merge "Added batchFetchFromURLs() for mwstore backend"
jenkins-bot [Tue, 13 Aug 2013 18:01:59 +0000 (18:01 +0000)]
Merge "Removed unused $dbw variable and connection"
Subramanya Sastry [Tue, 13 Aug 2013 17:27:48 +0000 (17:27 +0000)]
Revert "Make line breaks in <blockquote> behave like <div> (bug 6200)." See bug 52763
This reverts commit
b9d0e5e4e763aa58647f88739ed0e5682685d064.
Change-Id: I9451f7d11fe01085e4289b21b2e905751bdbf800
Alex Monk [Sat, 22 Dec 2012 20:12:09 +0000 (20:12 +0000)]
Tweak login/account creation for logged in users
* Don't show the "Don't have an account? [Join <sitename>]" box to
logged-in users.
* Use different message for "Real name" (disabled on WMF wikis) when
creating another's account.
Also document showCreateOrLoginLink() and set its visibility.
Bug: 43172
Change-Id: I1b0bb6b78cbc5d37ef9f380a4bdf0f65d021a57f
MatmaRex [Fri, 26 Jul 2013 10:16:05 +0000 (12:16 +0200)]
EditPage: Wrap the pipe between "Cancel" and "Editing help" links in a <span>
This will make it possible to hide or style it without nasty hacks
like the one Vector extension's ext.vector.footerCleanup module uses.
Bug: 43689
Change-Id: Id9269876939d3453c53473f7e3650c375f6fdd22
Derk-Jan Hartman [Tue, 13 Aug 2013 12:15:11 +0000 (14:15 +0200)]
Accessibility: Add aria-labelledby to the navigation landmarks
This helps distinguish the various 'navigation' landmarks from eachother
when they are listed by the software
Change-Id: Ib948f60ab97cd2a60d6d607c9a7a2f7061282fe4
Aaron Schulz [Tue, 13 Aug 2013 07:42:09 +0000 (00:42 -0700)]
Removed unused $dbw variable and connection
Change-Id: I47060139fe762257847f482d24bd284fe6123452
Aaron Schulz [Tue, 13 Aug 2013 07:07:29 +0000 (00:07 -0700)]
Added batchFetchFromURLs() for mwstore backend
Change-Id: I71cfe206c8eef79acb6507bc841a4798747a5f84
raymond [Tue, 13 Aug 2013 06:46:14 +0000 (08:46 +0200)]
Make some messages optional
Followup Ie065c7b5a17bbf1aa484d0ae1f3ee0f5d41f8495
Change-Id: I1f2f648de8c257dcc9a822f19cd32bc7408605ae
Brad Jorsch [Thu, 14 Mar 2013 12:43:06 +0000 (08:43 -0400)]
Add limit report data on preview pages
While we've long had the "NewPP limit report" hidden in an HTML comment,
it is hard for users to find this as they're not likely to look for
profiling information hidden in an HTML comment. Even for those aware of
it, it's not particularly convenient to find.
This changeset adds a table showing this information at the bottom of
the page preview. It also adds the ability for this information to be
added to the ParserOutput object in a structured manner, and various
messages so the report can be localized for the end user.
Note that, for backwards compatability, the default English messages are
used for the "NewPP limit report" comment rather than the localized
messages.
Change-Id: Ie065c7b5a17bbf1aa484d0ae1f3ee0f5d41f8495
Kevin Israel [Fri, 10 May 2013 07:37:04 +0000 (03:37 -0400)]
Make wfReadOnly() a wrapper around wfReadOnlyReason()
This makes more sense than having wfReadOnlyReason() call
wfReadOnly() for its side effect of setting $wgReadOnly
to the contents of $wgReadOnlyFile if the file exists.
Change-Id: Ic723aed368915ac3757f3100ddbbeb3b5a4cdc15
Aaron Schulz [Wed, 19 Jun 2013 03:09:10 +0000 (20:09 -0700)]
jobqueue: cleaned up JobQueue exception handling
* Added JobQueueError exceptions.
* Periodic tasks that fail are logged and skipped.
* JobQueueFederated properly fails over now.
Change-Id: I9d9f0dae548a9dde693a7cd25c255a8bfbf37899
Alex Monk [Sun, 26 May 2013 16:25:30 +0000 (17:25 +0100)]
Replace remaining sajax use
Bug: 40785
Change-Id: I4a0af8986f924cd127a73828e72da6998f28536c
Antoine Musso [Wed, 17 Jul 2013 16:22:17 +0000 (18:22 +0200)]
getConfiguration.php now supports regex
Let us dump global settings based on regex.
* --regex and --iregex to filter globals in $GLOBALS
* validation of --format
* format is now case insensitive
* vardump format
Change-Id: I3a1ddc8ab3c9e41a47b55f412e7f2b018e99b647
Chad Horohoe [Wed, 31 Jul 2013 18:33:57 +0000 (11:33 -0700)]
Select search backend by query parameter
This is useful when you're doing testing of multiple search
engines and you want to compare results.
Note that it doesn't do anything for the prefix search which is ok!
Change-Id: I96a08c64ac84e93b0bec2e8b08d8943b775e68d1
Translation updater bot [Mon, 12 Aug 2013 19:22:57 +0000 (19:22 +0000)]
Localisation updates from translatewiki.net.
Change-Id: If79d597a6d152efde427145496770ce441306c02
C. Scott Ananian [Mon, 12 Aug 2013 16:50:37 +0000 (12:50 -0400)]
Sync up with Parsoid parserTests.
This now aligns with Parsoid commit
44d2188ce875a97441e7ffcc40c2824bc52092c8
Change-Id: I6e6e0755e3bd335ba9d34d4a053384cf04847137
TheDJ [Mon, 12 Aug 2013 12:30:59 +0000 (12:30 +0000)]
Merge "HistoryAction: There is no mediawiki.legacy.history module"
Translation updater bot [Sun, 11 Aug 2013 19:02:44 +0000 (19:02 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ibef6bc2f72261b59cc28c0e7aebf1c2bc575fa87
Ori Livneh [Sun, 11 Aug 2013 07:11:17 +0000 (15:11 +0800)]
Make ResourceLoader::makeComment a public static method
ResourceLoader::makeComment takes a block of text of converts it into a
/* multi-line comment block */ that is safe for inclusion in JavaScript and CSS
source code. There is no reason for the method to be protected, since it is
generic, useful, and free of side-effects.
Change-Id: Ibe45256eddee2ad30d19adcb2f1c0b0d5578e650
Translation updater bot [Sat, 10 Aug 2013 19:25:21 +0000 (19:25 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I58a2089e69b39aba80162197b47b655b9dbac39b
jenkins-bot [Sat, 10 Aug 2013 12:37:00 +0000 (12:37 +0000)]
Merge "Clarify userrights-conflict"
jenkins-bot [Sat, 10 Aug 2013 12:34:16 +0000 (12:34 +0000)]
Merge "Make two info action row headers plural-compatible and consistent"
jenkins-bot [Sat, 10 Aug 2013 12:31:59 +0000 (12:31 +0000)]
Merge "Make logout text simpler and more general"
jenkins-bot [Sat, 10 Aug 2013 12:27:50 +0000 (12:27 +0000)]
Merge "Clarify info action's "search engine status""
jenkins-bot [Sat, 10 Aug 2013 12:26:26 +0000 (12:26 +0000)]
Merge "Remove positional reference from createaccountmail"
jenkins-bot [Sat, 10 Aug 2013 12:24:28 +0000 (12:24 +0000)]
Merge "Just use "You" in userrights-notallowed"
Nemo bis [Sat, 10 Aug 2013 12:00:21 +0000 (14:00 +0200)]
Just use "You" in userrights-notallowed
Unnecessary complexity; inconsistent with messages using "you"
just around this one.
Change-Id: I18016bfca6f03dd484db749f6a9045c5876b779b
Nemo bis [Sat, 10 Aug 2013 11:51:42 +0000 (13:51 +0200)]
Eliminate confusing redundancy in accmailtext
It's the same password for the same account as mentioned
in the line below; let's not add degrees of confusion.
Change-Id: I6b434509b673b69ae96ea4581a5194fe4b0780ab
Wikinaut [Sat, 10 Aug 2013 11:48:37 +0000 (13:48 +0200)]
typo fixed: User::getIntOption returns an integer, not a boolean
Change-Id: Ied47f53ccf567ae8fcd047481d46d28c9960b549
Nemo bis [Sat, 10 Aug 2013 11:37:53 +0000 (13:37 +0200)]
Remove positional reference from createaccountmail
<https://www.mediawiki.org/wiki/Localisation#Avoid_references_to_screen_layout_and_positions>
Change-Id: I1a930fd402b5de020b7ad509e74a0f35638ba7f8
Derk-Jan Hartman [Fri, 9 Aug 2013 20:19:28 +0000 (22:19 +0200)]
CologneBlue: Make editform's textareas 100% wide
This was the last skin that didn't have a 100% wide textareas in the
editform. Brought it in line with the other skins. Eventually we
should make this skin use common*.css, but this is needed for
related patch set: I1b92499961b7ea1949e1d1e48ced6f562822d1cd.
Change-Id: I07895f767049a23945d3a989f7a8164f49847934
jenkins-bot [Sat, 10 Aug 2013 04:52:12 +0000 (04:52 +0000)]
Merge "Reusable external store insertion with fallback"
umherirrender [Tue, 30 Jul 2013 07:36:33 +0000 (09:36 +0200)]
Clean up comment style in DefaultSettings.php
Add some line breaks and break long lines
Change-Id: I915c4c1c3b0f4d5c26fe3e1320fcfdaa70a27e64
MatmaRex [Fri, 9 Aug 2013 22:25:20 +0000 (00:25 +0200)]
HistoryAction: There is no mediawiki.legacy.history module
Remove the reference to it.
Change-Id: Ia34b2ea6155273faaa8961238e07672f9e65c576
jenkins-bot [Fri, 9 Aug 2013 21:29:27 +0000 (21:29 +0000)]
Merge "More rigorous clearing of image redirect cache"
Translation updater bot [Fri, 9 Aug 2013 19:10:54 +0000 (19:10 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I0bfaa4425628474b81f31b7ab3dcce28779998de
MatmaRex [Fri, 26 Jul 2013 10:08:50 +0000 (12:08 +0200)]
mediawiki.action.edit: Add styles for edit form's footer
Copied verbatim from Vector extension's ext.vector.footerCleanup module.
Bug: 43689
Change-Id: I1b92499961b7ea1949e1d1e48ced6f562822d1cd
Nemo bis [Fri, 9 Aug 2013 18:31:06 +0000 (20:31 +0200)]
Clarify info action's "search engine status"
We are using the word "indexing" anyway and I doubt the concept
of internal vs. external search engine is any more complex than
the concept of "robot" which also relates to robots.txt.
"Allowed" or "disallowed" also seems appropriate, as it describes
the permission without speaking of actual impossibility, though
some describe it as "preventing" indexing.
Examples:
http://www.robotstxt.org/meta.html
https://en.wikipedia.org/wiki/Noindex
https://support.google.com/webmasters/answer/93710?hl=en
http://googlewebmastercentral.blogspot.fi/2007/03/using-robots-meta-tag.html
https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag
http://www.w3.org/TR/html401/appendix/notes.html#h-B.4.1.2
Bug: 43935
Change-Id: I856767f9e4951b165b589a553dd84e35fc55822e
jenkins-bot [Fri, 9 Aug 2013 18:13:43 +0000 (18:13 +0000)]
Merge "Accessibility: make columnheader the primary role of the element"
jenkins-bot [Fri, 9 Aug 2013 18:10:17 +0000 (18:10 +0000)]
Merge "Accessibility: Don't arbitrarily override role"
Nemo bis [Fri, 9 Aug 2013 11:39:28 +0000 (13:39 +0200)]
Make logout text simpler and more general
By removing one sentence that is not true on private wikis.
Per Siebrand on previous patch, better simplify the logout
interface than make it heavier.
Bug: 33439
Change-Id: I1f02d4ba6981b34aa2ff16a0c6632e0b58b23bb4
Nemo bis [Fri, 9 Aug 2013 09:37:50 +0000 (11:37 +0200)]
Make two info action row headers plural-compatible and consistent
Plural support was asked, but as it is a table it makes more sense
to just align them to the "Number of X" style of the other rows.
Bug: 48634
Change-Id: I32a760e59a3c86b5baa6096e0a28e8b4681f4a3f
Liangent [Sat, 1 Jun 2013 15:52:26 +0000 (15:52 +0000)]
Attempt to remove a hard-coded "wikipedia".
Change-Id: I3c1567929eaa11a6ca0f3e8d7fe73653375b595b
C. Scott Ananian [Wed, 7 Aug 2013 00:21:00 +0000 (20:21 -0400)]
Preprocessor: Don't treat a line containing multiple comments as a blank line.
After this patch, 'a', 'b', and 'c' are all treated as members of the
same list in the following wikitext:
*a
<!--x-->
*b
<!--x--> <!--y-->
*c
The old comment-removal rule was "trim a comment which is both
preceded and followed by a newline (ignoring spaces)". This only works
if there is a single comment on the line, and was often surprising
to users. The new rule allows any number of whitespace-separated
comments on the line.
Bug: 41756
Change-Id: I6030086226e1eeece59643c29dbb4361668b4bd6
jenkins-bot [Fri, 9 Aug 2013 00:19:48 +0000 (00:19 +0000)]
Merge "Never prefix table names with $wgSharedDB when used in foreign DB"
Translation updater bot [Thu, 8 Aug 2013 19:45:39 +0000 (19:45 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ib69b81ccaa674d51ac92640e6adbb7214ba1cff9
jenkins-bot [Thu, 8 Aug 2013 19:18:54 +0000 (19:18 +0000)]
Merge "Revert "Pedantic tweak to README""
Erik Bernhardson [Tue, 6 Aug 2013 21:55:29 +0000 (14:55 -0700)]
Reusable external store insertion with fallback
Minor refactor allows insertion to ES from an alternate set of backend servers.
Change-Id: I72cf2514265e052b839e0ac31c171e91727fb9af
jenkins-bot [Thu, 8 Aug 2013 17:05:47 +0000 (17:05 +0000)]
Merge "Have separate timeouts for upload by url ($wgCopyUpload[Async]Timeout)"
jenkins-bot [Thu, 8 Aug 2013 16:56:31 +0000 (16:56 +0000)]
Merge "Add more parser tests for magic words."
Liangent [Thu, 14 Mar 2013 15:26:29 +0000 (23:26 +0800)]
Apply conversion on namespace names on Special:Search
Change-Id: I2dc8d1a28dd6b273a63dc6e5a06d3c18c720b3f7
umherirrender [Thu, 8 Aug 2013 08:09:06 +0000 (10:09 +0200)]
Add more parser tests for magic words.
Change-Id: I79023a1585f92be6c0cea13a462ae091a60838d3
jenkins-bot [Thu, 8 Aug 2013 07:16:04 +0000 (07:16 +0000)]
Merge "(bug 46463) Mark edit preview as in page view language"
Aaron Schulz [Thu, 8 Aug 2013 02:26:28 +0000 (19:26 -0700)]
Break some long lines
Change-Id: I6b984e03611f937320464e32567495e5b61e315f
jenkins-bot [Wed, 7 Aug 2013 23:24:36 +0000 (23:24 +0000)]
Merge "Add wfResetSessionID()"
jenkins-bot [Wed, 7 Aug 2013 23:21:40 +0000 (23:21 +0000)]
Merge "Improve WebResponse::setcookie"
Brad Jorsch [Wed, 7 Aug 2013 16:21:22 +0000 (12:21 -0400)]
Add wfResetSessionID()
The code for changing the session id cookie from Special:Userlogin is
also needed in CentralAuth. So let's factor it out to avoid code
duplication.
Change-Id: I777f76ee8e2b953a1e972327bedc28e0ab1acf0d
Brad Jorsch [Tue, 6 Aug 2013 20:04:15 +0000 (16:04 -0400)]
Improve WebResponse::setcookie
Various bits of code are not using this because it doesn't support
various use cases, e.g. session cookies, httpOnly, custom paths, etc.
Refactor it to add all those options. Also add a hook so extensions can
override the setting of the cookie.
Change-Id: Ia0c424a48d9455a8574d91631cde0f00c9882288
jenkins-bot [Wed, 7 Aug 2013 21:00:02 +0000 (21:00 +0000)]
Merge "Make revision content decompression publicly available"
Brian Wolff [Wed, 7 Aug 2013 20:26:52 +0000 (17:26 -0300)]
More rigorous clearing of image redirect cache
Instead of deleting the cache key, set a temporary
value, so that the key stays "deleted" long enough
so that replag won't cause the key to be repopulated with
an incorrect value from a slave db.
Bug: 52200
Change-Id: I0941c93b76fb0aa8eedb883a3ed1167c6e14d0c0
Translation updater bot [Wed, 7 Aug 2013 19:34:09 +0000 (19:34 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I479c11deb744b7c44a5a814985166dcbd60ea261
Brian Wolff [Thu, 6 Jun 2013 03:55:18 +0000 (00:55 -0300)]
Have separate timeouts for upload by url ($wgCopyUpload[Async]Timeout)
Add $wgCopyUploadTimeout and $wgCopyUploadAsyncTimeout to control
the timeout for the http request used to fetch the file during upload
by url. People reasonably may want to make this higher than $wgHTTPTimeout
for the case where very large files are being downloaded.
Also add the ability for callers of UploadFromUrl::fetchFile
to override the timeout as they please (and set any other HTTP opts).
This patch was inspired by conversation with dan-nl about gwtoolset.
Change-Id: Ia85a97434c14adcdaafc0802cbe0530bfa57a435
Matthias Mullie [Wed, 7 Aug 2013 16:14:18 +0000 (18:14 +0200)]
Make revision content decompression publicly available
compressRevisionText() is already publicly available, but the decompression was
not. For others using compressRevisionText(), the only way to decompress was to
duplicate the gzinflate code.
Change-Id: I61cd87acb52a482ba88f7c9d3826ecee66c89911
jenkins-bot [Wed, 7 Aug 2013 18:00:40 +0000 (18:00 +0000)]
Merge "thumb_handler.php doesn't seem to extract path_info correctly"
Derk-Jan Hartman [Wed, 7 Aug 2013 15:22:59 +0000 (17:22 +0200)]
Accessibility: make columnheader the primary role of the element
The role attribute overrides implicit roles. Since here the
columnheader role of the th is more important than the secondary role
of being a button, we should force it explicitly in that order.
Follow up of: I2b937eba605b7e6a98612a02c75eb9e7f3477527
Change-Id: I07211263876a58c62e5a349eab6f78e43d412680
Derk-Jan Hartman [Wed, 7 Aug 2013 15:29:18 +0000 (17:29 +0200)]
Accessibility: Don't arbitrarily override role
Role overrides implicit role of an element. Since here we don't know
the original element type that we are overriding, we shouldn't just
set the role. It might break th, li etc items.
In the long term, we should add a jquery.accessibility lib that can
take into account things like this, without having to write a ton of
code.
Bug: 17616
Change-Id: Ie27df93acbc778396ad54abc5bde9abb3268a86d
Follow-up: If59590de159a2756bf5b859ce48a23e1af7650fa
jenkins-bot [Wed, 7 Aug 2013 14:38:32 +0000 (14:38 +0000)]
Merge "Whitelist the <wbr> element."
jenkins-bot [Tue, 6 Aug 2013 19:55:26 +0000 (19:55 +0000)]
Merge "Make line breaks in <blockquote> behave like <div> (bug 6200)."
C. Scott Ananian [Tue, 6 Aug 2013 19:22:18 +0000 (15:22 -0400)]
Make line breaks in <blockquote> behave like <div> (bug 6200).
This is an old, old bug: the earliest filed dup is bug 1857, on 2005-04-10.
However, it was not too hard to fix.
See bug 51086 for a modern discussion. With this patch the PHP parser
matches the Parsoid output.
This also fixes (or works around) bug 15491, which is really a bug in tidy.
But because <blockquote> content is typically wrapped with <p> tags now,
we don't trigger the tidy bug (see
https://bugzilla.wikimedia.org/show_bug.cgi?id=15491#c7 for details).
Credit to Aryeh Gregor (https://bugzilla.wikimedia.org/show_bug.cgi?id=6200#c8)
and Vitaliy Filippov (https://bugzilla.wikimedia.org/show_bug.cgi?id=6200#c37)
for almost-correct patches for this bug, which saved me a bunch of effort.
Bug: 6200
Bug: 15491
Change-Id: Iecab69460c6aac36acfe2d9440dc5d3590de8b57
Translation updater bot [Tue, 6 Aug 2013 19:29:03 +0000 (19:29 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I214a58c78fb3f63785ff117156746f862bc0f317
jenkins-bot [Tue, 6 Aug 2013 18:13:02 +0000 (18:13 +0000)]
Merge "Force lazy loading of text in Revision::getSerializedData()"
Petr Onderka [Tue, 6 Aug 2013 14:03:16 +0000 (16:03 +0200)]
Force lazy loading of text in Revision::getSerializedData()
Change-Id: Ic47fd482523e0a2c705c24e93525959eca52409a
jenkins-bot [Tue, 6 Aug 2013 16:11:39 +0000 (16:11 +0000)]
Merge "Update outdated references to maintenance/ in documentation comments."
C. Scott Ananian [Tue, 6 Aug 2013 15:53:27 +0000 (11:53 -0400)]
Update outdated references to maintenance/ in documentation comments.
Change-Id: I2e424addb27b980dd5e8658b8ce79590b7b5db62
jenkins-bot [Tue, 6 Aug 2013 16:04:23 +0000 (16:04 +0000)]
Merge "Non-word characters don't terminate tag names."
TheDJ [Tue, 6 Aug 2013 15:52:18 +0000 (15:52 +0000)]
Merge "jquery.makeCollapsible: Some low-level tests"
C. Scott Ananian [Tue, 6 Aug 2013 15:17:38 +0000 (11:17 -0400)]
Non-word characters don't terminate tag names.
The PHP sanitizer was including only \w+ in tag names. This meant that
<b.foo> and <bä> were converted to <b> tags (bug 17663); <s.foo> and
<s-id> were treated as <s> tags (bug 40670), and <sub-ID#1> was treated
as a <sub> tag (bug 52022). (But note that <strike> *is* actually a valid
synonym for <s>.)
Fix the sanitizer.
Bug: 17663
Change-Id: Iceec404f46703065bf080dd2cbfed1f88c204fa5
TheDJ [Tue, 6 Aug 2013 15:46:07 +0000 (15:46 +0000)]
Merge "Fix language code output for firstHeading"
Nemo bis [Tue, 6 Aug 2013 13:36:20 +0000 (15:36 +0200)]
Remove superfluous re- from confirmemail_body_set
We can't know if the email had ever been set before.
And it doesn't matter.
<https://translatewiki.net/wiki/Thread:Translating_talk:MediaWiki/About_MediaWiki:Confirmemail_body_set/en>
Change-Id: I88ae448ac6a4742ae42dd354ff784c2506105313
jenkins-bot [Tue, 6 Aug 2013 11:26:09 +0000 (11:26 +0000)]
Merge "skins: Make border style of <pre> more subtle for common skins"
jenkins-bot [Tue, 6 Aug 2013 07:43:50 +0000 (07:43 +0000)]
Merge "Batch retreival of ES data with minimal round trips"
jenkins-bot [Mon, 5 Aug 2013 23:44:25 +0000 (23:44 +0000)]
Merge "Customise linktrail for Gujarati (gu)"