Ok well, basically, it appears that in git you can't make separate patches for single items, but this is a quickie anyway.
Completely replace the contents of
\spring-website\wwwroot\mediawiki\skins\springnew.php
with:
http://pastebin.com/kMmHiv9W
Now a google search box should be at the top of every wiki page. Unfortunately I can't test it because I can't commit to master, meaning that this *SHOULD* work, but make sure that whoever makes this change tests immediately after committing it as there is a slight possibility that if mediawiki does stuff assbackwards that it might cause a parse error. It shouldn't, but after committing, double check jsut to make totally sure.
This google sitesearch displays instant results inline, which is pretty handy as you immediately get search results without being directed to another page.
After seeing the site in all it's naked glory, I understand now why no one wants to touch it. I made better code than this when I was in junior high. Mediawiki is probably much to blame, but whoever did the layout is just... wow. A large part of me is amazed that the site even manages to function.
*note* There is a very small chance that this change will cause absolutely nothing to happen, in which case, revert it and inform me. Mediawiki is an evil mess.
Addition of google search to the wiki
Moderator: Moderators
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Addition of google search to the wiki
Apparently if you swear at it enough, tortoisegit will eventually do what you ask.
- Attachments
-
- 0002-Adding-google-searchbox-to-the-wiki.patch.zip
- (995 Bytes) Downloaded 17 times
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Addition of google search to the wiki
Seriously... why has nothing been done with this?
Re: Addition of google search to the wiki
IIRC there is no one person assigned to update the site.
Re: Addition of google search to the wiki
Itll get there eventually, keep prodding people till you find one who knows then write down in the wiki who it was so we know in future
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Addition of google search to the wiki
Koshi already committed a git pull request, like 4 days ago or something, yet none of the devs have done it. In the interim, I made an easy google search for the wiki here: http://www.evolutionrts.info/wikisearch.html but that is nowhere near as good as actually having an in-line search in the wiki itself.AF wrote:Itll get there eventually, keep prodding people till you find one who knows then write down in the wiki who it was so we know in future
Re: Addition of google search to the wiki
maybe aegis or licho?