Edit Diskussion History Attachments

attachment:sitemap.patch of Admin/Patches

Attachment 'sitemap.patch'

Download

   1 diff -x '*.orig' -r -u moin-1.9.1-orig/MoinMoin/action/sitemap.py moin-1.9.1/MoinMoin/action/sitemap.py
   2 --- moin-1.9.1-orig/MoinMoin/action/sitemap.py	2010-01-18 13:49:31.000000000 +0100
   3 +++ moin-1.9.1/MoinMoin/action/sitemap.py	2010-02-14 18:38:19.000000000 +0100
   4 @@ -90,7 +90,10 @@
   5      pagelist = pages.keys()
   6      pagelist.sort()
   7      for name in pagelist:
   8 -        result.append(sitemap_url(request, pages[name]))
   9 +        if name in [u"BadContent",u"LocalBadContent"]:
  10 +            pass
  11 +        else:
  12 +            result.append(sitemap_url(request, pages[name]))
  13  
  14      result.append("""</urlset>\n""")
  15  

New Attachment

File to upload
Rename to
Overwrite existing attachment of same name
Type: Foobar

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.
  • [get | view] (2010-02-16 00:14:49, 0.7 KB) [[attachment:disable-spell-check.patch]]
  • [get | view] (2010-07-16 01:10:04, 1.4 KB) [[attachment:isbn.patch]]
  • [get | view] (2010-02-16 00:19:52, 0.6 KB) [[attachment:sitemap.patch]]
  • [get | view] (2010-02-16 00:20:42, 8.1 KB) [[attachment:stats.patch]]
  • [get | view] (2010-02-16 00:20:50, 0.7 KB) [[attachment:wsgiapp.patch]]
  • [get | view] (2010-02-16 00:20:57, 1.6 KB) [[attachment:xapian.patch]]
 All files | Selected Files: delete move to page copy to page