Thomas Dalton schreef:
I don't think there's an existing field you
could use
You thought correctly, there isn't.
(perhaps the schema
change should be adding a fairly large bit field to the
articles/revisions table(s) so people can add properties like this
without needing to add a new field each time, they could just change a
text file somewhere which describes what all the bits mean).
Good idea, makes for much fewer schema changes in the future. The table
we'll want this one in is the page table [1]. While we're at it, we
could also condense page_is_new and page_is_redirect into this new
page_flags bitfield.
Roan Kattouw (Catrope)
[1]
http://www.mediawiki.org/wiki/Page_table