Pages: 1
Author Topic: Fix Wiki Namespaces  (57,027 Views)
Offline (Unknown gender) RetroX

Master of all things Linux
Contributor
Joined: Apr 2008
Posts: 1,055
View profile
Posted on: August 17, 2011, 08:24:09 PM
None of you know how to wiki.

Someone should read this and fix the pages.

Nested namespaces don't work.
Offline (Unknown gender) IsmAvatar

LateralGM Developer
LGM Developer
Joined: Apr 2008
Posts: 877
View profile
Reply #1 Posted on: August 19, 2011, 07:08:15 AM
Open an ssh connection to the server and update a php file every time we need a new namespace

or

Prepend the wiki page with `<namespace>:`.

Screw official namespaces.
Offline (Unknown gender) RetroX

Master of all things Linux
Contributor
Joined: Apr 2008
Posts: 1,055
View profile
Reply #2 Posted on: August 19, 2011, 06:56:44 PM
Yeah, fight the power!  I'll do what I want to do!

You don't need 5000 namespaces.  You need LateralGM and ENIGMA, and that's pretty much it.  Function:Documentation:Format is stupid; Function Documentation Format or Function documentation format is fine.

There's no difference between Category: Something and Category:Something and Category:something and Category: something at the present time.  There is a difference if you use "LateralGM" instead of "Category".

Namespaces are intended to optimise searches and to allow you to quickly and easily find a page of a certain type.  Just prefixing with a string and colon is stupid and doesn't actually do anything for what they were originally intended.  It's the equivalent of naming a type "JavaInfoUtilBestInTheWorldArrayList" instead of "util.ArrayList".
Offline (Unknown gender) luiscubal

Member
Joined: Jun 2009
Posts: 452
View profile
Reply #3 Posted on: August 19, 2011, 11:17:32 PM
I've seen people use "foo/bar" instead of "foo:bar". Perhaps that would work? (ENIGMA/SomeENIGMAConcept, LateralGM/SomeLGMConcept)

Not saying this a good way, just wanted to add this to the discussion. If this sucks, feel free to ignore it.
Offline (Unknown gender) RetroX

Master of all things Linux
Contributor
Joined: Apr 2008
Posts: 1,055
View profile
Reply #4 Posted on: August 20, 2011, 05:17:02 AM
Foo/Bar is essentially the equivalent of nested namespaces on a wiki.  They're subpages, but they don't actually mean anything in the realm of Wikis besides the fact that there are special functions to get just the sub page name.

ENIGMA and LateralGM should be namespaces.  Everything else that I've seen as a namespace doesn't need to be one - as I said, Function:Documentation:Format should just be "Function documentation format."  Plugin:Building should just be "Building the Plugin" or something similar.
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
Reply #5 Posted on: August 20, 2011, 03:18:46 PM
Screw official namespaces.

...Yes, categories would be cleaner. But I don't see any volunteers.
Offline (Unknown gender) RetroX

Master of all things Linux
Contributor
Joined: Apr 2008
Posts: 1,055
View profile
Reply #6 Posted on: August 21, 2011, 03:01:39 PM
You don't need to actively go searching for bad pages; just stop making them and moving the ones that you see. :P
Pages: 1