Manual:WikiPage.php/ja

 クラスは、MediaWiki のページとその履歴を表現します. It encapsulates access to page information stored in the database, and allows access to properties such as page text (in Wikitext format), flags, etc.

In theory, WikiPage is supposed to be the model object for pages, while the class handles the business and presentation functions. If you have an Article object, you can get a WikiPage object using.



WikiPageオブジェクトの作成
The three methods below are deprecated since since 1.36. See now instead.

To instantiate, call one of the static factory methods:


 * -  は Title のインスタンス
 * -  はページ ID
 * - where  is a row fetched from the database containing all the fields listed in.

メソッド

 * : Get the content of the latest revision, where $audience is one of:
 * - to be displayed to all users
 * - to be displayed to
 * - get the text regardless of permissions
 * To get the text of the latest revision, use:

メソッドの完全な一覧については https://doc.wikimedia.org/mediawiki-core/master/php/classWikiPage.html を参照してください.

Accessors

 * - Get the title object of the article.

