I've made a 'Magic links enhancer' userscript to make magic links more useful across all SE sites.
It uses @M'vy's idea of having a basic format of
[SITE:type:id], and works the same way across the network.
Links are expanded at POST time, so readers don't need to have the extension installed to see or use the links.
SITE is SF, SO, SU, meta, metaSU with default to the current site
type can be user, post, faq with default to post
id can be the id of a post, of an user and anchor a HTML anchor like in the FAQ, or a comment, or a anwser.
You can only use default values from the left. If you specify SITE you have to specify all.
(quoted from his post)
SITE can be
sf, or any other SE site by using their API sitename (the thing before
.stackexchange.com), eg. [
[chess] will expand to the link to that site.
type (followed by
anchor) can be
user (followed by user id),
post (followed by post id),
help (followed by help page name in URL), or
priv (followed by priv name in URL).
(or view the source)
Examples (if posted in a comment on this site):
[Adding magic link for Meta Stack Overflow?](https://meta.stackexchange.com/q/274240)
[RegEx match open tags except XHTML self-contained tags](http://stackoverflow.com/q/1732348)
[RegEx match open tags except XHTML self-contained tags](http://stackoverflow.com/a/1732454)
[How to help less-skilled developers?](http://meta.stackoverflow.com/q/321111)
[Meta Stack Overflow](//meta.stackoverflow.com)
[meta.gaming.SE]to link to Arqade Meta, the fact that this doesn't work for the SOFU trilogy sites seems like a simple oversight that should be fixed.
[metaso]links to Meta Stack Exchange and not to Meta Stack Overflow as you would expect.