Extension:GoogleSearch
From MediaWiki.org
|
GoogleSearch Release status: stable |
|
|---|---|
| Implementation | Special page |
| Description | Add Google Search to the sidebar |
| Author(s) | Pierre Mavro |
| Last version | 0.3 |
| MediaWiki | 1.16+ |
| License | GNU General Public Licence 2.0 |
| Download | Snapshot |
|
Check usage (experimental) |
|
MediaWiki Google Search extension v0.3
Made by Pierre Mavro <pierre@mavro.fr> Licenced under GPL v2
Contents |
[edit] Minimum requirements
- MediaWiki 1.16+ (not tested <1.16)
[edit] Installation instructions
- Download the latest version of DeleteHistory from :
- The primary link : Extension:GoogleSearch
- Alternate link : http://git.deimos.fr/gitweb/?p=mediawiki_extensions.git;a=snapshot;h=HEAD;sf=tgz
- Download with git : git clone git://git.deimos.fr/git/mediawiki_extensions.git
- Uncompress it in your extensions directory (ex. /var/www/mediawiki/extensions).
- Edit your LocalSettings.conf and add those lines :
# Google Search require_once( "$IP/extensions/GoogleSearch/GoogleSearch.php" ); $wgGoogleSearchCSECode = "ENTER_YOUR_CSE_CODE_HERE";
- Create an account and get the code from Google Co-op (CSE) / Google Adsense to replace the $wgGoogleSearchCSECode value in your LocalSettings
- That's all, now you can refresh your wiki and see the Google Search in your sidebar
- Do not hesitate to contact me if you have some questions
[edit] Changelog
[edit] v0.3
Adding a var to avoid editing the code
[edit] v0.2
Correcting Mediawiki link extension website
[edit] v0.1.1
Search bar size fixed to 12px instead of 15px to avoid bad browser interpretation
[edit] v0.1
First release
