Index: trunk/phase3/includes/SpecialNewpages.php |
— | — | @@ -64,6 +64,9 @@ |
65 | 65 | $options[$v] = $wgRequest->getText( $v, $options[$v] ); |
66 | 66 | } |
67 | 67 | } |
| 68 | + |
| 69 | + // hack disable |
| 70 | + $options['username'] = ''; |
68 | 71 | |
69 | 72 | $wgOut->setSyndicated( true ); |
70 | 73 | $wgOut->setFeedAppendQuery( "namespace={$options['namespace']}&username={$options['username']}" ); |
— | — | @@ -113,6 +116,7 @@ |
114 | 117 | Xml::namespaceSelector( $options['namespace'], 'all' ) . |
115 | 118 | "</td> |
116 | 119 | </tr> |
| 120 | + <!-- |
117 | 121 | <tr> |
118 | 122 | <td align=\"$align\">" . |
119 | 123 | Xml::label( wfMsg( 'newpages-username' ), 'mw-np-username' ) . |
— | — | @@ -121,6 +125,7 @@ |
122 | 126 | Xml::input( 'username', 30, $options['username'], array( 'id' => 'mw-np-username' ) ) . |
123 | 127 | "</td> |
124 | 128 | </tr> |
| 129 | + --> |
125 | 130 | <tr> <td></td> |
126 | 131 | <td>" . |
127 | 132 | Xml::submitButton( wfMsg( 'allpagessubmit' ) ) . |
— | — | @@ -304,9 +309,9 @@ |
305 | 310 | $conds['rc_new'] = 1; |
306 | 311 | if( $this->namespace !== false ) { |
307 | 312 | $conds['rc_namespace'] = $this->namespace; |
308 | | - $rcIndexes = array( 'new_name_timestamp', 'rc_user_text' ); |
| 313 | + $rcIndexes = array( 'new_name_timestamp' ); |
309 | 314 | } else { |
310 | | - $rcIndexes = array( 'rc_timestamp', 'rc_user_text' ); |
| 315 | + $rcIndexes = array( 'rc_timestamp' ); |
311 | 316 | } |
312 | 317 | $conds[] = 'page_id = rc_cur_id'; |
313 | 318 | $conds['page_is_redirect'] = 0; |