Page Summaries
started by: bryanburkebryanburke
on: 1209837415|%e %b %Y, %H:%M %Z|agohover
number of posts: 2
rss icon RSS: new posts
summary:
Custom page summaries listed by the Pages module could save a lot of work.
Page Summaries
bryanburkebryanburke 1209837415|%e %b %Y, %H:%M %Z|agohover

Currently, when the Pages module is used with the preview option, it gives you the first few words of that page's content. It would be nice to have optional page summaries within each page, so that when the preview option is used, if there is a summary present within the page's source, that would be displayed instead. Google Wiki, for instance, uses this functionality to have summaries next to page names in the list of all pages in a wiki:

#summary One-sentence summary of this page.

Apparently the "#summary" tag delineates the text from this tag to an end-of-line as that page's summary, which is kept invisible in the page's content.

Without this or similar functionality, a user wishing to list his pages with summaries would have to list them by hand on every reference page:

[[[category:page-name | Page Name]]] -- One-sentence summary of this page.

With a summary within each page's source, however, the user could simply use:

[[module Pages category="category" preview="true"]]
unfold Page Summaries by bryanburkebryanburke, 1209837415|%e %b %Y, %H:%M %Z|agohover
Re: Page Summaries
sursur 1210509404|%e %b %Y, %H:%M %Z|agohover

Your request is not backwards compatible, hence breaks the current behaviour of preview.
I suggest we have a new parameter for this, say summary. i.e.

[[module Pages category="some_cat" summary="true"]]
unfold Re: Page Summaries by sursur, 1210509404|%e %b %Y, %H:%M %Z|agohover
new post
Unless stated otherwise Content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.