<commit_before><h1><%= t'changeset.list_bbox.history' %></h1>
<%
if @bbox!=nil
	minlon = @bbox[0] 
	minlat = @bbox[1] 
	maxlon = @bbox[2]
	maxlat = @bbox[3] 

	%>
<p>
<%= t'changeset.list_bbox.changesets_within_the_area' %> 
      (<a href='/?minlon=<%= minlon %>&minlat=<%= minlat %>&maxlon=<%= maxlon %>&maxlat=<%= maxlat %>&box=yes' title='<%= t'changeset.list_bbox.show_area_box' %>'><%= format("%0.3f",minlon) -%>,<%= format("%0.3f",minlat) -%>,<%= format("%0.3f",maxlon) -%>,<%= format("%0.3f",maxlat) -%></a>) 

</p>

<%	if @edits.nil? or @edits.empty? %>
<p><b><%= t'changeset.list_bbox.no_changesets' %></b></p>
<%	else %>

<%= render :partial => 'changeset_paging_nav' %>
<%= render :partial => 'changesets' %>
<%= render :partial => 'changeset_paging_nav' %>

<p><%= t'changeset.list_bbox.all_changes_everywhere' , :recent_changes_link => link_to(t('changeset.list_bbox.recent_changes'), :controller => "browse", :action => "changesets") %> </p>

<%
	end

else 
	#bbox is nil. happens if the user surfs to this page directly.
%>

<p><%= t'changeset.list_bbox.no_area_specified' %></p>
<p><%= t'changeset.list_bbox.first_use_view', :view_tab_link => '<a href="/" title="' + t('changeset.list_bbox.view_the_map') + '">' + t('changeset.list_bbox.view_tab') + '</a>' %></p>
<p><%= t'changeset.list_bbox.alternatively_view', :recent_changes_link => link_to(t('changeset.list_bbox.recent_changes'), :controller => "browse", :action => "changesets") %></p>

<%
end
%>
<br>

<%= rss_link_to :action => 'list_bbox_rss', :bbox => @bbox.join(",") %>

<% content_for :head do %>
<%= auto_discovery_link_tag :atom, :controller => 'changeset', :action => 'list_bbox_rss', :bbox => @bbox.join(",") %>
<% end %><commit_msg>Forgot that /history can also be called without a bbox (if one can't be found)<commit_after><h1><%= t'changeset.list_bbox.history' %></h1>
<%
if @bbox!=nil
	minlon = @bbox[0] 
	minlat = @bbox[1] 
	maxlon = @bbox[2]
	maxlat = @bbox[3] 

	%>
<p>
<%= t'changeset.list_bbox.changesets_within_the_area' %> 
      (<a href='/?minlon=<%= minlon %>&minlat=<%= minlat %>&maxlon=<%= maxlon %>&maxlat=<%= maxlat %>&box=yes' title='<%= t'changeset.list_bbox.show_area_box' %>'><%= format("%0.3f",minlon) -%>,<%= format("%0.3f",minlat) -%>,<%= format("%0.3f",maxlon) -%>,<%= format("%0.3f",maxlat) -%></a>) 

</p>

<%	if @edits.nil? or @edits.empty? %>
<p><b><%= t'changeset.list_bbox.no_changesets' %></b></p>
<%	else %>

<%= render :partial => 'changeset_paging_nav' %>
<%= render :partial => 'changesets' %>
<%= render :partial => 'changeset_paging_nav' %>

<p><%= t'changeset.list_bbox.all_changes_everywhere' , :recent_changes_link => link_to(t('changeset.list_bbox.recent_changes'), :controller => "browse", :action => "changesets") %> </p>

<%
	end

else 
	#bbox is nil. happens if the user surfs to this page directly.
%>

<p><%= t'changeset.list_bbox.no_area_specified' %></p>
<p><%= t'changeset.list_bbox.first_use_view', :view_tab_link => '<a href="/" title="' + t('changeset.list_bbox.view_the_map') + '">' + t('changeset.list_bbox.view_tab') + '</a>' %></p>
<p><%= t'changeset.list_bbox.alternatively_view', :recent_changes_link => link_to(t('changeset.list_bbox.recent_changes'), :controller => "browse", :action => "changesets") %></p>

<%
end
%>
<br>

<% if @bbox %>
  <%= rss_link_to :action => 'list_bbox_rss', :bbox => @bbox.join(",") %>
<% end %>


<% if @bbox %>
  <% content_for :head do %>
    <%= auto_discovery_link_tag :atom, :controller => 'changeset', :action => 'list_bbox_rss', :bbox => @bbox.join(",") %>
  <% end %>
<% end %>
{'fraction_non_alphanumeric': 0.25266704098820886, 'fraction_numerical': 0.007860752386299831, 'mean_word_length': 5.6103896103896105, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 135, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2473111', 'n_tokens_mistral': 1605, 'n_tokens_neox': 1481, 'n_words': 248}