109
edits
Line 40: | Line 40: | ||
length in byte, all types are littlendian | length in byte, all types are littlendian | ||
=== article entry === | |||
{|{{Prettytable}} | {|{{Prettytable}} | ||
! Field Name !! Type !! Offset !! Length !! Description | ! Field Name !! Type !! Offset !! Length !! Description | ||
|- | |- | ||
| | | redirectFlag || boolean || 0 || 1 || 0 for article | ||
|- | |- | ||
| | | mime || integer || 1 || 1 || mime type code | ||
|- | |- | ||
| | | empty || || 2 || 1 || was compression flag, this is now in the cluster header | ||
|- | |- | ||
| | | namespace || char || 3 || 1 || | ||
|- | |- | ||
| | | cluster number || integer || 4 || 4 || | ||
|- | |- | ||
| | | blob number || integer || 8 || 4 || | ||
|- | |- | ||
| | | extraLen || integer || 12 || 2 || length of extra bytes (title and parameter) | ||
|- | |- | ||
| | |} | ||
=== redirect entry === | |||
{|{{Prettytable}} | |||
! Field Name !! Type !! Offset !! Length !! Description | |||
|- | |||
| redirectFlag || boolean || 0 || 1 || 1 for redirect | |||
|- | |||
| mime || integer || 1 || 1 || unused for redirects | |||
|- | |||
| empty || || 2 || 1 || was compression flag, this is now in the cluster header | |||
|- | |||
| namespace || char || 3 || 1 || | |||
|- | |- | ||
| | | redirect index || integer || 4 || 4 || | ||
|- | |- | ||
| extraLen || integer || | | extraLen || integer || 8 || 2 || length of extra bytes (title and parameter) | ||
|- | |- | ||
|} | |} |