View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000517 | WackoWiki | text formatting | public | 2019-08-16 06:31 | 2019-08-16 06:32 |
Reporter | administrator | Assigned To | administrator | ||
Priority | normal | Severity | minor | Reproducibility | sometimes |
Status | resolved | Resolution | fixed | ||
Product Version | 5.5.11 | ||||
Target Version | 5.5.12 | Fixed in Version | 5.5.12 | ||
Summary | 0000517: toc include bug while building body_toc in paragrafica | ||||
Description | body_r -> body_toc The toc of the included page gets parsed in TAG<h-item>(include)<h-item>99999<h-end> I changed only the custom delimiter tags and moved the self-link out of body_toc the current pattern is broken, it includes stuff after the tag in body_toc, not sure why, this is what breaks the toc for included pages | ||||
Additional Information | my new pattern: <\!--action:begin-->include\s+.*?page=\"([^\ ]+)\".*?(\s+notoc=\"?[^0]\"?)?.*?<\!--action:end--> test data (boy_r): <!--notypo--><!--action:begin-->toc numerate=1<!--action:end--><!--/notypo--> <h2 id="h37-1" class="heading">heading#h37-1</h2> <!--notypo--><!--action:begin-->include page="55"<!--action:end--><!--/notypo--> <!--notypo--><!--action:begin-->include nomark=1 page="55"<!--action:end--><!--/notypo--> <!--notypo--><!--action:begin-->include page="51" nowarning=1<!--action:end--><!--/notypo--> <!--notypo--><!--action:begin-->include page="51" notoc=1<!--action:end--><!--/notypo--> <!--notypo--><!--action:begin-->include page="51" notoc="1" nowarning=1<!--action:end--><!--/notypo--> <!--notypo--><!--action:begin-->include page="54" nowarning=1 notoc=1<!--action:end--><!--/notypo--> But how I change the pattern so it will accept other arguments before notoc=1, e.g. {{include page="TAG" nowarning=1 notoc=1}}? | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2019-08-16 06:31 | administrator | New Issue | |
2019-08-16 06:31 | administrator | Status | new => assigned |
2019-08-16 06:31 | administrator | Assigned To | => administrator |
2019-08-16 06:32 | administrator | Status | assigned => resolved |
2019-08-16 06:32 | administrator | Resolution | open => fixed |
2019-08-16 06:32 | administrator | Fixed in Version | => 5.5.12 |
2019-08-16 06:32 | administrator | Note Added: 0001042 |