Closed GoogleCodeExporter closed 8 years ago
This can be done by editing bb_config.xml, just add (google) after the last
</a>:
<!-- Google -->
<match name="google" lockedForSmilies="google">
<regex>(?i)\[google\](.*?)\[/google\]</regex>
<replace>
<![CDATA[
<a class="snap_shots" href="http://www.google.com/search?q=$1" target="_blank">$1</a>(google)
]]>
</replace>
</match>
<!-- Wikipedia -->
<match name="wikipedia" lockedForSmilies="wikipedia">
<regex>(?i)\[wikipedia\](.*?)\[/wikipedia\]</regex>
<replace>
<![CDATA[
<a class="snap_shots" href="http://en.wikipedia.org/wiki/$1" target="_blank">$1</a>(wikipedia)
]]>
</replace>
</match>
<match name="wikipedia-non-english" lockedForSmilies="wikipedia">
<regex>(?i)\[wikipedia=([a-z]+)\](.*?)\[/wikipedia\]</regex>
<replace>
<![CDATA[
<a class="snap_shots" href="http://$1.wikipedia.org/wiki/$2" target="_blank">$2</a>(wikipeida)
]]>
</replace>
</match>
Original comment by andow...@gmail.com
on 22 Feb 2014 at 5:38
[deleted comment]
commit in [r327]
Original comment by andow...@gmail.com
on 28 Jun 2014 at 1:48
Great :-)
Original comment by ronny.na...@gmail.com
on 28 Jun 2014 at 1:50
Original issue reported on code.google.com by
ronny.na...@gmail.com
on 22 Feb 2014 at 3:25