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 and version matrix | |
MediaWiki Google Search extension v0.3
Made by Pierre Mavro <pierre@mavro.fr> Licenced under GPL v2
Contents |
Minimum requirements [edit]
- MediaWiki 1.16+ (not tested <1.16)
Installation instructions [edit]
- Download the latest version of DeleteHistory from :
- The primary link : Extension:GoogleSearch
- Alternate link : https://git.deimos.fr/?p=mediawiki_GoogleSearch.git;a=snapshot;h=HEAD;sf=tgz
- Download with git : git clone https://git.deimos.fr/git/mediawiki_GoogleSearch.git GoogleSearch
- 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
Changelog [edit]
v0.3 [edit]
Adding a var to avoid editing the code
v0.2 [edit]
Correcting Mediawiki link extension website
v0.1.1 [edit]
Search bar size fixed to 12px instead of 15px to avoid bad browser interpretation
v0.1 [edit]
First release
