wiki.techinc.nl/includes/gallery
C. Scott Ananian 0450b5e4d5 Add double-px-category tracking category for deprecated image size syntax
For decades MediaWiki has allowed "extra" px modifiers in image size
specifications, for example `100pxpx`.  It has been suggested since at least
2008 (T15500#174968) that this behavior should be deprecated.  This is
not localized, so (for example) on eowiki we allow `100rapx` as well (!).

As one small step toward eventually removing this weird corner case behavior
add a tracking category whenever it is used on wiki.

In the process, emit deprecation warnings for
ImageGalleryBase::setWidths() or ::setHeights() if called without
ImageGalleryBase::setParser() having been set.  The ::setParser() method
already includes in its documentation that "If you do not set this and
the output of this gallery ends up in parser cache, the javascript will
break!", so please set the parser appropriately.

Bug: T15436
Bug: T15500
Bug: T372935
Change-Id: If86d949189a7d105595404d21447477499873b03
2024-08-29 17:54:38 -04:00
..
Hook
ImageGalleryBase.php Add double-px-category tracking category for deprecated image size syntax 2024-08-29 17:54:38 -04:00
ImageGalleryClassNotFoundException.php Reparent trivial subclasses of MWException 2024-01-17 04:32:33 +01:00
NolinesImageGallery.php
PackedHoverImageGallery.php
PackedImageGallery.php Namespace includes/context 2024-02-08 11:07:01 -05:00
PackedOverlayImageGallery.php Get rid of unnecessary htmltidy hack in Gallery 2023-12-05 20:29:29 -06:00
SlideshowImageGallery.php Namespace includes/context 2024-02-08 11:07:01 -05:00
TraditionalImageGallery.php Move Parser to Mediawiki\Parser namespace 2024-02-16 09:18:38 -05:00