UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Feature request #3773 Add Google search to wiki
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "WON'T FIX".
Issue basics
  • Type of issue
    Feature request
  • Category
    General
  • Targetted for
    Not determined
  • Status
    Closed
  • Progress
  • Priority
    3. Normal
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Resolution
    WON'T FIX
  • Complexity
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/feature-requests/288 Item 288] imported from sourceforge.net tracker on 2013-01-28 20:16:10

Wiki search is not effective. Compare:

http://www.google.com/search?q=+site:ufoai.ninex.info+ufoai+pk3

http://ufoai.ninex.info/wiki/index.php/Special:Search?search=pk3&fulltext=Search

===== Comments Ported from Sourceforge =====

====== blondandy (2008-08-27 13:17:17) ======

Logged In: YES
user_id=1760416
Originator: NO

sounds like a good idea to me. i do this from my toolbar anyway. is it possible? if not perhaps you could close the request.
Andy
====== hoehrer (2008-08-27 14:36:08) ======

Logged In: YES
user_id=1434318
Originator: NO

If anybody knows how to integrate this into mediawiki I'd be glad to add it.

Werner
====== techtonik (2008-09-06 18:03:48) ======

ufoai.sourceforge.net search code
====== techtonik (2008-09-06 18:03:49) ======

Logged In: YES
user_id=669020
Originator: YES

I've created Google search engine for http://ufoai.sourceforge.net site, but you may want to create your own. Engine is reachable at http://www.google.com/coop/cse?cx=005717899278970101356:q55va8kqtp4 but search form can also be embed directly in site pages. Ajax code to embed it is in attached file. Some samples are at http://code.google.com/apis/ajaxsearch/samples.html

Included these four sites:
http://ufoai.sourceforge.net/
http://ufoai.ninex.info/wiki
http://ufoai.ninex.info/forum
http://ufoai.ninex.info/gallery


File Added: ufoai.search.code.txt
====== blondandy (2008-09-07 06:29:50) ======

Logged In: YES
user_id=1760416
Originator: NO

looks good to me! i have asked admins on the web pages to look into it.

is it possible to add the public log of the IRC channel and the sf.net trackers (bugs and features)?

http://colabti.org/irclogger//irclogger_logs/ufo:ai
https://sourceforge.net/tracker/?group_id=157793&atid=805242

i think it may be impossible (particularly for the trackers). please let me know.

====== hoehrer (2008-09-08 12:09:39) ======

Logged In: YES
user_id=1434318
Originator: NO

I've tested the code for the custom search widget in the wiki (1:1 copy of the attached file right now)
Looked pretty good in the test so far (except for the style of the popup - see below), but I want to ask people what they prefer the results to behave like:

* A popup list of the results in the same page (this is what the code does right now), or ...
* Opening the search results as a new page in the same window (is this possible with google custom searches?)

Concerning the popup style - right now the style that is used has a white background but with with the bright default text of the UFO:AI page. Where has this to be changed?

Werner
====== techtonik (2008-09-08 16:48:34) ======

blondandy, added IRC and Trackers. It was possible to add tracker, because URL wildcards with * masks are supported. I used http://sourceforge.net/tracker2/*atid=805245*group_id=157793 to add this tracker to engine.
(be careful to save you post if you would like to test new engine - these are links to new tracker at sourceforge and you may lose your post data even in FireFox if posting from old interface).

hoehrer, results are styled with site CSS as described in this Guide - http://code.google.com/apis/ajaxsearch/documentation/#StylingSearchResults

It is possible to make results appear in a new page as an alternative to "popup" method (actually called "modal"). The alternative method called "iframe" and requires two pieces of code. One piece is a search form (attached ufoai.iframe.searchform.txt). It will lead to a page with results located at http://ufoai.sourceforge.net/search (configurable) where a second snippet (ufoai.iframe.results.txt) should be placed.


====== techtonik (2008-09-08 16:48:43) ======

alternative search code (search form)
====== techtonik (2008-09-08 16:49:08) ======

alternative search code (results div)
====== hoehrer (2008-09-15 13:32:30) ======

Ok, I've included the 'iframe' version of the search into the wiki page [1]. The search is also directly available from the new "results" page located at [2].

A few open things still to do:

a) Page loading ([1]) is extremely slow in comparison to the version without the Google search box. Not a big thing, but very noticeable trough a slow connection.

b) The result page should include the default ufoai-header as seen in [3].
@mattn I guess you can give me a tip here?
Also it would be nice if the sourceforge domain would be used (not a biggie though)

c) The formatting of the 'result' page needs a bit of tweaking - especially the empty column to the right looks off.

d) It might be a good idea to have the Google[tm] branding image right next to the search button instead of below.

e) The textbox size/padding of the GCS is off. It has virtually no margin to the right.

f) How about an integrated search box on the main page ([3])? Provided the loading problems as mentioned in a) are solved somehow.

Werner

[1] http://ufoai.ninex.info/wiki/index.php/Main_Page
[2] http://ufoai.ninex.info/search.html
[3] http://ufoai.sourceforge.net
====== techtonik (2008-09-15 15:25:14) ======

a) there is nothing special in Google search from - it is fully static with only 1kb CSS and one logo .gif It should be cached by browser anyway. There is no javascript there, so the only explanation that it was a temporary issue with MediaWiki, which was recompiling template pages to cache after modifications

b) the result page is badly crippled - the piece of code I post is only a snippet to be included into the main area of typical site page. You may just save existing site page and then replace main content with search form <div>

c), d), e), f) the same thing - you need to ask UFO:AI designer - it should be an easy ask to repaint search form with CSS when it will be in site template. I won&#039;t be able to take a look at this myself anytime soon.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif