1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-11 21:10:26 +00:00

Help: Document renaming

This commit is contained in:
Timur Ismagilov 2022-07-01 21:17:15 +05:00
parent cff7dafcea
commit dde770e3e6
3 changed files with 23 additions and 0 deletions

21
help/en/rename.myco Normal file
View File

@ -0,0 +1,21 @@
= Renaming
You can **rename** existing hyphae. On the bottom of the hyphae, there is a //Rename// link. Follow it to open the renaming dialog.
> You can also access the dialog by pressing `r` or visiting URL `/rename/<hypha name>`.
Set the new name there. If you don't change it, submitting the form does nothing. Two options are set by default.
*. **Rename subhyphae too.** If on, subhyphae will remain subhyphae after the renaming. {
For example, if you had hyphae //Apple// and //Apple/red// and renamed //Apple// to //Malum//, //Apple/red// would also be renamed to //Malum/red//.
}
*. **Leave redirections.** If on, the old name will not remain empty. Rather than that, a hypha with a link to the new name is left. This hypha is called a **redirection hypha**. This option also combines with the other option, i/e subhyphae will receive their corresponding redirection hyphae.
== Redirection hyphae category
All redirection hyphae are added to a specific category. By default, the category is [[/category/redirection | Redirection]]. This way, you can find all redirections and modify them.
=== How to change the category
//This section is for wiki administrators only.//
*. Edit `config.ini`
*. Change the `RedirectionCategory` value in the `[Hyphae]` section.
*. Save the file, restart the wiki.

View File

@ -21,6 +21,7 @@
</li>
<li><a href="/help/en/mycomarkup">{{block "mycomarkup" .}}Mycomarkup{{end}}</a></li>
<li><a href="/help/en/category">{{block "category" .}}Categories{{end}}</a></li>
<li><a href="/help/en/rename">{{block "rename" .}}Renaming{{end}}</a></li>
<li>{{block "interface" .}}Interface{{end}}
<ul>
<li><a href="/help/en/prevnext">{{block "prevnext" .}}Previous/next{{end}}</a></li>

View File

@ -30,6 +30,7 @@ var (
{{define "prevnext"}}Пред/след{{end}}
{{define "top_bar"}}Верхняя панель{{end}}
{{define "sibling_hyphae"}}Гифы-сиблинги{{end}}
{{define "rename"}}Переименовывание{{end}}
{{define "special pages"}}Специальные страницы{{end}}
{{define "recent_changes"}}Свежие правки{{end}}
{{define "feeds"}}Ленты{{end}}