Provide a way of having a meaningful slot header
Open, Needs TriagePublic


The following code is from ParserOutput::getText()

		// Hydrate slot section header placeholders generated by RevisionRenderer.
		$text = preg_replace_callback(
			function ( $m ) {
				$role = htmlspecialchars_decode( $m[1] );
				// TODO: map to message, using the interface language. Set lang="xyz" accordingly.
				$headerText = $role;
				return $headerText;

The TODO needs to be implemented so that a slot can have a meaningful header on a page (rather than just the name of the slot role).

For the purposes of SDoC a plain text msg (without params) is adequate