Suggestion for [catagolue] tag

For discussion directly related to ConwayLife.com, such as requesting changes to how the forums or wiki function.
Post Reply
User avatar
Ian07
Posts: 685
Joined: September 22nd, 2018, 8:48 am

Suggestion for [catagolue] tag

Post by Ian07 » April 15th, 2020, 9:14 pm

Could we please have a forum tag that links to Catagolue object pages, similar to how we have the "wiki" tag? i.e. this:

Code: Select all

[catagolue]xp15_4r4z4r4[/catagolue]
would become this: xp15_4r4z4r4

User avatar
Nathaniel
Site Admin
Posts: 665
Joined: December 10th, 2008, 3:48 pm
Location: New Brunswick, Canada
Contact:

Re: Suggestion for [catagolue] tag

Post by Nathaniel » April 15th, 2020, 9:34 pm

Done! Test: xp15_4r4z4r4

There's a button on the posting page for this now too (just like for the viewer and wiki tags).

User avatar
Saka
Posts: 3620
Joined: June 19th, 2015, 8:50 pm
Location: Indonesia
Contact:

Re: Suggestion for [catagolue] tag

Post by Saka » April 15th, 2020, 9:52 pm

Nice!
Funny - I remember suggesting this or something similar some time ago (link) but got no response.
Also, yet another suggestion, what about

Code: Select all

[catagolue=b34s34]xp0_example[/catagolue]
would lead to the page for the apgcode in the specified rule?
Currently taking a little break, but still hanging around on the Discord server.
Add your computer to the Table of Lifeenthusiast Computers!

User avatar
GUYTU6J
Posts: 1374
Joined: August 5th, 2016, 10:27 am
Location: 拆哪!I repeat, CHINA! (a.k.a. 种花家)
Contact:

Re: Suggestion for [catagolue] tag

Post by GUYTU6J » April 15th, 2020, 10:03 pm

Now the button is here!
Can we apply the tag to named objects, e.g. [catagolue]pentadecathlon[/catagolue] and [catagolue]roseluck[/catagolue]?
Lifequote:
In the drama The Peony Pavilion, Tang Xianzu wrote: 原来姹紫嫣红开遍,似这般都付与断井颓垣。
(Here multiflorate splendour blooms forlorn
Midst broken fountains, mouldering walls.)
I'm afraid there's arrival but no departure.
Stop Japan from dumping nuclear waste!

User avatar
Nathaniel
Site Admin
Posts: 665
Joined: December 10th, 2008, 3:48 pm
Location: New Brunswick, Canada
Contact:

Re: Suggestion for [catagolue] tag

Post by Nathaniel » April 15th, 2020, 10:06 pm

Saka wrote:
April 15th, 2020, 9:52 pm
Nice!
Funny - I remember suggesting this or something similar some time ago (link) but got no response.
Also, yet another suggestion, what about

Code: Select all

[catagolue=b34s34]xp0_example[/catagolue]
would lead to the page for the apgcode in the specified rule?
Ah sorry about that -- it's admittedly a bit of a luck of the draw regarding what I happen to notice when I have my bursts of activity.

I've added your suggested functionality for linking to other rules. Test: xp0_example
GUYTU6J wrote:
April 15th, 2020, 10:03 pm
Now the button is here!
Can we apply the tag to named objects, e.g. [catagolue]pentadecathlon[/catagolue] and [catagolue]roseluck[/catagolue]?
Unfortunately this is much more complicated. The custom BBcode creator can't (easily) do anything as complex as actually parsing the information passed to a tag and analyzing that content to determine if it is an apgcode or a pattern name. It has to act somewhat uniformly -- in this case, simply linking to a URL that has a piece of it substituted in from the tag.

User avatar
Ian07
Posts: 685
Joined: September 22nd, 2018, 8:48 am

Re: Suggestion for [catagolue] tag

Post by Ian07 » April 15th, 2020, 10:37 pm

Nathaniel wrote:
April 15th, 2020, 9:34 pm
Done! Test: xp15_4r4z4r4

There's a button on the posting page for this now too (just like for the viewer and wiki tags).
Awesome! Only issue is by default it leads to the "no rule specified" page; is there an option to default the rule parameter to b3s23?

User avatar
Nathaniel
Site Admin
Posts: 665
Joined: December 10th, 2008, 3:48 pm
Location: New Brunswick, Canada
Contact:

Re: Suggestion for [catagolue] tag

Post by Nathaniel » April 16th, 2020, 6:26 am

Ian07 wrote:
April 15th, 2020, 10:37 pm
Awesome! Only issue is by default it leads to the "no rule specified" page; is there an option to default the rule parameter to b3s23?
Done! It now defaults to b3s23 if no rule is specified.

User avatar
muzik
Posts: 4181
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Suggestion for [catagolue] tag

Post by muzik » April 17th, 2020, 5:43 am

Would it be possible to extend the function of the tag (or add a new one) so it can link to rules as well?

b367s2-i34q

User avatar
Ian07
Posts: 685
Joined: September 22nd, 2018, 8:48 am

Re: Suggestion for [catagolue] tag

Post by Ian07 » September 28th, 2020, 6:01 pm

Per this commit, the "main" Catagolue URL is being changed to hatsya.com to make it more accessible for users in mainland China, so it would be nice if the [catagolue] tag could be updated to account for this.

User avatar
Nathaniel
Site Admin
Posts: 665
Joined: December 10th, 2008, 3:48 pm
Location: New Brunswick, Canada
Contact:

Re: Suggestion for [catagolue] tag

Post by Nathaniel » April 10th, 2021, 10:47 am

Ian07 wrote:
September 28th, 2020, 6:01 pm
Per this commit, the "main" Catagolue URL is being changed to hatsya.com to make it more accessible for users in mainland China, so it would be nice if the [catagolue] tag could be updated to account for this.
Updated, sorry for the delay.

Post Reply