Setup
- MediaWiki 1.31.8 (c759d64) 24. Jun. 2020, 18:19
- PHP 7.2.13-1+0~20181207100540.13+stretch~1.gbpf57305 (apache2handler)
- MariaDB 10.1.37-MariaDB-0+deb9u1
- MobileFrontend 2.1.0 (rEMFRdb6d3d1cbe95) 7. Jan. 2020, 21:02
- MultimediaViewer – (rEMMV1273d3e0b218) 11. Mai 2018, 21:57
Issue
Four cases:
- Accessing photos via desktop computer with MobileFrontend and with MultimediaViewer - works
- Accessing photos via desktop computer without MobileFrontend and with MultimediaViewer- works
- Accessing photos via mobile device with MobileFrontend and with MultimediaViewer - works
- Accessing photos via mobile device without MobileFrontend and with MultimediaViewer - does not work
This wiki uses a file handler, i.e.
$wgGenerateThumbnailOnParse = false;
$wgThumbnailScriptPath = "{$wgScriptPath}/thumb.php";
$wgMediaViewerUseThumbnailGuessing = false; // Broken since 1.31.x so falseand
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L]
RewriteRule ^/?$ %{DOCUMENT_ROOT}/w/index.php [L]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
RewriteRule ^/?w/images/thumb/[0-9a-f]/[0-9a-f][0-9a-f]/([^/]+)/([0-9]+)px-.*$ %{DOCUMENT_ROOT}/w/thumb.php?f=$1&width=$2 [L,QSA,B]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
RewriteRule ^/?w/images/thumb/archive/[0-9a-f]/[0-9a-f][0-9a-f]/([^/]+)/([0-9]+)px-.*$ %{DOCUMENT_ROOT}/w/thumb.php?f=$1&width=$2&archived=1 [L,QSA,B]
</IfModule>Since the first 3 use cases work allrighty I do not think that the file handler is at fault. I am aware that the non-working use case #4 is not really a standard one however I get a "complaint" once in a while.
Example pAGE: St. Matthäus (Rittershausen)


