User "NeilK" changed the status of MediaWiki.r92539. Old Status: new New Status: fixme
User "NeilK" also posted a comment on MediaWiki.r92539. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/92539#c20505 Commit summary: * fix SQL injection vulnerability in ArchiveLinks.class.php * start adding support for feed * add new table for history of what has appeared in the feed in the past Comment: Yeah, for the "right" way to do this see what Jeroen did for UploadWizard's new tables: in UploadWizardHooks.php; $wgHooks['LoadExtensionSchemaUpdates'][] = 'UploadWizardHooks::onSchemaUpdate'; And check out what's in UploadWizardHooks::onSchemaUpdate(). The related SQL files are defined in that function, and they have the proper magic comments for table prefixes and database options. _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
