Index: trunk/extensions/BotQuery/query.php |
— | — | @@ -1160,7 +1160,10 @@ |
1161 | 1161 | if( $rvcontent ) { |
1162 | 1162 | $vals['xml:space'] = 'preserve'; |
1163 | 1163 | $vals['*'] = Revision::getRevisionText( $row ); |
| 1164 | + } else { |
| 1165 | + $vals['*'] = ''; // Force all elements to be attributes |
1164 | 1166 | } |
| 1167 | + |
1165 | 1168 | $this->addPageSubElement( $pageId, 'revisions', 'rv', $vals); |
1166 | 1169 | } |
1167 | 1170 | $this->db->freeResult( $res ); |