aboutsummaryrefslogtreecommitdiffstats
path: root/includes/gallery/ImageGalleryBase.php
diff options
context:
space:
mode:
authorNikki Nikkhoui <nnikkhoui@wikimedia.org>2020-07-10 09:14:50 -0700
committerNikki Nikkhoui <nnikkhoui@wikimedia.org>2020-07-11 15:33:34 -0700
commit5fb9e95b22c92acbd1614e5bb901f4fd74c48b3c (patch)
tree67b675b000ce77af2eee586662457e6097d2f8fa /includes/gallery/ImageGalleryBase.php
parenta09d7fb118d3f1cfef948ee4a77e8e588af6625b (diff)
downloadmediawikicore-5fb9e95b22c92acbd1614e5bb901f4fd74c48b3c.tar.gz
mediawikicore-5fb9e95b22c92acbd1614e5bb901f4fd74c48b3c.zip
Mark potential abstract classes stable for subclassing
Going through some more abstract classes in core, and marking those that are extended by extensions as stable. I have limited knowledge on the uses of these classes so marking for vibisility/review. Bug: T247862 Change-Id: I1939bb11038ec2536eebbdbd12524e83d615b86b
Diffstat (limited to 'includes/gallery/ImageGalleryBase.php')
-rw-r--r--includes/gallery/ImageGalleryBase.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/gallery/ImageGalleryBase.php b/includes/gallery/ImageGalleryBase.php
index 2df5818c07dd..9aae713ef7d1 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
* @ingroup Media
*/
abstract class ImageGalleryBase extends ContextSource {
@@ -258,6 +258,8 @@ abstract class ImageGalleryBase extends ContextSource {
* to allow extensions to add additional parameters to
* <gallery> parser tag.
*
+ * @stable for overriding
+ *
* @param array $options Attributes of gallery tag
*/
public function setAdditionalOptions( $options ) {