MediaWiki  1.30.0
MediaWiki\Edit\PreparedEdit Class Reference

Represents information returned by WikiPage::prepareContentForEdit() More...

Collaboration diagram for MediaWiki\Edit\PreparedEdit:

Public Attributes

string $format
 Content format. More...
 
Content $newContent
 Content that is being saved (before PST) More...
 
string $newText
 $newContent in text form More...
 
Content null $oldContent
 Current content of the page, if any. More...
 
string $oldText
 $oldContent in text from More...
 
ParserOutput null $output
 Parser output. More...
 
ParserOptions $popts
 Parser options used to get parser output. More...
 
string $pst
 $pstContent in text form More...
 
Content null $pstContent
 Content after going through pre-save transform. More...
 
int null $revid
 Revision ID. More...
 
string $timestamp
 Time this prepared edit was made. More...
 

Detailed Description

Represents information returned by WikiPage::prepareContentForEdit()

Since
1.30

Definition at line 32 of file PreparedEdit.php.

Member Data Documentation

◆ $format

string MediaWiki\Edit\PreparedEdit::$format

Content format.

Definition at line 60 of file PreparedEdit.php.

◆ $newContent

Content MediaWiki\Edit\PreparedEdit::$newContent

Content that is being saved (before PST)

Definition at line 81 of file PreparedEdit.php.

◆ $newText

string MediaWiki\Edit\PreparedEdit::$newText

$newContent in text form

Deprecated:
since 1.21

Definition at line 96 of file PreparedEdit.php.

◆ $oldContent

Content null MediaWiki\Edit\PreparedEdit::$oldContent

Current content of the page, if any.

Definition at line 88 of file PreparedEdit.php.

◆ $oldText

string MediaWiki\Edit\PreparedEdit::$oldText

$oldContent in text from

Deprecated:
since 1.21

Definition at line 104 of file PreparedEdit.php.

◆ $output

ParserOutput null MediaWiki\Edit\PreparedEdit::$output

Parser output.

Definition at line 74 of file PreparedEdit.php.

◆ $popts

ParserOptions MediaWiki\Edit\PreparedEdit::$popts

Parser options used to get parser output.

Definition at line 67 of file PreparedEdit.php.

◆ $pst

string MediaWiki\Edit\PreparedEdit::$pst

$pstContent in text form

Deprecated:
since 1.21

Definition at line 112 of file PreparedEdit.php.

◆ $pstContent

Content null MediaWiki\Edit\PreparedEdit::$pstContent

Content after going through pre-save transform.

Definition at line 53 of file PreparedEdit.php.

◆ $revid

int null MediaWiki\Edit\PreparedEdit::$revid

Revision ID.

Definition at line 46 of file PreparedEdit.php.

◆ $timestamp

string MediaWiki\Edit\PreparedEdit::$timestamp

Time this prepared edit was made.

Definition at line 39 of file PreparedEdit.php.


The documentation for this class was generated from the following file: