If the user who is syncing has only read permissions on the remote wiki, the sync fails, because pages can't be locked.
I helped myself by commenting out the lines
foreach((array) $data['lockfail'] as $id){
$this->_listOut($this->getLang('lockfail').' '.hsc($id),'error');
unset($synclist[$id]);
}
in lib/plugins/sync/admin.php
but this is rather quick'n'dirty and lost after every upgrade of the plugin.
It would be nice if the sync plugin recognizes when a page or a namespace is read only in the remote wiki and skips locking in this case - because locking isn't necessary when the page can't be edited.
If the user who is syncing has only read permissions on the remote wiki, the sync fails, because pages can't be locked.
I helped myself by commenting out the lines
foreach((array) $data['lockfail'] as $id){
$this->_listOut($this->getLang('lockfail').' '.hsc($id),'error');
unset($synclist[$id]);
}
in lib/plugins/sync/admin.php
but this is rather quick'n'dirty and lost after every upgrade of the plugin.
It would be nice if the sync plugin recognizes when a page or a namespace is read only in the remote wiki and skips locking in this case - because locking isn't necessary when the page can't be edited.