MediaWiki REL1_39
MediaWiki\EditPage\Constraint Namespace Reference

Classes

class  AccidentalRecreationConstraint
 Make sure user doesn't accidentally recreate a page deleted after they started editing. More...
 
class  AutoSummaryMissingSummaryConstraint
 For an edit to an existing page but not with a new section, do not allow the user to post with a summary that matches the automatic summary if. More...
 
class  ChangeTagsConstraint
 Verify user can add change tags. More...
 
class  ContentModelChangeConstraint
 Verify user permissions if changing content model: Must have editcontentmodel rights Must be able to edit under the new content model. More...
 
class  CreationPermissionConstraint
 Verify be able to create the page in question if it is a new page. More...
 
class  DefaultTextConstraint
 Don't save a new page if it's blank or if it's a MediaWiki: message with content equivalent to default (allow empty pages in this case to disable messages, see T52124) More...
 
class  EditConstraintFactory
 Constraints reflect possible errors that need to be checked. More...
 
class  EditConstraintRunner
 Back end to process the edit constraints. More...
 
class  EditFilterMergedContentHookConstraint
 Verify EditFilterMergedContent hook. More...
 
class  EditRightConstraint
 Verify user permissions: Must have edit rights. More...
 
interface  IEditConstraint
 Interface for all constraints that can prevent edits. More...
 
class  ImageRedirectConstraint
 Verify user permissions: If creating a redirect in the file namespace, must have upload rights. More...
 
class  MissingCommentConstraint
 Do not allow the user to post an empty comment (only used for new section) More...
 
class  NewSectionMissingSubjectConstraint
 For a new section, do not allow the user to post with an empty subject (section title) unless they choose to. More...
 
class  PageSizeConstraint
 Verify the page isn't larger than the maximum. More...
 
class  ReadOnlyConstraint
 Verify site is not in read only mode. More...
 
class  SelfRedirectConstraint
 Verify the page does not redirect to itself unless. More...
 
class  SimpleAntiSpamConstraint
 Verify simple anti spam measure of an extra hidden text field. More...
 
class  SpamRegexConstraint
 Verify summary and text do not match spam regexes. More...
 
class  UnicodeConstraint
 Verify unicode constraint. More...
 
class  UserBlockConstraint
 Verify user permissions: Must not be blocked from the page. More...
 
class  UserRateLimitConstraint
 Verify user doesn't exceed rate limits. More...