diff options
author | jenkins-bot <jenkins-bot@gerrit.wikimedia.org> | 2020-07-13 10:05:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@wikimedia.org> | 2020-07-13 10:05:02 +0000 |
commit | 453e1357eef4358d6fe59143715458787d06d43e (patch) | |
tree | 91b2a39ae3c1eb68a478eb95f527e64a65c60c98 /includes/gallery | |
parent | 6a20eebf3dce3e664f89f602bf8e9a774faca7e3 (diff) | |
parent | 48eb174759c76852cb412ae22ca7a17e218cb95a (diff) | |
download | mediawikicore-453e1357eef4358d6fe59143715458787d06d43e.tar.gz mediawikicore-453e1357eef4358d6fe59143715458787d06d43e.zip |
Merge "Update stability annotations to follow new stable interface policy"
Diffstat (limited to 'includes/gallery')
-rw-r--r-- | includes/gallery/ImageGalleryBase.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/includes/gallery/ImageGalleryBase.php b/includes/gallery/ImageGalleryBase.php index 9aae713ef7d1..401dd5088736 100644 --- a/includes/gallery/ImageGalleryBase.php +++ b/includes/gallery/ImageGalleryBase.php @@ -26,7 +26,7 @@ use MediaWiki\MediaWikiServices; * Image gallery * * Add images to the gallery using add(), then render that list to HTML using toHTML(). - * @stable for subclassing + * @stable to extend * @ingroup Media */ abstract class ImageGalleryBase extends ContextSource { @@ -153,6 +153,11 @@ abstract class ImageGalleryBase extends ContextSource { * * You should not call this directly, but instead use * ImageGalleryBase::factory(). + * + * @stable to call + * @note constructors of subclasses must have a compatible signature + * for use by the factory() method. + * * @param string $mode * @param IContextSource|null $context */ @@ -258,7 +263,7 @@ abstract class ImageGalleryBase extends ContextSource { * to allow extensions to add additional parameters to * <gallery> parser tag. * - * @stable for overriding + * @stable to override * * @param array $options Attributes of gallery tag */ |