Merge branch 'fs#93-update-talkpage-template' into fs#88-mark-pages-bot
This commit is contained in:
@@ -554,12 +554,13 @@ class RedFamWorker( RedFam ):
|
||||
param_cnt += 1
|
||||
|
||||
# Add begin
|
||||
template.add( "Beginn", self._mysql.data[ 'beginning' ].strftime(
|
||||
"%d. %B %Y").lstrip("0"), True )
|
||||
begin = self._mysql.data[ 'beginning' ].strftime( "%B %Y" )
|
||||
template.add( "Beginn", begin, True )
|
||||
|
||||
# Add end
|
||||
template.add( "Ende", self._mysql.data[ 'ending' ].strftime(
|
||||
"%d. %B %Y").lstrip("0"), True )
|
||||
# Add end (if not same as begin)
|
||||
end = self._mysql.data[ 'ending' ].strftime( "%B %Y" )
|
||||
if not end == begin:
|
||||
template.add( "Ende", end, True )
|
||||
|
||||
# Add link to related reddisc
|
||||
template.add( "Diskussion", self.get_disc_link(), True )
|
||||
|
||||
Reference in New Issue
Block a user