Index: trunk/phase3/includes/Wiki.php |
— | — | @@ -102,11 +102,11 @@ |
103 | 103 | |
104 | 104 | $ret = NULL; |
105 | 105 | |
106 | | - if ( '' == $title && 'delete' != $action ) { |
107 | | - $ret = Title::newMainPage(); |
108 | | - } elseif ( $curid = $wgRequest->getInt( 'curid' ) ) { |
| 106 | + if ( $curid = $wgRequest->getInt( 'curid' ) ) { |
109 | 107 | # URLs like this are generated by RC, because rc_title isn't always accurate |
110 | 108 | $ret = Title::newFromID( $curid ); |
| 109 | + } elseif ( '' == $title && 'delete' != $action ) { |
| 110 | + $ret = Title::newMainPage(); |
111 | 111 | } else { |
112 | 112 | $ret = Title::newFromURL( $title ); |
113 | 113 | // check variant links so that interwiki links don't have to worry |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -230,6 +230,7 @@ |
231 | 231 | * (bug 15158) Userinvalidcssjstitle not shown on preview |
232 | 232 | * (bug 15196) Free external links should be numbered in a localised manner |
233 | 233 | * (bug 15388) Title of Special:PrefixIndex |
| 234 | +* Links with no title but a curid parameter now use the curid to pick a page |
234 | 235 | |
235 | 236 | === API changes in 1.14 === |
236 | 237 | |