Need help fixing image uploads on mediawiki - eviltoast

I’ve tried asking on the Mediawiki Support Desk but haven’t gotten any help.

EDIT: It looks like the issue with images comes from using Short URLs. After uploading the image through the Upload File section I get a 404 error but if I add /index.php?title= to the url I can visit the uploaded files. Not sure how to fix this though

So basically my issue is mediawiki thinks the links to my files are /File:filename.png but they’re actually at index.php?title=File:filename.png

  • ostsjoe@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    We need more info on your permissions. 755 would mean anyone can read files there, but only the owner can write. If the owner isn’t the same user that mediawiki is running as, then uploads won’t work.

    • Nix@merv.newsOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Oh I didn’t know there was two but I just checked the webserver php.ini file and that has file_uploads = On as well and still no luck