Open main menu

Changes

7 bytes added ,  14:02, 27 September 2017
m
need protocol
A bookmarklet to view Phab tickets in a force-directed graph
<pre><a href="javascript:(function(){javascript: (function() {var t = window.getSelection ? window.getSelection().toString() : document.selection.createRange().text;var re = /[\s\-T0-9]{1,6}/;var OK = re.exec(t);if (!OK) {alert(t + ' is not a valid Phab issue#\n Please just select a 1 - 6 digit Phab ticket #. With or without the "T"\ndashes and spaces are OK');} else {t = t.replace(/[\-\s]/, '');window.location = 'http://cindy.wmflabs.org/notes/index.php/Special:PhabTaskGraph?tasks=' + t}})()})()">Visualize Phab ticket</a></pre>
[[Category:JavaScript]]
4,558

edits