Open main menu

Changes

615 bytes added ,  14:00, 27 September 2017
Created page with "A bookmarklet to view Phab tickets in a force-directed graph <pre><a href="javascript:(function(){javascript: (function() {var t = window.getSelection ? window.getSelection()..."
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 = 'cindy.wmflabs.org/notes/index.php/Special:PhabTaskGraph?tasks=' + t}})()})()">Visualize Phab ticket</a></pre>

[[Category:JavaScript]]
4,558

edits