Jump to content

Manual:$wgParserEnableLegacyMediaDOM

From mediawiki.org
Parser: $wgParserEnableLegacyMediaDOM
Enable legacy media HTML structure in the output from the Parser.
Introduced in version:1.37.0 (Gerrit change 507512; git #fdd8f864)
Deprecated in version:1.41.0 (Gerrit change 952895; git #bb8cd2ec)
Removed in version:Still in use
Allowed values:(boolean)
Default value:false (1.40+, gerrit:901294)
true (1.37-1.39)

Details

Enable legacy media HTML structure in the output from the Parser. The alternative modern HTML structure that replaces it is described at Parsing/Media structure

See also