Update wikiplugin_button.php to assemble full url with all parameters, passed...
Description
Update {BUTTON} (uppercase mode) plugin to assemble full url with parameters, passed from other plugins, placed inside tag content.
Steps to test
Use button to open popup for an item in {LISTEXECUTE()} module with table template for {OUTPUT}:
{LISTEXECUTE()} {filter type="trackeritem"} {filter field="tracker_id" content="1"} {OUTPUT(template="table" pagination="y" debug="y")} {column label="ID" field="Field_1" mode="raw"} {column label="ID" field="Field_1_show" mode="raw"} {FORMAT(name="Field_1")}{display name="tracker_field_tezttracker_Field_1" format="objectlink"}{FORMAT} {FORMAT(name="Field_1_show")} {BUTTON(_rel="box" _type="link" href="tiki-tracker-update_item?trackerId=1" _text="Edit it" _type="success")}itemId={display name="object_id"}{BUTTON} {FORMAT} {LISTEXECUTE}
Expected result
The code above results in the button url like https://mywiki.url/tiki-tracker-update_item?trackerId=1&itemId=1234 where 1234 is object_id. For now, button plugin uses GET method without direct ajax invocation, so, variables in the content body are missing, if the user not using JQ. Former behavior of button remains as is.