MediaWiki master
CommentItem.php
Go to the documentation of this file.
1<?php
2
4
6
18 public $comment;
19
25
30 public $samePage;
31
36 public $wikiId;
37
41 public function __construct( string $comment ) {
42 $this->comment = $comment;
43 }
44
54 return $this;
55 }
56
64 public function samePage( $samePage = true ) {
65 $this->samePage = $samePage;
66 return $this;
67 }
68
78 public function wikiId( $wikiId ) {
79 $this->wikiId = $wikiId;
80 return $this;
81 }
82}
An object to represent one of the inputs to a batch formatting operation.
wikiId( $wikiId)
ID of the wiki to link to (if not the local wiki), as used by WikiMap.
samePage( $samePage=true)
Set the same-page flag.
selfLinkTarget(LinkTarget $selfLinkTarget)
Set the self-link target.
Represents the target of a wiki link.