Page 1 of 1

Forum/wiki integration

Posted: November 16th, 2015, 6:56 pm
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].

Re: Forum/wiki integration

Posted: November 20th, 2015, 10:04 pm
by SuperSupermario24
This could be useful.

Re: Forum/wiki integration

Posted: November 20th, 2015, 10:13 pm
by danieldb
Support

Re: Forum/wiki integration

Posted: December 1st, 2015, 8:53 pm
by Kiran
+1

Re: Forum/wiki integration

Posted: December 12th, 2015, 1:13 am
by Saka
+5

Re: Forum/wiki integration

Posted: December 13th, 2015, 11:19 am
by Nathaniel
Done! Let me know if it does/doesn't work as you think it should.

Re: Forum/wiki integration

Posted: December 13th, 2015, 7:23 pm
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.

Re: Forum/wiki integration

Posted: December 13th, 2015, 7:49 pm
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.

Re: Forum/wiki integration

Posted: December 13th, 2015, 8:46 pm
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.

Re: Forum/wiki integration

Posted: December 14th, 2015, 5:01 am
by Saka

Re: Forum/wiki integration

Posted: December 14th, 2015, 6:52 am
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?

Re: Forum/wiki integration

Posted: December 14th, 2015, 7:29 am
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!

Re: Forum/wiki integration

Posted: December 14th, 2015, 7:38 am
by Saka
Ok, I redirected Honey Thieves to Honey thieves

Re: Forum/wiki integration

Posted: February 26th, 2016, 9:58 am
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.