Merge pull request #981 from jay-hodgson/release-43

SWC-1413: wiki buttons should be visible on edit
SWC-1436: fix chunk calculation