Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Wikitech

dealing with deletions

 

 

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded


krooger at debian

Dec 1, 2002, 2:14 AM

Post #1 of 3 (61 views)
Permalink
dealing with deletions

What is the desired behavior? If someone creates an article that was
previously deleted, should the articles previous history get restored?

--
Geek House Productions, Ltd.

Providing Unix & Internet Contracting and Consulting,
QA Testing, Technical Documentation, Systems Design & Implementation,
General Programming, E-commerce, Web & Mail Services since 1998

Phone: 604-435-1205
Email: djw [at] reactor-core
Webpage: http://reactor-core.org
Address: 2459 E 41st Ave, Vancouver, BC V5R2W2


brion at pobox

Dec 1, 2002, 2:34 AM

Post #2 of 3 (61 views)
Permalink
Re: dealing with deletions [In reply to]

Jonathan Walther wrote:
> What is the desired behavior? If someone creates an article that was
> previously deleted, should the articles previous history get restored?

Currently, the previous history is only restored if it is restored from
the deleted pages archive via Special:Undelete. If a new page was since
created with the title, the old revisions are simply integrated into the
existing history (generally at the end -- but if the new page was
renamed from an older title, it's possible that the histories could
intermix when presented sorted by date).

Here's a diagram of what exists in what tables over the lifetime of such
an event:

Page creation:
rev A -> cur

Later edit:
rev B -> cur
rev A -> old

Deletion
rev B -> archive (hidden)
rev A -> archive (hidden)

New creation with same title:
rev C -> cur
rev B -- archive (hidden)
rev A -- archive (hidden)

Later edit:
rev D -> cur
rev C -> old
rev B -- archive (hidden)
rev A -- archive (hidden)

Restoration of deleted revisions:
rev D -- cur
rev C -- old
rev B -> old
rev A -> old

Since deletions are usually done to suppress vandalism or unusuable text
due to copyright infringement, there would be little use in
automatically restoring such revisions.

-- brion vibber (brion @ pobox.com)


Edmund.W.Poor at abc

Dec 2, 2002, 8:30 AM

Post #3 of 3 (65 views)
Permalink
RE: dealing with deletions [In reply to]

Brion,

Thanks for explaining the page lifecycle. I have clipped this diagram for reference.

> Here's a diagram of what exists in what tables over the lifetime of such
> an event:
>
> Page creation:
> rev A -> cur
>
> Later edit:
> rev B -> cur
> rev A -> old
>
> Deletion
> rev B -> archive (hidden)
> rev A -> archive (hidden)
>
> New creation with same title:
> rev C -> cur
> rev B -- archive (hidden)
> rev A -- archive (hidden)
>
> Later edit:
> rev D -> cur
> rev C -> old
> rev B -- archive (hidden)
> rev A -- archive (hidden)
>
> Restoration of deleted revisions:
> rev D -- cur
> rev C -- old
> rev B -> old
> rev A -> old

Gratefully,

Ed Poor

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.