comparison MoinMoin/macro/__init__.py @ 1832:b180f047d918

comments only: cleaned up TODO, XXX, ...
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 25 Feb 2007 23:45:07 +0100
parents ebcebba1afb3
children 9406e02388cf
comparison
equal deleted inserted replaced
1831:bff1080d37d4 1832:b180f047d918
169 word_re is a regex used for splitting a pagename into fragments 169 word_re is a regex used for splitting a pagename into fragments
170 matched by it (used for WordIndex). For TitleIndex, we just match 170 matched by it (used for WordIndex). For TitleIndex, we just match
171 the whole page name, so we only get one fragment that is the same 171 the whole page name, so we only get one fragment that is the same
172 as the pagename. 172 as the pagename.
173 173
174 TODO: later this can get a macro on its own, more powerful and less 174 TODO: _make_index could get a macro on its own, more powerful / less special than WordIndex and TitleIndex.
175 special than WordIndex and TitleIndex. 175 It should be able to filter for specific mimetypes, maybe match pagenames by regex (replace PageList?), etc.
176 It should be able to filter for specific mimetypes, maybe match
177 pagenames by regex (replace PageList?), etc.
178 """ 176 """
179 _ = self._ 177 _ = self._
180 request = self.request 178 request = self.request
181 fmt = self.formatter 179 fmt = self.formatter
182 allpages = int(self.form.get('allpages', [0])[0]) != 0 180 allpages = int(self.form.get('allpages', [0])[0]) != 0