i like the layout. just because it doesn't look like wikipedia doesnt mean its bad.
I didn't make the template, and this was the supposedly easiest way to use all passed parameters in the syntax highlight and the listing.
I remember having a bash at the problem and concluding that either you needed serverside scripting or some kind of magic fingers.
I am gonna look into a better way to do the templates. I'll take a look at what Love2D do - it's gotta be better than what we're doing right now.
You should keep the contractible sidebar.
As long as you keep the mediawiki API, I'm fine
[editline]24th February 2013[/editline]
Could you slightly darken the background so it's not such an eyebleeder?
[editline]24th February 2013[/editline]
Maybe make the background slightly grainy with a light gray
[editline]24th February 2013[/editline]
It'd also be cool if the sidebar updated as you typed queries in the search box
[QUOTE=Lexic;39702934]I remember having a bash at the problem and concluding that either you needed serverside scripting or some kind of magic fingers.[/QUOTE]
I took a look at the love wiki. It isn't really doing anything fantastic.
I took a look around at some extensions, and it seems to be that all this shit would be a million times easier for people to use if it was all form based.
I tested it out on the hook stuff first. You can add new hooks easily here..
[url]http://wiki.garrysmod.com/page/Special:FormEdit/Hook[/url]
Or edit existing ones that have been created using this system
[url]http://wiki.garrysmod.com/index.php?title=Hooks/Sandbox/TestHookName&action=formedit[/url]
I'm gonna have to read up on the semantic stuff before I try to convert the rest to use it.. but I think this is the way forward in terms of easily adding/correcting shit without trying to mind parse a shitload of templates.
[editline]25th February 2013[/editline]
I think the problems gonna come when adding the arguments. Ideally they'd be defined as an array, and you'd just click Add One More to add another one. That doesn't look like something we're able to do here.
But I guess that's not such a big issue if we're using forms. It won't be nearly as fiddly.
Ok, I got some shit going on..
[url]http://wiki.garrysmod.com/page/string/Test[/url]
The printed format isn't so good, but if you click at the top on "edit with form" you can see how awesome it's gonna be when the chinks are worked out.
New functions can be added easily using this form too
[url]http://wiki.garrysmod.com/page/Special:FormEdit/Function[/url]
Looking awesome, still not a fan of the font but you can never be perfect I guess.
[QUOTE=garry;39714243]Ok, I got some shit going on..
[url]http://wiki.garrysmod.com/page/string/Test[/url]
The printed format isn't so good, but if you click at the top on "edit with form" you can see how awesome it's gonna be when the chinks are worked out.
New functions can be added easily using this form too
[url]http://wiki.garrysmod.com/page/Special:FormEdit/Function[/url][/QUOTE]
Is it possible for users to add forms?
[editline]25th February 2013[/editline]
Also add more of the types, could possibly use the mediawiki api to query the classes to add those too
[editline]25th February 2013[/editline]
You should keep the mediawiki logo too
[img]http://i.imgur.com/Ivf0n1m.png[/img]
Why would you use this font?
Why is the redlink not red?
[editline]25th February 2013[/editline]
Why are links not any color in headers?
[QUOTE=Map in a box;39716034]Is it possible for users to add forms?
[editline]25th February 2013[/editline]
Also add more of the types, could possibly use the mediawiki api to query the classes to add those too
[editline]25th February 2013[/editline]
You should keep the mediawiki logo too[/QUOTE]
It's all wiki based, so you should be able to change it all?
Good job Garry!
[QUOTE=garry;39719940]It's all wiki based, so you should be able to change it all?[/QUOTE]
The form adding pages are special pages, is there a way for the end user to add forms that would add stuff?
Are there only 2 libraries or is it suddenly broken?
[QUOTE=Map in a box;39727694]The form adding pages are special pages, is there a way for the end user to add forms that would add stuff?[/QUOTE]
Yeah I just need to enable it, will look into it
[editline]27th February 2013[/editline]
[QUOTE=Pandaman09;39727985]Are there only 2 libraries or is it suddenly broken?[/QUOTE]
The sidebar is gonna be broke for a bit while I convert everything to the category system. I am not sure why it wasn't all using categories anyway instead of self made category pages.
You can still get a list of library functiions here:
[url]http://wiki.garrysmod.com/index.php?title=Category:Library_Functions&action=edit&redlink=1[/url]
A list of incomplete functions:
[url]http://wiki.garrysmod.com/page/Category:Incomplete_Functions[/url]
A list of all functions:
[url]http://wiki.garrysmod.com/page/Category:Functions[/url]
I'm pretty sure this isn't intended...
[url]http://imgur.com/GZc79LA[/url]
[code]
Precaching messages
When you send a net message, you will most likely get an error which contains a shortened URL. This is because the message isn't precached. To precache a message, just call this once server-side:
<syntaxhighlight> util.AddNetworkString("yourMessageName") </syntaxhighlight>
Note: you will need to wait a couple of seconds after precaching before sending the message.
[/code]
notice
[code]
<syntaxhighlight> util.AddNetworkString("yourMessageName") </syntaxhighlight>
[/code]
[QUOTE=Pandaman09;39738567]-snip-[/QUOTE]
Someone needs to run through that page, remove the syntaxhighlight tags and add four spaces in front of each line.
I already did.
[editline]1st March 2013[/editline]
page's gone though
Sorry, you need to Log In to post a reply to this thread.