]> gitweb.factorcode.org Git - factor.git/commitdiff
webapps.wiki: mark edit links and old revision links with rel="nofollow". Fixes #38
authorSlava Pestov <slava@factorcode.org>
Mon, 12 Sep 2011 06:49:13 +0000 (23:49 -0700)
committerSlava Pestov <slava@factorcode.org>
Mon, 12 Sep 2011 06:49:13 +0000 (23:49 -0700)
extra/webapps/wiki/page-common.xml
extra/webapps/wiki/revisions-common.xml

index 0d029946f89ac18a593b9ec311bb32264261a379..299e480534820985e44ff62e30c2c6092710bbb2 100644 (file)
@@ -11,7 +11,7 @@
        <div class="navbar">
                <t:a t:href="$wiki/view" t:rest="title">Latest</t:a>
                | <t:a t:href="$wiki/revisions" t:rest="title">Revisions</t:a>
-               | <t:a t:href="$wiki/edit" t:rest="title">Edit</t:a>
+               | <t:a t:href="$wiki/edit" t:rest="title" rel="nofollow">Edit</t:a>
                | <t:button t:action="$wiki/delete" t:for="title" class="link-button link">Delete</t:button>
        </div>
 
index 6cf331532acc10c5a7edbc67a8ff1f8d93fdd7fa..1a6c8e467311b4732f3cb56c16d40d3181ed2c8a 100644 (file)
@@ -17,7 +17,7 @@
                        <t:bind-each t:name="revisions">
                                <tr>
                                        <td> <t:a t:href="$wiki/view" t:rest="title"><t:label t:name="title" /></t:a> </td>
-                                       <td> <t:a t:href="$wiki/revision" t:rest="id"><t:label t:name="date" /></t:a> </td>
+                                       <td> <t:a t:href="$wiki/revision" t:rest="id" rel="nofollow"><t:label t:name="date" /></t:a> </td>
                                        <td> <t:a t:href="$wiki/user-edits" t:rest="author"><t:label t:name="author" /> </t:a></td>
                                        <td> <t:label t:name="description" /> </td>
                                        <td> <t:button class="link link-button" t:action="$wiki/rollback" t:for="id">Rollback</t:button> </td>