History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LEP-6118
Type: Sub-task Sub-task
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Jorge Ferrer
Reporter: Jorge Ferrer
Votes: 0
Watchers: 0
Available Workflow Actions

Review for EE
Operations

If you were logged in you would be able to see more operations.
Old Liferay Portal (Use Liferay Portal Standard Edition)
Support importing a wiki from MediaWiki to Liferay's wiki (LEP-6014)

The importer should conver = Title = to == Title ==, == Title 2 == to === Title 2===, etc because Creole disencourages the use of = Title =

Created: 29/May/08 06:57 AM   Updated: 04/Jul/08 12:46 PM
Component/s: None
Affects Version/s: 5.0.1
Fix Version/s: 5.1.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order:
Jorge Ferrer - 13/Jun/08 10:37 AM
After tracking this it ends up being an issue with how the conversion from Creole to JSPWiki's syntax is done. It should be converting = title = to == title == , == title == to === title === and so on.

Jorge Ferrer - 04/Jul/08 11:24 AM
Committed to trunk

Jorge Ferrer - 04/Jul/08 12:13 PM - Visible to
I'm reopening this because after testing with a real set of pages (from LiferayPedia) I noticed that the solution I committed didn't do a good job with pages that used == Title == as the top level header (which is what everybody should do).

An smarter solution should be found that works best in both scenarios.

Jorge Ferrer - 04/Jul/08 12:24 PM - Visible to
I've just committed a new version that implements the following algorithm:
1) If the page does contains a header of the type = Title = follow on, otherwise leave page as it is
2) Change = Title = to == Title ==, == Title == to === Title ===, etc.