* (bug 15158) Userinvalidcssjstitle not shown on preview
* (bug 15196) Free external links should be numbered in a localised manner
* (bug 15388) Title of Special:PrefixIndex
+* Links with no title but a curid parameter now use the curid to pick a page
=== API changes in 1.14 ===
$ret = NULL;
- if ( '' == $title && 'delete' != $action ) {
- $ret = Title::newMainPage();
- } elseif ( $curid = $wgRequest->getInt( 'curid' ) ) {
+ if ( $curid = $wgRequest->getInt( 'curid' ) ) {
# URLs like this are generated by RC, because rc_title isn't always accurate
$ret = Title::newFromID( $curid );
+ } elseif ( '' == $title && 'delete' != $action ) {
+ $ret = Title::newMainPage();
} else {
$ret = Title::newFromURL( $title );
// check variant links so that interwiki links don't have to worry