Mstr Sandbox

From OpenGeofiction Encyclopedia
Jump to: navigation, search

OGF:Wiki clean up

From time to time it is important to check if your wiki pages are still up to date. Sometimes it might become eligible to rename pages and/or delete old ones to keep your pages in order. This becomes also quite important if someone stops a project and/or leaves.

For some reasons users are not allowed to delete pages directly. This is done by the admins. However, you can help them by preparing pages for deletion.

Before we proceed, it should be mentioned, that the best way to reduce the effort is to avoid the creation of unneeded wiki pages, see also overwikification.

Delete your own page

In order to delete some of your own pages, you have to do just three steps:
  • Remove all links to the page.
    Go to the page which you want to delete and click on the "What links here"-button on the left-hand side. You see all pages which link to the current page. If you want to remove this page, no other page should link to this one. Please delete or modify all links to the page and check again. If there are some difficulties with pages from other users, please contact them.
  • Remove all categories from the page.
    Since also the categories link to the page, they should be removed. If there are still some categories left which you cannot find in the text, they might come from a template which is used on the page. In this case, please remove the template as well or blank the whole page.
  • Mark the page for deletion.
    If no other page links to the page anymore you can mark it for deletion. This can be easily done by putting
{{Please delete | delete = yes | reason = write here why the page should be deleted}}
to the top of the page. Please make sure that the key delete = yes is set and that you write down a reason why the page should be removed. After adding the template, a red bar will occur at the top to indicate that the page is intended to be removed. In addition, the category "pages for deletion" is added. In this category, all pages which are prepared for deletion are collected.
OGFcleaner sw.png

Clean up "lost" countries

Achtung.svg Recommended for advanced users only.

In order to clean up pages of "lost" countries, you have to do some more steps.

"Lost" countries are countries whose owner had left. Usually, you find such a country by looking at the overview map. If a country which is described in the wiki is marked green you can expect that it is available and a new owner will start from scratch, at least in the wiki. So all pages related to the country have to be removed.

Mark lost countries:

  • Find a "lost" country.
    If you find a "lost" country double-check that it is really lost.
  • Highlight the country's template as "lost".
    Replace the flag in the country's template with
[[File:Lost_country.png|28px|border]]
so everybody is able to see that the country is lost.
  • Mark the country as lost.
    Open the country's main page and put
{{LostCountry}}
to the top of the page. By adding the template, the category "lost countries" is added.
  • Link the country to the collection of "lost" countries.
    The collection page stores all "lost" countries.


Delete pages:

  • Find all pages which are related to the country.
    There are several strategies how to find all pages. One is to start from the country's main page and open all subsidiary pages. If the country uses categories, related pages can also be found there. If a user leaves, another promising strategy might be to check the user's contributions. This can be done by open the wiki page
Special:Contributions/''username''
There, you can tick the "Only show edits that are page creations"-box to show all pages which have been created by the user.
  • Remove all links to each of the pages.
    Open each page and click on the "What links here"-button on the left-hand side. You see all pages which link to the current page. Please delete or modify all links to the page which are not related to the "lost" country itself and check again. If there are some difficulties with pages from other users, please contact them. In the case that links from many other countries occur it might be beneficial to remove links in the "countries of the world" and "countries of the world by continent" templates first.
  • Remove all categories from each of the pages.
    Since also the categories link to the page, they should be removed, at least all categories which are not related to the "lost" country. If there are still some categories left which you cannot find in the text, they might come from a template which is used on the page. In this case, please remove the template as well or blank the whole page.
  • Check multimaps and other special templates.
    If the "lost" country is only linked with its position it cannot be tracked down by common methods. This can happen in multimaps and templates.
    Prominent multimaps are e.g. where to fly, the map of natural resources and the map of agricultural production.
    If you remove airports from the list, also remove corresponding WAAT-airport codes from the corresponding template.
  • Mark the page for deletion.
    If no other foreign page links to the page anymore you can mark it for deletion. This can be easily done by putting
{{Please delete | delete = yes | reason = lost country}}
to the top of the page. Please make sure that the key delete = yes is set. After adding the template, a red bar will occur at the top to indicate that the page is intended to be removed. In addition, the category "pages for deletion" is added. In this category, all pages which are prepared for deletion are collected.
  • Decide about all other pages created by the user.
    If a user who left leaves a page which is not directly related to the "lost" country, decide on the basis of how complete and how relevant the page is whether it should be marked for deletion or not.

Category:OGF community issues



Sandbox projects and tools of User:MStr
General tools: Featured objects · Standard overpass queries
Current states: to-do list · Mergany · Federal States contributions
Current projects: Economy and industry · Summer Geolympics · Aircraft manufacturer · Portal:Science and Technology
Sandbox · Overpass queries · Model building area