mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
Add a user script which sets a default commit message on the wiki
(imported from commit ed76dae4f8d55d7859a6ddffa5fc392f98aadf28)
This commit is contained in:
19
tools/wiki-user-script.user.js
Normal file
19
tools/wiki-user-script.user.js
Normal file
@@ -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)";
|
||||
}
|
||||
})();
|
||||
Reference in New Issue
Block a user