Community
Participate
Working Groups
When extracting eclipse help from mediawiki, the __NOTOC__ declarative is extracted into HTML as well.
Proposed change: https://git.eclipse.org/r/51004
There are a lot of "behavior switches": __NOTOC__, __FORCETOC__, __TOC__, __NOEDITSECTION__ ... List in the MediaWiki user manual: https://www.mediawiki.org/wiki/Help:Magic_words#Behavior_switches I think we should catch them with __[A-Z]+__ and replace them with an empty string.
Discovered during the work on this bug: For the "__TOC__" switch, there is already a Bloc to handle it: > org.eclipse.mylyn.internal.wikitext.mediawiki.core.block.TableOfContentsBlock The list of "Behavior switches" that wikitext should ignore is: __NOTOC__ __FORCETOC__ __NOEDITSECTION__ __NEWSECTIONLINK__ __NONEWSECTIONLINK__ __NOGALLERY__ __HIDDENCAT__ __NOCONTENTCONVERT__ __NOCC__ __NOTITLECONVERT__ __NOTC__ __START__ __END__ __INDEX__ __NOINDEX__ __STATICREDIRECT__ __DISAMBIG__ See version 2 of my patch: https://git.eclipse.org/r/51004
Gerrit change https://git.eclipse.org/r/51004 was merged to [master]. Commit: http://git.eclipse.org/c/mylyn/org.eclipse.mylyn.docs.git/commit/?id=0ea3c01722b7aa9c7aa081b20bf501d64b986be7
Thanks Jeremie. I've merged https://git.eclipse.org/r/#/c/51004/ Anything left to do here?
I do not think so. I mark this bug as RESOLVED FIXED.
As no target milestone is set, which integration/milestone build provides this fix?
This was pushed on the "Master" branch; for the moment the version there is "2.6.0-SNAPSHOT". The project has a continous build job; I guess it is already available in the maven repo: > https://repo.eclipse.org/content/repositories/mylyn-snapshots/ Or in the "WikiText Standalone" download section on the downlaod page: https://www.eclipse.org/mylyn/downloads/ ----- You are absolutely right; I should have added a "Target Milestone" in this bugzilla. I am not really sure if "2.6" is correct. I am not really aware of the version lifecycle of the wikitext project. Isn't "2.6.0" the version released with "Mars.1"? (my commit is definitivelly too late for "Mars.1")
Added "2.7" Target Milestone