@@ 1750-1753 (lines=4) @@ | ||
1747 | $header = $this->msg( 'api-help-datatypes-header' )->parse(); |
|
1748 | ||
1749 | // Add an additional span with sanitized ID |
|
1750 | if ( !$this->getConfig()->get( 'ExperimentalHtmlIds' ) ) { |
|
1751 | $header = Html::element( 'span', [ 'id' => Sanitizer::escapeId( 'main/datatypes' ) ] ) . |
|
1752 | $header; |
|
1753 | } |
|
1754 | $help['datatypes'] .= Html::rawElement( 'h' . min( 6, $level ), |
|
1755 | [ 'id' => 'main/datatypes', 'class' => 'apihelp-header' ], |
|
1756 | $header |
|
@@ 1772-1775 (lines=4) @@ | ||
1769 | } |
|
1770 | ||
1771 | // Add an additional span with sanitized ID |
|
1772 | if ( !$this->getConfig()->get( 'ExperimentalHtmlIds' ) ) { |
|
1773 | $header = Html::element( 'span', [ 'id' => Sanitizer::escapeId( 'main/credits' ) ] ) . |
|
1774 | $header; |
|
1775 | } |
|
1776 | $header = $this->msg( 'api-credits-header' )->parse(); |
|
1777 | $help['credits'] .= Html::rawElement( 'h' . min( 6, $level ), |
|
1778 | [ 'id' => 'main/credits', 'class' => 'apihelp-header' ], |