aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/utils
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-05-10 23:18:04 +0200
committerArthurHoaro <arthur@hoa.ro>2016-06-06 21:04:43 +0200
commit9ccca40189652e529732683abcdf54fcf775c9ec (patch)
tree9deda85d287dcba664bbba2f0bf9228e6118fbad /tests/utils
parentbb9ca54838e2f877635197541e8439171c83d5dc (diff)
downloadShaarli-9ccca40189652e529732683abcdf54fcf775c9ec.tar.gz
Shaarli-9ccca40189652e529732683abcdf54fcf775c9ec.tar.zst
Shaarli-9ccca40189652e529732683abcdf54fcf775c9ec.zip
Hashtag system
* Hashtag are auto-linked with a filter search * Supports unicode * Compatible with markdown (excluded in code blocks)
Diffstat (limited to 'tests/utils')
-rw-r--r--tests/utils/ReferenceLinkDB.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/utils/ReferenceLinkDB.php b/tests/utils/ReferenceLinkDB.php
index 46165b4d..fe16baac 100644
--- a/tests/utils/ReferenceLinkDB.php
+++ b/tests/utils/ReferenceLinkDB.php
@@ -18,7 +18,7 @@ class ReferenceLinkDB
18 $this->addLink( 18 $this->addLink(
19 'Link title: @website', 19 'Link title: @website',
20 '?WDWyig', 20 '?WDWyig',
21 'Stallman has a beard and is part of the Free Software Foundation (or not). Seriously, read this.', 21 'Stallman has a beard and is part of the Free Software Foundation (or not). Seriously, read this. #hashtag',
22 0, 22 0,
23 '20150310_114651', 23 '20150310_114651',
24 'sTuff' 24 'sTuff'
@@ -27,25 +27,25 @@ class ReferenceLinkDB
27 $this->addLink( 27 $this->addLink(
28 'Free as in Freedom 2.0 @website', 28 'Free as in Freedom 2.0 @website',
29 'https://static.fsf.org/nosvn/faif-2.0.pdf', 29 'https://static.fsf.org/nosvn/faif-2.0.pdf',
30 'Richard Stallman and the Free Software Revolution. Read this.', 30 'Richard Stallman and the Free Software Revolution. Read this. #hashtag',
31 0, 31 0,
32 '20150310_114633', 32 '20150310_114633',
33 'free gnu software stallman -exclude stuff' 33 'free gnu software stallman -exclude stuff hashtag'
34 ); 34 );
35 35
36 $this->addLink( 36 $this->addLink(
37 'MediaGoblin', 37 'MediaGoblin',
38 'http://mediagoblin.org/', 38 'http://mediagoblin.org/',
39 'A free software media publishing platform', 39 'A free software media publishing platform #hashtagOther',
40 0, 40 0,
41 '20130614_184135', 41 '20130614_184135',
42 'gnu media web .hidden' 42 'gnu media web .hidden hashtag'
43 ); 43 );
44 44
45 $this->addLink( 45 $this->addLink(
46 'w3c-markup-validator', 46 'w3c-markup-validator',
47 'https://dvcs.w3.org/hg/markup-validator/summary', 47 'https://dvcs.w3.org/hg/markup-validator/summary',
48 'Mercurial repository for the W3C Validator', 48 'Mercurial repository for the W3C Validator #private',
49 1, 49 1,
50 '20141125_084734', 50 '20141125_084734',
51 'css html w3c web Mercurial' 51 'css html w3c web Mercurial'
@@ -54,7 +54,7 @@ class ReferenceLinkDB
54 $this->addLink( 54 $this->addLink(
55 'UserFriendly - Web Designer', 55 'UserFriendly - Web Designer',
56 'http://ars.userfriendly.org/cartoons/?id=20121206', 56 'http://ars.userfriendly.org/cartoons/?id=20121206',
57 'Naming conventions...', 57 'Naming conventions... #private',
58 0, 58 0,
59 '20121206_142300', 59 '20121206_142300',
60 'dev cartoon web' 60 'dev cartoon web'