On 01/06/2009, at 9:37 PM, Roan Kattouw wrote:
> ---------- Forwarded message ----------
> From: sl contrib <[email protected]>
> Date: 2009/6/1
> Subject: Re: [Mediawiki-api] Revisions since certain date / wiki  
> mirror
> To: MediaWiki API announcements & discussion 
> <[email protected] 
> >
>
> While looking at this I noticed that log entries for moved pages don't
> contain revids:
>           'logaction' => 'move',
>           'move' => {
>                       'new_ns' => 0,
>                       'new_title' => 'Sandpit/test2'
>                     },
>           'logtype' => 'move',
>           'revid' => 0,
>           'timestamp' => '2009-05-31T21:47:11Z',
>           'old_revid' => 0,
> This seems to be inconsistent: For edits, there's an old_revid and a
> revid (which are recorded in the log), and when moving a page, it's
> there's also an old_revid and a revid. However, those are not recorded
> in the log.
> Any ideas as to why that is, and if it doesn't make sense, which bug
> tracker should it go on?

I know of at least some code which uses the existence (or not) of  
rc_revid to distinguish log entries from edits. Any change would break  
this.

The reason that it's different is because we didn't originally add  
dummy revisions to the database for moves and protections, and added  
it later as a usability feature. The two aren't technically related at  
all, as far as the software is concerned.

--
Andrew Garrett
Contract Developer, Wikimedia Foundation
[email protected]
http://werdn.us




_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to