Attachment 'pagelinks-099-01.patch'
Download 1 Index: EventCalendar.py
2 ===================================================================
3 --- EventCalendar.py (revision 165)
4 +++ EventCalendar.py (revision 166)
5 @@ -1386,6 +1386,7 @@
6 stored_errmsg = ''
7
8 request = Globs.request
9 + formatter = Globs.formatter
10 category = Params.category
11
12 # cache configurations
13 @@ -1421,7 +1422,8 @@
14 if Globs.page_action == 'refresh' or cache_pages.needsUpdate(arena._text_filename()) or timedelta_days >= 1:
15 categorypages = searchPages(request, category)
16 for page in categorypages:
17 + # this is to workaround the bug in the category search returning
18 + # pages that only referance the category but are not in it
19 + # i.e. in the paramiter list for this macro
20 + if not page.page_name == request.page.page_name:
21 + formatter.pagelink(1, pagename=page.page_name)
22 eventpages.append(page.page_name)
23 cache_pages.update('\n'.join(eventpages), True)
24 debug('New page list is built: %d pages' % len(eventpages))
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.