sdaugherty / mediawiki-page-attachment

Automatically exported from code.google.com/p/mediawiki-page-attachment
Other
0 stars 0 forks source link

Catchable fatal error: Argument 1 passed to ImageListPager::__construct() must implement interface IContextSource... #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Click on Browse/Search Attach button

What is the expected output? What do you see instead?
A page displaying existing files to attach.
Get the following error:

Catchable fatal error: Argument 1 passed to ImageListPager::__construct() must 
implement interface IContextSource, none given, called in 
/Users/aldrin/Sites/mw1.19.0-alpha/phase3/extensions/PageAttachment/browse-searc
h/ImageListPager.php on line 52 and defined in 
/Users/aldrin/Sites/mw1.19.0-alpha/phase3/includes/specials/SpecialListfiles.php
 on line 66

Please use labels and text to provide additional information.
MediaWiki 1.19alpha

Original issue reported on code.google.com by Aldrin.Baroi@gmail.com on 21 Feb 2012 at 2:18

GoogleCodeExporter commented 8 years ago
Fix for this would make it incompatible with MediaWiki 1.18.x.  So, changing 
the release number to 3.0.0

Original comment by Aldrin.Baroi@gmail.com on 21 Feb 2012 at 2:33

GoogleCodeExporter commented 8 years ago
Fixed.

Updated ImageListPage & ListFiles classes to use new "IContextSource" interface 
in the constructor.

Original comment by Aldrin.Baroi@gmail.com on 18 Mar 2012 at 8:46

GoogleCodeExporter commented 8 years ago
Can someone point me to the 3.0 release as using it with mediawiki 1.19 and 
mediawiki-page-attachment 2.1.0 on a vanilla RHEL6.2 release is presenting me 
with the same issue. 

Original comment by dar...@staticwave.co.uk on 30 May 2012 at 1:47