r90717 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90716‎ | r90717 | r90718 >
Date:17:12, 24 June 2011
Author:ankitgarg833
Status:deferred
Tags:
Comment:
Modified paths:
  • /trunk/extensions/PageSchemas/specials/GeneratePages.php (modified) (history)

Diff [purge]

Index: trunk/extensions/PageSchemas/specials/GeneratePages.php
@@ -21,10 +21,11 @@
2222 $this->generate_pages($param);
2323
2424 }
 25+ $generate_page_text = wfMsg( 'ps-generate-pages' );
2526 $text =<<< END
2627 <form method="post">
2728 <input type="hidden" name="param" value="$category" /><br />
28 - <input type="submit" value="Generate Pages" />
 29+ <input type="submit" value="$generate_page_text" />
2930 </form>
3031
3132 END;
@@ -34,7 +35,7 @@
3536
3637 function generate_pages ( $categoryName ) {
3738 global $wgRequest, $wgOut;
38 - $pageSchema = new PageSchema( $categoryName );
 39+ $pageSchema = new PSSchema( $categoryName );
3940 $pageSchema->generateAllPages();
4041
4142

Status & tagging log