Avoids polluting the cache when things take advantage of the option.
Bug: T165115
Bug: T165161
Change-Id: I5be25c6de68012df58b6a0cbf92e2f972be2b68a
* @return string|bool
*/
public function getWrapOutputClass() {
* @return string|bool
*/
public function getWrapOutputClass() {
+ $this->optionUsed( 'wrapclass' );
return $this->wrapOutputClass;
}
return $this->wrapOutputClass;
}
$confstr .= '!printable=1';
}
$confstr .= '!printable=1';
}
+ if ( $this->wrapOutputClass !== 'mw-parser-output' && in_array( 'wrapclass', $forOptions ) ) {
+ $confstr .= '!wrapclass=' . $this->wrapOutputClass;
+ }
+
if ( $this->mExtraKey != '' ) {
$confstr .= $this->mExtraKey;
}
if ( $this->mExtraKey != '' ) {
$confstr .= $this->mExtraKey;
}