MediaWiki Search Plugin for Joomla
- Detalles
- Última actualización: Sábado, 05 Diciembre 2009 20:41
- Publicado: Martes, 22 Septiembre 2009 12:07
MediaWiki Search Plugin for Joomla!
MediaWiki Search Plugin is an extension for Joomla! 1.5 that allows to search in a MediaWiki database and integrate the results into the Joomla! search page. With this plugin you can search both your MediaWiki pages and Joomla! content in one place!
MediaWiki Search Plugin is Free Software, licensed under the GNU General Public License.
![]() |
Setup guide
Step 1. Install
Install the plugin using the Joomla Administration Console. You can copy the download link and install it directly from Joomla! installer.
Step 2. Configure
From your Joomla Administration Console, go to Extensions > Plugins and look for "Search - MediaWiki". Click the link to open the configuration page for the plugin. You have to set 2 important settings:
- MediaWiki Database, the name of your MediaWiki database in MySQL.
- MediaWiki Table Prefix, the prefix used in your MediaWiki tables (optional)
- MediaWiki URL, the base URL for your MediaWiki pages.
Configure the MediaWiki Database plugin option
The option MediaWiki Database is the name of your MediaWiki database. Your Joomla! database user needs SELECT grants on this database. You'll need to grant this permissions in your database, using your favorite MySQL client. For example, if your Joomla databaser user is "joomla_usr" and your MediaWiki database name is "mediawiki", you'll need to execute the following SQL command: `
GRANT SELECT ON mediawiki`.* TO 'joomla_usr'
Configure the MediaWiki Table Prefix option
The option MediaWiki Table Prefix is the prefix used in your MediaWiki tables. If you are not using a prefix, just leave this field empty. A common value is "MW_"
Configure the MediaWiki URL plugin option
The option MediaWiki URL is the base URL for your MediaWiki pages. The plugin will use this URL to create a link to your MediaWiki pages for each result. This value depends on your installation. A common value is "/wiki/index.php?title=", although yours may vary. If you are using a SEF (Search Engine Friendly) configuration, you may need to use something like "/wiki/". The plugin will fill in the name of the wiki page.
Enable the plugin and save changes
Don't forget to enable the plugin before saving the changes.
Step 3. Enjoy!
And that's it! You can now use the Joomla search box to find your MediaWiki content!
Demo
You can use the search page of this website to see this plugin in action. Try the following links:
- search for "spring framework"
- search for "scrum"
- search for "apache"
- or just type something in the search box...
Version history
Version 1.2 (December 2009)
- The plugin now searches title of wiki pages (bug fix)
Version 1.1 (November 2009)
- Added the MediaWiki Table Prefix option.
- Filtered the [[File:....]] tag in search results.
- Enclosed the dabase name with the inverted comma in the SQL query.
Version 1.0 (September 2009)
- Initial release.
Contact
Feel free to contact me at Esta dirección de correo electrónico está siendo protegida contra los robots de spam. Necesita tener JavaScript habilitado para poder verlo.
{jcomments on}
