Meta-data is data stored with a page that is not (in general) visible on
the page or editable by the user.
There is an API to get and set it if you are writing PHP code.
The class WikiDB_Page has some methods as follows:
* Access WikiDB_Page meta-data.
* @access public
* @param string $key Which meta data to get.
* Some reserved meta-data keys are:
* <dt>'locked'<dd> Is page locked?
* <dt>'hits' <dd> Page hit counter.
* <dt>'pref' <dd> Users preferences, stored in homepages.
* <dt>'owner' <dd> Default: first author_id. We might add a group
with a do
* E.g. "owner.users"
* <dt>'perm' <dd> Permission flag to authorize read/write/execution of
* page-headers and content.
* <dt>'score' <dd> Page score (not yet implement, do we need?)
* @return scalar The requested value, or false if the requested data
* is not set.
* Set page meta-data.
* @see get
* @access public
* @param string $key Meta-data key to set.
* @param string $newval New value.
function set($key, $newval);
* Get all the page meta-data as a hash.
* @return hash The page meta-data.
/* ... the last argument is a hash (a.k.a. array) full of any meta
data you wish to save with the page.*/
function save($wikitext, $version, $meta);
Reini Urban wrote:
> Miguel Marques schrieb:
>> On Fri, 27 Aug 2004 16:57:55 +0200, Reini Urban <rurban@...> wrote:
>>> Jed Smallwood schrieb:
>>> In a cookie name WIKI_ID, in the users personalpage meta-data or
>>> optionally in the database (user or pref table).
>> I'm sorry for making such a fool out of myself, but I can't seem to
>> find a place where one can explain what/where is the meta-data of a
>> I've seen it in various places, but it is hard for a newbie in the
>> wiki world to understand :)
>> Even the categories and Authentication have been a hard thing to
>> tackle...the only place I suppose where that stuff is explained is
>> PHPWiki's Wiki, or are there anyother resources?
> In the mailinglist archives, the php sources, the official PhpWiki and
> the docs (doc directory and pgsrc).