r82751 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82750‎ | r82751 | r82752 >
Date:23:00, 24 February 2011
Author:yaron
Status:deferred
Tags:
Comment:
Added "public static" declaration onto createTemplateText() method
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_TemplateField.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_TemplateField.php
@@ -98,7 +98,7 @@
9999 $this->setTypeAndPossibleValues();
100100 }
101101
102 - function createTemplateText( $template_name, $template_fields, $category, $aggregating_property, $aggregating_label, $template_format ) {
 102+ public static function createTemplateText( $template_name, $template_fields, $category, $aggregating_property, $aggregating_label, $template_format ) {
103103 $template_header = wfMsgForContent( 'sf_template_docu', $template_name );
104104 $text = <<<END
105105 <noinclude>