https://bugzilla.wikimedia.org/show_bug.cgi?id=55398
Web browser: ---
Bug ID: 55398
Summary: Move page deletion to a RevDelete mechanism; kill
archive table (fire optional)
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Database
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
Implement the "new field" option at
https://www.mediawiki.org/wiki/Requests_for_comment/Page_deletion . I.e., add a
new field to the page table, pg_deleted (analogous to rv_deleted). Also add a
new field to the revision table, rv_logid, to store the log_id of the deletion
event. Upon restoring a page, only the revisions pertaining to the pertinent
deletion event would be restored.
So, suppose you revision delete some revisions from a page (log_id 1). Then you
delete the whole page (log_id 2). Then you undelete the page. You only restore
the revisions that have rv_logid 2, and leave the rv_logid 1 revisions deleted.
This will render the archive table obsolete, so it can be eliminated.
--
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