}
$out->setPageTitle( $this->msg( 'version-credits-title', $extName ) );
- $out->addWikiText( $wikiText );
+ $out->addWikiTextAsInterface( $wikiText );
break;
case 'license':
}
$out->setPageTitle( $this->msg( 'version-license-title', $extName ) );
- $out->addWikiText( $wikiText );
+ $out->addWikiTextAsInterface( $wikiText );
break;
default:
$out->addModuleStyles( 'mediawiki.special.version' );
- $out->addWikiText(
+ $out->addWikiTextAsInterface(
$this->getMediaWikiCredits() .
$this->softwareInformation() .
$this->getEntryPointInfo()
$this->getParserTags() .
$this->getParserFunctionHooks()
);
- $out->addWikiText( $this->getWgHooks() );
+ $out->addWikiTextAsInterface( $this->getWgHooks() );
$out->addHTML( $this->IPInfo() );
break;
$vcsDate = null;
if ( isset( $extension['version'] ) ) {
- $canonicalVersion = $out->parseInline( $extension['version'] );
+ $canonicalVersion = $out->parseInlineAsInterface( $extension['version'] );
}
if ( isset( $extension['path'] ) ) {
if ( isset( $extension['name'] ) ) {
$licenseName = null;
if ( isset( $extension['license-name'] ) ) {
- $licenseName = new HtmlArmor( $out->parseInline( $extension['license-name'] ) );
+ $licenseName = new HtmlArmor( $out->parseInlineAsInterface( $extension['license-name'] ) );
} elseif ( $this->getExtLicenseFileName( $extensionPath ) ) {
$licenseName = $this->msg( 'version-ext-license' )->text();
}
} else {
$description = '';
}
- $description = $out->parseInline( $description );
+ $description = $out->parseInlineAsInterface( $description );
// ... now get the authors for this extension
$authors = $extension['author'] ?? [];
$list[] = $text;
} elseif ( substr( $item, -5 ) == ' ...]' ) {
$hasOthers = true;
- $list[] = $this->getOutput()->parseInline(
+ $list[] = $this->getOutput()->parseInlineAsInterface(
substr( $item, 0, -4 ) . $this->msg( 'version-poweredby-others' )->text() . "]"
);
} else {
- $list[] = $this->getOutput()->parseInline( $item );
+ $list[] = $this->getOutput()->parseInlineAsInterface( $item );
}
}