r90979 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90978‎ | r90979 | r90980 >
Date:17:13, 28 June 2011
Author:ankitgarg833
Status:deferred
Tags:
Comment:
adding discription for generate_pages button
Modified paths:
  • /trunk/extensions/PageSchemas/specials/GeneratePages.php (modified) (history)

Diff [purge]

Index: trunk/extensions/PageSchemas/specials/GeneratePages.php
@@ -18,7 +18,7 @@
1919 $generate_page_desc = wfMsg( 'ps-generate-pages-desc' );
2020 $param = $wgRequest->getText('param');
2121 $text_1 = '<p>All pages will be generated! </p>';
22 - $text_2 = '<form method="post"> <input type="hidden" name="param" value="'.$category.'" /><br /> <input type="submit" value="'.$generate_page_text.'" /> </form>';
 22+ $text_2 = '<p>'.$generate_page_desc.'</p> <form method="post"> <input type="hidden" name="param" value="'.$category.'" /><br /> <input type="submit" value="'.$generate_page_text.'" /> </form>';
2323 if ( $param != "" && $category != "" ) {
2424 $this->generate_pages($param);
2525 $wgOut->addHTML($text_1);

Status & tagging log