r91562 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91561‎ | r91562 | r91563 >
Date:16:47, 6 July 2011
Author:ankitgarg833
Status:deferred
Tags:
Comment:
dummy test.
Modified paths:
  • /trunk/extensions/PageSchemas/PageSchemas.classes.php (modified) (history)

Diff [purge]

Index: trunk/extensions/PageSchemas/PageSchemas.classes.php
@@ -108,7 +108,7 @@
109109 /* Stores the templte objects */
110110 public $PSTemplates = array();
111111
112 - function __construct ( $category_name ) {
 112+ function __construct ( $category_name ) {
113113 $this->categoryName = $category_name;
114114 $title = Title::newFromText( $category_name, NS_CATEGORY );
115115 $this->pageId = $title->getArticleID();
@@ -133,6 +133,7 @@
134134 $this->pageName = (string)$pageXml->attributes()->name;
135135 /* index for template objects */
136136 $i = 0 ;
 137+ $j = 1;
137138 foreach ( $pageXml->children() as $tag => $child ) {
138139 if ( $tag == 'Template' ) {
139140 $templateObj = new PSTemplate($child);

Status & tagging log