On my wiki I made a special page that display recent changes in a pinterest style. Fort the image, it fetchs them using mediawikiParserOutput as a thumb 100px and then with js, I fetch the big images and put them where it should go. On desktop the js is loaded properly but on smartphone (and mozilla firefox smartphone simulation), it doesn't load.
It doesn't even matter what is in the js, if the js is only composed of a console.log("loaded"), there will be nothing in the console.
Here's my extension.json :
{
"manifest_version": 1,
"name": "ArchiRecentChanges",
"version": "1.1",
"license-name": "GPL-3.0",
"author": "Aymeric Feltz",
"description": "Custom pages for archi-wiki.org that display a pinterest style list of recent changes",
"type": "specialpage",
"SpecialPages": {
"ArchiRecentChanges": "ArchiRecentChanges\\SpecialArchiRecentChanges"
},
"AutoloadClasses": {
"ArchiRecentChanges\\SpecialArchiRecentChanges": "SpecialArchiRecentChanges.php"
},
"MessagesDirs": {
"ArchiRecentChanges": [
"i18n"
]
},
"ResourceModules": {
"ext.archirecentchanges": {
"scripts": [
"js/archirecentchanges.js"
],
"messages":[
"readthis"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "ArchiRecentChanges"
},
"ExtensionMessagesFiles": {
"ArchiRecentChangesAlias": "ArchiRecentChanges.i18n.alias.php"
}
}
archi-mediawiki/extension/archiRecentChanges (commit 58bfb64de078fc436b60993f0f726f5cc15e4fd5, 19/07/24)
Product | Version |
---|---|
MediaWiki | 1.39.7 |
PHP | 7.4.33 (fpm-fcgi) |
MariaDB | 10.11.6-MariaDB-0+deb12u1-log |
ICU | 72.1 |
elasticsearch | 6.8.23 |
We also have some js in our hack.js in our skin folder (that we deploy with npm), and this js works perfectly fine. It's only with the js of the extension that I have problems with