A BitBar plugin displaying unread watchlist entries on MediaWiki wikis
This is a BitBar plugin (supporting both SwiftBar and xbar) that displays unread watchlist entries on MediaWiki wikis.
brew install --cask swiftbar
or brew install --cask xbar
.brew install rust
.
cargo install --git=https://github.com/fenhl/bitbar-mediawiki-watchlist --branch=main
~/.cargo/bin/bitbar-mediawiki-watchlist
in your SwiftBar/xbar plugin folder. Call it something like bitbar-mediawiki-watchlist.30s.o
, where 30s
is the rate at which the plugin will check for notifications.~/.config/bitbar/plugins/mediawiki-watchlist.json
, create a JSON file containing the following fields:"wikis"
, an array of objects, one for each wiki whose watchlist you want to display, each with the following fields:"displayName"
: a name for the wiki that will be displayed in the menu."apiUrl"
: The wiki’s “api.php” URL, which can be found on the Special:Version
page of the wiki, in section “Entry Point URLs”."indexUrl"
: The wiki’s “index.php” URL, which can be found on the Special:Version
page of the wiki, in section “Entry Point URLs”."username"
: Your username on the wiki."watchlistToken"
: Your watchlist token, which can be found on the “Watchlist” tab of the Special:Preferences
page.