无法标准化 file.png 的图像参数 - MediaWiki
我正在使用:
MediaWiki 1.37.1 PHP 7.4.3(FPM-FCGI) Elasticsearch 5.6.16 Visualeditor 0.1.2
当我转到页面并单击edit>时, 插入>图像和媒体;当我开始搜索文件时,它可以很好地工作,除非有PDF文件,否则查询返回错误消息。 这仅发生在PDF文件中。
我到处搜索此代码错误,找不到解决方案。
这是请求url:
/pi.php?action = query& format=json& generator = allimages& gaisort = timestamp = timestamp&gaidir = descending&iiiurlheight = 200& amp; = imageInfo& gaiuser = admin& iiurlwidth = 300& gailimit = 15
i当我从查询中删除'prop = imageInfo'时注意到,它无问题。
任何想法,建议和解决方案都非常感谢。
I'm using:
MediaWiki 1.37.1
PHP 7.4.3 (fpm-fcgi)
Elasticsearch 5.6.16
VisualEditor 0.1.2
When I go to a page and click on Edit > Insert > Images and media; And when I start searching for files it works great, unless there's a PDF file, then the query returns an error message.
This only happens with PDF files.
I searched everywhere for this code error and I couldn't find a solution.
This is the request url:
/api.php?action=query&format=json&generator=allimages&gaisort=timestamp&gaidir=descending&iiurlheight=200&iiprop=dimensions%7Curl%7Cmediatype%7Cextmetadata%7Ctimestamp%7Cuser&prop=imageinfo&gaiuser=Admin&iiurlwidth=300&gailimit=15
I noticed when I remove the 'prop=imageinfo' from the query, it works with no problems.
Any ideas, suggestions and solutions are very appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我删除了 PdfHandler 并且工作正常。
I removed PdfHandler and it worked fine.