Last modified: 2013-03-13 11:59:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T47778, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45778 - extension CategoryIntersection broken on Mediawiki 1.20
extension CategoryIntersection broken on Mediawiki 1.20
Status: UNCONFIRMED
Product: MediaWiki extensions
Classification: Unclassified
Other (Other open bugs)
REL1_20-branch
All Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-06 14:47 UTC by Alois
Modified: 2013-03-13 11:59 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Alois 2013-03-06 14:47:29 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.
Comment 1 Alois 2013-03-06 15:58:15 UTC
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';
Comment 2 Andre Klapper 2013-03-13 11:59:25 UTC
CC'ing the maintainer.

Magnus: Is there a dedicated place for bug reports on CategoryIntersection?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links