[MediaWiki-commits] [Gerrit] mediawiki...ProofreadPage[master]: Avoids to call the deprecated EditPage::safeUnicodeInput fun...
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/393124 ) Change subject: Avoids to call the deprecated EditPage::safeUnicodeInput function .. Avoids to call the deprecated EditPage::safeUnicodeInput function Change-Id: Ie1b5479993020c33e83edea5c4e880d86842bb7b --- M includes/page/EditPagePage.php 1 file changed, 3 insertions(+), 3 deletions(-) Approvals: jenkins-bot: Verified Tpt: Looks good to me, approved diff --git a/includes/page/EditPagePage.php b/includes/page/EditPagePage.php index b196cea..c8e3802 100644 --- a/includes/page/EditPagePage.php +++ b/includes/page/EditPagePage.php @@ -199,9 +199,9 @@ $currentContent = $this->getCurrentContent(); return $this->pageContentBuilder->buildContentFromInput( - $this->safeUnicodeInput( $request, 'wpHeaderTextbox' ), - $this->safeUnicodeInput( $request, 'wpTextbox1' ), - $this->safeUnicodeInput( $request, 'wpFooterTextbox' ), + $request->getText( 'wpHeaderTextbox' ), + $request->getText( 'wpTextbox1' ), + $request->getText( 'wpFooterTextbox' ), $request->getInt( 'wpQuality', $currentContent->getLevel()->getLevel() ), $currentContent )->serialize(); -- To view, visit https://gerrit.wikimedia.org/r/393124 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ie1b5479993020c33e83edea5c4e880d86842bb7b Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ProofreadPage Gerrit-Branch: master Gerrit-Owner: TptGerrit-Reviewer: Tpt Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki...ProofreadPage[master]: Avoids to call the deprecated EditPage::safeUnicodeInput fun...
Tpt has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/393124 ) Change subject: Avoids to call the deprecated EditPage::safeUnicodeInput function .. Avoids to call the deprecated EditPage::safeUnicodeInput function Change-Id: Ie1b5479993020c33e83edea5c4e880d86842bb7b --- M includes/page/EditPagePage.php 1 file changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ProofreadPage refs/changes/24/393124/1 diff --git a/includes/page/EditPagePage.php b/includes/page/EditPagePage.php index b196cea..c8e3802 100644 --- a/includes/page/EditPagePage.php +++ b/includes/page/EditPagePage.php @@ -199,9 +199,9 @@ $currentContent = $this->getCurrentContent(); return $this->pageContentBuilder->buildContentFromInput( - $this->safeUnicodeInput( $request, 'wpHeaderTextbox' ), - $this->safeUnicodeInput( $request, 'wpTextbox1' ), - $this->safeUnicodeInput( $request, 'wpFooterTextbox' ), + $request->getText( 'wpHeaderTextbox' ), + $request->getText( 'wpTextbox1' ), + $request->getText( 'wpFooterTextbox' ), $request->getInt( 'wpQuality', $currentContent->getLevel()->getLevel() ), $currentContent )->serialize(); -- To view, visit https://gerrit.wikimedia.org/r/393124 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie1b5479993020c33e83edea5c4e880d86842bb7b Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ProofreadPage Gerrit-Branch: master Gerrit-Owner: Tpt___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits