Index: trunk/phase3/includes/Article.php |
— | — | @@ -2093,7 +2093,7 @@ |
2094 | 2094 | } |
2095 | 2095 | } |
2096 | 2096 | |
2097 | | - return $this->confirmDelete( '', $reason ); |
| 2097 | + return $this->confirmDelete( $reason ); |
2098 | 2098 | } |
2099 | 2099 | |
2100 | 2100 | /** |
— | — | @@ -2168,10 +2168,9 @@ |
2169 | 2169 | |
2170 | 2170 | /** |
2171 | 2171 | * Output deletion confirmation dialog |
2172 | | - * @param $par string FIXME: do we need this parameter? One Call from Article::delete with '' only. |
2173 | 2172 | * @param $reason string Prefilled reason |
2174 | 2173 | */ |
2175 | | - function confirmDelete( $par, $reason ) { |
| 2174 | + function confirmDelete( $reason ) { |
2176 | 2175 | global $wgOut, $wgUser, $wgContLang; |
2177 | 2176 | $align = $wgContLang->isRtl() ? 'left' : 'right'; |
2178 | 2177 | |
— | — | @@ -2189,7 +2188,7 @@ |
2190 | 2189 | $suppress = ''; |
2191 | 2190 | } |
2192 | 2191 | |
2193 | | - $form = Xml::openElement( 'form', array( 'method' => 'post', 'action' => $this->mTitle->getLocalURL( 'action=delete' . $par ), 'id' => 'deleteconfirm' ) ) . |
| 2192 | + $form = Xml::openElement( 'form', array( 'method' => 'post', 'action' => $this->mTitle->getLocalURL( 'action=delete' ), 'id' => 'deleteconfirm' ) ) . |
2194 | 2193 | Xml::openElement( 'fieldset', array( 'id' => 'mw-delete-table' ) ) . |
2195 | 2194 | Xml::tags( 'legend', null, wfMsgExt( 'delete-legend', array( 'parsemag', 'escapenoentities' ) ) ) . |
2196 | 2195 | Xml::openElement( 'table' ) . |