Go to file
Arlo Breault b2113e0154 Add back description links when !$wgParserEnableLegacyMediaDOM
The approach taken here is the same as in core for magnify links on
thumbs in Id46d1b2ab1af3baebff13e10f1485f3cfd9a4b37

The gist is that resource attributes are added on the mw-file-element so
that the necessary url is present in the html.  A class is also added to
the wrapper element that designates where the link should be positioned.
Finally, a script adds the link which styles in appropriately.

Bug: T329364
Depends-On: Id46d1b2ab1af3baebff13e10f1485f3cfd9a4b37
Change-Id: I20130fd39135dfd5074590ee9c2b6e01693384e4
2023-05-22 15:22:42 +00:00
.phan Avoid Phan PhanUndeclaredMethod false positives 2022-11-25 18:37:02 +00:00
i18n Localisation updates from https://translatewiki.net. 2023-01-11 09:01:58 +01:00
includes Add back description links when !$wgParserEnableLegacyMediaDOM 2023-05-22 15:22:42 +00:00
resources Add back description links when !$wgParserEnableLegacyMediaDOM 2023-05-22 15:22:42 +00:00
tests/parser Add back description links when !$wgParserEnableLegacyMediaDOM 2023-05-22 15:22:42 +00:00
.eslintrc.json build: Updating eslint-config-wikimedia to 0.19.0 2021-03-13 22:12:56 +00:00
.gitignore build: Install eslint 2019-05-06 16:18:51 -07:00
.gitreview Whoops, track not trace 2016-10-24 17:02:44 -07:00
.phpcs.xml build: Updating eslint-config-wikimedia to 0.18.2 2021-03-06 23:31:14 +00:00
CODE_OF_CONDUCT.md build: Updating mediawiki/phan-taint-check-plugin to 1.3.0 2018-08-19 13:29:02 +00:00
composer.json build: Updating dependencies 2023-04-29 05:43:28 +00:00
COPYING Add COPYING 2014-01-16 02:34:30 +00:00
extension.json Add back description links when !$wgParserEnableLegacyMediaDOM 2023-05-22 15:22:42 +00:00
Gruntfile.js build: Updating dependencies 2021-01-29 18:07:24 +00:00
package-lock.json build: Updating eslint-config-wikimedia to 0.25.0 2023-05-05 05:45:22 +00:00
package.json build: Updating eslint-config-wikimedia to 0.25.0 2023-05-05 05:45:22 +00:00