MediaWiki
REL1_31
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
32
class
PreparedEdit
{
33
39
public
$timestamp
;
40
46
public
$revid
;
47
53
public
$pstContent
;
54
60
public
$format
;
61
67
public
$popts
;
68
74
public
$output
;
75
81
public
$newContent
;
82
88
public
$oldContent
;
89
90
}
MediaWiki\Edit\PreparedEdit
Represents information returned by WikiPage::prepareContentForEdit()
Definition
PreparedEdit.php:32
MediaWiki\Edit\PreparedEdit\$oldContent
Content null $oldContent
Current content of the page, if any.
Definition
PreparedEdit.php:88
MediaWiki\Edit\PreparedEdit\$revid
int null $revid
Revision ID.
Definition
PreparedEdit.php:46
MediaWiki\Edit\PreparedEdit\$popts
ParserOptions $popts
Parser options used to get parser output.
Definition
PreparedEdit.php:67
MediaWiki\Edit\PreparedEdit\$newContent
Content $newContent
Content that is being saved (before PST)
Definition
PreparedEdit.php:81
MediaWiki\Edit\PreparedEdit\$format
string $format
Content format.
Definition
PreparedEdit.php:60
MediaWiki\Edit\PreparedEdit\$pstContent
Content null $pstContent
Content after going through pre-save transform.
Definition
PreparedEdit.php:53
MediaWiki\Edit\PreparedEdit\$timestamp
string $timestamp
Time this prepared edit was made.
Definition
PreparedEdit.php:39
MediaWiki\Edit\PreparedEdit\$output
ParserOutput null $output
Parser output.
Definition
PreparedEdit.php:74
ParserOptions
Set options of the Parser.
Definition
ParserOptions.php:40
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:34:42 for MediaWiki by
1.10.0