Wiki proposal

what about disabling CamelCase by default?
it just causes problems with function names.

-> Foo_BarBar gets CamelCase’d to Foo_[BarBar]

what about disabling CamelCase by default?
it just causes problems with function names.

Well, I can think of one good reason for not doing that: Doing that
would make the whole wiki fall apart. All the supporting pages and all
the documentation are linked using CamelCase links. Turning off
CamelCase links would require you do go through the whole wiki and
replace ThisIsALink with [“ThisIsALink”]. Sounds like a lot of work to
me.

Then there is the other reason: There doesn’t seem to be an option to
turn off CamelCase links. And, for the reason I listed above, I think I
know why the option is missing.

-> Foo_BarBar gets CamelCase’d to Foo_[BarBar]

Yep, you have to change it to ["Foo_BarBar] which is what you should do
if it is something like SDL_PollEvent so that it will become a link to
the correct page.

	Bob PendletonOn Mon, 2004-08-09 at 09:24, Florian Hufsky wrote:

SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

±-------------------------------------+

i see.

Bob Pendleton wrote:> On Mon, 2004-08-09 at 09:24, Florian Hufsky wrote:

what about disabling CamelCase by default?
it just causes problems with function names.

Well, I can think of one good reason for not doing that: Doing that
would make the whole wiki fall apart. All the supporting pages and all
the documentation are linked using CamelCase links. Turning off
CamelCase links would require you do go through the whole wiki and
replace ThisIsALink with [“ThisIsALink”]. Sounds like a lot of work to
me.

Then there is the other reason: There doesn’t seem to be an option to
turn off CamelCase links. And, for the reason I listed above, I think I
know why the option is missing.

-> Foo_BarBar gets CamelCase’d to Foo_[BarBar]

Yep, you have to change it to ["Foo_BarBar] which is what you should do
if it is something like SDL_PollEvent so that it will become a link to
the correct page.

  Bob Pendleton

SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

-> Foo_BarBar gets CamelCase’d to Foo_[BarBar]

Yep, you have to change it to ["Foo_BarBar] which is what you should do
if it is something like SDL_PollEvent so that it will become a link to
the correct page.

  Bob Pendleton

Just to make sure I’m not confused, you did mean [“Foo_BarBar”] right?

I just opened my email client to say something about CamelCase and this
thread popped up, what a surprise!

My problem is that sometimes I don’t want it to be a link at all… how
should I suppress a link? (For instance, on the Foo_BarBar page, we
don’t need a bunch of links to BarBar, nor really do we need a bunch of
links to Foo_BarBar.

To see what I mean, look at the top of the Mix_OpenAudio page, in the
Name section, it says Mix_?OpenAudio, because it’s interpretting
OpenAudio as a CamcelCase link :frowning:

I’m sure there is probably an easy way to do this, please let me know
what it is! Thanks!

  • Donny VisznekiOn Aug 9, 2004, at 11:06 AM, Bob Pendleton wrote:

On Mon, 2004-08-09 at 09:24, Florian Hufsky wrote:

Mix_'OpenAudio i think
or whatever the surpress CamelCase character was.
maybe Mix_!OpenAudio
or Mix_~OpenAudio

Donny Viszneki wrote:>

On Aug 9, 2004, at 11:06 AM, Bob Pendleton wrote:

On Mon, 2004-08-09 at 09:24, Florian Hufsky wrote:

-> Foo_BarBar gets CamelCase’d to Foo_[BarBar]

Yep, you have to change it to ["Foo_BarBar] which is what you should do
if it is something like SDL_PollEvent so that it will become a link to
the correct page.

    Bob Pendleton

Just to make sure I’m not confused, you did mean [“Foo_BarBar”] right?

I just opened my email client to say something about CamelCase and this
thread popped up, what a surprise!

My problem is that sometimes I don’t want it to be a link at all… how
should I suppress a link? (For instance, on the Foo_BarBar page, we
don’t need a bunch of links to BarBar, nor really do we need a bunch of
links to Foo_BarBar.

To see what I mean, look at the top of the Mix_OpenAudio page, in the
Name section, it says Mix_?OpenAudio, because it’s interpretting
OpenAudio as a CamcelCase link :frowning:

I’m sure there is probably an easy way to do this, please let me know
what it is! Thanks!

  • Donny Viszneki

SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Donny Viszneki writes:

My problem is that sometimes I don’t want it to be a link at
all… how should I suppress a link? (For instance, on the Foo_BarBar
page, we don’t need a bunch of links to BarBar, nor really do we need
a bunch of links to Foo_BarBar.

To see what I mean, look at the top of the Mix_OpenAudio page, in the
Name section, it says Mix_?OpenAudio, because it’s interpretting
OpenAudio as a CamcelCase link :frowning:

http://libsdl.org/cgi/docwiki.cgi/HelpOnLinking

Also note that links aren’t made to the page the link is on, so in
that case [“Mix_OpenAudio”] works fine. The problem you’re seeing is
that only the “OpenAudio” part of “Mix_OpenAudio” is made into a link.
So you can either force the whole thing into a link with ["…"]
(which will then be ignored since it’s the name of its own page), or
split the “OpenAudio” part with six single quotes (empty bold string)
or a pair of backticks (empty fixed-width string).