MediaWiki master
MediaWiki\Content\ValidationParams Class Reference

Public Member Functions

 __construct (private readonly PageIdentity $pageIdentity, private readonly int $flags, private readonly int $parentRevId=-1,)
 
 getFlags ()
 
 getPageIdentity ()
 
 getParentRevisionId ()
 

Detailed Description

Since
1.38 An object to hold validation params.

Definition at line 10 of file ValidationParams.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Content\ValidationParams::__construct ( private readonly PageIdentity $pageIdentity,
private readonly int $flags,
private readonly int $parentRevId = -1 )

Definition at line 11 of file ValidationParams.php.

Member Function Documentation

◆ getFlags()

MediaWiki\Content\ValidationParams::getFlags ( )

Definition at line 22 of file ValidationParams.php.

◆ getPageIdentity()

MediaWiki\Content\ValidationParams::getPageIdentity ( )

◆ getParentRevisionId()

MediaWiki\Content\ValidationParams::getParentRevisionId ( )
Deprecated
since 1.38. Born soft-deprecated as we will move usage of it to MultiContentSaveHook in ProofreadPage (only one place of usage).

Definition at line 30 of file ValidationParams.php.


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