Manual:$wgUseLegacyMediaStyles
Appearance
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 |
Other settings: Alphabetical | By function |
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.