[Moin-devel] CVS: MoinMoin/action AttachFile.py,1.16,1.17

J?rgen Hermann jhermann at users.sourceforge.net
Sat Feb 2 07:27:26 EST 2002


Update of /cvsroot/moin/MoinMoin/action
In directory usw-pr-cvs1:/tmp/cvs-serv26919/action

Modified Files:
	AttachFile.py 
Log Message:
Added warning about using "attachment:"; people regularly get this wrong


Index: AttachFile.py
===================================================================
RCS file: /cvsroot/moin/MoinMoin/action/AttachFile.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** AttachFile.py	2002/01/13 11:51:06	1.16
--- AttachFile.py	2002/02/02 15:26:53	1.17
***************
*** 216,219 ****
--- 216,225 ----
      str = ""
      if files:
+         str = str + _("<p>"
+             "To refer to attachments on a page, use <b><tt>attachment:filename</tt></b>, \n"
+             "as shown below in the list of files. \n"
+             "Do <b>NOT</b> use the URL of the <tt>[get]</tt> link, \n"
+             "since this is subject to change and can break easily.</p>"
+         )
          str = str + "<ul>"
          for file in files:





More information about the Moin-devel mailing list