Difference between revisions of "S5SlideShow"

From BITPlan Wiki
Jump to navigation Jump to search
Line 13: Line 13:
 
* https://phabricator.wikimedia.org/T241706
 
* https://phabricator.wikimedia.org/T241706
  
 +
== Call to undefined method WikitextContent:getText() ==
 
<pre>
 
<pre>
 
Exception encountered, of type "Error"
 
Exception encountered, of type "Error"
Line 26: Line 27:
 
origin https://github.com/WolfgangFahl/S5SlideShow (push)
 
origin https://github.com/WolfgangFahl/S5SlideShow (push)
 
</source>
 
</source>
 +
== Class 'S5SlideShow\Hooks not found ==
 +
<pre>
 +
Exception encountered, of type "Error"
 +
[120789ca59e7b0366a3b81ea] /index.php?title=SWMConTalk2015-10&action=slide Error from line 293 of /hd/owei/srv/www/mediawiki/code/extensions/S5SlideShow/src/Render.php: Class 'S5SlideShow\Hooks' not found
 +
Backtrace:
 +
#0 /hd/owei/srv/www/mediawiki/code/extensions/S5SlideShow/src/Render.php(271): S5SlideShow\Render->parse(string)
 +
</pre>
  
 
= Code =
 
= Code =

Revision as of 10:31, 7 February 2020

Please comment here

Links

Forks

Issues

Call to undefined method WikitextContent:getText()

Exception encountered, of type "Error"
[c34bfba970bc2aa84ca0a212] /index.php?title=SWMConTalk2015-10&action=slide Error from line 254 of extensions/S5SlideShow/src/Render.php: Call to undefined method WikitextContent::getText()
Backtrace:
#0 extensions/S5SlideShow/src/Render.php(348): S5SlideShow\Render->loadContent()
#1 extensions/S5SlideShow/src/Action.php(90): S5SlideShow\Render->genSlideFile(boolean)
#2 includes/MediaWiki.php(493): S5SlideShow\Action->show()
/srv/www/mediawiki/code/extensions/S5SlideShow$ gitinfo
== Remote URL: origin	https://github.com/WolfgangFahl/S5SlideShow (fetch)
origin	https://github.com/WolfgangFahl/S5SlideShow (push)

Class 'S5SlideShow\Hooks not found

Exception encountered, of type "Error"
[120789ca59e7b0366a3b81ea] /index.php?title=SWMConTalk2015-10&action=slide Error from line 293 of /hd/owei/srv/www/mediawiki/code/extensions/S5SlideShow/src/Render.php: Class 'S5SlideShow\Hooks' not found
Backtrace:
#0 /hd/owei/srv/www/mediawiki/code/extensions/S5SlideShow/src/Render.php(271): S5SlideShow\Render->parse(string)

Code

extension.json

{
    "name": "S5SlideShow",
    "namemsg": "s5slide-name",
    "descriptionmsg": "s5slide-desc",
    "version": "0.3",
    "license-name": "GPL-2.0+",
    "type": "parserhook",
    "url": "https://www.mediawiki.org/wiki/Extension:S5SlideShow",
    "requires": {
        "MediaWiki": ">= 1.27.3"
    },
    "author": [
        "Vitaliy Filippov",
        "Wolfgang Fahl"
    ],
    "Actions": {
	"slide": "S5SlideShow\\Action"
    },
    "Hooks": {
  	"ImageBeforeProduceHTML": [
            "S5SlideShow\\S5SlideShowHooks::ImageBeforeProduceHTML"
		],
        "ParserFirstCallInit": [
            "S5SlideShow\\S5SlideShowHooks::ParserFirstCallInit"
        ],
        "ArticleFromTitle": [
            "S5SlideShow\\S5SlideShowHooks::ArticleFromTitle"
        ],
        "AlternateEdit": [
            "S5SlideShow\\S5SlideShowHooks::AlternateEdit"
        ],
        "MagicWordwgVariableIDs": [
            "S5SlideShow\\S5SlideShowHooks::MagicWordwgVariableIDs"
        ],
        "ParserGetVariableValueSwitch": [
            "S5SlideShow\\S5SlideShowHooks::ParserGetVariablValueSwitch"
        ]
    },
    "SpecialPages": {
        "S5SlideShow": "MediaWiki\\Extensions\\S5SlideShow\\SpecialS5SlideShow"
    },
    "MessagesDirs": {
        "S5SlideShow": [
            "i18n"
        ]
    },
    "ExtensionMessagesFiles": {
        "S5SlideShowI18n": "src/I18n.php"
    },
    "AutoloadClasses": {
        "S5SlideShow\\S5SlideShowHooks": "src/S5SlideShowHooks.php",
        "S5SlideShow\\SpecialS5SlideShow": "src/Special.php",
        "S5SlideShow\\Action": "src/Action.php",
        "S5SlideShow\\Render": "src/Render.php"
    },
    "config": {
		"_prefix": "egS5",
		"Scaled": false,
		"DefaultStyle": "default",
		"BrowserScaleHack": true,
		"SlideTemplateFile": "slide.htm",
		"SlideCenterMark": "(center)",
		"SlideHeadingMark": false,
		"SlideIncMark": "(step)"
	},
    "manifest_version": 1
}