tools: fix up docs to work with the TTR staff wiki

This commit is contained in:
Harvir 2014-08-06 05:05:25 +01:00
parent 250b95e690
commit f906ed44d0

View file

@ -119,14 +119,14 @@ class MediaWikiGenerator(object):
self.output.write('\n') self.output.write('\n')
def magic_word(self, mw): def magic_word(self, mw):
self.output.write('{{MagicWord') self.output.write('{{Magic word')
self.output.write('|name=%s' % mw.name) self.output.write('|word=%s' % mw.name)
self.output.write('|usage=%s' % mw.getUsage()) self.output.write('|args=%s' % mw.getUsage())
if mw.doc: if mw.doc:
self.output.write('|description=%s' % mw.doc) self.output.write('|desc=%s' % mw.doc)
self.output.write('|access=%s' % mw.access) self.output.write('|access=%s' % mw.access)