Jump to content

Manual talk:Hooks/OutputPageBodyAttributes

Add topic
From mediawiki.org
Latest comment: 4 years ago by GreenReaper in topic Adding an empty attribute

Adding an empty attribute

[edit]

It'd be nice to be able to set just 'itemprop' (for Schema.org) rather than 'itemprop=""'. I tried setting the attribute equal to null and FALSE but these did not work for this purpose - you seem to need an empty string. GreenReaper (talk) 21:37, 22 February 2021 (UTC)Reply