From 647d6ab28855398655e64b7c61ec151e59d21a70 Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Fri, 31 Aug 2012 16:24:46 -0400 Subject: [PATCH] Add a user script which sets a default commit message on the wiki (imported from commit ed76dae4f8d55d7859a6ddffa5fc392f98aadf28) --- tools/wiki-user-script.user.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tools/wiki-user-script.user.js diff --git a/tools/wiki-user-script.user.js b/tools/wiki-user-script.user.js new file mode 100644 index 0000000000..ad80a5cc1d --- /dev/null +++ b/tools/wiki-user-script.user.js @@ -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)"; + } +})();