Index: trunk/extensions/Collection/Collection.hooks.php |
— | — | @@ -211,6 +211,8 @@ |
212 | 212 | if ( !is_null( $wgArticle ) ) { |
213 | 213 | $oldid = $wgArticle->getOldID(); |
214 | 214 | $params['oldid'] = $oldid; |
| 215 | + } else { |
| 216 | + $oldid = 0; |
215 | 217 | } |
216 | 218 | |
217 | 219 | if ( $ajaxHint == 'addpage' |