Help:Redirecting legacy wiki pages to wazeopedia

From Wazeopedia

Now that we have launched the Wazeopedia, all new content updates should be made in the global and local Wazeopedia pages. However there are probably many links out there in the forums, social media, people's bookmarks, documents, etc which will still point to the legacy wiki, and will quickly be outdated. To address this issue you can setup individual pages to redirect to their corresponding page in your local Wazeopedia.

Only your local legacy wiki pages should be redirected into your local Wazeopedia. Any global pages should only redirect to their matching page in this global Wazeopedia.

Redirection tools

Basic template

The most basic way to redirect a legacy wiki page to your local Wazeopedia is to use the {{Redirect}} template.

The syntax for using this template is simple, and can have up to 2 options.

  1. The link to the Wazeopedia page. You need only the part of the url link after https://wazeopedia.waze.com/wiki/
    For example if I wanted to redirect to the USA parking lot page you use only the bold part of the url for the page https://wazeopedia.waze.com/wiki/USA/Places/Parking_lot in the template.
  2. The second part is not needed, but if you use it, you can choose what text will be displayed on the page for the redirect link, and write something in your own language. Simply add a pipe ( | ) after the link and then put your text.


You can see more details about this template by going to it's page in the legacy wiki.

Example

Here is a sample usage for the parking lot example.
{{Redirect|USA/Places/Parking_lot|Please click here if you are not redirected to the new Wazeopedia automatically}}
This will put a link on the page Please click here if you are not redirected to the new Wazeopedia automatically, and when the page is loaded it will automatically reload to the Wazeopedia USA parking lot page.

Country template

You can make this process much easier and not have to type the URL, and your custom link text for most pages by creating a special redirection template for your country. If the pages In Wazeopedia have the same names as they did in the legacy wiki, you can use a magic word in your template to figure out the name.
One example of such a template is for the USA {{USRedirect}}, and anyone can copy it for their own country if they wish. Here we still have the option of specifying a Wazeopedia to link to if the names are different, and to set a custom link text. But if you don't put any page link, or custom text, your country template can fill that in for you by default automatically.
For basic pages where the name is the same in the legacy wiki, and the Wazeopedia you would only have to put the county template with no options.

Please feel free to copy this one and make a local version for your country. Make sure to replace all the times it says USA in the script with your countries' name as it is in the URL. If you need help you can a wiki master.

Example

On the Road Types/USA page you could simply put the US template at the top of the page like this.
{{USRedirect}}

For the Parking page which has a different name in Wazeopedia and Local Wazeopedia. Then you could not use the simple empty version, because it will point to the wrong page. So you add the PAGENAME as the first option, and if you want you can adjust the link text by using the second option. Notice here we only use the full page name, and not include the country name at the beginning. For example:
{{USRedirect|Places/Parking lot|Put what you want the link to say here}}
This will give you a redirect link like this: Put what you want the link to say here