Hoo man has submitted this change and it was merged. Change subject: Adjust efDoDiscussionLink() after changes in core ......................................................................
Adjust efDoDiscussionLink() after changes in core I6a6c12a9, Id27555c6. Change-Id: If346eec85f33b4f5a3ca292375698dea57fcb6a3 --- M DiscussionThreading.php 1 file changed, 3 insertions(+), 3 deletions(-) Approvals: Hoo man: Verified; Looks good to me, approved diff --git a/DiscussionThreading.php b/DiscussionThreading.php index d65c362..4c0e923 100644 --- a/DiscussionThreading.php +++ b/DiscussionThreading.php @@ -66,7 +66,7 @@ { global $wgSectionThreadingOn; if($wgSectionThreadingOn && $nt->isTalkPage() ) { - $spanOpen="<span class=\"editsection\">"; + $spanOpen="<span class=\"mw-editsection\">"; $spanClose="</span>"; $strippedResults = substr( substr( $result , strlen( $spanOpen )) , 0 , -strlen( $spanClose ) ); $commenturl = '§ion='.$section.'&replyto=yes'; @@ -75,8 +75,8 @@ $newthreadurl = '§ion=new'; $hint = ( $hint=='' ) ? '' : ' title="' . wfMsgHtml( 'discussionthreading-threadnewsectionhint' , htmlspecialchars( $hint ) ) . '"'; $nurl = $callobj->makeKnownLinkObj( $nt, wfMsg( 'discussionthreading-threadnewsection' ), 'action=edit'.$newthreadurl, '' , '' , '' , $hint ); - $nurl = wfMsgExt( 'editsection-brackets', array( 'escape', 'replaceafter', 'language' => $lang ), $nurl ); - $curl = wfMsgExt( 'editsection-brackets', array( 'escape', 'replaceafter', 'language' => $lang ), $curl ); + $nurl = '<span class="mw-editsection-bracket">[</span>' . $nurl . '<span class="mw-editsection-bracket">]</span>'; + $curl = '<span class="mw-editsection-bracket">[</span>' . $curl . '<span class="mw-editsection-bracket">]</span>'; $result = $spanOpen.$nurl.$strippedResults.$curl.$spanClose; } return ( true ); -- To view, visit https://gerrit.wikimedia.org/r/64369 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: If346eec85f33b4f5a3ca292375698dea57fcb6a3 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/DiscussionThreading Gerrit-Branch: master Gerrit-Owner: Matmarex <matma....@gmail.com> Gerrit-Reviewer: Hoo man <h...@online.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits