Translation updater bot [Tue, 29 May 2012 19:17:15 +0000 (19:17 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ia3e858b72222f17a8bdefcfac3541f97327a6ffc
Hashar [Tue, 29 May 2012 18:59:38 +0000 (18:59 +0000)]
Merge "Change if/else to a ternary operator"
Platonides [Mon, 28 May 2012 17:37:35 +0000 (19:37 +0200)]
Change if/else to a ternary operator
This keep the wfProfileOut() detector happy.
Change-Id: I85ecc33121d94e6a2d2e8ea3d1f5ca47f3db86bc
Hashar [Tue, 29 May 2012 18:43:55 +0000 (18:43 +0000)]
Merge "Minor changes to Ic50d01f5 Accept-Language code."
Platonides [Mon, 28 May 2012 16:23:53 +0000 (18:23 +0200)]
Minor changes to Ic50d01f5 Accept-Language code.
Minor improvments to commit
894c5c1
Change-Id: I8cc63cb1ba2c3aa74ca9e225022d5be75e75ad23
Aaron Schulz [Tue, 29 May 2012 18:08:25 +0000 (18:08 +0000)]
Merge "wfProfileOut() for new return added in c6396 (
c4e407c)"
Platonides [Tue, 29 May 2012 17:34:43 +0000 (19:34 +0200)]
wfProfileOut() for new return added in c6396 (
c4e407c)
Change-Id: I9fed0ba277fb32df65a772c8c4de123e2867b4c5
Aaron Schulz [Tue, 29 May 2012 17:29:19 +0000 (17:29 +0000)]
Merge "Adding sanity check to Title::isRedirect()."
Alexandre Emsenhuber [Tue, 29 May 2012 17:09:01 +0000 (19:09 +0200)]
Fix user rights check to display the "revert" link on file histories.
* Don't do expensive checks for display (for the consistency of the interface)
* Removed the logged-in check and changed it for 'upload' right (as the user need this right to execute the action)
Change-Id: Ie5752e5292a953cbcf81ab665365c3efbd4eba6a
Aaron Schulz [Sat, 26 May 2012 20:27:38 +0000 (13:27 -0700)]
Handle more ES exceptions when getting text.
Change-Id: I795dce37bcf4a24d5922d2d5166bf27ba9b77607
Max Semenik [Fri, 25 May 2012 15:05:21 +0000 (19:05 +0400)]
`mobile` sub-directories for mobile-related code
Move DeviceDetection.php and DeviceDetectionTest.php
Change-Id: Ia4aaf7ad499dd2021ef9d2ebf7f6d829e8fc4656
daniel [Thu, 24 May 2012 14:42:26 +0000 (16:42 +0200)]
Adding sanity check to Title::isRedirect().
isRedirect() assumes that the LinkCache already contains
information about this title. If that is not the case, it
currently returns false, even though it just doesn't know
whether this link is a redirect.
The new check asserts the assumption that this title
is already known to the link cache.
Amend: use Exception instead of assert()
Change-Id: Id3ad2d4e140b270b1f5ca1f7af9b3320cffff5a2
Platonides [Mon, 28 May 2012 16:39:57 +0000 (18:39 +0200)]
tests covering WebRequest->getAcceptLang()
Change-Id: I981574e854bc43aba2bd5def7cb6b1b665c5b6ca
Hoo man [Sun, 27 May 2012 12:37:19 +0000 (14:37 +0200)]
Fixed the API doc. for aurights (list=allusers)
Listings with aurights can't show users with rights which are
granted by implicit or auto-promoted groups like *, user, or autoconfirmed.
This is my first commit, btw.
Change-Id: I083eb977393729961317d0f3cf9f7cfaa50fde51
Liangent [Tue, 29 May 2012 08:03:59 +0000 (16:03 +0800)]
(bug 37186) Remove hard coded parentheses in ImagePage.php
Change-Id: Ib516e501953f37a69707a5de3e2ed96004760caa
Siebrand [Tue, 29 May 2012 07:40:22 +0000 (07:40 +0000)]
Merge "Use localised parentheses for Han script autonyms"
Nikerabbit [Tue, 29 May 2012 07:36:27 +0000 (07:36 +0000)]
Merge "All zh messages should be falling back to a variant (zh-hans currently)"
Translation updater bot [Tue, 29 May 2012 07:28:57 +0000 (07:28 +0000)]
Use localised parentheses for Han script autonyms
Change-Id: I93a056cd7d5fd9c4d76dce1ee74f62b57ae3135f
Liangent [Tue, 29 May 2012 07:04:34 +0000 (15:04 +0800)]
All zh messages should be falling back to a variant (zh-hans currently)
The use of 'disable' in variant names has been overrided by
$wgDisabledVariants years ago.
Change-Id: Ifd66f4de66cb3af83303145403b6d446a00c4b3b
Siebrand [Tue, 29 May 2012 06:29:10 +0000 (06:29 +0000)]
Merge "Use message 'parentheses' in prefs-changeemail."
Liangent [Tue, 29 May 2012 03:22:54 +0000 (11:22 +0800)]
Use message 'parentheses' in prefs-changeemail.
Change-Id: Iba4498b93e3ae45be84b6716bd6764ddfab7c113
Aaron Schulz [Mon, 28 May 2012 22:36:38 +0000 (22:36 +0000)]
Merge "$wgUseSquid unused since parent commit (
fa1a8d5)"
Translation updater bot [Mon, 28 May 2012 19:00:20 +0000 (19:00 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ic7ab821c94d801f69eb7f9b616b38fd471f65367
Platonides [Mon, 28 May 2012 17:32:18 +0000 (19:32 +0200)]
$wgUseSquid unused since parent commit (
fa1a8d5)
Change-Id: I47e103e6c4bb44f74f9d940505775ac2f2e66b29
Platonides [Mon, 28 May 2012 16:33:07 +0000 (16:33 +0000)]
Merge "Tweak Accept-Language sorting method to respect RFC 3282."
Nikerabbit [Mon, 28 May 2012 15:15:33 +0000 (15:15 +0000)]
Merge "bug 37015: Allow disabling special page summary"
Reedy [Mon, 28 May 2012 14:43:06 +0000 (15:43 +0100)]
Forward port of https://mediawiki.org/wiki/Special:Code/MediaWiki/105964
"Temporary workaround for bug 31576. The logs show that once every hour or so, a job runner somewhere in the cluster somehow loses all its magic words and starts hitting this case. Throwing an exception should kill the job runner before it does too much damage."
Currently keeps being re-imported into deployment branches...
Change-Id: I9d6ef2f4e0755a86476388508a8c08266fc94a9f
Nikerabbit [Mon, 28 May 2012 13:34:12 +0000 (13:34 +0000)]
Merge "Revert "Remove old compat methods/functions for mb_ functions""
Reedy [Mon, 28 May 2012 12:55:31 +0000 (12:55 +0000)]
Revert "Remove old compat methods/functions for mb_ functions"
mb_ functions are in an extension, but apparently not enabled/compiled in by default. Safer to just keep these around till it maybe happens in the future
This reverts commit
1497bd1f36567a5ba39346af879abfbcc2539665
Liangent [Mon, 28 May 2012 10:51:53 +0000 (18:51 +0800)]
Tweak Accept-Language sorting method to respect RFC 3282.
Now in Accept-Language handling (in the language converter),
languages appearing earlier in the list are treated as more
preferred languages (variants).
Change-Id: Ic50d01f52dce1ae1f4f4e747d5f8b8399ca03b0b
Reedy [Sun, 27 May 2012 21:43:37 +0000 (21:43 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Sun, 27 May 2012 19:45:42 +0000 (19:45 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Id6e1aac5c0c91f83e2e2ded8ac9937035bb9c104
Antoine Musso [Sun, 27 May 2012 19:40:19 +0000 (21:40 +0200)]
remove windows lines ending
Introduced by commit
6c2cf98
https://gerrit.wikimedia.org/r/8919
Change-Id: Idfe6dd1f6d2b7fabfdbccd9acf6f0dcbbb5833be
Alexandre Emsenhuber [Sun, 27 May 2012 17:28:22 +0000 (19:28 +0200)]
Check validity of fetched titles and show a descriptive messages when an invalid title is encountered.
Change-Id: I84804c9d89e778d263c781393afe9c8f70395c99
Aaron Schulz [Sun, 27 May 2012 16:33:39 +0000 (16:33 +0000)]
Merge "Remove old compat methods/functions for mb_ functions"
Aaron Schulz [Sun, 27 May 2012 16:30:05 +0000 (16:30 +0000)]
Merge "Block.php: replace '*' with explicit fields in selects"
Aaron Schulz [Sun, 27 May 2012 16:26:42 +0000 (16:26 +0000)]
Merge "Fix trailing whitespace (and mixed spaces) in XSD files"
umherirrender [Sun, 27 May 2012 15:47:29 +0000 (17:47 +0200)]
setTitle on a new null revision
Revision::getTitle will make a query against slave to load the title on
demand. But when there is a slave lag, the slave does not know the new
revision id and the caller gets null back
Change-Id: Ia85866362715ba666d51106037e7771d6bf4a237
Reedy [Sun, 27 May 2012 13:03:29 +0000 (14:03 +0100)]
Fix trailing whitespace (and mixed spaces) in XSD files
Change-Id: Ie3c9917442c0bb47e1e95ad304943a721eb430cd
Reedy [Sun, 27 May 2012 12:10:08 +0000 (13:10 +0100)]
Remove old compat methods/functions for mb_ functions
PHP docs suggest all were added well before our minimum version, and as such should exist
Change-Id: I6921b1374df0b997b3519699556528973882565a
Nikerabbit [Sun, 27 May 2012 06:29:09 +0000 (06:29 +0000)]
Merge "Set title for Linker::revComment on Special:NewPages"
Krinkle [Sat, 26 May 2012 23:57:34 +0000 (23:57 +0000)]
Merge "Revert "Re-phrased titles for diff and history pages""
Krinkle [Sat, 26 May 2012 23:54:58 +0000 (23:54 +0000)]
Revert "Re-phrased titles for diff and history pages"
This reverts commit
af988eccc8981467c8bf4b639b47f673ab8d59e6
- It is inconsistent with all other actions and special pages (move page, edit page, delete page, What links here, search, ...)
- The exact spelling is (whether or not to uppercase the suffix, how to use quotation) is under heavy discussion on en.wikipedia (although it is not deployed yet, someone took the liberty to make the same change locally to see how people react, see also next point)
- Whether or not this actually improves tabbed browsing is imho highly doubtful. I consider myself to be an active vandal fighter and when working with fixing up vandals' contributions I sometimes have 50 tabs open. Some are diffs some are history etc. Knowing the action is imho more important than the page title. But having said that, both have their fair points (Either you can have 3 tabs like "Foo:Bar .." and not know which is what action. Or have 3 tabs like "Difference be.." and not know which is for which page). Imho the breadcrumb path "Action < Page < Site" makes more sense.
- See also discussion on the original gerrit change
Overal revert summary: Has issues, until resolved and if still relevant after that, for now reverting to status quo.
Krinkle [Sat, 26 May 2012 21:34:32 +0000 (21:34 +0000)]
Merge "[ResourceLoader] Use getLanguage() accessor as the field is lazy-loaded."
Alexandre Emsenhuber [Sat, 26 May 2012 16:31:32 +0000 (18:31 +0200)]
Removed function_exists() check for header_remove() since it's now always available.
header_remove() was added in PHP 5.3.0 which is below that our minimum requirement; also fixed a comment for the minimum required PHP version.
Change-Id: Ib6992ed772f1a707f96020fdfe6eb6152102402a
umherirrender [Sat, 26 May 2012 19:10:52 +0000 (21:10 +0200)]
Set title for Linker::revComment on Special:NewPages
When Linker::revComment gets the title from the revision object, he can
produce section links for autocomments
This will also avoid a query per non-empty comment, because the revision
object loads the title on demand, if not set
Change-Id: I891afe9aaa6eeeb8382a6131376c26690082a8c7
Alexandre Emsenhuber [Sat, 26 May 2012 16:13:31 +0000 (18:13 +0200)]
Check validity of fetched titles and show a descriptive messages when an invalid title is encountered.
Change-Id: I8989430db3eb817d24b5128df46942eda15eb535
Siebrand [Sat, 26 May 2012 10:49:30 +0000 (10:49 +0000)]
Merge "Localisation updates from translatewiki.net."
raymond [Sat, 26 May 2012 07:27:00 +0000 (09:27 +0200)]
Follow up change Ia4147e83: Register new message key
Change-Id: I6087a02ebe82e22984621c0667ecc5f6b76533d8
awjrichards [Fri, 25 May 2012 23:23:05 +0000 (23:23 +0000)]
Merge "Adding a prefs header for options related to User Pages"
Aaron Schulz [Fri, 25 May 2012 22:39:30 +0000 (22:39 +0000)]
Merge "(bug 4220) dump schema get unique contraints on id"
Aaron [Fri, 25 May 2012 21:52:39 +0000 (14:52 -0700)]
[ResourceLoader] Use getLanguage() accessor as the field is lazy-loaded.
Change-Id: I6a106d1557366f6ff4586c9604fd324be51d7e1f
Translation updater bot [Fri, 25 May 2012 19:54:33 +0000 (19:54 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I41a2a158064fa9545cd14fdb98e34d657402bef5
Kaldari [Fri, 25 May 2012 19:07:04 +0000 (12:07 -0700)]
Adding a prefs header for options related to User Pages
Right now this is mostly for WikiLove, which needs to be moved out
of the Labs header
Change-Id: Ia4147e83a9c47daad22b7e3dafe09b541ac95000
Aaron Schulz [Fri, 25 May 2012 19:06:03 +0000 (19:06 +0000)]
Merge "Add passing test for definition list with empty definition"
Aaron Schulz [Fri, 25 May 2012 17:14:08 +0000 (17:14 +0000)]
Merge "user table: replace some '*' with explicit fields in selects"
Aaron Schulz [Fri, 25 May 2012 17:10:18 +0000 (17:10 +0000)]
Merge "Title.php: replace some '*' with explicit fields in selects"
Aaron Schulz [Fri, 25 May 2012 17:04:52 +0000 (17:04 +0000)]
Merge "Avoid extreme performance regression in ImagePage."
Catrope [Fri, 25 May 2012 16:01:28 +0000 (16:01 +0000)]
Merge "Add some more detailed info about the xslt param of format=xml"
Liangent [Wed, 16 May 2012 12:48:36 +0000 (20:48 +0800)]
Add some more detailed info about the xslt param of format=xml
Change-Id: I77e1dcbdf3ff1d201a2346c5a397469b4fc21d74
umherirrender [Fri, 25 May 2012 15:53:29 +0000 (17:53 +0200)]
user table: replace some '*' with explicit fields in selects
It is good practice to select only fields, which are used later
Change-Id: Iaaa252d594112894334a8ee9916007352d5bc4e7
umherirrender [Fri, 25 May 2012 14:55:25 +0000 (16:55 +0200)]
Title.php: replace some '*' with explicit fields in selects
It is good practice to select only fields, which are used later
Change-Id: I4e765d60aea3c11261497346a85e65ed755a085d
umherirrender [Fri, 25 May 2012 14:50:57 +0000 (16:50 +0200)]
Block.php: replace '*' with explicit fields in selects
It is good practice to select only fields, which are used later
Change-Id: I50d149b3ecd3a9e0325fecbe8d0b6e1fff353893
Nikerabbit [Fri, 25 May 2012 13:44:05 +0000 (13:44 +0000)]
Merge "Fix a typo in resources/jquery/jquery.byteLimit.js"
Gabriel Wicke [Fri, 25 May 2012 13:37:53 +0000 (15:37 +0200)]
Add passing test for definition list with empty definition
Change-Id: I850f2389274aca76bab0b4a340a14af58e349b93
Elvis Stansvik [Fri, 25 May 2012 07:44:26 +0000 (09:44 +0200)]
(bug 4220) dump schema get unique contraints on id
This patch was made in December 2005 by Elvis Stansvik on bug 4220, you
will find below the rewritten introduction for his patch contribution.
"""
The XML Schema for the XML dump format used by MediaWiki has no
constraints for the page and revision identifiers. This patch solve that
issue by enforcing the constraint in the XSD.
It most probably makes sense, since I think that:
- some parsers capable of Schema validation can work more efficiently
if constraints are in the XSD.
- Another reason is that (however unlikely) some other software might
output files in this format are not obliged to keep the IDs unique,
according the the XSD in its current form.
"""
Updating the http://www.mediawiki.org/xml/export-0.7/ public URL is
tracked by bug 37111.
Change-Id: Idb82fe620c3395acaa8f051b4d4d0d770cd33d44
Liangent [Fri, 25 May 2012 05:08:36 +0000 (13:08 +0800)]
Fix a typo in resources/jquery/jquery.byteLimit.js
Change-Id: I35d501704567eb62bcb905f0d9633fefd4c23271
Aaron Schulz [Thu, 24 May 2012 23:31:30 +0000 (23:31 +0000)]
Merge "HTMLForm: throw a warning when no callback is set"
Aaron Schulz [Thu, 24 May 2012 23:26:16 +0000 (23:26 +0000)]
Merge "Make it work in wikis not configured in English. (hardcodes message values) php phpunit.php includes/WikiPageTest.php"
Aaron Schulz [Thu, 24 May 2012 23:21:12 +0000 (23:21 +0000)]
Merge "(bug 36761) "Mark pages as visited" should submit previously established filter options The form was missing the hidden inputs containing the filter options already selected. This change fixes adds those inputs."
Aaron Schulz [Thu, 24 May 2012 23:11:17 +0000 (23:11 +0000)]
Merge "Scribunto parser support"
Siebrand [Thu, 24 May 2012 21:58:25 +0000 (21:58 +0000)]
Merge "Localisation updates from translatewiki.net."
Brion VIBBER [Thu, 24 May 2012 21:08:40 +0000 (21:08 +0000)]
Merge "[FileBackend] Added getScopedLocksForOps() function."
Aaron Schulz [Thu, 24 May 2012 21:05:45 +0000 (21:05 +0000)]
Merge "Bug 36785 Special:Shortpages lists only NS_MAIN pages. (pages from all $wgContentNamespaces should be listed)"
Translation updater bot [Thu, 24 May 2012 19:52:26 +0000 (19:52 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I9f9710c8961fcde617b526c28aefd98f5ff312f7
Aaron Schulz [Thu, 24 May 2012 18:51:18 +0000 (18:51 +0000)]
Merge "Workaround for autoloading when using php namespace."
Brion VIBBER [Thu, 24 May 2012 18:49:50 +0000 (18:49 +0000)]
Merge "When file sha1 populator fixes wrong values, make it fix the other metadata."
Brion VIBBER [Thu, 24 May 2012 18:48:38 +0000 (18:48 +0000)]
Merge "Work around annoying Revision::newFromArchiveRow exception."
mrbluesky [Sun, 15 Apr 2012 00:12:01 +0000 (02:12 +0200)]
Add and fix comments in some includes files
Change-Id: If781ad1a9eeba8310cef97dc9786685e8b265fa1
daniel [Thu, 24 May 2012 13:37:49 +0000 (15:37 +0200)]
Workaround for autoloading when using php namespace.
This is a Workaround for PHP bug <https://bugs.php.net/bug.php?id=49143> (5.3.2. is broken, it's fixed in 5.3.6):
Strip leading backslashes from class names. When namespaces are used, leading backslashes are used to indicate
the top-level namespace, e.g. \foo\Bar. When used like this in the code, the leading backslash isn't passed to
the auto-loader ($className would be 'foo\Bar'). However, if a class is accessed using a string instead of a
class literal (e.g. $class = '\foo\Bar'; new $class()), then some versions of PHP do not strip the leading
backlash in this case, causing autoloading to fail.
amended: as per Jeroen's suggestion, used // for comments and ltrim instead of preg_replace.
Change-Id: I71e0429ed1da5c83262dbf6f989c782385af9bcb
Platonides [Wed, 23 May 2012 21:09:15 +0000 (23:09 +0200)]
Make it work in wikis not configured in English.
(hardcodes message values)
php phpunit.php includes/WikiPageTest.php
Change-Id: I4b93d983f467fd281695be5ac778d30db0b09c17
Aaron Schulz [Wed, 23 May 2012 20:18:57 +0000 (13:18 -0700)]
Work around annoying Revision::newFromArchiveRow exception.
Change-Id: Ib5cfae54b12fd2fee5120d7dbae7a1e2b99b0181
Reedy [Wed, 23 May 2012 19:37:49 +0000 (19:37 +0000)]
Merge "Skip legacy archives rows that already have the sha1 filled."
Aaron Schulz [Wed, 23 May 2012 19:32:50 +0000 (19:32 +0000)]
Merge "Revert "(bug 30625) Add, to every API upload response, the warnings raised.""
Aaron Schulz [Wed, 23 May 2012 19:28:09 +0000 (12:28 -0700)]
Skip legacy archives rows that already have the sha1 filled.
Change-Id: I070413a736211017022c7ae36a9efab3aa0e1fe1
Brion VIBBER [Wed, 23 May 2012 19:27:48 +0000 (19:27 +0000)]
Revert "(bug 30625) Add, to every API upload response, the warnings raised."
Inconsistent formatting (returns an empty array vs a full object, breaks UploadWizard)
This reverts commit
e2b3d53db5c766dea3ea1d34e4136259214a03c9
Alexandre Emsenhuber [Wed, 23 May 2012 17:35:12 +0000 (19:35 +0200)]
Removed checks for the "MEDIAWIKI" constant on files that only define classes.
This checks are not needed in that case.
Change-Id: Ia83447427de8b7ea32aced8ff43c7a252b8d504c
Aaron Schulz [Wed, 23 May 2012 19:04:29 +0000 (12:04 -0700)]
When file sha1 populator fixes wrong values, make it fix the other metadata.
Change-Id: Ie03af8b97dc76d2ab4990108b9189693fcf81697
Aaron Schulz [Wed, 23 May 2012 17:15:48 +0000 (10:15 -0700)]
Added canonical url check for squid caching on view.
* This check is similar to the HistoryAction one. It prevents things from
getting cached that do not get purged with the page is invalidated.
Change-Id: Ie38ae198b173533937103d66478a9ccb5b086175
Alexandre Emsenhuber [Wed, 23 May 2012 11:41:30 +0000 (13:41 +0200)]
Added missing GPLv2 headers in some places.
Also made file documentation more consistent.
Change-Id: I30e124514396f110a572467b94ca06cefd5f7b46
Aaron [Thu, 10 May 2012 18:15:29 +0000 (11:15 -0700)]
[FileRepo] Cleanup of URL config.
* Made the 'zones' config a bit easier to set by falling back to defaults more piecemeal.
Each zone now also has a 'url' parameter. This is useful for CDN support for third parties.
* Deprecated weirdly name getRootUrl() function and made it wrap getZoneUrl( 'public' ).
Change-Id: I8295a81e9cc56c08069b35fa4e4f883fd0108df7
Tim Starling [Tue, 22 May 2012 23:37:53 +0000 (09:37 +1000)]
Remove OutputPage::uncacheableBecauseRequestvars()
Fix for r10265: OutputPage::uncacheableBecauseRequestvars() as written
in that revision is backwards, apparently declaring all requests to be
uncacheable except those with useskin or uselang. Luckily getText() has
always converted its default parameter to a string, so the triple-equals
comparisons always fail, and uncacheableBecauseRequestvars() always
returns false.
In any case, it was never necessary to suppress the client-side cache
for useskin/uselang views, so the accidental behaviour was appropriate.
Change-Id: I520940867509b986a47d63ead9b549e8aa82fa1f
awjrichards [Tue, 22 May 2012 21:40:59 +0000 (21:40 +0000)]
Merge "Refactor DeviceDetection: make it OOP and extendable"
Max Semenik [Mon, 21 May 2012 18:32:35 +0000 (22:32 +0400)]
Refactor DeviceDetection: make it OOP and extendable
Old interfaces are preserved for b/c for now. Stuff that needs to die
such as css_file_name has not been exposed for new interfaces.
Remove unused device properties.
Change-Id: I9b08eb81625a5570e700d9b690c03a001316de71
Aaron Schulz [Tue, 22 May 2012 21:26:33 +0000 (21:26 +0000)]
Merge "(bug 30625) Add, to every API upload response, the warnings raised."
Mark Holmquist [Fri, 11 May 2012 20:39:57 +0000 (13:39 -0700)]
(bug 30625) Add, to every API upload response, the warnings raised.
The current API implementation has a parameter for uploads that is
called "ignorewarnings". Currently, it will not only suppress any
warnings from stopping the upload, it will also lose any data from
those warnings.
This patch is sort of on the way to solving Bug 30625, which is in
the UploadWizard extension. That extension needs to know when a file
upload *will* fail, barring a change in some data, in order to make
it easier for a user to fix the foreseeable problems. The solution is
either to fix it this way, or to somehow spoof a file upload, and see
if it succeeds. In the hopes that other extensions will also find
this useful, I opted for the former.
Change-Id: I08b4e29e89ade6cf391ae044fceb788aaba3f5b4
Reedy [Tue, 22 May 2012 21:18:17 +0000 (21:18 +0000)]
Merge "Localisation updates from translatewiki.net."
Reedy [Tue, 22 May 2012 21:18:13 +0000 (21:18 +0000)]
Merge "Localisation updates from translatewiki.net."
Reedy [Tue, 22 May 2012 21:16:46 +0000 (21:16 +0000)]
Merge "Localisation updates from translatewiki.net."
Reedy [Tue, 22 May 2012 21:16:40 +0000 (21:16 +0000)]
Merge "Localisation updates from translatewiki.net."