wiki.techinc.nl/includes
Brian Wolff 6d59689af5 In UploadStash, prioritize core metadata over file handler metadata
If us_props is too big for the database (> 64kb), don't store the
file handler metadata. This is usually by far the biggest portion
(For pdf/djvu it contains OCR data), and it's non-critical to the
upload process as it's only needed for display, and the file handler
will probably regenerate it anyway if it is missing.

At some point in the future, having data too big for a db field
is probably going to cause errors instead of silent truncation,
so we really don't want to be doing silent truncation.

An alternative way to solve T94562 might be to make it use us_sha1
instead of the one encoded in us_props, but seems like it's important
to fix us_props for other data in it too.

Bug: T94562
Change-Id: I8aed6a1a5c9a136090b36d4ad23d8429791f58c4
2015-10-25 12:19:32 -06:00
..
actions Update getWithSetCallback() callers to the newer signature 2015-10-07 19:27:08 -07:00
api Localisation updates from https://translatewiki.net. 2015-10-23 21:27:57 +02:00
cache resourceloader: Remove CacheEpoch from MessageBlobStore::getFromDB 2015-10-21 02:40:06 +00:00
changes Merge "Enable users to watch category membership changes #2" 2015-10-20 21:41:16 +00:00
changetags Fix ChangeTag "lockTSE" values as INF does not actually work 2015-10-22 14:00:06 -07:00
clientpool Remove some MW dependencies from RedisConnectionPool 2015-10-24 15:06:24 -07:00
compat Fix issues identified by SpaceBeforeSingleLineComment sniff 2015-09-26 23:06:52 +00:00
composer
config
content Improve error message for missing content model on import 2015-10-10 19:51:20 +11:00
context Make long lines shorter to pass phpcs in 6 files 2015-09-26 17:07:06 +00:00
dao
db Make DBReadOnlyError extend DBExpectedError 2015-10-24 13:13:01 -07:00
debug Fix namespaced class references for Doxygen 2015-10-08 11:10:33 -06:00
deferred Merge "Make LinksUpdate::__construct() use normal type hints" 2015-10-22 21:10:34 +00:00
diff Convert some users to WANObjectCache for consistency 2015-10-19 16:46:52 +00:00
exception Handle $frame['function'] not being set in stack frames 2015-10-14 13:05:29 +00:00
externalstore Update more docs and type hints to use IDatabase 2015-10-06 18:49:52 -07:00
filebackend Minor fix to primeFileCache() comment 2015-10-23 17:18:56 -07:00
filerepo Merge "Update getWithSetCallback() callers to the newer signature" 2015-10-08 15:53:13 +00:00
gallery Load module mediawiki.page.gallery.styles for all ImageGalleries 2015-09-24 16:46:47 +02:00
htmlform Split out UserInputWidgets from mediawiki.widgets 2015-10-07 08:54:35 -07:00
installer Merge "Install link to Manual:Combating_spam on the home page" 2015-10-25 07:02:05 +00:00
interwiki Update getWithSetCallback() callers to the newer signature 2015-10-07 19:27:08 -07:00
jobqueue Merge "Remove paranoid title check from RefreshLinksJob::runForTitle" 2015-10-25 07:12:41 +00:00
json
libs ObjectFactory: avoid using ReflectionClass 2015-10-25 00:13:32 +00:00
logging Skip user namespace prefix for rights log entry 2015-10-10 07:38:10 +02:00
mail Of course EmailNotification::updateWatchlistTimestamp returns users ids 2015-10-13 17:30:04 +01:00
media Avoid exposure of local path in PNG thumbnails 2015-10-16 14:51:09 -07:00
objectcache Move some memcached classes to /libs 2015-10-24 15:27:42 -07:00
page poolcounter: Add 'trigger' field to the slow-parse log 2015-10-23 20:53:37 +00:00
pager Update more docs and type hints to use IDatabase 2015-10-06 18:49:52 -07:00
parser Remove buggy b/c logic in Parser::disableCache()/updateCacheExpiry() 2015-10-23 12:35:43 -07:00
password User: Mostly remove password handling 2015-10-13 16:10:41 -06:00
poolcounter poolcounter: Add 'trigger' field to the slow-parse log 2015-10-23 20:53:37 +00:00
profiler Merge "Make TransactionProfiler show the actual query times" 2015-10-23 01:32:00 +00:00
rcfeed
registration Upgrade composer/semver to 1.0.0 2015-10-01 21:21:04 +00:00
resourceloader resourceloader: Wrap another CSSMin::remap call in MemoizedCallable::call 2015-10-20 21:05:37 +00:00
revisiondelete SECURITY: RevDel: Check all revisions for suppression, not just the first 2015-10-16 14:11:20 -07:00
search Fix long line to make phpcs pass 2015-10-06 16:05:08 +03:00
site Site: fix copy-n-paste phpdoc 2015-10-07 15:21:28 -06:00
skins Remove $wgAjaxWatch configuration variable 2015-10-20 22:51:09 +01:00
specialpage Add check for RCWatchCategoryMembership before trying to access form option 2015-10-21 01:07:58 +02:00
specials Merge "Cleanup on Special:AllPages and Special:PrefixIndex" 2015-10-25 18:41:56 +00:00
templates Remove dead local vars in UsercreateTemplate 2015-09-10 19:28:45 +00:00
tidy Fix issues identified by SpaceBeforeSingleLineComment sniff 2015-09-26 23:06:52 +00:00
title Fix two PHPCS warnings in NaiveForeignTitleFactory.php 2015-09-28 14:19:29 +02:00
upload In UploadStash, prioritize core metadata over file handler metadata 2015-10-25 12:19:32 -06:00
utils Merge "Small optimization for FileContentsHasher" 2015-10-07 15:25:58 +00:00
widget build: Use my gmail address for attribution 2015-10-20 02:43:29 +01:00
.htaccess
AjaxDispatcher.php
AjaxResponse.php Convert some users to WANObjectCache for consistency 2015-10-19 16:46:52 +00:00
AuthPlugin.php Add new authentication-related hooks (and remove one) replacing some AuthPlugin methods 2015-09-18 10:46:13 -04:00
AutoLoader.php
Autopromote.php
Block.php Convert some users to WANObjectCache for consistency 2015-10-19 16:46:52 +00:00
Category.php Avoid creating lots and lots of cat_id gaps 2015-10-16 23:31:08 -04:00
CategoryFinder.php Update more docs and type hints to use IDatabase 2015-10-06 18:49:52 -07:00
CategoryViewer.php
Collation.php Change some line comments to multi line comments 2015-10-14 09:40:50 +02:00
DefaultSettings.php Merge "Provide some default $wgRateLimits values" 2015-10-24 07:28:11 +00:00
Defines.php Introduce CategoryMembershipChange 2015-09-29 23:59:34 +01:00
DeprecatedGlobal.php
EditPage.php Handle revisions with different content models in EditPage 2015-10-16 20:06:49 -04:00
Export.php Update various @params from DatabaseBase to IDatabase 2015-10-05 05:24:29 +00:00
Fallback.php
Feed.php Feed.php: Apply wfBCP47 to language code 2015-09-23 18:11:07 +00:00
FeedUtils.php Fix issues identified by SpaceBeforeSingleLineComment sniff 2015-09-26 23:06:52 +00:00
FileDeleteForm.php Return log id for file deletions 2015-10-07 10:19:36 -04:00
ForkController.php
FormOptions.php
GitInfo.php
GlobalFunctions.php Make DB handles inherit configured read-only mode 2015-10-20 23:27:14 +00:00
HistoryBlob.php
Hooks.php Make hookErrorHandler() only care about serious signature errors 2015-10-21 17:49:31 -07:00
Html.php Typo in comment of Html::radio() 2015-10-16 13:51:00 +00:00
HtmlFormatter.php Remove empty line comments 2015-10-14 09:46:44 +02:00
HttpFunctions.php When using fopen on https streams, disable weak ciphers and compression 2015-10-11 03:00:10 +00:00
Import.php Set correct parentid on import 2015-10-09 16:12:21 +02:00
Licenses.php
limit.sh
Linker.php Remove empty line comments 2015-10-14 09:46:44 +02:00
LinkFilter.php Update more docs and type hints to use IDatabase 2015-10-06 18:49:52 -07:00
MagicWord.php Throw Exceptions on preg_* failures in MagicWordArray::matchAndRemove() 2015-10-23 16:24:42 +00:00
MediaWiki.php Make DeferredUpdates::doUpdates always commit per task 2015-10-22 01:27:08 +00:00
MediaWikiVersionFetcher.php
Message.php Various WikiPage code cleanups 2015-10-08 04:42:25 +00:00
mime.info adding 7zip archives to the MIMEs 2015-10-14 13:19:24 +00:00
mime.types adding 7zip archives to the MIMEs 2015-10-14 13:19:24 +00:00
MimeMagic.php Fix issues identified by SpaceBeforeSingleLineComment sniff 2015-09-26 23:06:52 +00:00
MovePage.php
MWNamespace.php Sort MWNamespace::getValidNamespaces list numerically 2015-10-05 22:12:32 -06:00
MWTimestamp.php Fix Generic.Files.LineLength phpcs failure in 11 files under includes/ 2015-10-03 17:08:26 +00:00
NoLocalSettings.php Fix "installer started" detection 2015-10-09 17:34:48 -04:00
OutputHandler.php Replace XVO with support for the Key HTTP header 2015-10-07 21:26:40 -07:00
OutputPage.php Change some line comments to multi line comments 2015-10-14 09:40:50 +02:00
PathRouter.php
PHPVersionCheck.php Fix remaining Generic.Files.LineLength failures 2015-10-03 17:23:07 +00:00
PHPVersionError.php
Preferences.php Enable users to watch category membership changes #2 2015-10-20 14:23:48 -07:00
PrefixSearch.php PrefixSearch: Avoid passing non-strings to Title::newFromText() 2015-09-02 22:57:09 -07:00
ProtectionForm.php Make lines short to pass phpcs in 2 files under includes/ 2015-09-30 05:20:03 +00:00
Revision.php Convert some users to WANObjectCache for consistency 2015-10-19 16:46:52 +00:00
RevisionList.php Update more docs and type hints to use IDatabase 2015-10-06 18:49:52 -07:00
Sanitizer.php Fix issues identified by SpaceBeforeSingleLineComment sniff 2015-09-26 23:06:52 +00:00
Setup.php Setup.php: Remove incorrect comment 2015-10-23 20:50:34 +02:00
SiteConfiguration.php
SiteStats.php Fix bad call to Database::getCacheSetOptions() 2015-10-19 12:57:34 -07:00
Status.php Cleanups to MigrateFileRepoLayout 2015-10-04 21:45:25 -07:00
StreamFile.php
StubObject.php Remove return of void method results 2015-09-10 18:45:22 +00:00
TemplateParser.php TemplateParser: Use context makeKey() instead of wfMemcKey() 2015-10-22 00:55:10 +01:00
Title.php Mark Title::setFragment() as @private 2015-10-14 13:49:43 +00:00
TitleArray.php
TitleArrayFromResult.php
User.php Fix undefined variable in User::setNewpassword 2015-10-20 10:10:30 -06:00
UserArray.php
UserArrayFromResult.php
UserRightsProxy.php Update more docs and type hints to use IDatabase 2015-10-06 18:49:52 -07:00
WatchedItem.php
WebRequest.php Remove .php5 entrypoints and $wgScriptExtension 2015-10-08 15:45:31 +01:00
WebRequestUpload.php Move WebRequestUpload class to its own file 2015-10-06 19:24:58 -07:00
WebResponse.php FauxResponse: Honor cookie options, and other cleanup 2015-09-29 22:45:56 +00:00
WebStart.php WebStart.php: Make lines shorter to make phpcs happier 2015-09-26 12:45:52 +03:00
WikiMap.php Make WikiMap fall back to sites if a site couldn't be found using $wgConf 2015-10-07 14:59:31 +02:00
Xml.php Fix issues identified by SpaceBeforeSingleLineComment sniff 2015-09-26 23:06:52 +00:00
XmlSelect.php Enable multiple default values for XmlSelect 2015-09-13 22:52:33 +00:00
ZhConversion.php Chinese Conversion Table Update 2015-8 2015-09-29 14:47:38 +08:00