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:
004ed08
)
Fix fatal error in Special:Export -- invalid title when using Template inclusion
author
Brion Vibber
<brion@users.mediawiki.org>
Tue, 11 Mar 2008 21:59:41 +0000
(21:59 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Tue, 11 Mar 2008 21:59:41 +0000
(21:59 +0000)
includes/SpecialExport.php
patch
|
blob
|
history
diff --git
a/includes/SpecialExport.php
b/includes/SpecialExport.php
index
99d9958
..
1fe2e44
100644
(file)
--- a/
includes/SpecialExport.php
+++ b/
includes/SpecialExport.php
@@
-83,8
+83,8
@@
function wfExportGetLinks( $inputPages, $pageSet, $table, $fields, $join ) {
$dbr = wfGetDB( DB_SLAVE );
foreach( $inputPages as $page ) {
$title = Title::newFromText( $page );
- $pageSet[$title->getPrefixedText()] = true;
if( $title ) {
+ $pageSet[$title->getPrefixedText()] = true;
/// @fixme May or may not be more efficient to batch these
/// by namespace when given multiple input pages.
$result = $dbr->select(