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

--- Comment #8 from James Montalvo <[email protected]> ---
Created yet another wiki starting from scratch, but checking out tags/1.21.3 in
git. Here are my notes:

Went to Special:Version, verified no console errors. Verified MW 1.21.3
(54f7112).

git clone https://github.com/JeroenDeDauw/ExtensionInstaller.git

Edit LocalSettings.php, add at the end:
require_once( "$IP/extensions/ExtensionInstaller/ExtensionInstaller.php" );

Refresh Special:Version, verified ExtensionInstaller installed.

It's not clear to me at this point whether for 1.21 I'm supposed to put
composer.phar in MW install directory or in ExtensionInstaller directory. From
the ExtensionInstaller README.md I believe it's supposed to go in the
ExtensionInstaller directory, so that's what I did.

Put composer.phar in ExtensionInstaller directory

Renamed example.json to composer.json, and added the following line within the
require object:
"mediawiki/semantic-mediawiki": "dev-master"

cd to ExtensionInstaller directory, run "php composer.phar install"

Refresh Special:Version. Verified SMW 1.9 installed, along with 7 DataValues
extensions, ExtensionInstaller, and Validator. Still have the following error: 
GET
http://localhost/wiki/oso/extensions/SemanticMediaWiki/resources/images/smw_button.png
404 (Not Found) Special:Version:272

This error is very slightly different from before. Now it is properly using the
correct $wgScriptPath, whereas with MW 1.22+ it was leaving out the directory
following "wiki" (in this case "oso"). However, it appears that with
ExtensionInstaller SMW isn't installed within extensions/SemanticMediaWiki, but
instead within ExtensionInstaller/extensions/SemanticMediaWiki, so smw_button
can be found at
http://localhost/wiki/oso/extensions/ExtensionInstaller/extensions/SemanticMediaWiki/resources/images/smw_button.png

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

Reply via email to