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

           Summary: indented table syntax
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Page rendering
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: dab...@gmail.com


Problem:
Parser is unable to render indented tables which are separated by spaces from
heading colons (:).

Example:
:{| ... this cause correct table rendering
: {| ... this cause a bug

Solution:
in method doTableStuff() (phase3/includes/parser/Parser.php) replace regexp. on
line like
if ( preg_match( '/^(:*)\{\|(.*)$/', $line , $matches ) ) {
with
if ( preg_match( '/^(:*) *\{\|(.*)$/', $line , $matches ) ) {

thanks.


-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to