mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-13 22:17:07 +00:00
[svn] Add photos wiki syntaxes: e.g.
[[display:centre photo:andyc.jpg]] where centre is a class applied to image, and andyc.jpg is the filename of a Photo model instance. Image will be displayed as thumbnail with link to full size image. [[photo:andyc.jpg]] will produce a link to the admin page for the andyc.jpg Photo model instance. [[photo:andyc.jpg Title of the link]] will produce a link to the admin page for the andyc.jpg Photo model instance with link text "Title of the link"
This commit is contained in:
@@ -82,9 +82,9 @@ def parseCaveQMs(cave,inputFile):
|
||||
|
||||
except KeyError: #check on this one
|
||||
continue
|
||||
# except IndexError:
|
||||
# print "Index error in " + str(line)
|
||||
# continue
|
||||
except IndexError:
|
||||
print "Index error in " + str(line)
|
||||
continue
|
||||
|
||||
def parse_KH_QMs(kh, inputFile):
|
||||
"""import QMs from the 1623-161 (Kaninchenh<6E>hle) html pages
|
||||
|
||||
Reference in New Issue
Block a user