mirror of https://github.com/zulip/zulip.git
Add a user script which sets a default commit message on the wiki
(imported from commit ed76dae4f8d55d7859a6ddffa5fc392f98aadf28)
This commit is contained in:
parent
3223d2e0ba
commit
647d6ab288
|
@ -0,0 +1,19 @@
|
||||||
|
// ==UserScript==
|
||||||
|
// @match https://wiki.humbughq.com/*
|
||||||
|
// ==/UserScript==
|
||||||
|
|
||||||
|
// Sets a default commit message when editing the Humbug wiki.
|
||||||
|
//
|
||||||
|
// To install in Chromium 21:
|
||||||
|
// - Close all Chromium windows
|
||||||
|
// - Run chromium --enable-easy-off-store-extension-install
|
||||||
|
// - Navigate to this directory and click the link to this file.
|
||||||
|
//
|
||||||
|
// May also work in Firefox with Greasemonkey.
|
||||||
|
|
||||||
|
(function () {
|
||||||
|
var elem = document.getElementById("logMsg");
|
||||||
|
if (elem != null) {
|
||||||
|
elem.value = "(default commit message)";
|
||||||
|
}
|
||||||
|
})();
|
Loading…
Reference in New Issue