Replacing wiki syntax with HTML is bad. We try to do it the other way around. You should use parameters, as in:

    -[[$msg.get("svn.configsheet.backtolist")>>${doc.fullName}?action=list]]
    +(% class="buttonwrapper" %)[[$msg.get("svn.configsheet.backtolist")>>${doc.fullName}?action=list||class="button"]](%%)

Also, why did you replace `$doc.fullName` with `$configPageReference` as the target?