]> git.openstreetmap.org Git - rails.git/commitdiff
Update URL for wiki page live
authorTom Hughes <tom@compton.nu>
Sat, 8 Mar 2025 11:25:50 +0000 (11:25 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 8 Mar 2025 11:27:47 +0000 (11:27 +0000)
Fixes #5771

config/locales/en.yml
test/controllers/site_controller_test.rb

index 2d68755e42a66d2519139fce38c6b082d1413795..ac6834aa055292306bf2f5cd2096e18fd28ac995 100644 (file)
@@ -2310,7 +2310,7 @@ en:
       not_public_description_html: "You can no longer edit the map unless you do so. You can set your edits as public from your %{user_page}."
       user_page_link: user page
       anon_edits_html: "(%{link})"
       not_public_description_html: "You can no longer edit the map unless you do so. You can set your edits as public from your %{user_page}."
       user_page_link: user page
       anon_edits_html: "(%{link})"
-      anon_edits_link: "https://wiki.openstreetmap.org/wiki/Disabling_anonymous_edits"
+      anon_edits_link: "https://wiki.openstreetmap.org/wiki/Anonymous_edits"
       anon_edits_link_text: "Find out why this is the case."
     edit:
       id_not_configured: "iD has not been configured"
       anon_edits_link_text: "Find out why this is the case."
     edit:
       id_not_configured: "iD has not been configured"
index 5bd8df18d2000dd801bdb87eef7adc16bf8d215a..5a1399e2d7ebc50c62fb5f414bbaf9d4b807232b 100644 (file)
@@ -167,7 +167,7 @@ class SiteControllerTest < ActionDispatch::IntegrationTest
 
     assert_response :success
     assert_template "edit"
 
     assert_response :success
     assert_template "edit"
-    assert_select "a[href='https://wiki.openstreetmap.org/wiki/Disabling_anonymous_edits']"
+    assert_select "a[href='https://wiki.openstreetmap.org/wiki/Anonymous_edits']"
   end
 
   # Test the right editor gets used when the user hasn't set a preference
   end
 
   # Test the right editor gets used when the user hasn't set a preference