Topic on Project:Support desk

MW1.26 : javascriptSlideshow extension 1.23

2
Summary by Chantoune

OK great thanks

I modify the source of JavascriptSlideshow.php as following and now the slideShow works again

(it will be better if in the download of the extension this modification was reported)

$wgResourceModules += array(

        

'ext.slideshow.main' => $slideshowResourceTemplate + array(

                

'scripts' => array('slideshow.js',),

        

),

        

'ext.slideshow.css' => $slideshowResourceTemplate + array(

       

'position' => 'top',

                

'styles' => array('JavascriptSlideshow.css',),

        

),

);

78.206.72.23 (talkcontribs)

with this new medawiki version I get this error in orange color

Warning: OutputPage::getModuleStyles: style module should define its position explicitly: ext.slideshow.css ResourceLoaderFileModule [Called from OutputPage::getModuleStyles in C:\wamp\www\mediawiki-1.26.0\includes\OutputPage.php at line 621] in C:\wamp\www\mediawiki-1.26.0\includes\debug\MWDebug.php on line 300            

and there is no new version of this exetension : how to solve this warning which mask the top of my site

88.130.104.228 (talkcontribs)