mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 23:42:37 +03:00
Use individual antifeature template on wiki
This commit is contained in:
parent
b1ae08e850
commit
a5fafe6c05
1 changed files with 2 additions and 2 deletions
|
@ -53,8 +53,8 @@ def update_wiki(apps, apks):
|
||||||
wikidata = ''
|
wikidata = ''
|
||||||
if app['Disabled']:
|
if app['Disabled']:
|
||||||
wikidata += '{{Disabled|' + app['Disabled'] + '}}\n'
|
wikidata += '{{Disabled|' + app['Disabled'] + '}}\n'
|
||||||
if app['AntiFeatures']:
|
for af in app.get('AntiFeatures', []).split(','):
|
||||||
wikidata += '{{AntiFeatures|' + app['AntiFeatures'] + '}}\n'
|
wikidata += '{{AntiFeature|' + af + '}}\n'
|
||||||
wikidata += '{{App|id=%s|name=%s|added=%s|lastupdated=%s|source=%s|tracker=%s|web=%s|donate=%s|flattr=%s|bitcoin=%s|litecoin=%s|license=%s|root=%s}}\n'%(
|
wikidata += '{{App|id=%s|name=%s|added=%s|lastupdated=%s|source=%s|tracker=%s|web=%s|donate=%s|flattr=%s|bitcoin=%s|litecoin=%s|license=%s|root=%s}}\n'%(
|
||||||
app['id'],
|
app['id'],
|
||||||
app['Name'],
|
app['Name'],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue