Index: trunk/extensions/PageSchemas/specials/GeneratePages.php |
— | — | @@ -45,12 +45,12 @@ |
46 | 46 | if( Title::newFromId($page_id_cat)->getNamespace() == NS_CATEGORY){ |
47 | 47 | $cat_text = Title::newFromId($page_id_cat)->getText(); |
48 | 48 | $generatePagesPage = SpecialPage::getTitleFor( 'GeneratePages' ); |
49 | | - $url = $generatePagesPage ->getFullURL() . '/' . $cat_text; |
50 | | - $text .= '<a href='.$generatePagesPage.'</a> <br />'; |
| 49 | + $url = $generatePagesPage ->getFullURL() . '/' . $cat_text; |
| 50 | + $text .= '<a href='.$url.'>'.$cat_text.' </a> <br /> '; |
51 | 51 | } |
52 | 52 | } |
53 | 53 | } |
54 | | - $dbr->freeResult( $res ); |
| 54 | + $dbr->freeResult( $res ); |
55 | 55 | $wgOut->addHTML( $text ); |
56 | 56 | }else { |
57 | 57 | //this is when Special:GeneratePages/Category is accessed first time |