Page MenuHomePhabricator

lack of indent-pre-block supporting
Closed, ResolvedPublic

Description

Author: jiangxin

Description:
Indent-PRE-Block means before PRE block (<pre>), there are several colon and the rander page shows
a indented PRE block. When using UseMod wiki, I like it's indent pre syntax, but MediaWiki seems
not support it. Like this:

#list1
#:<pre>
blah blah blah
</pre>
#list2

I have a patch to fix it, while the patch may have a bug: if the PRE block after colon is not
closed, data after pre block will lost.

My patch on this - http://meta.wikimedia.org/wiki/User:Jiangxin/Patch_Indent_Pre


Version: unspecified
Severity: normal
OS: Windows XP
Platform: PC
URL: http://meta.wikimedia.org/wiki/User:Jiangxin/Patch_Indent_Pre

Details

Reference
bz3989

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:54 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz3989.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of 1581 ***

jiangxin wrote:

Yeah. while I checked bug 1581, and find it may have relationship with bug 1115.
I fixed both bug 1581 and bug 1115 using this patch.
Please check it: