mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-13 02:30:11 +01:00
Use app categories as wiki categories
This commit is contained in:
parent
2ac595e4ec
commit
3ecf0e4373
@ -187,6 +187,8 @@ def update_wiki(apps, apks):
|
||||
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'
|
||||
for appcat in [c.strip() for c in app['Categories'].split(',')]:
|
||||
wikidata += '\n[[Category:{0}]]\n'.format(appcat)
|
||||
|
||||
# We can't have underscores in the page name, even if they're in
|
||||
# the package ID, because MediaWiki messes with them...
|
||||
|
Loading…
Reference in New Issue
Block a user