Topic on Extension talk:TextExtracts

How to remove one of default values in $ExtractsRemoveClasses?

2
Radouch (talkcontribs)

I use some kind of layout for pages of my wiki. It means that almost every page begins with the div tag.

Unfortunately, div is among default items in $ExtractsRemoveClasses array (defined in extension.json of this extension). So no text is displayed by Extension:Popups for those pages as content inside div element is ignored by TextExtracts.

I would like to remove div item from $ExtractsRemoveClasses in my LocalSettings.php, but I cannot find the right way to do it. Some ideas, please?

As a workaround, I removed div from extension.json, but I am sure it is a bad practice.

Joe Beaudoin Jr. Redux (talkcontribs)

Unfortunately, this is the only way to do this at this point... and you need to do it if you use the Citizen skin, as of this writing anyway.

Reply to "How to remove one of default values in $ExtractsRemoveClasses?"