X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=blobdiff_plain;f=includes%2Fimport%2FWikiRevision.php;h=c29ba2144fb0148a5047baee65549119ea22a3ad;hb=00ca43d824e11b1a45a2b08b433eb8e927524261;hp=e36d6734995c37d63419524ec065719fb9a5a727;hpb=22f137ced85fe4841c71ba6c2b9faf6199b5a539;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/import/WikiRevision.php b/includes/import/WikiRevision.php index e36d673499..c29ba2144f 100644 --- a/includes/import/WikiRevision.php +++ b/includes/import/WikiRevision.php @@ -144,6 +144,12 @@ class WikiRevision implements ImportableUploadRevision, ImportableOldRevision { */ public $sha1base36 = false; + /** + * @since 1.34 + * @var string[] + */ + protected $tags = []; + /** * @since 1.17 * @var string @@ -310,6 +316,14 @@ class WikiRevision implements ImportableUploadRevision, ImportableOldRevision { $this->sha1base36 = $sha1base36; } + /** + * @since 1.34 + * @param string[] $tags + */ + public function setTags( array $tags ) { + $this->tags = $tags; + } + /** * @since 1.12.2 * @param string $filename @@ -509,6 +523,14 @@ class WikiRevision implements ImportableUploadRevision, ImportableOldRevision { return false; } + /** + * @since 1.34 + * @return string[] + */ + public function getTags() { + return $this->tags; + } + /** * @since 1.17 * @return string