I need a way to pull content from wiki articles into templates.
Like the {exp:channel:entries} tag, except for wiki data.
(EE lets you pull content from one wiki article into another wiki article via the wiki embed tag, but you can’t pull wiki data into templates, to my knowledge, except with the Query module…)
So I’m going to write a plugin to query bits of data from EE’s wiki tables. While I’m at it, I’d be interested to know if this might be useful for anybody else, and if so, what bits of wiki data you’d like to have access to in your templates…
The ideas I have so far:
{exp:wikibits:pages page_name="" page_namespace="" revision_date="" revision_author="" revision_status="" orderby="" sort="c" limit="" last_revision_only="true/false"}
{page_name}, {page_content}, {revision_author}, {revision_date}, {original_author}
{/exp:wikibits:articles}{exp:wikibits:embed page_name="" namespace=""}
{page_name}, {page_content}, {revision_author}, {revision_date}, {original_author}
{/exp:wikibits:embed}{exp:wikibits:recent_changes namespace="" limit="" orderby="" sort=""}
{page_name}, {page_content}, {revision_author}, {revision_date}, {original_author}
{/exp:wikibits:recent_changes}{exp:wikibits:bibliography author="" namespace="" type="original_author/contributor/both" orderby="" sort="" limit=""}
{page_name}, {original_revision_date}, {original_author}, {last_revision_date}, {last_revision_author}, {first_contribution_date}, {latest_contribution_date}, {contribution_count}
{/exp:wikibits:bibliography}Anything else?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.