r99252 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99251‎ | r99252 | r99253 >
Date:21:00, 7 October 2011
Author:platonides
Status:resolved (Comments)
Tags:
Comment:
Forgot to commit this file in r99250.
Modified paths:
  • /trunk/phase3/includes/parser/ParserOutput.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/ParserOutput.php
@@ -158,6 +158,8 @@
159159 if ( $this->mEditSectionTokens ) {
160160 return preg_replace_callback( ParserOutput::EDITSECTION_REGEX,
161161 array( &$this, 'replaceEditSectionLinksCallback' ), $this->mText );
 162+ } else {
 163+ return preg_replace( ParserOutput::EDITSECTION_REGEX, '\3', $this->mText );
162164 }
163165 return $this->mText;
164166 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r99254We don't need anything from the marker. The title is outside.platonides21:05, 7 October 2011
r99265MFT r99250,r99252,r99254:...aaron21:34, 7 October 2011
r100379REL1_18 MFT r99135, r99136, r99138, r99154, r99172, r99250, r99252, r99254, r...reedy21:22, 20 October 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r99250Bug 31445: "Section edit links do not show"...platonides20:50, 7 October 2011

Comments

#Comment by Brion VIBBER (talk | contribs)   21:02, 7 October 2011

I still see doubled section titles on printable view:

<h2>A nice section <span class="mw-headline" id="A_nice_section"> A nice section </span></h2>

Status & tagging log