Re: New feature: copy/pastable self referential backlink [id://...] for every node
by kcott (Archbishop) on Feb 05, 2024 at 19:33 UTC
|
G'day Rolf,
Before your change:
Quite some time ago, all nodes in a thread, except the root node,
had [id://nnnnnn] added, as plain text, after the header.
It had this basic format:
Re: Thread Title [id:/nnnnnn]
In order to see that change, "Show an id:// shortcut on replies?" in Display Settings needs to be selected.
I have been using this often and find it extremely useful.
After your change:
[I don't know about others, but I hadn't noticed this changed.
I haven't been around much lately due a bout of COVID followed by the side-effects of anti-viral drugs.]
I would like to see some consistency with the previous change.
This would involve two things.
Firstly, the previous heading style is retained with [id://nnnnnn] added, as plain text, afterwards:
on <timestamp> ( #nnnnnn=<section> ...) [id:/nnnnnn]
Secondly, a new option is added to Display Settings": "Show an id:// shortcut on root nodes?"
(comparable to the "... on replies?" option shown above).
By the way, the space you show before "=section" (two instances) doesn't actually exist.
Selecting [id://nnnnnn] from [id://nnnnnn]=<section>
can be tricky as it's quite easy to end up following the link rather than selecting the link text.
| [reply] [d/l] [select] |
|
|
I agree about the inconsistency, but frankly I'm happy we have at least this solution now.
What you want needs adjustments at totally different locations and might imply changing the look and feel.
I'm not eager to open up that box of snakes... ;)
As always with the monastery this was much harder to implement than thought, because of some obscure dependencies.
It's already hard for Gods even much worse for pmdevs.
But you might want to apply for pmdevs and try it by yourself?
> By the way, the space you show before "=section"
Yes. Reason: I wrote everything today on mobile browsers. (Tl;Dr)
> can be tricky
Yes, I usually "copy link text", in the years before I just edited the "greedy" copy.
You may wanna talk to the gods about this. :)
| [reply] |
|
|
yeah... I'm not happy with the current format, on <datetime> ( [link]=type: print, xml ) (or whatever - depends on the node type)
I'm going to change it. Feedback welcome.
| [reply] [d/l] |
|
|
|
|
| [reply] |
|
|
After rereading your post concerning consistency, here my 2c
- not all nodes include a thread view of replies, hence a backlink should always be at the top near the title
- this top line is imho cryptic, I remember that it took me a while to decipher it. It might be worth discussing rearranging them Like
on Feb 05, 2024 at 16:40 CET ( [id://11157535] = monkdiscuss ; display: print w/ , w/o replies, xml ) and adding some
alt="print view without replies"
descriptions on mouse over to all links.
- I'm personally strictly against adding more features to display settings, they are not only hard to understand, but the code becomes littered with if conditions and increasingly unmaintainable. The few using these settings force the many to deal with static code. KISS!!!
- Nevertheless, for "consistency" I submitted a patch to display the backlink once matter in the bar with "comment" and "msg" link, right above the replies. It's activated by the same option, and appears just behind the title,
Comment on ${title} [id://...] | Download Code ...
(NB: this is pseudo code the real "template" is far more complicated)
Alas the gods didn't like it ...
| [reply] [d/l] [select] |
Re: New feature: copy/pastable self referential link [id://...] for every node
by pryrt (Abbot) on Feb 05, 2024 at 17:36 UTC
|
Thank you.
I have my Display Settings show that link in the replies in threaded conversations, but I was always mildly annoyed that it wasn't in the top-level post, too.
I had previously grabbed the copy/paste version for the top-level post from the Approval Nodelet, but that sometimes required additional scrolling to get that nodelet into view.
Once I saw your Docs for enhanced linking style with '<' for '|' ? post, and noticed that the displayed ID now has the wrapper, I knew I'd be using it going forward (and I just used it to grab the link to your earlier post). | [reply] |
|
|
> Display Settings show that link in the replies in threaded conversations
Oh right, I'm using that too, but I thought it's activated by default.
But apparently anomonk doesn't have it...
So extra tip:
Set this:
Misc Display Settings
-
Show an id:// shortcut on replies [x]
FWIW
My Good Intentions: Wikisyntax for the Monastery Nodelet Hack is using a regex to automatically transform any pasted full link to the ID:// form
| [reply] [d/l] [select] |
|
|
"I had previously grabbed the copy/paste version for the top-level post from the Approval Nodelet, ..."
I hadn't thought of using that.
Thanks for the tip. :-)
"... but that sometimes required additional scrolling to get that nodelet into view. "
I have a fairly large screen.
I can usually see Approval Nodelet;
with a busy Chatterbox and Other Users,
a single spin of the mousewheel will bring it into view.
| [reply] |