Attachment 'siteredirect.patch'

Download

   1 * looking for arch@arch.thinkmo.de--2003-archives/moin--main--1.5--patch-393 to compare with
   2 * comparing to arch@arch.thinkmo.de--2003-archives/moin--main--1.5--patch-393
   3 M  MoinMoin/Page.py
   4 
   5 * modified files
   6 
   7 --- orig/MoinMoin/Page.py
   8 +++ mod/MoinMoin/Page.py
   9 @@ -1064,12 +1064,16 @@
  10                  # cascaded redirection
  11                  pi_redirect = args
  12                  if request.form.has_key('action') or request.form.has_key('redirect') or content_only: continue
  13 -
  14                  request.http_redirect('%s/%s?action=show&redirect=%s' % (
  15                      request.getScriptname(),
  16                      wikiutil.quoteWikinameURL(pi_redirect),
  17                      wikiutil.url_quote_plus(self.page_name, ''),))
  18                  return
  19 +            elif verb == "siteredirect":
  20 +                pi_redirect = args
  21 +                if request.form.has_key('action') or request.form.has_key('redirect') or content_only: continue
  22 +                request.http_redirect('%s' % pi_redirect)
  23 +		return
  24              elif verb == "deprecated":
  25                  # deprecated page, append last backup version to current contents
  26                  # (which should be a short reason why the page is deprecated)

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2006-04-07 09:24:29, 24.9 KB) [[attachment:IMG_2408.sized.jpg]]
  • [get | view] (2006-06-05 09:11:43, 1.3 KB) [[attachment:LessHeader.py]]
  • [get | view] (2006-06-05 09:11:30, 1.3 KB) [[attachment:NinePages.py]]
  • [get | view] (2006-06-05 09:20:02, 74.4 KB) [[attachment:flower.jpg]]
  • [get | view] (2005-12-28 14:11:52, 32.1 KB) [[attachment:frankie_and_lok.jpg]]
  • [get | view] (2006-05-19 08:12:10, 15.6 KB) [[attachment:logo-sell-in-may3.jpg]]
  • [get | view] (2006-05-02 16:45:45, 11.9 KB) [[attachment:logo-stockcat.gif]]
  • [get | view] (2006-01-25 11:51:59, 1.2 KB) [[attachment:siteredirect.patch]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.