https://bugzilla.wikimedia.org/show_bug.cgi?id=46635

--- Comment #6 from MWJames <[email protected]> ---
Back the original problem of registerInterface() which generates a concatenated
string of
C:\xampp\htdocs\mw\extensions\Scribunto\engines\LuaCommon/lualib/C:\xampp\htdocs\mw\extensions\SemanticMediaWiki\includes\lua/smw.property.lua

The problem lies with the Scribunto_LuaEngine class where the check
$fileName[0] !== DIRECTORY_SEPARATOR will not provide sufficient clarity and
end up putting $this->getLuaLibDir()
{C:\xampp\htdocs\mw\extensions\Scribunto\engines\LuaCommon/lualib/} and
$fileName
{C:\xampp\htdocs\mw\extensions\SemanticMediaWiki\includes\lua/smw.property.lua}
together.

protected function normalizeModuleFileName( $fileName ) {
    return $fileName[0] !== DIRECTORY_SEPARATOR ?
"{$this->getLuaLibDir()}/{$fileName}" : $fileName;
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to