Forum/wiki integration

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

Forum/wiki integration

Post by Tropylium »

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: 127
Joined: July 22nd, 2014, 12:59 pm
Location: Within the infinite expanses of the Life universe

Re: Forum/wiki integration

Post by SuperSupermario24 »

This could be useful.

Code: Select all

7b2o2bo4bobo$obob2o5bo2bo4bobo$2bo4bo2b2o3bo4b2o$2o2bobo3bob2obo3bo$ob
ob2obo3bobobob3obo$4bo6b2o3bobo2bo$2o2bo2b2o11bo!
danieldb
Posts: 163
Joined: July 15th, 2015, 4:27 pm

Re: Forum/wiki integration

Post by danieldb »

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

Re: Forum/wiki integration

Post by Kiran »

+1
Kiran Linsuain
User avatar
Saka
Posts: 3626
Joined: June 19th, 2015, 8:50 pm
Location: Indonesia
Contact:

Re: Forum/wiki integration

Post by Saka »

+5
jarring cyan
User avatar
Nathaniel
Site Admin
Posts: 906
Joined: December 10th, 2008, 3:48 pm
Location: New Brunswick, Canada
Contact:

Re: Forum/wiki integration

Post by Nathaniel »

Done! Let me know if it does/doesn't work as you think it should.
User avatar
Scorbie
Posts: 1728
Joined: December 7th, 2013, 1:05 am

Re: Forum/wiki integration

Post by Scorbie »

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.
User avatar
Nathaniel
Site Admin
Posts: 906
Joined: December 10th, 2008, 3:48 pm
Location: New Brunswick, Canada
Contact:

Re: Forum/wiki integration

Post by Nathaniel »

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: 127
Joined: July 22nd, 2014, 12:59 pm
Location: Within the infinite expanses of the Life universe

Re: Forum/wiki integration

Post by SuperSupermario24 »

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

7b2o2bo4bobo$obob2o5bo2bo4bobo$2bo4bo2b2o3bo4b2o$2o2bobo3bob2obo3bo$ob
ob2obo3bobobob3obo$4bo6b2o3bobo2bo$2o2bo2b2o11bo!
User avatar
Saka
Posts: 3626
Joined: June 19th, 2015, 8:50 pm
Location: Indonesia
Contact:

Re: Forum/wiki integration

Post by Saka »

jarring cyan
User avatar
Scorbie
Posts: 1728
Joined: December 7th, 2013, 1:05 am

Re: Forum/wiki integration

Post by Scorbie »

@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?
User avatar
Saka
Posts: 3626
Joined: June 19th, 2015, 8:50 pm
Location: Indonesia
Contact:

Re: Forum/wiki integration

Post by Saka »

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!
jarring cyan
User avatar
Saka
Posts: 3626
Joined: June 19th, 2015, 8:50 pm
Location: Indonesia
Contact:

Re: Forum/wiki integration

Post by Saka »

Ok, I redirected Honey Thieves to Honey thieves
jarring cyan
User avatar
Nathaniel
Site Admin
Posts: 906
Joined: December 10th, 2008, 3:48 pm
Location: New Brunswick, Canada
Contact:

Re: Forum/wiki integration

Post by Nathaniel »

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