return ps.text_plain
# Parse multiple lines of description as written in a metadata file, returning
-# a single string in wiki format.
+# a single string in wiki format. Used for the Maintainer Notes field as well,
+# because it's the same format.
def description_wiki(lines):
ps = DescriptionFormatter(None)
for line in lines:
wikidata += "=Description=\n"
wikidata += common.description_wiki(app['Description']) + "\n"
+ if 'Maintainer Notes' in app:
+ wikidata += "=Maintainer Notes=\n"
+ wikidata += common.description_wiki(app['Maintainer Notes']) + "\n"
+
# Get a list of all packages for this application...
apklist = []
gotcurrentver = False