dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e783f33
)
Skip bad titles
author
Brion Vibber
<brion@users.mediawiki.org>
Tue, 25 Nov 2003 19:27:54 +0000
(19:27 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Tue, 25 Nov 2003 19:27:54 +0000
(19:27 +0000)
includes/SpecialExport.php
patch
|
blob
|
history
diff --git
a/includes/SpecialExport.php
b/includes/SpecialExport.php
index
9f23fbb
..
33248cc
100644
(file)
--- a/
includes/SpecialExport.php
+++ b/
includes/SpecialExport.php
@@
-46,6
+46,7
@@
function pages2xml( $pages, $curonly = false ) {
function page2xml( $page, $curonly, $full = false ) {
global $wgInputCharset, $wgLang;
$title = Title::NewFromText( $page );
+ if( !$title ) return "";
$t = wfStrencode( $title->getDBKey() );
$ns = $title->getNamespace();
$sql = "SELECT cur_id as id,cur_timestamp as timestamp,cur_user as user,cur_user_text as user_text," .