Reedy has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/262046

Change subject: Replace wfMsgForContentNoTrans()
......................................................................

Replace wfMsgForContentNoTrans()

Change-Id: I3e35b31a23eb13eccb8f2e8af3fae05e1386250f
---
M WikilogItemPager.php
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikilog 
refs/changes/46/262046/1

diff --git a/WikilogItemPager.php b/WikilogItemPager.php
index e0a09f3..4495b58 100644
--- a/WikilogItemPager.php
+++ b/WikilogItemPager.php
@@ -179,7 +179,7 @@
 
                # Summary entry text.
                if ( $summary ) {
-                       $more = $this->parse( wfMsgForContentNoTrans( 
'wikilog-summary-more', $params ) );
+                       $more = $this->parse( wfMessage( 
'wikilog-summary-more', $params )->inContentLanguage()->plain() );
                        $summary = WikilogUtils::wrapDiv( 'wl-summary', 
$summary . $more );
                } else {
                        $summary = WikilogUtils::wrapDiv( 'wl-summary', 
$content );
@@ -211,8 +211,8 @@
         * depending whether the content is being included in another
         * article. Note that the parser state can't be reset, or it will
         * break the parser output.
-        * @param $text Wikitext that should be parsed.
-        * @return Resulting HTML fragment.
+        * @param string $text Wikitext that should be parsed.
+        * @return string Resulting HTML fragment.
         */
        protected function parse( $text ) {
                global $wgTitle, $wgParser, $wgOut;

-- 
To view, visit https://gerrit.wikimedia.org/r/262046
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3e35b31a23eb13eccb8f2e8af3fae05e1386250f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikilog
Gerrit-Branch: master
Gerrit-Owner: Reedy <re...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to