wmde/DeepCat-Gadget

Name: DeepCat-Gadget

Owner: Wikimedia Deutschland e.V.

Description: Gadget for MediaWiki using JSONP CatGraph interface

Created: 2015-04-27 09:51:52.0

Updated: 2017-01-21 06:57:04.0

Pushed: 2017-05-19 13:22:05.0

Homepage:

Size: 213

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

DeepCat-Gadget

Gadget for MediaWiki installations allowing recursive category search via CatGraph using the corresponding JSONP interface.

Build Status

Prerequisites

This MediaWiki Gadget only works for wikis covered by Catgraph.

Full customized installation

To have your own private version of the gadget follow these steps:

Save the contents of DeepCat.js, DeepCat.hintbox.css and DeepCat.throbber.css to your namespace. e.g.:

Edit the cssPath variable in DeepCat.js to the full path where the files can be found e.g.:

ath = '//de.wikipedia.org/w/index.php?title=User:USERNAME/Gadgets/',

Add the main script to your User:USERNAME/common.js e.g.:

rtScript( 'User:USERNAME/Gadgets/DeepCat.js' );
Official version on Wikipedia

The current official release of the gadget can be found on de.wikipedia.org. You can use it there by activating it on the preferences/gadgets page.

If you want to use it on any of the other supported wikis add the following line to your corrosponding User:USERNAME/common.js:

oader.load( "//de.wikipedia.org/w/index.php?title=MediaWiki:Gadget-DeepCat.js&action=raw&ctype=text/javascript" );
Usage

The default keyword to use the DeepCat-Search is “deepcat:” and can be combined with a term in Cirrus-Syntax

Unit Tests

There are some unit tests under tests directory. Tests may be run be by opening tests/index.html in a browser or from the command line e.g. using node-qunit-phantomjs:

de-qunit-phantomjs ./tests/index.html
Reporting Issues

Please report bugs and feature requests on Phabricator.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.