Following up on [1]
Report
Using the following registration method
$this->getEngine()->registerInterface( dirname( FILE ) . '/' . 'smw.library.lua', $lib, array() );
will cause an internal error
Lua file does not exist: C:\xampp\htdocs\mw\extensions\Scribunto\engines\LuaCommon/lualib/C:\xampp\htdocs\mw\extensions\SemanticMediaWiki\includes\lua/smw.library.lua
Verification
Environment
MediaWiki 1.21alpha (37875db), Scribunto (a852755)
Anomie responded
The problem is the Windows directory paths with drive letter; since c98cc645 Scribunto has supported absolute Unix-style paths in registerInterface(), and 8fd45026 tried to extend this to Windows but failed to consider drive letters.
Version: unspecified
Severity: normal
OS: Windows XP