-
Notifications
You must be signed in to change notification settings - Fork 0
mcgrathd/GoogleCSE
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
GoogleCSE
=========
This extension allows you to use the Google Custom Search Engine, either in
addition to, or as a replacement of, the built in MediaWiki search.
To enabled the extension, add the following lines to your LocalSettings.php
file:
require_once( "$IP/extensions/GoogleCSE/GoogleCSE.php" );
$wgGoogleCSEcx = "<your CSE cx id>";
To access the page, you currently have to visit the Special:GoogleCSE special
page.
If you wish to replace the built in search with GoogleCSE, you ran add this to
your LocalSettings.php:
$wgSpecialPages['Search'] = 'SpecialGoogleCSE';
$wgDisableInternalSearch = true;
Note: that if you replace the internal search, you will only see results that
Google has indexed on your site
About
MediaWiki extension to integrate Google Custom Search Engine (CSE) into searches
Resources
Stars
Watchers
Forks
Packages 0
No packages published