Attachment 'jscript.diff'
Download 1 # HG changeset patch
2 # User Thilo Pfennig <email@pfennigsolutions.de>
3 # Date 1165532741 -3600
4 # Node ID 32494100d63bbc0180290a2fa204a52d74de725f
5 # Parent 7c58e8af1a97b7711f9eae67fdebf08e103cb3e2
6 add meta tag about javascript language
7
8 diff -r 7c58e8af1a97 -r 32494100d63b MoinMoin/theme/__init__.py
9 --- a/MoinMoin/theme/__init__.py Thu Dec 07 21:35:43 2006 +0100
10 +++ b/MoinMoin/theme/__init__.py Fri Dec 08 00:05:41 2006 +0100
11 @@ -1427,6 +1427,9 @@ var gui_editor_link_text = "%(text)s";
12 # Prepare the HTML <head> element
13 user_head = [request.cfg.html_head]
14
15 + # add information about the script language
16 + user_head.append('''<meta http-equiv="Content-Script-Type" content="text/javascript">\n''')
17 +
18 # include charset information - needed for moin_dump or any other case
19 # when reading the html without a web server
20 user_head.append('''<meta http-equiv="Content-Type" content="%s;charset=%s">\n''' % (page.output_mimetype, page.output_charset))
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.You are not allowed to attach a file to this page.