comparison MoinMoin/formatter/text_html.py @ 1758:4b85e6506535

remove 'generated' attribute from pagelink html output (ported from 1.5-791)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 30 Jan 2007 21:36:23 +0100
parents 79679aa664a3
children 6dd2e29acffe
comparison
equal deleted inserted replaced
1757:d4f3fc3f0afc 1758:4b85e6506535
489 parameter. DO NOT USE THIS YOURSELF OR IT WILL BREAK. 489 parameter. DO NOT USE THIS YOURSELF OR IT WILL BREAK.
490 490
491 See wikiutil.link_tag() for possible keyword parameters. 491 See wikiutil.link_tag() for possible keyword parameters.
492 """ 492 """
493 FormatterBase.pagelink(self, on, pagename, page, **kw) 493 FormatterBase.pagelink(self, on, pagename, page, **kw)
494 if 'generated' in kw:
495 del kw['generated']
494 if page is None: 496 if page is None:
495 page = Page(self.request, pagename, formatter=self) 497 page = Page(self.request, pagename, formatter=self)
496 if self.request.user.show_nonexist_qm and on and not page.exists(): 498 if self.request.user.show_nonexist_qm and on and not page.exists():
497 self.pagelink_preclosed = True 499 self.pagelink_preclosed = True
498 return (page.link_to(self.request, on=1, **kw) + 500 return (page.link_to(self.request, on=1, **kw) +