Help:Compact links

From semantic-mediawiki.org

Compact links are links using a Base64 scheme to link to special page "Browse"Shows all properties and their values annotated to a page, special page "Ask"Provides an interface that assists users with creating and executing semantic queries and special page "SearchByProperty"Allows to search the wiki by properties or property value combinations.1 This feature was introduced with Semantic MediaWiki 3.0.0Released on 11 October 2018 and compatible with MW 1.27.0 - 1.31.x..

The mentioned special pages can contain arbitrary text elements and therefore become difficult to transfer when its length exceeds a certain character length. A compact link will thus be encoded and compressed to ensure that it can be handled more easily when referring to it as an URL representation.

Example[edit]

Plain link
Special:Ask/-5B-5BProperty:%2B-5D-5D-20-5B-5BCategory:Lorem-20ipsum-5D-5D/-3FHas-20description%3DDescription/-3FHas-20type/mainlabel%3D/limit%3D50/offset%3D50/format%3Dtable/class%3Ddatatable
Compact link
Special:Ask/cl:YzpFirEKwzAMRD-oGIcWLwEvaSgdOvQXlEQuAjsykjLk75u6Q-CGd-_OhcGF4S1cUWzvLy6Mv1w714Y7GH5Y9v7FguXQVHUr_5N3t8cT9JAL6ixUjXiN48nnwfaKvgCtGSbM0WcqZDF0nlNSbJRYClg0mDL6OYNqXMCg9S8

Note[edit]

  • Compact links are not meant to used as a short-url service, yet in some instances the generate URL can be comparatively shorter than the plain URL.
  • The generated link has no security relevance therefore is is not cryptographically hashed or secure and should not be seen as such, it is foremost to "compact" an URL address.

See also[edit]


References

  1. ^ gh:smw:3017