allwiki首页  
天下维客 你可以修改的网络知识库
首页最近更改优秀条目专题展示电脑科技词典软件学习网络知识电脑安全明星时尚天下百科
 

Archive

天下维客,你可以修改的网络知识库

Jump to: navigation, search
返回到Mediawiki数据库条目↑ Archive

这个表中的内容类似这样:Archive表的内容示例 我翻译的中文版本,英文原文参见下面:

  • archive表是一个用来存放Mediawiki删除页面信息的表。这些页面可能已被恢复,或者被删除后又被恢复。Mediawiki使用deletion interface。从1.5版开始,页面的内容仍然在text表里,删除的时间在logging表里。
  • 如果一个页面被删除了,这个页面所有的旧的版本从revision表移动到archive表。,如果一个页面被恢复了,这个页面的版本将从archive表移除,并且在revision表中重建这个页面的历史版本信息。
  • 在数据库的布局上,archive表与old 表和revison表有着广泛的关联。但是这个archive表没有主键。先前的1。5版本,text表的内容被移到了这里,所以单独的版本在ar_text字段中是非空的。这个文本可能是被压缩的,而且在这种情况下,他的ar_flags字段被标记为gzip,在这个表中现在没有一个记录是记录删除发生在什么。难以单独删除未编辑了很久的最近删除的页面.
  • The archive table is the place where MediaWiki stores information on deleted pages. The pages may be restored, or undeleted, by MediaWiki, by using the deletion interface. Beginning on MediaWiki 1.5, the content of the pages remains in the text table; the deletion time is logged in the logging table.
  • If a page is deleted, all its old revisions move from the revision table to the archive table. If a page is then restored, its revisions are removed from the archive table, and recreated in the revision table.
  • The archive table is broadly related to the old table and revision table in layout, but there is no primary key on the table. Previous to MediaWiki 1.5, content from the text table was moved here, so individual revisions had non-empty ar_text contents. That text could have been compressed, and in those cases, it was marked by gzip on the revision's ar_flags field. There is also not presently a record of when deletion occurred, making it hard to separate multiple delete cycles or distinguish old deletions from recent deletions of pages that haven't been edited in a long time.
Personal tools
工具
金银币拍卖 金币拍卖预展  金银币网店 熊猫金银币 生肖金银币