https://bugzilla.wikimedia.org/show_bug.cgi?id=34687

Platonides <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Platonides <[email protected]> 2012-02-24 16:09:01 UTC 
---
ParserOutput->mEditSectionTokens() defaults to false, and is set to true if 
$this->mOptions->getEditSection() so I don't see any improvement on the
reported issue with your patch (you are ignoring __NOEDITSECTION__, but as the
markers are not outputed, it's probably irrelevant).

Can you provide a test for what this? I am not seeing that behavior:

$ php maintenance/eval.php 
> $popts = new ParserOptions;
> $popts->setEditSection(false);
> $output = $wgParser->parse("== Hello ==\n\nHi\n", Title::newFromText('Bug 
> 34687'), $popts);
> echo $output->getText();
<h2> <span class="mw-headline" id="Hello"> Hello </span></h2>
<p>Hi
</p>

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to