Some more details: This unparsed bbcode issue is witnessed only on my primary offline test site, where Beta 3 b001 was upgraded to via an edited addon.json version_id prior to Beta 3 b002 availability. It affects existing templates and new templates. This issue is not present on a second offline test site that was upgraded from Beta 2 to Beta 3 b002 directly.
I have created a template page with the title "Template:ParseBBCode", in an area that is configured to parse bbcode in the Area's parsing options. The template intentionally embeds its own contents via the use of INCLUDEONLY and NOINCLUDE as it means only the one page is necessary for testing. Its content:
Code:
[INCLUDEONLY][list][*] Test[/list][/INCLUDEONLY][NOINCLUDE][TEMPLATE]Template:ParseBBCode[/TEMPLATE][/NOINCLUDE]
On my primary test site (running Beta 3 b002, previously Beta 3 b001) this is rendered as follows:
[INCLUDEONLY][list][*] Test[/list][/INCLUDEONLY][NOINCLUDE][TEMPLATE]Template:ParseBBCode[/TEMPLATE][/NOINCLUDE]
On my secondary test site (running Beta 3 b002, previously Beta 1 b002) this is rendered as follows:
On the
VW.org XF demo this is rendered as follows:
As for the affected test site, these are some things I've tried:
- In admin cp, edit any custom bbcode and save it
- Check area configuration allows BBcode (it does)
- Disable BBcode in area, save, Re-enable BBcode in area, save again
- Rebuild VW addon
- Disable, re-enable VW addon
- Move a template to a different area
- Disable Template content type, Re-enable again
- While content type was disabled, the template icon is changed to vw-icon-page and the page content appears like so:
[INCLUDEONLY]
[/INCLUDEONLY][NOINCLUDE][TEMPLATE]Template:ParseBBCode[/TEMPLATE][/NOINCLUDE]
- Change area's allowed types from "Any Type" to Template, save, repeat in reverse
Still on the affected test site, I tried creating another new template, this time with HTML (in an area that permits HTML). The template title is "Template:ParseHtml" and code:
Code:
[if="{{{header}}}"]<h5>{{{header|}}}</h5>[/if][if="{{{data}}}"]<p style="color:red">{{{data|}}}</p>[/if]
The template was added to a standard page with the following template bbcode and parameters:
Code:
[template]Template:ParseHtml|header=test_heading|data=test_data[/template]
And this is how the template appears when embedded into another page:
[if="[nju1owm0]test_heading[/nju1owm0]"]
test_heading
[/if][if="[owywmgmw]test_data[/owywmgmw]"]
test_data
[/if]