Page MenuHomePhabricator

SMW 1.0.1 does not work with MW 1.12
Closed, DeclinedPublic

Description

Author: TwoTailedFox

Description:
MediaWiki 1.12

Fatal error: Call to undefined function enableSemantics() in C:\web\wiki\LocalSettings.php on line 127

This was observed in an already-used MW 1.12 Installation, and then observed again in a fresh MW 1.12 installation.

Problem did not occur with MW 1.11.2


Version: unspecified
Severity: enhancement

Details

Reference
bz13608

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:04 PM
bzimport set Reference to bz13608.
bzimport added a subscriber: Unknown Object (MLST).

I cannot confirm that problem, and we have been running sites on current MW SVN throughout recent months. semanticweb.org, e.g., runs on MW 1.13alpha (r33087), and has been running on various pre- and post-releases of MW before.

Please post the relevant section of you LocalSettings.php (not the passwords, just the SMW loading). Normally there should be something like the following:

include_once('extensions/SemanticMediaWiki/includes/SMW_Settings.php');
enableSemantics("subdomain.your-site.com");

The above error is very basic, and indicates no relationship to MW. The missing function is certainly defined in SMW_GlobalFunctions.php. I will tag that bug as "works for me" -- feel free to reopen it if the problem persists.