User "Krinkle" posted a comment on MediaWiki.r95787. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/95787#c23614 Commit summary:
RL2: Add hooks that ensure the database is updated when Gadget definition: pages are deleted and undeleted Comment: <pre> + $previousRev = $revision->getPrevious(); </pre> Getting the following from the API in some cases when saving a gadget definition page: <pre> Fatal error: Call to a member function getPrevious() on a non-object in /Users/krinkle/Sites/mediawiki/branches/RL2/extensions/Gadgets/GadgetHooks.php on line 72 </pre> $revision is probably null ? _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
