Topic on Extension talk:Widgets

Latest releases not tagged on GitHub

3
Obyford (talkcontribs)

The latest release tagged on GitHub is 1.30 (which is the same commit the REL1_30 branch points to) from 2017. There are branches for REL1_31 through REL1_35 but none of them have tags and therefore they do not show up on the releases page.

This means if you follow the instructions for 'Installing from a .zip file' you end up downloading v1.30 which does not include an extension.json and as far as I can tell does not work with wfLoadExtension if you follow the instructions in 'Configuration':

<code>
PHP Fatal error:  Uncaught Exception: Unable to open file /home/[user]/public_html/wiki/extensions/Widgets/extension.json: filemtime(): stat failed for /home/[user]/public_html/wiki/extensions/Widgets/extension.json in /home/[user]/public_html/wiki/includes/registration/ExtensionRegistry.php:136

Stack trace:
#0 /home/[user]/public_html/wiki/includes/GlobalFunctions.php(52): ExtensionRegistry->queue('/home/[user]/pu...')
#1 /home/[user]/public_html/wiki/LocalSettings.php(145): wfLoadExtension('Widgets')
#2 /home/[user]/public_html/wiki/includes/Setup.php(124): require_once('/home/[user]/pu...')
#3 /home/[user]/public_html/wiki/includes/WebStart.php(81): require_once('/home/[user]/pu...')
#4 /home/[user]/public_html/wiki/index.php(41): require('/home/[user]/pu...')
#5 {main}
  thrown in /home/[user]/public_html/wiki/includes/registration/ExtensionRegistry.php on line 136
</code>
Obyford (talkcontribs)

It looks like there are more issues if you try to follow the 'Install from a .zip file' instructions – the instructions say to copy the smarty libs into the smarty folder, but I can't see anything that actually takes care of including that class?

<code>
/wiki/index.php?title=Albert%27s_Lyrebird&action=submit   Error from line 24 of /home/[user]/public_html/wiki/extensions/Widgets/WidgetRenderer.php: Class 'Smarty' not found
</code>
Kghbln (talkcontribs)

Indeed this extension is no longer being tagged. Also installing from zip is no longer the preferred way. Anyhow I updated to link to point to the branches. There you can pick the branch matching your version of MediaWiki and hopefully all of this works. Hope this helps.

Reply to "Latest releases not tagged on GitHub"