Commits

Olemis Lang  committed 6c3d19e

BH Multproduct #575 : Add RecentChanges (i.e. index by date) for new products

  • Participants
  • Parent commits 80c4d10
  • Branches t575_product_title_index

Comments (0)

Files changed (2)

 t575/t575_r1496958_product_title_index.diff
+t575/t575_r1496958_product_recent_changes.diff

File t575/t575_r1496958_product_recent_changes.diff

+# HG changeset patch
+# Parent 8ac50879bc9e7e3c18d603e20875675a5ae74350
+BH Multiproduct #575 : RecentChanges wiki page for new products
+
+diff -r 8ac50879bc9e bloodhound_multiproduct/multiproduct/api.py
+--- a/bloodhound_multiproduct/multiproduct/api.py	Sun Jun 30 01:44:33 2013 -0500
++++ b/bloodhound_multiproduct/multiproduct/api.py	Sun Jun 30 01:45:13 2013 -0500
+@@ -544,7 +544,7 @@
+ 
+         # Import default pages in product wiki
+         wikiadmin = WikiAdmin(ProductEnvironment(self.env, product.prefix))
+-        pages = ('TitleIndex',)
++        pages = ('TitleIndex', 'RecentChanges')
+         for page in pages:
+             filename = resource_filename('trac.wiki', 'default-pages/' + page)
+             wikiadmin.import_page(filename, page)