MediaWiki
REL1_32
PreparedEdit.php
Go to the documentation of this file.
1
<?php
21
namespace
MediaWiki\Edit
;
22
23
use
Content
;
24
use
ParserOptions
;
25
use
ParserOutput
;
26
34
class
PreparedEdit
{
35
41
public
$timestamp
;
42
48
public
$revid
;
49
55
public
$pstContent
;
56
62
public
$format
;
63
69
public
$popts
;
70
76
public
$output
;
77
83
public
$newContent
;
84
90
public
$oldContent
;
91
92
}
MediaWiki\Edit\PreparedEdit
Represents information returned by WikiPage::prepareContentForEdit()
Definition
PreparedEdit.php:34
MediaWiki\Edit\PreparedEdit\$oldContent
Content null $oldContent
Current content of the page, if any.
Definition
PreparedEdit.php:90
MediaWiki\Edit\PreparedEdit\$revid
int null $revid
Revision ID.
Definition
PreparedEdit.php:48
MediaWiki\Edit\PreparedEdit\$popts
ParserOptions $popts
Parser options used to get parser output.
Definition
PreparedEdit.php:69
MediaWiki\Edit\PreparedEdit\$newContent
Content $newContent
Content that is being saved (before PST)
Definition
PreparedEdit.php:83
MediaWiki\Edit\PreparedEdit\$format
string $format
Content format.
Definition
PreparedEdit.php:62
MediaWiki\Edit\PreparedEdit\$pstContent
Content null $pstContent
Content after going through pre-save transform.
Definition
PreparedEdit.php:55
MediaWiki\Edit\PreparedEdit\$timestamp
string $timestamp
Time this prepared edit was made.
Definition
PreparedEdit.php:41
MediaWiki\Edit\PreparedEdit\$output
ParserOutput null $output
Parser output.
Definition
PreparedEdit.php:76
ParserOptions
Set options of the Parser.
Definition
ParserOptions.php:42
ParserOutput
Definition
ParserOutput.php:25
Content
Base interface for content objects.
Definition
Content.php:34
MediaWiki\Edit
Definition
PreparedEdit.php:21
includes
edit
PreparedEdit.php
Generated on Mon Nov 25 2024 15:57:01 for MediaWiki by
1.10.0