r/mediawiki

Questions about installation & set up (composer in specific - PHP files & error 1.45)

TLDR 1) linked up composer but the page still shows the 1.45 error?
TLDR 2) do i have to insert my wiki (ht docs) name under shell in xamapp?
TLDR 3) are the php files i need to upload under mediawiki or xamapp?

got mediawiki and xamapp installed already (apache and mysql are running), but I've been struggling with getting composer linked. I can only understand the instructions on the official website poorly (not english native + I have only a basic-small understanding of coding and I can only do wikitext) so I've been using gemini of all things to help decipher them (not proud of myself).
>PHP thing came and I only had 1 php file on my computer, and that was from mediawiki
>gemini said that I had to use the one from xamapp
>looked at the forums and it seems like xamapp doesn't have a php file?
>took the one from mediawiki and inserted that
>finished the ordeal, launched website "http://localhost/insert my htdocs name/"
>Still getting an error 1.45 though, not sure where I went wrong
>Looked at the instructions, asked gemini. gemini said to do shell code for the htdocs wiki name
>did it, succesful? 1.45 still appears. I don't understand anything anymore really

reddit.com
u/One-Necessary-135 — 2 days ago

External link icons missing

I am finishing a migration of a MediaWiki installation to a new server before trying to update to the latest version. Everything seems to be working except for certain icons not showing, like the arrow for external links to other pages. In the following image, there's a gap where the icon should be.

https://preview.redd.it/temjtfioaj0h1.png?width=231&format=png&auto=webp&s=99193a1d501401fce18291e1c3abc3246dd73a16

However, the CSS for the link points at background-image: url(?2cd31); Normally, working icons are something like background-image: url(/w/load.php?modules=skins.vector.icons&image=expand&format=original&skin=vector-2022&version=kcn0q);

I poked around wikipedia.org, and it looks like an external link icon comes from a path related to the skin:

https://preview.redd.it/gg310v25cj0h1.png?width=1435&format=png&auto=webp&s=b86ea3b7d300940fe1f4855581df056934fb9256

I disabled RewriteRules entirely to debug and cleared the page cache. I'm currently running:

  • MediaWiki: 1.40.1
  • PHP: 8.4.16
  • ICU: 76.1
  • MariaDB: 11.8.6
  • Vector (skin): 1.0.0

I've seen some very old references to need to configure style paths, but I haven't found anyone posting a clear solution yet. My current entry point URLs are:

  • Article path: /w/index.php/$1
  • Script path: /w

Does anyone have ideas on how I can debug this further or what the right keywords are? It sounds like something related to the resource loader. Is loading of icons handled differently for skin and other (built-in?) icons? Thank you!

reddit.com
u/superlou — 12 days ago