Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
malberts committed Nov 3, 2023
1 parent 50a663b commit 5a30a22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ChameleonTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class ChameleonTemplate extends BaseTemplate {
public function execute() {
$skin = $this->getSkin();
$skinOptions = method_exists( $skin, 'getOptions' ) ? $skin->getOptions() : [];
// TODO: Remove $bodyOnly when dropping < MW 1.39 support.
$bodyOnly = $skinOptions['bodyOnly'] ?? false;
// output the head element
// The headelement defines the <body> tag itself, it shouldn't be included in the html text
Expand Down

0 comments on commit 5a30a22

Please sign in to comment.