|Description||A bash.org inspired quips server|
|Keywords||bash, quips, php|
|Maintainer(s)||BryanDavis, Yuvipanda (View all)|
|License||GNU General Public License 3.0 or later|
Wikimedia Quips is a bash.org inspired quips server.
When Wikimedia used Bugzilla as its issue tracker, we also used the quips functionality to store funny quotes from irc, bug reports, code reviews and other sources. Since we have moved to Phabricator, this functionality has been missed. This tool attempts to bring joy back to the masses by allowing access to the former quips dataset that is now stored in an Elasticsearch index. The quips database was bootstrapped with a list of quips that were salvaged from the former bugzilla.wikimedia.org server.
New quips can be added in two ways. Stashbot listens for
!bash messages on irc. The bash tool itself also provides a form for adding and editing quips for users who have authenticated using OAuth and their Wikimedia SUL account. See the online help for more information.
Bash is a simple PHP application running on the Toolforge kubernetes infrastructure. It is configured by the
/data/project/bash/quips/.env file which includes OAuth and Elasticsearch configuration settings.
$ ssh tools-dev.wmflabs.org $ become bash $ webservice status Your webservice is running $ webservice --backend kubernetes restart Restarting webservice... $ kubectl get pods NAME READY STATUS RESTARTS AGE bash-4123945888-wf21s 1/1 Running 0 1m