Topic on Extension talk:Realnames

Realnames_0.3_2011-11-05 fails on MW 1.18

7
Vgold~mediawikiwiki (talkcontribs)

I'm getting Parse error: syntax error, unexpected T_STATIC in C:\wiki\htdocs\wiki\extensions\Realnames\Realnames.body.php on line 85

This post was posted by Vgold~mediawikiwiki, but signed as Vgold.

Ofbeaton (talkcontribs)

I'm not exactly sure if I fixed your problem, but could you please try 0.3.1 and let me know? I finally got my environment back up, and I've got it working on all wiki version back to 1.15.x

If it doesn't fix it, could you please give me the new error message/line num, as well as what version of PHP you are running?

Thanks for reporting the problem! I'll get it fixed ASAP either way.

This post was posted by Ofbeaton, but signed as Olivier Beaton.

202.36.134.22 (talkcontribs)

Hi, I'm also getting this error with 0.3.1. Here is my enviroment:

Product Version
MediaWiki 1.17.0
PHP 5.1.6 (apache2handler)
MySQL 5.0.77

|- ! Header text !! Header text !! Header text |- | Example || Example || Example |- | Example || Example || Example |- | Example || Example || Example

And the error message: PHP Parse error: syntax error, unexpected T_STATIC in /var/www/html/mw/extensions/Realnames/Realnames.body.php on line 80

67.253.177.172 (talkcontribs)

Same error as others
Parse error: syntax error, unexpected T_STATIC in /homepages/obfuscation/htdocs/mediawiki/extensions/Realnames/Realnames.body.php on line 80

Environment

  • MediaWiki 1.18
  • PHP 5.2.17
  • Realnames 0.3.1 (2011-12-25)

LocalSettings.php
require_once("$IP/extensions/Realnames/Realnames.php");
$wgRealnamesLinkStyle = "append";

Users are clamoring for Real Names to be visible.

77.255.108.172 (talkcontribs)

i've got the same error. MediaWiki 1.18.0 PHP 5.2.17 (ucgi5) MySQL 5.5.21-log Parse error: syntax error, unexpected T_STATIC in /polish/extensions/Realnames/Realnames.body.php on line 80

192.87.225.65 (talkcontribs)

I resolved the issue by replacing all reference to static:: with self:: This will roughly have the same effect, but fix your errors.

Reply to "Realnames_0.3_2011-11-05 fails on MW 1.18"