Yaron Koren has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/340749 )
Change subject: Fix for 5c83f15802eb - parsed message needs to change
......................................................................
Fix for 5c83f15802eb - parsed message needs to change
Change-Id: I61be5374e3496a336c9b6d022f7f4beed48e441b
---
M i18n/en.json
M includes/PF_FormPrinter.php
2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/PageForms
refs/changes/49/340749/2
diff --git a/i18n/en.json b/i18n/en.json
index 4695513..ebefa68 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -164,7 +164,7 @@
"pf_editsource": "Edit source",
"pf_formedit_edittitle": "Edit $1: $2",
"pf_formedit_morethanoneform": "'''Warning:''' More than one default
form is defined for this page.",
- "pf_formedit_formwarning": "Warning: This page <a href=\"$1\">already
exists</a>, but it does not use this form.",
+ "pf_formedit_formwarning": "Warning: This page [[$1|already exists]],
but it does not use this form.",
"pf_formedit_mismatchedbrackets": "Warning: This page contains curly or
square brackets that are not closed, so the page will not be handled correctly
by the form. Please <a href=\"$1\">fix the error in the source text</a> before
proceeding.",
"pf_formedit_remove": "Remove this instance",
"pf_formedit_addanotherabove": "Add another instance above this one",
diff --git a/includes/PF_FormPrinter.php b/includes/PF_FormPrinter.php
index d73d3d9..3895982 100644
--- a/includes/PF_FormPrinter.php
+++ b/includes/PF_FormPrinter.php
@@ -1508,7 +1508,7 @@
$this->mPageTitle->exists() && $existing_page_content
!== ''
&& !$source_page_matches_this_form ) {
$form_text = "\t" . '<div class="warningbox">' .
- wfMessage( 'pf_formedit_formwarning',
htmlspecialchars( $this->mPageTitle->getFullURL() ) )->parse() .
+ wfMessage( 'pf_formedit_formwarning',
$page_name )->parse() .
"</div>\n<br clear=\"both\" />\n" . $form_text;
}
--
To view, visit https://gerrit.wikimedia.org/r/340749
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I61be5374e3496a336c9b6d022f7f4beed48e441b
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/PageForms
Gerrit-Branch: master
Gerrit-Owner: Yaron Koren <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits