* Export the return value of wfUrlProtocols() to JS for use in the EditToolbar extension
authorRoan Kattouw <catrope@users.mediawiki.org>
Wed, 21 Oct 2009 17:35:57 +0000 (17:35 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Wed, 21 Oct 2009 17:35:57 +0000 (17:35 +0000)
commitb128fd1b0536e1553a3a2254ecdc23e986ab5361
treeec131a748d902e67936cdb3ea12718649bc08fbe
parentb94aea6d0650acfacdd37f2a70e5ce5fc20b5b22
* Export the return value of wfUrlProtocols() to JS for use in the EditToolbar extension
* Also cache this value (in a static var for now, maybe put it in memcached?): when parsing pages with many external links, we'd end up calling implode() once and preg_quote() 11 times for every link
includes/GlobalFunctions.php
includes/Skin.php