Author: Brett Wuth <wuth@castrov.cuug.ab.ca>
Last-Update: 2013-07-09
Bug-Debian: https://bugs.debian.org/725763
Description: Work even when server don't support minor edit flag

--- a/lib/WWW/Mediawiki/Client.pm
+++ b/lib/WWW/Mediawiki/Client.pm
@@ -1598,7 +1598,9 @@ sub _get_edit_watch_default {
 
 sub _get_edit_minor_default {
 	my ($self, $doc) = @_;
-	return $self->_get_edit_checkbox($doc, EDIT_MINOR_NAME);
+	my $default = $self->_get_edit_checkbox($doc, EDIT_MINOR_NAME);
+	$default = OPT_NO unless defined($default);
+	return $default;
 }
 
 sub _check_path {
