Page MenuHomePhabricator

Heading bug
Closed, DeclinedPublic

Description

Author: t-jolley

Description:
We are using mediawiki for an internal knowledge base and ever since we upgrade from 1.12 to 1.14+ we seen an issue with the HEADING tags removing carriage returns and becoming merged together. Trying to find out how to resolve this so that our template work correctrly

Product Version
MediaWiki 1.15.1
PHP 5.1.2 (apache2handler)
MySQL 5.0.18

For example.. if we input the following and then save:


Header 1

Header 2

The NUIT Support Center should be able to do the following:

test

test


We get the ==Header 1== and ==Header 2== merged together..and when going back into edit mode we see.


Header 1====Header 2

The NUIT Support Center should be able to do the following:

test

test


Any ideas why this would be happening? The double carriage return works fine on non-heading tags. We are having to input <br> tags in between the headings for now however would prefer not to.

We have disabled all installed extentions to verify it is not one of them.

Please let me know.


Version: 1.15.x
Severity: trivial
OS: Linux
Platform: Other

Details

Reference
bz21038

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:50 PM
bzimport set Reference to bz21038.
bzimport added a subscriber: Unknown Object (MLST).

It really looks like an extension (either in php or javascript).

MediaWiki 1.15.1 doesn't do such things (tested with your example). You must
have something else affecting your setup.

t-jolley wrote:

(In reply to comment #1)

It really looks like an extension (either in php or javascript).

MediaWiki 1.15.1 doesn't do such things (tested with your example). You must
have something else affecting your setup.

Any other suggestions you might have for me to help troubleshoot this problem? I have setup 3 different wiki's on three different servers and they are do the same parsing issue on heading tags. I can post LocalSetting, etc, if needed?

(In reply to comment #2)

Any other suggestions you might have for me to help troubleshoot this problem?
I have setup 3 different wiki's on three different servers and they are do the
same parsing issue on heading tags. I can post LocalSetting, etc, if needed?

Try disabling extensions one by one to narrow down the one causing the problem.

t-jolley wrote:

(In reply to comment #3)

(In reply to comment #2)

Any other suggestions you might have for me to help troubleshoot this problem?
I have setup 3 different wiki's on three different servers and they are do the
same parsing issue on heading tags. I can post LocalSetting, etc, if needed?

Try disabling extensions one by one to narrow down the one causing the problem.

Already tried that with no resolve. We are using the following extensions ParseFunction, FCKEditor, Widgets, Auth_remoteuser, ContributionScore, Contributor, TreeandMenu.. Agan, we disabled one at a time and still got the same results with heading spacing...

Disable all of them.
Check that the issue get resolved.
Then reenable them one at a time.

t-jolley wrote:

(In reply to comment #5)

Disable all of them.
Check that the issue get resolved.
Then reenable them one at a time.

I disabled them all, still no resolve..I just installed a complete new wiki using 1.15.1 base...no extensions, and again same issue on the new wiki where there if no content between two header tags, upon save it merges the two tags together.

Is any of those wikis public (preferably the one without extensions). What browser are you using?