ENIGMA Forums

Contributing to ENIGMA => Proposals => Topic started by: RetroX on August 17, 2011, 03:24:09 pm

Title: Fix Wiki Namespaces
Post by: RetroX on August 17, 2011, 03:24:09 pm
None of you know how to wiki.

Someone should read this (https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Manual:Using_custom_namespaces) and fix the pages.

Nested namespaces don't work.
Title: Re: Fix Wiki Namespaces
Post by: IsmAvatar on August 19, 2011, 02: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.
Title: Re: Fix Wiki Namespaces
Post by: RetroX on August 19, 2011, 01: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".
Title: Re: Fix Wiki Namespaces
Post by: luiscubal on August 19, 2011, 06: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.
Title: Re: Fix Wiki Namespaces
Post by: RetroX on August 20, 2011, 12: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.
Title: Re: Fix Wiki Namespaces
Post by: Josh @ Dreamland on August 20, 2011, 10:18:46 am
Screw official namespaces.

...Yes, categories would be cleaner. But I don't see any volunteers.
Title: Re: Fix Wiki Namespaces
Post by: RetroX on August 21, 2011, 10:01:39 am
You don't need to actively go searching for bad pages; just stop making them and moving the ones that you see. :P