Wikia

WoWWiki

Help:Searching

Talk23
102,217pages on
this wiki

Redirected from Help:Search

MediaWiki Search Edit

The following information is how to search WoWWiki using MediaWiki's in house search engine using Search WoWWiki found in the navigation menu.

WoWWiki simply tries to find documents that contain the phrases you enter. It is not programmed to answer questions, or search for "what you mean".

A bad search string
What is the Druid's healing spell called?

This will return pages containing any of the words in that phrase, starting with the pages that contain the most of them closest to that order.

What you should search for is what the page you are looking for might contain or a much more general reference that would lead you to what you're looking for:

A better search string
Druid spell

Any page that pertains to Druids and Spells is likely to pop up (avoid plurals and other suffixes, as searching for spell will turn up 'spell' 'spells' 'spelling' etc). Chances are that any page dealing with Spells and Druids will have some mention of the Druid's healing spell. If this query should fail, you could try even more general with a single word, such as 'spells' or 'druids'.

 

Icon-shortcutSee also: Mediawiki-logo-18x24  Meta-Wiki Help:Searching

Google search Edit

You can also search using Google. The Monaco skin (the current skin) contains a link to the Google search box on the search page, you can also access the page by visiting here.

Restoring the MediaWiki Search Box Edit

The easy way

This code is specific to the WoWWiki skin.

// Show both Search Boxes
function twoSearch() {
  var googleSearch = document.getElementById('p-search').innerHTML.replace("Search", "Google Search");
  var wikiSearch = "<h5><label for='searchInput'>Wiki Search</label></h5><div id='searchBody' class='pBody'>";
  wikiSearch = wikiSearch + "<form action='/index.php?title=Special:Search' id='searchform'>";
  wikiSearch = wikiSearch + "<div><input id='searchInput' name='search' value='' type='text'>";
  wikiSearch = wikiSearch + "<input name='go' class='searchButton' id='searchGoButton' value='Go' type='submit'>";
  wikiSearch = wikiSearch + "&nbsp;<input name='fulltext' class='searchButton' id='mW-searchButton' value='Search' type='submit'>";
  wikiSearch = wikiSearch + "</div></form></div>";
  document.getElementById("p-search").innerHTML = googleSearch + wikiSearch;
}

addOnloadHook(twoSearch);


The hard way

If you prefer the MediaWiki's built-in search to the Google search used by the default "wowwiki" skin, adding the following code to your user JS will replace it with a replica of the MediaWiki search box:

addOnloadHook(function() {
	var elm = document.getElementById("searchBody");

	if (elm) {
		while (elm.lastChild) elm.removeChild(elm.lastChild);

		elm = elm.appendChild(document.createElement("form"));
		elm.id = "searchform";
		elm.action = "/Special:Search";
		elm.method = "get";

		for (var i = 0; i < 16; i++) {
			elm = elm.appendChild(document.createElement("input"));
			elm.type = "hidden";
			elm.name = "ns" + i;
			elm.value = 1;
			elm = elm.parentNode;
		}

		elm = elm.appendChild(document.createElement("input"));
		elm.id = "searchInput";
		elm.accesskey = "f";
		elm.name = "search";
		elm.size = "25";
		elm.style.width = "125px";

		elm = elm.parentNode.appendChild(document.createElement("input"));
		elm.id = "searchGoButton";
		elm.type = "submit";
		elm.className = "searchButton";
		elm.name = "go";
		elm.value = "Go";

		elm = elm.parentNode.appendChild(document.createTextNode(" "));

		elm = elm.parentNode.appendChild(document.createElement("input"));
		elm.id = "mw-searchButton";
		elm.type = "submit";
		elm.className = "searchButton";
		elm.name = "fulltext";
		elm.value = "Search";
	}
});

Browser Searches Edit

Firefox Edit

Firefox search plug-ins for WoWWiki can be found at mycroft.mozdev.org

Firefox has the ability to have search bookmarks and aliases for them. To add the traditional "Go" button functionality in WoWWiki using Firefox, then add a new bookmark, name it something such as WoWWiki Search, or whatever you feel you'll remember. For the location enter http://www.wowwiki.com/Special:Search?search=%s. For a keyword, you may want to use ww, wowwiki, or wowwikisearch. To call the function in the commonly-used URL address bar you type ww thunderfury and the result will give you Thunderfury.

Immediately before %s you can add Template:, for example, then when you type wwtemplate gems the result would return Template:Gems.

Internet Explorer 7 Edit

You can add search providers to Internet Explorer 7 search by using this form.

Other Search Tools Edit

To search any Wikia community, you can use the search field above the sidebar on the right side of the page.

Searchbox

The search field appears above the sidebar

Advanced Search

Your initial search will probably only search the main namespace and a few others. After you search, you may find that you need to expand your search to other areas of the wikia. To do this, click the "Advanced" link that appears at the upper right side of the search results page. It will open a box that allows you to select more namespaces and continue searching.

Advanced-search-1

Advanced search allows you to select more namespaces

Other ways to find pages

How to create a search box

  • To add a search box to any article, just type: <inputbox>type=search</inputbox>. It will produce this box:

Next pages

Further help and feedback

Around Wikia's network

Random Wiki