Change /index.php/ in wiki.openstreetmap.org links to /wiki/. This looks nicer

This commit is contained in:
Ævar Arnfjörð Bjarmason 2009-06-02 12:23:37 +00:00
parent 6254853c5c
commit e70e2dbe9f
10 changed files with 14 additions and 14 deletions

View file

@ -115,7 +115,7 @@ class ChangesetController < ApplicationController
# changeset.
#
# Returns: a diffResult document, as described in
# http://wiki.openstreetmap.org/index.php/OSM_Protocol_Version_0.6
# http://wiki.openstreetmap.org/wiki/OSM_Protocol_Version_0.6
def upload
# only allow POST requests, as the upload method is most definitely
# not idempotent, as several uploads with placeholder IDs will have

View file

@ -105,7 +105,7 @@
<div id="left_menu" class="left_menu">
<a href="http://wiki.openstreetmap.org"><%= t 'layouts.help_wiki' %></a><br />
<a href="http://www.opengeodata.org/"><%= t 'layouts.news_blog' %></a><br />
<a href="http://wiki.openstreetmap.org/index.php/Merchandise"><%= t 'layouts.shop' %></a><br />
<a href="http://wiki.openstreetmap.org/wiki/Merchandise"><%= t 'layouts.shop' %></a><br />
<%= yield :left_menu %>
</div>

View file

@ -6,4 +6,4 @@ failed to import. Here's the error:
More information about GPX import failures and how to avoid
them can be found at:
http://wiki.openstreetmap.org/index.php/GPX_Import_Failures
http://wiki.openstreetmap.org/wiki/GPX_Import_Failures

View file

@ -34,4 +34,4 @@
<%= t'notifier.signup_confirm_plain.current_user_1' %>
<%= t'notifier.signup_confirm_plain.current_user_2' %>
http://wiki.openstreetmap.org/index.php/Category:Users_by_geographical_region
http://wiki.openstreetmap.org/wiki/Category:Users_by_geographical_region

View file

@ -4,6 +4,6 @@
<tr><td align="right"><%= t'trace.trace_form.description' %></td><td><%= f.text_field :description, :size => 50, :maxlength => 255 %></td></tr>
<tr><td align="right"><%= t'trace.trace_form.tags' %></td><td><%= f.text_field :tagstring, :size => 50, :maxlength => 255 %></td></tr>
<tr><td align="right"><%= t'trace.trace_form.public' %></td><td><%= f.check_box :public %></td></tr>
<tr><td></td><td><%= submit_tag t('trace.trace_form.upload_button') %> | <a href="http://wiki.openstreetmap.org/index.php/Upload"><%= t'trace.trace_form.help' %></a></td></tr>
<tr><td></td><td><%= submit_tag t('trace.trace_form.upload_button') %> | <a href="http://wiki.openstreetmap.org/wiki/Upload"><%= t'trace.trace_form.help' %></a></td></tr>
</table>
<% end %>

View file

@ -40,7 +40,7 @@
<a name="public"></a>
<h2>Public editing</h2>
Currently your edits are anonymous and people can't send you messages or see your location. To show what you edited and allow people to contact you through the website, click the button below.
<b>Since the 0.6 API changeover, only public users can edit map data</b>. (<a href="http://wiki.openstreetmap.org/index.php/Disabling_anonymous_edits">find out why</a>).<br />
<b>Since the 0.6 API changeover, only public users can edit map data</b>. (<a href="http://wiki.openstreetmap.org/wiki/Anonymous_edits">find out why</a>).<br />
Your email address will not be revealed by becoming public.<br />
This action cannot be reversed and all new users are now public by default.<br />
<br /><br />

View file

@ -5,7 +5,7 @@ see to use models etc.
=INSTALL
Full information is available at
http://wiki.openstreetmap.org/index.php/Rails
http://wiki.openstreetmap.org/wiki/Rails
* Get rails working (http://www.rubyonrails.org/)
* Make your db (see db/README)
@ -24,8 +24,8 @@ http://wiki.openstreetmap.org/index.php/Rails
See
The information about the next version of the protocol API 0.6 is available at
http://wiki.openstreetmap.org/index.php/OSM_Protocol_Version_0.6
http://wiki.openstreetmap.org/index.php/REST
http://wiki.openstreetmap.org/wiki/OSM_Protocol_Version_0.6
http://wiki.openstreetmap.org/wiki/REST
=HACKING

View file

@ -6,7 +6,7 @@
<div style="float:left;">
<h1>File not found</h1>
<p>Couldn't find a file/directory/API operation by that name on the OpenStreetMap server (HTTP 404)</p>
<p>Feel free to <a href="http://wiki.openstreetmap.org/index.php/Contact" title="Various contact channels explained">contact</a> the OpenStreetMap community if you have found a broken link / bug. Make a note of the exact URL of your request.</p>
<p>Feel free to <a href="http://wiki.openstreetmap.org/wiki/Contact" title="Various contact channels explained">contact</a> the OpenStreetMap community if you have found a broken link / bug. Make a note of the exact URL of your request.</p>
</div>
</body>
</html>
</html>

View file

@ -6,8 +6,8 @@
<div style="float:left;">
<h1>Application error</h1>
<p>The OpenStreetMap server encountered an unexpected condition that prevented it from fulfilling the request (HTTP 500)</p>
<p>Feel free to <a href="http://wiki.openstreetmap.org/index.php/Contact" title="Various contact channels explained">contact</a> the OpenStreetMap community if your problem persists. Make a note of the exact URL / post data of your request.</p>
<p>Feel free to <a href="http://wiki.openstreetmap.org/wiki/Contact" title="Various contact channels explained">contact</a> the OpenStreetMap community if your problem persists. Make a note of the exact URL / post data of your request.</p>
<p>This may be a problem in our Ruby On Rails code. 500 ocurrs with exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code)</p>
</div>
</body>
</html>
</html>

View file

@ -149,7 +149,7 @@ class ApiControllerTest < ActionController::TestCase
# MySQL and Postgres require that the C based functions are installed for
# this test to work. More information is available from:
# http://wiki.openstreetmap.org/index.php/Rails#Installing_the_quadtile_functions
# http://wiki.openstreetmap.org/wiki/Rails#Installing_the_quadtile_functions
# or by looking at the readme in db/README
def test_changes_simple
get :changes