As of MediaWiki 1.4.0 this became mostly obsolete.
![]() |
For a long time, MediaWiki didn’t support PHP5 and was actively unsupportive of it.
As such, I had to figure out compatibility for myself.
-
To do: Greying out code boxes
[[Special:Recentchanges]] error ∞
Fatal error: Only variables can be passed by reference in /htdocs/includes/Skin.php on line 2424
Edit includes/Skin.php and comment-out [ 1 ] type // at the beginning of each line the following lines:
$lastLink = $this->makeKnownLinkObj( $rc->getTitle(), wfMsg( 'last' ), $curIdEq.'&diff='.$rc_this_oldid.'&oldid='.$rc_last_oldid );
Skins ∞
Changing the default PHP5 skin back to MonoBook is apparently not possible, so we must crudly hack things. Leaving your current skin at Classic is recommended, because that’s what your guest users will use too. I also feel that it’s the best out of the three you are given:
- Classic (The default for guest users)
- Nostalgia
-
Cologne Blue
- Too close to the left.
Issues with the Classic skin ∞
- Missing accesskey functionality (see below)
- Missing the grey box around pre boxes
-
Does not combine lines, so two carriage returns stay that way.
- This is great but because MonoBook combines two blank lines into one blank line everything looks stupid. Thanks guys!
Editing the MediaWiki accesskey ∞
Edit includes/Skin.php
Change this:
$s = $this->makeKnownLink( $n, $t, "action=edit{$oid}{$red}" );
to this:
$s = $this->makeKnownLink( $n, $t, "action=edit{$oid}{$red}", '', '', ' accesskey="e" ' );
Footnotes
| ^ 1 | type // at the beginning of each line |


Created to handle the various little issues I’m finding with this new setup. I may send things back to PHP4 if I really feel the need. XAMPP has a more complete package which has both php4 and php5, but I have concerns over complexity and security.
ported