Forum/wiki integration

For discussion directly related to ConwayLife.com, such as requesting changes to how the forums or wiki function.
Post Reply
User avatar
Tropylium
Posts: 406
Joined: May 31st, 2011, 7:12 pm
Location: Finland

Forum/wiki integration

Post by Tropylium » November 16th, 2015, 6:56 pm

It's clear that LifeWiki and LifeForum are two important prongs of the current CGOL community, but I suspect they could be closer to each other yet.

An initial suggestion: would it be possible to create here a [wiki][/wiki] tag that would automatically generate links to LifeWiki in forum posts? I.e. [wiki]foo[/wiki] would generate the same output as [url=http://conwaylife.com/wiki/foo]foo[/url].

User avatar
SuperSupermario24
Posts: 120
Joined: July 22nd, 2014, 12:59 pm
Location: Within the infinite expanses of the Life universe

Re: Forum/wiki integration

Post by SuperSupermario24 » November 20th, 2015, 10:04 pm

This could be useful.

Code: Select all

bobo2b3o2b2o2bo3bobo$obobobo3bo2bobo3bobo$obobob2o2bo2bobo3bobo$o3bobo3bo2bobobobo$o3bob3o2b2o3bobo2bo!

User avatar
danieldb
Posts: 163
Joined: July 15th, 2015, 4:27 pm
Location: Right behind you holding a knife
Contact:

Re: Forum/wiki integration

Post by danieldb » November 20th, 2015, 10:13 pm

Support
moved to drc

User avatar
Kiran
Posts: 284
Joined: March 4th, 2015, 6:48 pm

Re: Forum/wiki integration

Post by Kiran » December 1st, 2015, 8:53 pm

+1
Kiran Linsuain

Saka
Posts: 3138
Joined: June 19th, 2015, 8:50 pm
Location: In the kingdom of Sultan Hamengkubuwono X

Re: Forum/wiki integration

Post by Saka » December 12th, 2015, 1:13 am

+5
Airy Clave White It Nay

Code: Select all

x = 17, y = 10, rule = B3/S23
b2ob2obo5b2o$11b4obo$2bob3o2bo2b3o$bo3b2o4b2o$o2bo2bob2o3b4o$bob2obo5b
o2b2o$2b2o4bobo2b3o$bo3b5ob2obobo$2bo5bob2o$4bob2o2bobobo!
(Check gen 2)

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

Re: Forum/wiki integration

Post by Nathaniel » December 13th, 2015, 11:19 am

Done! Let me know if it does/doesn't work as you think it should.

User avatar
Scorbie
Posts: 1419
Joined: December 7th, 2013, 1:05 am

Re: Forum/wiki integration

Post by Scorbie » December 13th, 2015, 7:23 pm

A simple test on the wiki integration:

Page exists:
glider
Glider
Glider (disambiguation)
Richard K. Guy
John Conway
Sawtooth 201

Page isn't made yet (red link):
Tanner Jacobi
Adam P. Goucher

Page wasn't expected to exist?
Dongook Lee(My apologies>.<)
Rubbish
John_Conway
Richard_K. Guy
adamp's-exposition
aquarium

Maybe the underscores are prohibited in LifeWiki page titles so there aren't any problems?
Entering John_Conway, for example, in the search box leads to John Conway with no redirections.
Last edited by Scorbie on December 13th, 2015, 7:59 pm, edited 1 time in total.
Best wishes to you, Scorbie

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

Re: Forum/wiki integration

Post by Nathaniel » December 13th, 2015, 7:49 pm

Scorbie wrote:Maybe the underscores are prohibited in LifeWiki page titles so there aren't any problems?
Entering John_Conway, for example, in the search box leads to John Conway with no redirections.
Yeah, this is one of the "quirks" of the MediaWiki software: it treats underscores and spaces as *identical* in page titles and URLs. It doesn't know the difference between the page "John_Conway" and the page "John Conway", and there's no way to make it see a difference.
Ah, this is one of those annoying cases I hadn't considered. I'm not sure there's a (moderately simple) way to get phpBB to parse parentheses correctly to make wiki links like this work.

User avatar
SuperSupermario24
Posts: 120
Joined: July 22nd, 2014, 12:59 pm
Location: Within the infinite expanses of the Life universe

Re: Forum/wiki integration

Post by SuperSupermario24 » December 13th, 2015, 8:46 pm

I wonder if it would be possible to change the name of a link (as in, something like "the most common spaceship" to display "the most common spaceship") instead of being stuck with the name of the article.

Code: Select all

bobo2b3o2b2o2bo3bobo$obobobo3bo2bobo3bobo$obobob2o2bo2bobo3bobo$o3bobo3bo2bobobobo$o3bob3o2b2o3bobo2bo!

Saka
Posts: 3138
Joined: June 19th, 2015, 8:50 pm
Location: In the kingdom of Sultan Hamengkubuwono X

Re: Forum/wiki integration

Post by Saka » December 14th, 2015, 5:01 am

Airy Clave White It Nay

Code: Select all

x = 17, y = 10, rule = B3/S23
b2ob2obo5b2o$11b4obo$2bob3o2bo2b3o$bo3b2o4b2o$o2bo2bob2o3b4o$bob2obo5b
o2b2o$2b2o4bobo2b3o$bo3b5ob2obobo$2bo5bob2o$4bob2o2bobobo!
(Check gen 2)

User avatar
Scorbie
Posts: 1419
Joined: December 7th, 2013, 1:05 am

Re: Forum/wiki integration

Post by Scorbie » December 14th, 2015, 6:52 am

@Saka Yikes. Capitalization seems important. honey thieves looks okay.

@Nathaniel quotation marks also don't seem to be working, which is pretry big as we cannot refer to a lot of oscs.: Coe's p8
Dashes work: sixty-nine

Is there any way to not escape these chars? Like the code tags?
Best wishes to you, Scorbie

Saka
Posts: 3138
Joined: June 19th, 2015, 8:50 pm
Location: In the kingdom of Sultan Hamengkubuwono X

Re: Forum/wiki integration

Post by Saka » December 14th, 2015, 7:29 am

Scorbie wrote:@Saka Yikes. Capitalization seems important. honey thieves looks okay.
Strange, the title of the page is Honey thieves, maybe we should redirect Honey Thieves to Honey thieves.



Check:
Honey thieves
honey Thieves<---Not working
EDIT:That's strange, it redirects honey Thieves to Honey Thieves!
Airy Clave White It Nay

Code: Select all

x = 17, y = 10, rule = B3/S23
b2ob2obo5b2o$11b4obo$2bob3o2bo2b3o$bo3b2o4b2o$o2bo2bob2o3b4o$bob2obo5b
o2b2o$2b2o4bobo2b3o$bo3b5ob2obobo$2bo5bob2o$4bob2o2bobobo!
(Check gen 2)

Saka
Posts: 3138
Joined: June 19th, 2015, 8:50 pm
Location: In the kingdom of Sultan Hamengkubuwono X

Re: Forum/wiki integration

Post by Saka » December 14th, 2015, 7:38 am

Ok, I redirected Honey Thieves to Honey thieves
Airy Clave White It Nay

Code: Select all

x = 17, y = 10, rule = B3/S23
b2ob2obo5b2o$11b4obo$2bob3o2bo2b3o$bo3b2o4b2o$o2bo2bob2o3b4o$bob2obo5b
o2b2o$2b2o4bobo2b3o$bo3b5ob2obobo$2bo5bob2o$4bob2o2bobobo!
(Check gen 2)

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

Re: Forum/wiki integration

Post by Nathaniel » February 26th, 2016, 9:58 am

Saka wrote:
Scorbie wrote:@Saka Yikes. Capitalization seems important. honey thieves looks okay.
Strange, the title of the page is Honey thieves, maybe we should redirect Honey Thieves to Honey thieves.

EDIT:That's strange, it redirects honey Thieves to Honey Thieves!
Yeah, this is another quirk of MediaWiki. The first letter of a page name is *always* capitalized no matter what, so it will automatically move any query for "page title" to "Page title". However, capitalization *after* the first letter actually matters. In these cases, I recommend just creating a redirect (as Saka did -- thanks!).

Edit: And things like quotes should now work in wiki tags. Coe's p8. It won't work for posts that have been made prior to me making this change though.

Post Reply