comparison MoinMoin/wikiutil.py @ 3143:16ae95df840a

i18n.getText: fixed some callers that had still 'formatted=' kw args
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Wed, 27 Feb 2008 15:52:30 +0100
parents 88033682e5a5
children 309f5570ba2b
comparison
equal deleted inserted replaced
3142:fe93fb0732a2 3143:16ae95df840a
749 @rtype: Page object 749 @rtype: Page object
750 @return: the page object of that system page, using a translated page, 750 @return: the page object of that system page, using a translated page,
751 if it exists 751 if it exists
752 """ 752 """
753 from MoinMoin.Page import Page 753 from MoinMoin.Page import Page
754 i18n_name = request.getText(pagename, formatted=False) 754 i18n_name = request.getText(pagename)
755 pageobj = None 755 pageobj = None
756 if i18n_name != pagename: 756 if i18n_name != pagename:
757 if request.page and i18n_name == request.page.page_name: 757 if request.page and i18n_name == request.page.page_name:
758 # do not create new object for current page 758 # do not create new object for current page
759 i18n_page = request.page 759 i18n_page = request.page