https://bugzilla.wikimedia.org/show_bug.cgi?id=28070
Roan Kattouw <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #6 from Roan Kattouw <[email protected]> 2011-03-23 15:39:17 UTC --- (In reply to comment #4) > I am investigating the code paths that cause in this bug. The problem occurs > in > getParameterFromSettings(), which is a method of the ApiBase class. The > ApiQueryWatchlist class (which implements the RSS feeds for WatchLists) > extends > the ApiQueryGeneratorBase class, which extends the ApiQueryBase class, which > extends the ApiBase class. The getParameterFromSettings() method in > ApiQueryWatchlist comes directly through this class hierarchy from ApiBase. > > It seems clear that getParameterFromSettings() should be overridden in > ApiQueryWatchlist and the switch case code for 'timestamp' modified to return > the database formated value. Please don't! Just convert timestamps to DB format using $this->getDB( )->timestamp( $ts ), where $ts can be in any timestamp format recognized by MediaWiki. Is there any reason this won't work? -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
