1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 18:50:11 +02: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" wikidata += "\n[[Category:Apps with failing builds]]\n"
elif not gotcurrentver and not app['Disabled']: elif not gotcurrentver and not app['Disabled']:
wikidata += '\n[[Category:Apps to Update]]\n' 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' wikidata += '\n[[Category:Apps with no update check]]\n'
# We can't have underscores in the page name, even if they're in # We can't have underscores in the page name, even if they're in