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 |
||
|---|---|---|
| .. | ||
| Hook | ||
| ImageGalleryBase.php | ||
| ImageGalleryClassNotFoundException.php | ||
| NolinesImageGallery.php | ||
| PackedHoverImageGallery.php | ||
| PackedImageGallery.php | ||
| PackedOverlayImageGallery.php | ||
| SlideshowImageGallery.php | ||
| TraditionalImageGallery.php | ||