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

Add wiki category for disabled apps (issue #163)

This commit is contained in:
Ciaran Gultnieks 2013-10-23 13:19:33 +01:00
parent 843be72667
commit fe720343c2

View File

@ -152,7 +152,9 @@ def update_wiki(apps, apks, verbose=False):
wikidata += "\n[[Category:Apps with failing builds]]\n"
elif not gotcurrentver and not app['Disabled']:
wikidata += '\n[[Category:Apps to Update]]\n'
if app['Update Check Mode'] == 'None':
if app['Disabled']:
wikidata += '\n[[Category:Apps that are disabled]]\n'
if app['Update Check Mode'] == 'None' and not app['Disabled']:
wikidata += '\n[[Category:Apps with no update check]]\n'
# We can't have underscores in the page name, even if they're in