SummaryPage-Module: Add class for handling entries

This commit is contained in:
2015-11-13 10:52:18 +01:00
parent bdb48d6e79
commit 6ac8c9298f

View File

@@ -40,6 +40,21 @@ class SummaryPage():
pass
class SummaryPageEntry():
"""
Provides a generic wrapper for summary page entry template
"""
write_needed = False
def __init__( self, entry ):
"""
Constructor
"""
self.old_entry = SummaryPageEntryTemplate( entry )
self.new_entry = SummaryPageEntryTemplate( )
class SummaryPageEntryTemplate():
"""
Interface class for mwparser.template to simply use template params as