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

           Summary: Extra linebreak after the categorytree
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: CategoryTree
        AssignedTo: [email protected]
        ReportedBy: [email protected]


The extension seems to put an extra newline after any categorytree, compared to
other text.

Try inserting this:

== Header with a normal amount of newlines to next header ==
<categorytree mode="pages">some category</categorytree>

== Header with one less newline, to compensate for the bug ==
<categorytree mode="pages">some category</categorytree>
== Example ==
*Example...


This has the effect that if you click edit on a section of an article instead
of the whole article, then it'll add an extra linebreak to the resulting
article.

The fix is to remove or uncomment line 394 of CategoryTreeFunctions.php that
says: '$html .= "\n\t\t";'


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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