Last modified: 2013-03-13 11:59:25 UTC
extension CategoryIntersection is broken on Mediawiki 1.20. When I save an edited page, it creates an error in the Apache error logfile: PHP Fatal error: Call to private method LinksUpdate::dumbTableUpdate() from context '' in /www/docs/wiki/extensions/CategoryIntersection/CategoryIntersection.php on line 86, The reason is that LinksUpdate::dumbTableUpdate() is now a private function, while it was public in earlier releases of Mediawiki. As a temporary workaround, I edited includes/LinksUpdate.php and make the function public again, by removing the word private in front of it.
There is an additional bug in CategoryIntersection, when a special page is called up. The Apache log file shows: PHP Fatal error: Cannot override final method SpecialPage::run() in /www/docs/wiki/extensions/CategoryIntersection/CategoryIntersection_body.php on line 154 The problem can be fixed by renaming the internal function from run() to ci_run(), which requires three changes: line 34: $output = $this->ci_run( $lines ); line 52: function ci_run( $lines ) { line 55: $fname = 'CategoryIntersection::ci_run';
CC'ing the maintainer. Magnus: Is there a dedicated place for bug reports on CategoryIntersection?