Page MenuHomePhabricator

Image upload not working on a third party install
Closed, DuplicatePublic1 Story Points

Description

subj.
Special:Upload works like a charm, fyi

load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=09xdxzm:52 jQuery.Deferred exception: Cannot read property 'format' of undefined TypeError: Cannot read property 'format' of undefined
    at http://192.168.122.148/load.php?debug=false&lang=en&modules=diffMatchPatch%2Cmoment%2Coojs%2Coojs-ui%2Coojs-ui-core%2Coojs-ui-toolbars%2Coojs-ui-widgets%2Coojs-ui-windows%2Cpapaparse%2Crangefix%2Cspark-md5%7Cext.CodeMirror.data%2Clib%2CvisualEditor%7Cext.CodeMirror.mode.mediawiki%7Cext.CodeMirror.visualEditor.init%7Cext.cite.style%2CvisualEditor%7Cext.cite.visualEditor.core%2Cdata%7Cext.geshi.visualEditor%7Cext.templateData%7Cext.templateData.images%7Cext.templateDataGenerator.data%2CeditPage%2Cui%7Cext.templateDataGenerator.ui.images%7Cext.visualEditor.articleTarget%2Cbase%2Ccore%2Cdata%2CdesktopArticleTarget%2CdesktopTarget%2Cdiffing%2Cicons%2Clanguage%2Cmediawiki%2CmoduleIcons%2Cmwalienextension%2Cmwcore%2Cmwdiffing%2Cmwextensionmessages%2Cmwextensions%2Cmwformatting%2Cmwgallery%2Cmwimage%2Cmwlanguage%2Cmwlink%2Cmwmeta%2Cmwsignature%2Cmwtransclusion%2Cswitching%2Cwelcome%7Cext.visualEditor.core.desktop%7Cext.visualEditor.mwextensions.desktop%7Cext.visualEditor.mwimage.core%7Cjquery.byteLimit%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CForeignStructuredUpload%2CForeignUpload%2CUpload%2Ccldr%2CjqueryMsg%2Clanguage%2Cwidgets%7Cmediawiki.ForeignApi.core%7Cmediawiki.ForeignStructuredUpload.BookletLayout%2Cconfig%7Cmediawiki.Upload.BookletLayout%7Cmediawiki.action.view.redirectPage%7Cmediawiki.api.edit%2Cmessages%2Cupload%7Cmediawiki.diff.styles%7Cmediawiki.language.data%2Cinit%2Cnames%7Cmediawiki.libs.jpegmeta%2Cpluralruleparser%7Cmediawiki.page.gallery.styles%7Cmediawiki.skinning.content.parsoid%7Cmediawiki.widgets.CategoryMultiselectWidget%2CDateInputWidget%2CMediaSearch%2CStashedFileWidget%2CUserInputWidget%2Cstyles%7Cmediawiki.widgets.DateInputWidget.styles%7Coojs-ui-core.styles%7Coojs-ui.styles.icons-accessibility%2Cicons-alerts%2Cicons-content%2Cicons-editing-advanced%2Cicons-editing-core%2Cicons-editing-list%2Cicons-editing-styling%2Cicons-interactions%2Cicons-layout%2Cicons-media%2Cicons-moderation%2Cicons-movement%2Cicons-wikimedia%2Cindicators%2Ctextures&skin=vector&version=07gopp4:2418:465
    at Array.map (<anonymous>)
    at ForeignStructuredUpload.getDescriptions (http://192.168.122.148/load.php?debug=false&lang=en&modules=diffMatchPatch%2Cmoment%2Coojs%2Coojs-ui%2Coojs-ui-core%2Coojs-ui-toolbars%2Coojs-ui-widgets%2Coojs-ui-windows%2Cpapaparse%2Crangefix%2Cspark-md5%7Cext.CodeMirror.data%2Clib%2CvisualEditor%7Cext.CodeMirror.mode.mediawiki%7Cext.CodeMirror.visualEditor.init%7Cext.cite.style%2CvisualEditor%7Cext.cite.visualEditor.core%2Cdata%7Cext.geshi.visualEditor%7Cext.templateData%7Cext.templateData.images%7Cext.templateDataGenerator.data%2CeditPage%2Cui%7Cext.templateDataGenerator.ui.images%7Cext.visualEditor.articleTarget%2Cbase%2Ccore%2Cdata%2CdesktopArticleTarget%2CdesktopTarget%2Cdiffing%2Cicons%2Clanguage%2Cmediawiki%2CmoduleIcons%2Cmwalienextension%2Cmwcore%2Cmwdiffing%2Cmwextensionmessages%2Cmwextensions%2Cmwformatting%2Cmwgallery%2Cmwimage%2Cmwlanguage%2Cmwlink%2Cmwmeta%2Cmwsignature%2Cmwtransclusion%2Cswitching%2Cwelcome%7Cext.visualEditor.core.desktop%7Cext.visualEditor.mwextensions.desktop%7Cext.visualEditor.mwimage.core%7Cjquery.byteLimit%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CForeignStructuredUpload%2CForeignUpload%2CUpload%2Ccldr%2CjqueryMsg%2Clanguage%2Cwidgets%7Cmediawiki.ForeignApi.core%7Cmediawiki.ForeignStructuredUpload.BookletLayout%2Cconfig%7Cmediawiki.Upload.BookletLayout%7Cmediawiki.action.view.redirectPage%7Cmediawiki.api.edit%2Cmessages%2Cupload%7Cmediawiki.diff.styles%7Cmediawiki.language.data%2Cinit%2Cnames%7Cmediawiki.libs.jpegmeta%2Cpluralruleparser%7Cmediawiki.page.gallery.styles%7Cmediawiki.skinning.content.parsoid%7Cmediawiki.widgets.CategoryMultiselectWidget%2CDateInputWidget%2CMediaSearch%2CStashedFileWidget%2CUserInputWidget%2Cstyles%7Cmediawiki.widgets.DateInputWidget.styles%7Coojs-ui-core.styles%7Coojs-ui.styles.icons-accessibility%2Cicons-alerts%2Cicons-content%2Cicons-editing-advanced%2Cicons-editing-core%2Cicons-editing-list%2Cicons-editing-styling%2Cicons-interactions%2Cicons-layout%2Cicons-media%2Cicons-moderation%2Cicons-movement%2Cicons-wikimedia%2Cindicators%2Ctextures&skin=vector&version=07gopp4:2418:427)
    at ForeignStructuredUpload.getText (http://192.168.122.148/load.php?debug=false&lang=en&modules=diffMatchPatch%2Cmoment%2Coojs%2Coojs-ui%2Coojs-ui-core%2Coojs-ui-toolbars%2Coojs-ui-widgets%2Coojs-ui-windows%2Cpapaparse%2Crangefix%2Cspark-md5%7Cext.CodeMirror.data%2Clib%2CvisualEditor%7Cext.CodeMirror.mode.mediawiki%7Cext.CodeMirror.visualEditor.init%7Cext.cite.style%2CvisualEditor%7Cext.cite.visualEditor.core%2Cdata%7Cext.geshi.visualEditor%7Cext.templateData%7Cext.templateData.images%7Cext.templateDataGenerator.data%2CeditPage%2Cui%7Cext.templateDataGenerator.ui.images%7Cext.visualEditor.articleTarget%2Cbase%2Ccore%2Cdata%2CdesktopArticleTarget%2CdesktopTarget%2Cdiffing%2Cicons%2Clanguage%2Cmediawiki%2CmoduleIcons%2Cmwalienextension%2Cmwcore%2Cmwdiffing%2Cmwextensionmessages%2Cmwextensions%2Cmwformatting%2Cmwgallery%2Cmwimage%2Cmwlanguage%2Cmwlink%2Cmwmeta%2Cmwsignature%2Cmwtransclusion%2Cswitching%2Cwelcome%7Cext.visualEditor.core.desktop%7Cext.visualEditor.mwextensions.desktop%7Cext.visualEditor.mwimage.core%7Cjquery.byteLimit%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CForeignStructuredUpload%2CForeignUpload%2CUpload%2Ccldr%2CjqueryMsg%2Clanguage%2Cwidgets%7Cmediawiki.ForeignApi.core%7Cmediawiki.ForeignStructuredUpload.BookletLayout%2Cconfig%7Cmediawiki.Upload.BookletLayout%7Cmediawiki.action.view.redirectPage%7Cmediawiki.api.edit%2Cmessages%2Cupload%7Cmediawiki.diff.styles%7Cmediawiki.language.data%2Cinit%2Cnames%7Cmediawiki.libs.jpegmeta%2Cpluralruleparser%7Cmediawiki.page.gallery.styles%7Cmediawiki.skinning.content.parsoid%7Cmediawiki.widgets.CategoryMultiselectWidget%2CDateInputWidget%2CMediaSearch%2CStashedFileWidget%2CUserInputWidget%2Cstyles%7Cmediawiki.widgets.DateInputWidget.styles%7Coojs-ui-core.styles%7Coojs-ui.styles.icons-accessibility%2Cicons-alerts%2Cicons-content%2Cicons-editing-advanced%2Cicons-editing-core%2Cicons-editing-list%2Cicons-editing-styling%2Cicons-interactions%2Cicons-layout%2Cicons-media%2Cicons-moderation%2Cicons-movement%2Cicons-wikimedia%2Cindicators%2Ctextures&skin=vector&version=07gopp4:2417:725)
    at mw.ForeignStructuredUpload.BookletLayout.getText (http://192.168.122.148/load.php?debug=false&lang=en&modules=diffMatchPatch%2Cmoment%2Coojs%2Coojs-ui%2Coojs-ui-core%2Coojs-ui-toolbars%2Coojs-ui-widgets%2Coojs-ui-windows%2Cpapaparse%2Crangefix%2Cspark-md5%7Cext.CodeMirror.data%2Clib%2CvisualEditor%7Cext.CodeMirror.mode.mediawiki%7Cext.CodeMirror.visualEditor.init%7Cext.cite.style%2CvisualEditor%7Cext.cite.visualEditor.core%2Cdata%7Cext.geshi.visualEditor%7Cext.templateData%7Cext.templateData.images%7Cext.templateDataGenerator.data%2CeditPage%2Cui%7Cext.templateDataGenerator.ui.images%7Cext.visualEditor.articleTarget%2Cbase%2Ccore%2Cdata%2CdesktopArticleTarget%2CdesktopTarget%2Cdiffing%2Cicons%2Clanguage%2Cmediawiki%2CmoduleIcons%2Cmwalienextension%2Cmwcore%2Cmwdiffing%2Cmwextensionmessages%2Cmwextensions%2Cmwformatting%2Cmwgallery%2Cmwimage%2Cmwlanguage%2Cmwlink%2Cmwmeta%2Cmwsignature%2Cmwtransclusion%2Cswitching%2Cwelcome%7Cext.visualEditor.core.desktop%7Cext.visualEditor.mwextensions.desktop%7Cext.visualEditor.mwimage.core%7Cjquery.byteLimit%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CForeignStructuredUpload%2CForeignUpload%2CUpload%2Ccldr%2CjqueryMsg%2Clanguage%2Cwidgets%7Cmediawiki.ForeignApi.core%7Cmediawiki.ForeignStructuredUpload.BookletLayout%2Cconfig%7Cmediawiki.Upload.BookletLayout%7Cmediawiki.action.view.redirectPage%7Cmediawiki.api.edit%2Cmessages%2Cupload%7Cmediawiki.diff.styles%7Cmediawiki.language.data%2Cinit%2Cnames%7Cmediawiki.libs.jpegmeta%2Cpluralruleparser%7Cmediawiki.page.gallery.styles%7Cmediawiki.skinning.content.parsoid%7Cmediawiki.widgets.CategoryMultiselectWidget%2CDateInputWidget%2CMediaSearch%2CStashedFileWidget%2CUserInputWidget%2Cstyles%7Cmediawiki.widgets.DateInputWidget.styles%7Coojs-ui-core.styles%7Coojs-ui.styles.icons-accessibility%2Cicons-alerts%2Cicons-content%2Cicons-editing-advanced%2Cicons-editing-core%2Cicons-editing-list%2Cicons-editing-styling%2Cicons-interactions%2Cicons-layout%2Cicons-media%2Cicons-moderation%2Cicons-movement%2Cicons-wikimedia%2Cindicators%2Ctextures&skin=vector&version=07gopp4:2476:696)
    at mw.ForeignStructuredUpload.BookletLayout.mw.Upload.BookletLayout.saveFile (http://192.168.122.148/load.php?debug=false&lang=en&modules=diffMatchPatch%2Cmoment%2Coojs%2Coojs-ui%2Coojs-ui-core%2Coojs-ui-toolbars%2Coojs-ui-widgets%2Coojs-ui-windows%2Cpapaparse%2Crangefix%2Cspark-md5%7Cext.CodeMirror.data%2Clib%2CvisualEditor%7Cext.CodeMirror.mode.mediawiki%7Cext.CodeMirror.visualEditor.init%7Cext.cite.style%2CvisualEditor%7Cext.cite.visualEditor.core%2Cdata%7Cext.geshi.visualEditor%7Cext.templateData%7Cext.templateData.images%7Cext.templateDataGenerator.data%2CeditPage%2Cui%7Cext.templateDataGenerator.ui.images%7Cext.visualEditor.articleTarget%2Cbase%2Ccore%2Cdata%2CdesktopArticleTarget%2CdesktopTarget%2Cdiffing%2Cicons%2Clanguage%2Cmediawiki%2CmoduleIcons%2Cmwalienextension%2Cmwcore%2Cmwdiffing%2Cmwextensionmessages%2Cmwextensions%2Cmwformatting%2Cmwgallery%2Cmwimage%2Cmwlanguage%2Cmwlink%2Cmwmeta%2Cmwsignature%2Cmwtransclusion%2Cswitching%2Cwelcome%7Cext.visualEditor.core.desktop%7Cext.visualEditor.mwextensions.desktop%7Cext.visualEditor.mwimage.core%7Cjquery.byteLimit%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CForeignStructuredUpload%2CForeignUpload%2CUpload%2Ccldr%2CjqueryMsg%2Clanguage%2Cwidgets%7Cmediawiki.ForeignApi.core%7Cmediawiki.ForeignStructuredUpload.BookletLayout%2Cconfig%7Cmediawiki.Upload.BookletLayout%7Cmediawiki.action.view.redirectPage%7Cmediawiki.api.edit%2Cmessages%2Cupload%7Cmediawiki.diff.styles%7Cmediawiki.language.data%2Cinit%2Cnames%7Cmediawiki.libs.jpegmeta%2Cpluralruleparser%7Cmediawiki.page.gallery.styles%7Cmediawiki.skinning.content.parsoid%7Cmediawiki.widgets.CategoryMultiselectWidget%2CDateInputWidget%2CMediaSearch%2CStashedFileWidget%2CUserInputWidget%2Cstyles%7Cmediawiki.widgets.DateInputWidget.styles%7Coojs-ui-core.styles%7Coojs-ui.styles.icons-accessibility%2Cicons-alerts%2Cicons-content%2Cicons-editing-advanced%2Cicons-editing-core%2Cicons-editing-list%2Cicons-editing-styling%2Cicons-interactions%2Cicons-layout%2Cicons-media%2Cicons-moderation%2Cicons-movement%2Cicons-wikimedia%2Cindicators%2Ctextures&skin=vector&version=07gopp4:2481:792)
    at mightThrow (http://192.168.122.148/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=09xdxzm:49:598)
    at process (http://192.168.122.148/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=09xdxzm:50:269) undefined

access.log:

192.168.122.131 - - [13/Feb/2018:14:35:28 +0000] "GET /api.php?action=query&format=json&prop=info&titles=File%3ACoffee-maker-steampunk-3%2Ejpg&formatversion=2 HTTP/1.1" 200 208 "http://192.168.122.148/index.php?title=%D0%A0%D0%BE%D0%B4%D1%81%D1%82%D0%B2%D0%B5%D0%BD%D0%BD%D0%B8%D0%BA%D0%B8&veaction=edit" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36"

debug.log:

IP: 192.168.122.131
Start request GET /api.php?action=query&format=json&prop=info&titles=File%3ACoffee-maker-steampunk-3%2Ejpg&formatversion=2
HTTP HEADERS:
HOST: 192.168.122.148
CONNECTION: keep-alive
ACCEPT: application/json, text/javascript, */*; q=0.01
X-REQUESTED-WITH: XMLHttpRequest
USER-AGENT: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
REFERER: http://192.168.122.148/index.php?title=%D0%A0%D0%BE%D0%B4%D1%81%D1%82%D0%B2%D0%B5%D0%BD%D0%BD%D0%B8%D0%BA%D0%B8&veaction=
edit
ACCEPT-ENCODING: gzip, deflate
ACCEPT-LANGUAGE: ru,en;q=0.8,en-US;q=0.6
COOKIE: mw_installer_session=vlq6fu0eoh9tmjhlqdcr4cic6u; wiki0_session=qvmam1luh5o3jl1rr4otnb6qfgbk6bd7; wiki0UserID=1; wiki0UserN
ame=Admin; wiki0Token=e35d06dd90a6f03a498cbd5eef8a27c3; wikiEditor-0-toolbar-section=advanced; wikiEditor-0-booklet-help-page=form
at; VEE=visualeditor
[caches] cluster: EmptyBagOStuff, WAN: mediawiki-main-default, stash: db-replicated, message: SqlBagOStuff, session: SqlBagOStuff
[caches] LocalisationCache: using store LCStoreDB
[DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: using request info {
    "IPAddress": "192.168.122.131",
    "UserAgent": "Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/61.0.3163.100 Safari\/537.36",
    "ChronologyProtection": false,
    "ChronologyPositionIndex": 0
}
[DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: calling initLB() before first connection.
[DBConnection] Connected to database 0 at 'localhost'.
User: cache miss for user 1
[DBQuery] wiki0 BEGIN /* Wikimedia\Rdbms\Database::query (User::loadFromDatabase)  */
[DBQuery] wiki0 SELECT /* User::loadFromDatabase  */  user_id,user_name,user_real_name,user_email,user_touched,user_token,user_ema
il_authenticated,user_email_token,user_email_token_expires,user_registration,user_editcount  FROM `user`    WHERE user_id = '1'  L
IMIT 1
[DBQuery] wiki0 SELECT /* UserGroupMembership::getMembershipsForUser  */  ug_user,ug_group,ug_expiry  FROM `user_groups`    WHERE
ug_user = '1'
[DBQuery] wiki0 SELECT /* MediaWiki\Storage\RevisionStore::fetchRevisionRowFromConds  */  rev_id,rev_page,rev_text_id,rev_timestam
p,rev_user_text,rev_user,rev_minor_edit,rev_deleted,rev_len,rev_parent_id,rev_sha1,rev_comment AS `rev_comment_text`,NULL AS `rev_
comment_data`,NULL AS `rev_comment_cid`,rev_content_format,rev_content_model,page_namespace,page_title,page_id,page_latest,page_is
_redirect,page_len,user_name  FROM `revision` INNER JOIN `page` ON ((page_id = rev_page)) LEFT JOIN `user` ON ((rev_user != 0) AND
 (user_id = rev_user))   WHERE page_namespace = '8' AND page_title = 'Gadgets-definition' AND (rev_id=page_latest)  LIMIT 1
User: loading options for user 1 from database.
[DBQuery] wiki0 SELECT /* User::loadOptions  */  up_property,up_value  FROM `user_properties`    WHERE up_user = '1'
[DBConnection] Connected to database 0 at 'localhost'.
[DBQuery] wiki0 SHOW /* Wikimedia\Rdbms\DatabaseMysqlBase::serverIsReadOnly  */ GLOBAL VARIABLES LIKE 'read_only'
[SQLBagOStuff] Connection 14544 will be used for SqlBagOStuff
[DBQuery] wiki0 SELECT /* SqlBagOStuff::getMulti  */  keyname,value,exptime  FROM `objectcache`    WHERE keyname = 'wiki0:MWSession:qvmam1luh5o3jl1rr4otnb6qfgbk6bd7'
[session] SessionBackend "require/require_once/MediaWiki\Session\Session->renew/MediaWiki\Session\SessionBackend->renew" metadata dirty for renew(): require/require_once/MediaWiki\Session\Session->renew/MediaWiki\Session\SessionBackend->renew
[session] SessionBackend "qvmam1luh5o3jl1rr4otnb6qfgbk6bd7" force-persist for renew(): require/require_once/MediaWiki\Session\Sess
ion->renew/MediaWiki\Session\SessionBackend->renew
[session] SessionBackend "qvmam1luh5o3jl1rr4otnb6qfgbk6bd7" save: dataDirty=0 metaDirty=1 forcePersist=1
[cookie] setcookie: "wiki0_session", "qvmam1luh5o3jl1rr4otnb6qfgbk6bd7", "0", "/", "", "", "1"
[cookie] setcookie: "wiki0UserID", "1", "1534084528", "/", "", "", "1"
[cookie] setcookie: "wiki0UserName", "Admin", "1534084528", "/", "", "", "1"
[cookie] setcookie: "wiki0Token", "e35d06dd90a6f03a498cbd5eef8a27c3", "1534084528", "/", "", "", "1"
[cookie] already deleted setcookie: "forceHTTPS", "", "1486996528", "/", "", "", "1"
[session] SessionBackend "qvmam1luh5o3jl1rr4otnb6qfgbk6bd7" Taking over PHP session
[session] SessionBackend "qvmam1luh5o3jl1rr4otnb6qfgbk6bd7" save: dataDirty=0 metaDirty=1 forcePersist=1
[cookie] already set setcookie: "wiki0_session", "qvmam1luh5o3jl1rr4otnb6qfgbk6bd7", "0", "/", "", "", "1"
[cookie] already set setcookie: "wiki0UserID", "1", "1534084528", "/", "", "", "1"
[cookie] already set setcookie: "wiki0UserName", "Admin", "1534084528", "/", "", "", "1"
[cookie] already set setcookie: "wiki0Token", "e35d06dd90a6f03a498cbd5eef8a27c3", "1534084528", "/", "", "", "1"
[cookie] already deleted setcookie: "forceHTTPS", "", "1486996528", "/", "", "", "1"
[DBQuery] wiki0 REPLACE /* SqlBagOStuff::setMulti  */ INTO `objectcache` (keyname,value,exptime) VALUES ('wiki0:MWSession:qvmam1lu
h5o3jl1rr4otnb6qfgbk6bd7','QAn  /\0;v\0FJ^rY%  8m/:  @ 3   =L  QY!  ,4-VDbiOi\r=% {;tK R  D; akU+ T #%\n 2KU#kJ\0s"IMi\"v ;;Z6ꦽL$$
K kW7 %=Է)L;R;r=mBy XOaJS       Y(d>Á:$g> f ','20180213153528')
[DBQuery] wiki0 SELECT /* LCStoreDB::get  */  lc_value  FROM `l10n_cache`    WHERE lc_lang = 'en' AND lc_key = 'deps'  LIMIT 1
[DBQuery] wiki0 SELECT /* LCStoreDB::get  */  lc_value  FROM `l10n_cache`    WHERE lc_lang = 'en' AND lc_key = 'list'  LIMIT 1
[DBQuery] wiki0 SELECT /* LCStoreDB::get  */  lc_value  FROM `l10n_cache`    WHERE lc_lang = 'en' AND lc_key = 'preload'  LIMIT 1

[DBQuery] wiki0 SELECT /* LCStoreDB::get  */  lc_value  FROM `l10n_cache`    WHERE lc_lang = 'en' AND lc_key = 'preload'  LIMIT 1

[DBQuery] wiki0 SELECT /* LCStoreDB::get  */  lc_value  FROM `l10n_cache`    WHERE lc_lang = 'en' AND lc_key = 'namespaceGenderAli
ases'  LIMIT 1
[DBQuery] wiki0 SELECT /* ApiPageSet::initFromTitles  */  page_namespace,page_title,page_id,page_content_model,page_len,page_is_re
direct,page_latest,page_restrictions,page_is_new,page_touched  FROM `page`    WHERE (page_namespace = '6' AND page_title = 'Coffee
-maker-steampunk-3.jpg')
[DBQuery] wiki0 SELECT /* LocalFile::loadFromDB  */  img_name,img_size,img_width,img_height,img_metadata,img_bits,img_media_type,i
mg_major_mime,img_minor_mime,img_user,img_user_text,img_timestamp,img_sha1,img_description AS `img_description_text`,NULL AS `img_
description_data`,NULL AS `img_description_cid`,img_metadata  FROM `image`    WHERE img_name = 'Coffee-maker-steampunk-3.jpg'  LIM
IT 1
[DBQuery] wiki0 SELECT /* LocalRepo::checkRedirect  */  rd_namespace,rd_title  FROM `page`,`redirect`    WHERE page_namespace = '6
' AND page_title = 'Coffee-maker-steampunk-3.jpg' AND (rd_from = page_id)  LIMIT 1
[ContentHandler] Created handler for wikitext: WikitextContentHandler
[DBQuery] wiki0 SELECT /* LCStoreDB::get  */  lc_value  FROM `l10n_cache`    WHERE lc_lang = 'en' AND lc_key = 'rtl'  LIMIT 1
ApiMain::setCacheMode: ignoring request for public cache mode, private wiki
[Mime] MimeAnalyzer::loadFiles: loading mime types from /var/www/html/includes/libs/mime/mime.types
MediaWiki::preOutputCommit: primary transaction round committed
MediaWiki::preOutputCommit: pre-send deferred updates completed
[DBReplication] Wikimedia\Rdbms\ChronologyProtector::shutdownLB: DB 'localhost' touched

MediaWiki::preOutputCommit: LBFactory shutdown completed
Logged API request to 1
[DBQuery] wiki0 COMMIT /* MWCallableUpdate::doUpdate  */
Request ended normally
[session] Saving all sessions on shutdown
[DBConnection] Closing connection to database 'localhost'.
[DBConnection] Closing connection to database 'localhost'.

Thank you!

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 13 2018, 2:38 PM

Seems to be complaining that mw.config.get( 'wgUploadDialog' ) is undefined, don't know why though...

Deskana triaged this task as Low priority.Feb 13 2018, 7:39 PM
Deskana set the point value for this task to 1.
Deskana added a subscriber: Deskana.

Sadly, support for non-Wikimedia installs is not in the Wikimedia Foundation's Editing team's priorities.

Deskana renamed this task from Image upload not working to Image upload not working on a third party install.Feb 13 2018, 7:39 PM
Deskana moved this task from To Triage to Freezer on the VisualEditor board.

sorry, what do you mean non-wikimedia install? i used MediaWiki 1.31.0-alpha (44e0eec)

sorry, what do you mean non-wikimedia install?

I mean it's not a Wikimedia site, like Wikipedia, Wikivoyage, Wiktionary, etc. The Editing team has limited resources, so we have to prioritise working on the Wikimedia sites over non-Wikimedia installations.

@Igorsolovki Turns out this was a recent regression and affecting our sites too. https://gerrit.wikimedia.org/r/411210 is the fix you need.

works fine, thank you!