Extension talk:AuthorInfo
Latest comment: 11 years ago by Stefahn in topic Mediawiki 1.19 & 1.20
In AuthorInfo.php I needed to change the 6th line:
$wfAuthorInfoPath = $WPI_URL . "/extensions/AuthorInfo";
without the $ before WPI_URL the path to the javascript was wrong so the extension failed.
Help implantating please
editI don't understand where exactly I'm supposed to add
<AuthorInfo limit="4"></AuthorInfo>
Please advise!!!
Mediawiki 1.19 & 1.20
editDoesn't match with Version 1.20... Sorry
- Doesn't work with MW 1.19. Code seems completely outdated. Would love to see it being revised for MW 1.19 --Stefahn (talk) 22:14, 22 March 2013 (UTC)
Mediawiki 1.26.2
editDoes not work. I get the following error in /var/log/httpd/error_log
- [error] [client 181.66.249.2] PHP Fatal error: Uncaught exception 'Exception' with message '/var/www/html/wikidemo/extensions/AuthorInfo/extension.json does not exist!' in /var/www/html/wikidemo/includes/registration/ExtensionRegistry.php:106\nStack trace:\n#0 /var/www/html/wikidemo/includes/GlobalFunctions.php(181): ExtensionRegistry->queue('/var/www/html/w...')\n#1 /var/www/html/wikidemo/LocalSettings.php(365): wfLoadExtension('AuthorInfo')\n#2 /var/www/html/wikidemo/includes/WebStart.php(123): require_once('/var/www/html/w...')\n#3 /var/www/html/wikidemo/index.php(38): require('/var/www/html/w...')\n#4 {main}\n thrown in /var/www/html/wikidemo/includes/registration/ExtensionRegistry.php on line 106
Seems to be looking for a file that does not exist extension.json