Right now the generated URLs are of the following form http://localhost:8080/xwiki/rest/p/{pageID}. The idea of this issue is to remove the rest part, making the URLs as http://localhost:8080/xwiki/p/{pageID}.
Then all new links (links copied using the Get shortened URL button) will be of this form.
Note that any link copied previously to this implementation will continue to work as expected, to not break backwards compatibility.
This needs to be done by using https://extensions.xwiki.org/xwiki/bin/view/Extension/Resource%20API#HAddinganewResourceTypeHandler
Right now the generated URLs are of the following form
http://localhost:8080/xwiki/rest/p/{pageID}. The idea of this issue is to remove therestpart, making the URLs ashttp://localhost:8080/xwiki/p/{pageID}.Then all new links (links copied using the
Get shortened URLbutton) will be of this form.Note that any link copied previously to this implementation will continue to work as expected, to not break backwards compatibility.
This needs to be done by using https://extensions.xwiki.org/xwiki/bin/view/Extension/Resource%20API#HAddinganewResourceTypeHandler