Index: trunk/extensions/Contest/specials/SpecialContestant.php |
— | — | @@ -98,6 +98,7 @@ |
99 | 99 | } |
100 | 100 | |
101 | 101 | protected function showPage( ContestContestant $contestant ) { |
| 102 | + global $wgScript; |
102 | 103 | $out = $this->getOutput(); |
103 | 104 | |
104 | 105 | $out->setPageTitle( wfMsgExt( |
— | — | @@ -111,7 +112,8 @@ |
112 | 113 | |
113 | 114 | $this->showGeneralInfo( $contestant ); |
114 | 115 | |
115 | | - $out->addHTML( '<form method="post" action="' . htmlspecialchars( $this->getTitle( $this->subPage )->getLocalURL() ) . '">' ); |
| 116 | + $out->addHTML( '<form method="post" action="' . htmlspecialchars( $wgScript ) . '">' ); |
| 117 | + $out->addHTML( Html::hidden( 'title', $this->getTitle( $this->subPage )->getPrefixedDBkey() ) ); |
116 | 118 | $out->addHTML( Html::hidden( 'wpEditToken', $this->getUser()->editToken() ) ); |
117 | 119 | |
118 | 120 | $this->showRating( $contestant ); |