Index: trunk/phase3/includes/Export.php |
— | — | @@ -438,6 +438,9 @@ |
439 | 439 | $title = Title::makeTitle( $row->page_namespace, $row->page_title ); |
440 | 440 | $out .= ' ' . Xml::elementClean( 'title', array(), $title->getPrefixedText() ) . "\n"; |
441 | 441 | $out .= ' ' . Xml::element( 'id', array(), strval( $row->page_id ) ) . "\n"; |
| 442 | + if( $row->page_is_redirect ) { |
| 443 | + $out .= ' ' . Xml::element( 'redirect', array() ). "\n"; |
| 444 | + } |
442 | 445 | if( '' != $row->page_restrictions ) { |
443 | 446 | $out .= ' ' . Xml::element( 'restrictions', array(), |
444 | 447 | strval( $row->page_restrictions ) ) . "\n"; |