Last modified: 2011-08-19 19:12:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T19783, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17783 - Extra linebreak after the categorytree
Extra linebreak after the categorytree
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
CategoryTree (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-04 11:46 UTC by Syswiki
Modified: 2011-08-19 19:12 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Syswiki 2009-03-04 11:46:30 UTC
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";'
Comment 1 Bugmeister Bot 2011-08-19 19:12:23 UTC
Unassigning default assignments. http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/54734

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links