Manual:$wgUseLegacyMediaStyles

Parser: $wgUseLegacyMediaStyles
Temporary flag to re-enable the old thumbnail styles provided by core for the legacy media HTML structure.
Introduced in version:1.41.0 (Gerrit #I70e537; git #f99dc836)
Removed in version:still in use
Allowed values:(boolean)
Default value:false

Details edit

Useful when $wgParserEnableLegacyMediaDOM is false, as is the case by default in MediaWiki 1.40+.

If you have content that depends on the classes .thumb, .tright, tfleft, .floatright, .floatleft etc., enabling this flag will re-include these deprecated style definitions for the time being.

Many templates and skins used to depend on these styles and will have to be adapted to use the new style classes. See phab:T318433.

  Warning: Internal

See also edit