moinwiki / moin-1.9

MoinMoin Wiki (1.9, also: 1.5a ... 1.8), stable, for production wikis
https://moinmo.in/
Other
140 stars 51 forks source link

fix comments #69

Closed ThomasWaldmann closed 3 years ago

ThomasWaldmann commented 3 years ago

After the other fixes are merged, before the release, also fix some comments:

--- a/MoinMoin/action/AttachFile.py
+++ b/MoinMoin/action/AttachFile.py
@@ -1220,7 +1220,6 @@ def send_viewfile(pagename, request):

     mt = wikiutil.MimeType(filename=filename)

-    # destinguishs if browser need a plugin in place
     if mt.major == 'image' and mt.minor in config.browser_supported_images:
         url = getAttachUrl(pagename, filename, request)
         request.write('<img src="%s" alt="%s">' % (

--- a/MoinMoin/config/__init__.py
+++ b/MoinMoin/config/__init__.py
@@ -11,7 +11,7 @@ from MoinMoin import version
 # unicode: set the char types (upper, lower, digits, spaces)
 from MoinMoin.util.chartypes import *

-# List of image types browser do support regulary
+# List of image types for which browsers usually have native support