Template talk:Language/archives/MultiPage: Difference between revisions
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
| user = Pee | | user = Pee | ||
| time = 0:00, 16 Feb 2023 | | time = 0:00, 16 Feb 2023 | ||
| I don't understand why this template is designed to link to some strange "'''uselang'''" page rather than a language subpage as documented. Also, if it was done as documented, why is english a subpage of an english title main page? Just curious. Great work on the template, and general site maintenance, by the way, we've needed it. | | I don't understand why this template is designed to link to some strange "'''uselang'''" page rather than a language subpage as documented. Also, if it was done as documented, why is english a subpage of an english title main page? Just curious. Great work on the template, and general site maintenance, by the way, we've needed it. | ||
}} | }} | ||
Line 11: | Line 10: | ||
{{Message | {{Message | ||
| user = Max34 | | user = Max34 | ||
| time = 1: | | time = 1:58, 16 Feb 2023 | ||
| {{code|style=1|uselang}} is just an interface language setting, not a link. There is also a {{code|style=2|{{[[Template:uselang|uselang]]}}}} template on the site, which allows you to determine which interface language the user has. When opening a page that uses {{code|style=2|MultiPage}}, a user will see this page in the language of his interface, if this article is of course translated into it, if not, it will display a small message about this and show the English version of the article. The English language also has its own subpage, because if you put the text in the main article, you won't be able to remove it to replace it with the translated article.<br> | | {{code|style=1|uselang}} is just an interface language setting, not a link. There is also a {{code|style=2|{{[[Template:uselang|uselang]]}}}} template on the site, which allows you to determine which interface language the user has. When opening a page that uses {{code|style=2|MultiPage}}, a user will see this page in the language of his interface, if this article is of course translated into it, if not, it will display a small message about this and show the English version of the article. The English language also has its own subpage, because if you put the text in the main article, you won't be able to remove it to replace it with the translated article.<br> | ||
For example, this method will remove the need for suffixes in all links. The language subpages will be exclusively technical pages that will already be displayed on the target page, depending on the interface language specified in the user settings.<br> | For example, this method will remove the need for suffixes in all links. The language subpages will be exclusively technical pages that will already be displayed on the target page, depending on the interface language specified in the user settings.<br> | ||
Line 19: | Line 18: | ||
{{Message | {{Message | ||
| user = Pee | | user = Pee | ||
| time = | | time = 21:30, 22 Feb 2023 | ||
| Looking into it, it's pretty difficult and counterintuitive to temporarily modify the entire page, and it makes it difficult to edit. I think you'd be better off simply linking to language subpages as the wiki currently does (including english, though), but still automatically translate the main page. | | Looking into it, it's pretty difficult and counterintuitive to temporarily modify the entire page, and it makes it difficult to edit. I think you'd be better off simply linking to language subpages as the wiki currently does (including english, though), but still automatically translate the main page. | ||
}} | |||
{{Message | |||
| user = Max34 | |||
| time = 21:47, 22 Feb 2023 | |||
| You can access any language subpage using the drop-down list (+), and to edit the language subpage without going to it, there is a pencil button for this, it immediately switches to editing the language subpage that is currently displayed relative to the interface language. So far, this whole idea may not seem the most convenient, but that's because it's not yet complete. The idea of using language subpages as the main ones is not considered, since this is exactly what we are trying to get away from. It is planned to add a separate kind of flags directly on the language subpages so that you can switch between them without using the main page. | |||
}} | }} |
Revision as of 14:48, 22 February 2023

Comments on talk pages should be signed with "~~~~", which will be converted into your signature and a timestamp.
uselang vs subpage
(using Template:Message) I don't understand why this template is designed to link to some strange "uselang" page rather than a language subpage as documented. Also, if it was done as documented, why is english a subpage of an english title main page? Just curious. Great work on the template, and general site maintenance, by the way, we've needed it. --Pee (talk) 0:00, 16 Feb 2023 (UTC)
(using Template:Message) uselang is just an interface language setting, not a link. There is also a {{uselang}} template on the site, which allows you to determine which interface language the user has. When opening a page that uses MultiPage, a user will see this page in the language of his interface, if this article is of course translated into it, if not, it will display a small message about this and show the English version of the article. The English language also has its own subpage, because if you put the text in the main article, you won't be able to remove it to replace it with the translated article.
For example, this method will remove the need for suffixes in all links. The language subpages will be exclusively technical pages that will already be displayed on the target page, depending on the interface language specified in the user settings.
So far, this template is not fully completed, so some things may not be very convenient right now. At the moment, there is an idea to add instead of an edit button, a small drop-down list with all the necessary buttons to work with pages (edit, purge, etc.).
--Max34 (talk) 1:58, 16 Feb 2023 (UTC)
(using Template:Message) Looking into it, it's pretty difficult and counterintuitive to temporarily modify the entire page, and it makes it difficult to edit. I think you'd be better off simply linking to language subpages as the wiki currently does (including english, though), but still automatically translate the main page.
--Pee (talk) 21:30, 22 Feb 2023 (UTC)
(using Template:Message) You can access any language subpage using the drop-down list (+), and to edit the language subpage without going to it, there is a pencil button for this, it immediately switches to editing the language subpage that is currently displayed relative to the interface language. So far, this whole idea may not seem the most convenient, but that's because it's not yet complete. The idea of using language subpages as the main ones is not considered, since this is exactly what we are trying to get away from. It is planned to add a separate kind of flags directly on the language subpages so that you can switch between them without using the main page.
--Max34 (talk) 21:47, 22 Feb 2023 (UTC)