6.0.0-beta1
03.07.25

[#12211] Most recent changes have broken some MediaWiki parsing
Summary Most recent changes have broken some MediaWiki parsing
Queue Wicked
Queue Version Git develop
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester simon (at) simonandkate (dot) net
Created 04/23/2013 (4454 days ago)
Due
Updated 06/11/2013 (4405 days ago)
Assigned 04/26/2013 (4451 days ago)
Resolved 06/10/2013 (4406 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/11/2013 12:26:05 AM simon (at) simonandkate (dot) net Comment #7 Reply to this comment
Thanks, fixed.
06/10/2013 09:55:30 PM Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
 
06/10/2013 09:55:01 PM Git Commit Comment #6 Reply to this comment
Changes have been made in Git (master):

commit 497a3c87284e3c7a0a38f20090207ca1121238ea
Author: Jan Schneider <jan@horde.org>
Date:   Mon Jun 10 23:53:13 2013 +0200

     [jan] Fix parsing of headings in other than the default rule (Bug #12211).

  wicked/docs/CHANGES                               |    1 +
  wicked/lib/Text_Wiki/Parse/Cowiki/Heading2.php    |   15 +++++++++++++++
  wicked/lib/Text_Wiki/Parse/Creole/Heading2.php    |   12 ++++++++++++
  wicked/lib/Text_Wiki/Parse/Mediawiki/Heading2.php |   12 ++++++++++++
  wicked/lib/Text_Wiki/Parse/Tiki/Heading2.php      |   12 ++++++++++++
  wicked/package.xml                                |   12 +++++++++++-
  6 files changed, 63 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/497a3c87284e3c7a0a38f20090207ca1121238ea
06/07/2013 04:19:28 AM simon (at) simonandkate (dot) net Comment #5 Reply to this comment
Creole formatting uses a similar scheme for headings, e.g.

==Heading2

Where MediaWiki would be

==Heading2==

Setting Wicked to use Creole also fails to recognise the == as 
denoting a heading.

06/07/2013 04:08:33 AM simon (at) simonandkate (dot) net Comment #4 Reply to this comment
I rolled Text_Wiki back to 1.2.0 (which was released in 2007 btw, so 
has not been upgraded recently) and the problem remains, so that is 
not the issue.

How do I get the Wicked to correctly interpret the "=" symbols as they 
should be in a MediaWiki?
04/27/2013 03:42:12 AM simon (at) simonandkate (dot) net Comment #3 Reply to this comment
Pear list:

Text_Wiki               1.2.1    stable
Text_Wiki_Creole        1.0.2    stable
Text_Wiki_Mediawiki     0.2.0    alpha
Text_Wiki_Tiki          0.1.0    alpha

I probably ran a pear upgrade at a similar time to manually pushing in 
the latest Wicked from git.

Why is that an issue?

04/26/2013 05:52:36 PM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Are you sure you didn't update Text_Wiki at the same time?
04/23/2013 11:01:11 PM simon (at) simonandkate (dot) net Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Most recent changes have broken some MediaWiki parsing
Queue ⇒ Wicked
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
My Wicked site was originally imported from MediaWiki, so I elected to 
continue to use that format, using the Mediawiki renderer in Wicked. 
This was fine under Horde 4, and has been fine under Horde 5 using 
Wicked from git.

However, I updated from git on the 13th April, and the rendering 
engine no longer interprets = as a level indicator.

So instead of seeing e.g. a level 2 header I see:

==This is supposed to be a level 2 header==


Saved Queries