comparison MoinMoin/Page.py @ 33:55ff4feb0f59

src cosmetics: remove TODOs, CVS stuff imported from: moin--main--1.5--patch-34
author Thomas Waldmann <tw@waldmann-edv.de>
date Sun, 25 Sep 2005 11:36:51 +0000
parents 842243815e18
children 54d5932d5a03
comparison
equal deleted inserted replaced
32:5153d7c2b1c1 33:55ff4feb0f59
798 wikiutil.quoteWikinameURL(self.page_name)) 798 wikiutil.quoteWikinameURL(self.page_name))
799 799
800 if querystr: 800 if querystr:
801 querystr = web.makeQueryString(querystr) 801 querystr = web.makeQueryString(querystr)
802 802
803 # TODO: remove in 1.4 803 # TODO: remove in 2.0
804 # Escape query string to be compatible with old 3rd party code 804 # Escape query string to be compatible with old 3rd party code
805 # New code should call with escape=0 to prevent the warning. 805 # New code should call with escape=0 to prevent the warning.
806 if escape: 806 if escape:
807 import warnings 807 import warnings
808 warnings.warn("In moin 1.4 query string in url will not be" 808 warnings.warn("In moin 2.0 query string in url will not be"
809 " escaped. See" 809 " escaped. See"
810 " http://moinmoin.wikiwikiweb.de/ApiChanges") 810 " http://moinmoin.wikiwikiweb.de/ApiChanges")
811 querystr = wikiutil.escape(querystr) 811 querystr = wikiutil.escape(querystr)
812 812
813 url = '%s?%s' % (url, querystr) 813 url = '%s?%s' % (url, querystr)