Format fixes
Set locale to de_DE.utf-8 for whole Task Make sure Template is added in own source line
This commit is contained in:
@@ -224,6 +224,9 @@ class MarkPagesBot( CurrentPageBot ): # sets 'current_page' on each treat()
|
||||
else:
|
||||
self.current_wikicode.insert( 0, self.disc_notice )
|
||||
|
||||
# To have it in its own line we need to add a linbreak after it
|
||||
self.current_wikicode.insert_after(self.disc_notice, "\n" )
|
||||
|
||||
# Notice was added
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user