Skip to content

Commit

Permalink
Fix link
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenDeDauw committed Feb 17, 2025
1 parent 59da795 commit 53a53a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"wikibase-rdf-config-intro": "",
"wikibase-rdf-config-invalid": "Invalid {{PLURAL:$1|predicate|predicates}}:\n$2. Your changes were not saved.",

"wikibase-rdf-config-list-intro": "This page defines which predicates can be used in mappings to other ontologies. This functionality is part of the <a href=\"https://www.mediawiki.org/wiki/Extension:WikibaseRDF\">Wikibase RDF extension</a>.",
"wikibase-rdf-config-list-intro": "This page defines which predicates can be used in mappings to other ontologies. This functionality is part of the [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Wikibase_RDF Wikibase RDF extension].",
"wikibase-rdf-config-list-heading": "Allowed {{PLURAL:$1|predicate|predicates}}:",
"wikibase-rdf-config-list-empty": "No predicates are defined.",
"wikibase-rdf-config-list-footer": "Defined in LocalSettings.php, cannot be modified via this page.",
Expand Down
4 changes: 2 additions & 2 deletions src/Presentation/HtmlPredicatesPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function presentPredicates( PredicateList $localSettingsPredicates, Predi
}

private function createIntro(): string {
return Html::rawElement( 'p', [], $this->msg( 'wikibase-rdf-config-list-intro' )->text() );
return Html::rawElement( 'p', [], $this->msg( 'wikibase-rdf-config-list-intro' )->parse() );
}

private function createList(): string {
Expand Down Expand Up @@ -78,7 +78,7 @@ private function createFooter(): string {
return Html::rawElement(
'p',
[],
self::ASTERISK . ' ' . $this->msg( 'wikibase-rdf-config-list-footer' )->text()
self::ASTERISK . ' ' . $this->msg( 'wikibase-rdf-config-list-footer' )->escaped()
);
}

Expand Down

0 comments on commit 53a53a0

Please sign in to comment.