LiquidThreads 3.0/Old object model/Discussion core
From MediaWiki.org
- This is part of the 2011 LiquidThreads redesign project
This page details the objects used in the core discussion module.
Contents |
[edit] Topic
This class represents a topic, potentially on a discussion page. Its parent will usually be a Channel.
[edit] Attributes
- Subject
- The subject line for the topic.
- Sort key
- The key used for sorting this topic among others on the Channel.
[edit] Post
This class represents a particular comment in a discussion. Its parent will usually be a Post or a Topic.
[edit] Attributes
- Author
- The author of the post.
- Text ID
- A foreign key to the text table, a pointer to the comment text.
- Signature
- The signature displayed at the bottom of the post.
- Timestamp
- The timestamp displayed at the bottom of the post (different to the last-modified date).
[edit] Summary
This represents an editor-written summary of a Topic. A Topic may have one Summary, which is collaboratively edited. Its parent will usually be the Topic in question.
[edit] Attributes
- Text ID
- A pointer to the comment text in the text table.
[edit] Channel
A Channel is comparable to a forum in traditional message-board software. It contains a number of Topics. For the initial release, a Channel will be associated with a single discussion page.
[edit] Attributes
- Page
- The discussion page that displays this Channel.