Hi All
Don't know what I missed, but everything appeared to run right from the command line. I was trying to install subpagelist v1.0. I installed composer in the ExtensionInstaller v2.2 directory per directions. Ran php composer.phar after I created the json file. Output threw everything into the Extension Installer directory as follows. Which I don't think is what was supposed to happen.
ExtensionInstaller/ -extensions/ ---SubPageList/ ---Validator/ -vendor/
Anyway, looking at -
if ( is_readable( __DIR__ . '../../vendor/autoload.php' ) ) { include_once( __DIR__ . '../../vendor/autoload.php' ); }
So changing it to -
if ( is_readable( __DIR__ . '/vendor/autoload.php' ) ) { include_once( __DIR__ . '/vendor/autoload.php' ); }
worked for me.
At far as I can tell it seems to work, Special:Version shows SubPageList and Validator, and the extension SubPageList is working. Going back and looking at v2.0, I see my change was the original autoload.php. ??? Are the instructions correct, for 1.22 only, or is v2.0 for 1.21? Should make a note of it on instructions.
Thanks Tom
Tom
Hey,
Which I don't think is what was supposed to happen.
ExtensionInstaller/ -extensions/ ---SubPageList/ ---Validator/ -vendor/
If you use the most recent release of SubPageList, version 1.1, which is over 2 months old by now, this ought to not occur. Is there any reason why you are trying to install 1.0?
Cheers
-- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. ~=[,,_,,]:3 --
mediawiki-l@lists.wikimedia.org