1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-13 02:30:11 +01:00

Better "No Source Since" wiki format

This commit is contained in:
Daniel Martí 2013-05-19 14:54:58 +02:00
parent f89d418570
commit 08b4d0efae

View File

@ -101,9 +101,9 @@ def update_wiki(apps, apks, verbose=False):
wikidata += "We don't have the current version of this app."
else:
wikidata += "We have the current version of this app."
if len(app['No Source Since']) > 0:
wikidata += "This application has been partially or entirely been missing source code since version " + app['No Source Since']
wikidata += " (Check mode: " + app['Update Check Mode'] + ")\n\n"
if len(app['No Source Since']) > 0:
wikidata += "This application has been partially or entirely been missing source code since version " + app['No Source Since'] + "\n\n"
if len(app['Current Version']) > 0:
wikidata += "The current (recommended) version is " + app['Current Version']
wikidata += " (version code " + app['Current Version Code'] + ").\n\n"
@ -124,7 +124,7 @@ def update_wiki(apps, apks, verbose=False):
wikidata += '\n[[Category:' + wikicat + ']]\n'
if len(app['No Source Since']) > 0:
wikidata += '\n[[Category:Apps that are missing source code]]\n'
wikidata += '\n[[Category:Apps missing source code]]\n'
elif validapks == 0 and not app['Disabled']:
wikidata += '\n[[Category:Apps with no packages]]\n'
elif cantupdate and not app['Disabled']: