|
@@ 1685-1688 (lines=4) @@
|
| 1682 |
|
$header = $this->msg( 'api-help-datatypes-header' )->parse(); |
| 1683 |
|
|
| 1684 |
|
// Add an additional span with sanitized ID |
| 1685 |
|
if ( !$this->getConfig()->get( 'ExperimentalHtmlIds' ) ) { |
| 1686 |
|
$header = Html::element( 'span', [ 'id' => Sanitizer::escapeId( 'main/datatypes' ) ] ) . |
| 1687 |
|
$header; |
| 1688 |
|
} |
| 1689 |
|
$help['datatypes'] .= Html::rawElement( 'h' . min( 6, $level ), |
| 1690 |
|
[ 'id' => 'main/datatypes', 'class' => 'apihelp-header' ], |
| 1691 |
|
$header |
|
@@ 1707-1710 (lines=4) @@
|
| 1704 |
|
} |
| 1705 |
|
|
| 1706 |
|
// Add an additional span with sanitized ID |
| 1707 |
|
if ( !$this->getConfig()->get( 'ExperimentalHtmlIds' ) ) { |
| 1708 |
|
$header = Html::element( 'span', [ 'id' => Sanitizer::escapeId( 'main/credits' ) ] ) . |
| 1709 |
|
$header; |
| 1710 |
|
} |
| 1711 |
|
$header = $this->msg( 'api-credits-header' )->parse(); |
| 1712 |
|
$help['credits'] .= Html::rawElement( 'h' . min( 6, $level ), |
| 1713 |
|
[ 'id' => 'main/credits', 'class' => 'apihelp-header' ], |