Manual:Article.php

From MediaWiki.org

Jump to: navigation, search
MediaWiki File: Article.php
Location: /includes/
Source code: HEAD

1.13.21.12.11.6.10

Classes: Article


Contents

[edit] Description

The Article class represents a MediaWiki article and its history. It encapsulates access to the way articles are stored in the database, and allows access to properties such as article text (in Wikitext format), flags, etc.

This file contains e.g. one version of function "view" for viewing a page, called from Wiki.php (another version is in RawPage.php). This function fetches the wikitext $mContent of the page from the database using functions getContent, loadContent and fetchContent, and assigns this to $text. After that it calls function addPrimaryWikiText in OutputPage.php to process $text.

[edit] Includes or Requires

[edit] Class Members

[edit] Article

  • $mComment
  • $mContent
  • $mContentLoaded
  • $mCounter
  • $mFileCache (v 1.6.10)
  • $mForUpdate
  • $mGoodAdjustment
  • $mId (v 1.6.10)
  • $mLatest
  • $mMinorEdit
  • $mOldId
  • $mRedirectedFrom
  • $mRedirectUrl
  • $mRevIdFetched
  • $mRevision
  • $mTable (v 1.6.10)
  • $mTimestamp
  • $mTitle
  • $mTotalAdjustment
  • $mTouched
  • $mUser
  • $mUserText

[edit] Hooks

[edit] See also

Personal tools