You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ds...@apache.org on 2021/02/04 07:47:49 UTC

svn commit: r1886187 - in /subversion/site/publish: ./ mailing-lists.html

Author: dsahlberg
Date: Thu Feb  4 07:47:49 2021
New Revision: 1886187

URL: http://svn.apache.org/viewvc?rev=1886187&view=rev
Log:
Merged revision(s) 1885743, 1886109 from subversion/site/staging:

* site/publish/mailing-lists.html
  Switch search to mail-archives.a.o since svn.haxx.se is now static.
  Discussed in dev@ http://mail-archives.apache.org/mod_mbox/subversion-dev/202101.mbox/%3cCAMHy98PtfoX36rVTCGNjnNnFV6ZewLqiP7Jkj-mqpSJT5ywj7A@mail.gmail.com%3e

Modified:
    subversion/site/publish/   (props changed)
    subversion/site/publish/mailing-lists.html

Propchange: subversion/site/publish/
------------------------------------------------------------------------------
  Merged /subversion/site/staging:r1885743,1886109

Modified: subversion/site/publish/mailing-lists.html
URL: http://svn.apache.org/viewvc/subversion/site/publish/mailing-lists.html?rev=1886187&r1=1886186&r2=1886187&view=diff
==============================================================================
--- subversion/site/publish/mailing-lists.html (original)
+++ subversion/site/publish/mailing-lists.html Thu Feb  4 07:47:49 2021
@@ -9,7 +9,7 @@
 </style>
 </head>
 
-<body>
+<body onload="document.getElementById('q').value = document.getElementById('q').value.replace(/inurl:subversion /gi, '');">
 <!--#include virtual="/site-banner.html" -->
 <!--#include virtual="/site-nav.html" -->
 <div id="site-content">
@@ -34,8 +34,8 @@
   <!-- SiteSearch Google -->
   <form method="get" action="https://www.google.com/custom">
   <p>
-  <input type="hidden" name="domains" value="svn.haxx.se" />
-  <input type="hidden" name="sitesearch" value="svn.haxx.se" />
+  <input type="hidden" name="domains" value="mail-archives.apache.org" />
+  <input type="hidden" name="sitesearch" value="mail-archives.apache.org" />
   <input type="hidden" name="client" value="pub-9313125053076989" />
   <input type="hidden" name="forid" value="1" />
   <input type="hidden" name="channel" value="8989477434" />
@@ -43,8 +43,16 @@
   <input type="hidden" name="oe" value="ISO-8859-1" />
   <input type="hidden" name="cof" value="GALT:#0066CC;GL:1;DIV:#999999;VLC:336633;AH:center;BGC:FFFFFF;LBGC:FF9900;ALC:0066CC;LC:0066CC;T:000000;GFNT:666666;GIMP:666666;FORID:1;" />
   <input type="hidden" name="hl" value="en" />
-  <input type="text" name="q" size="31" maxlength="255" value="" />
-  <input type="submit" name="sa" value="Search the archives" />
+  <!-- 
+    The value inurl:subversion is because Google sitesearch doesn't provide
+    a way to search just a subdirectory of a site, and we don't want matches 
+    in other mailing lists at mail-archives.a.o.
+    For browsers without javascript the default value is there as a help.
+    For browsers with javascript the value is removed in body.onload and added
+    on submit to decrease clutter for the users.
+  -->
+  <input type="text" name="q" size="31" maxlength="255" value="inurl:subversion " id="q"/>
+  <input type="submit" name="sa" value="Search the archives" onclick="if (!document.getElementById('q').value.includes('inurl:subversion ')) { document.getElementById('q').value = 'inurl:subversion '+document.getElementById('q').value; }"/>
   </p>
   </form>
   <!-- SiteSearch Google -->
@@ -149,7 +157,7 @@ delay for your post to appear (see below
               <li><a href="https://lists.apache.org/list.html?users@subversion.apache.org"
                   >lists.apache.org</a> (searchable)</li>
               <li><a href="https://svn.haxx.se/users/"
-                  >svn.haxx.se</a></li>
+                  >svn.haxx.se</a> (archives up to December 2020, no longer updated)</li>
               <li><a href="nntps://news.gmane.org/gmane.comp.version-control.subversion.user"
                   >news.gmane.org</a> (NNTP/SSL)</li>
               </ul></td>
@@ -211,7 +219,7 @@ delay for your post to appear (see below
               <li><a href="https://lists.apache.org/list.html?dev@subversion.apache.org"
                   >lists.apache.org</a> (searchable)</li>
               <li><a href="https://svn.haxx.se/dev/"
-                  >svn.haxx.se</a></li>
+                  >svn.haxx.se</a> (archives up to December 2020, no longer updated)</li>
               <li><a href="nntps://news.gmane.org/gmane.comp.version-control.subversion.devel"
                   >news.gmane.org</a> (NNTP/SSL)</li>
               </ul></td>