Difference between revisions of "Template talk:Article missing translation/core"

From Team Fortress Wiki
Jump to: navigation, search
(Created page with "==Create page link== <nowiki>{{fullurl:{{FULLPAGENAME}}|action=edit}}</nowiki> This template links to the 'full page name' edit/create page. E.g. When used on [https://wiki....")
 
m (Worded differently)
 
Line 1: Line 1:
==Create page link==
+
== Template usage on translations ==
  <nowiki>{{fullurl:{{FULLPAGENAME}}|action=edit}}</nowiki>
+
Currently under the condition "<small>English page does NOT exist</small>", only <code><nowiki>{{FULLPAGENAME}}</nowiki></code> template is used. While this does not pose any problem in English pages, it ''may'' in /lang pages.
This template links to the 'full page name' edit/create page. E.g. When used on [https://wiki.teamfortress.com/wiki/Test {{FULLPAGENAME:Test}}], it directs to
 
  https://wiki.teamfortress.com/w/index.php?title=Test/&action=edit
 
When used on [https://wiki.teamfortress.com/wiki/Test/da {{FULLPAGENAME:Test/da}}], it directs to
 
  https://wiki.teamfortress.com/w/index.php?title=Test/da&action=edit
 
  
  <nowiki>{{fullurl:{{BASEPAGENAME}}|action=edit}}</nowiki>
+
Example page: http://wiki.teamfortress.com/wiki/Lorem:ipsum/dolor/da
This template ignores '/lang' part and always directs to page edit/create in English.
 
  
Currently FULLPAGENAME is used in this template and (for example) [https://wiki.teamfortress.com/wiki/Test/da {{FULLPAGENAME:Test/da}}] links to create 'Test/da' page. This may or may not be problematic. When BASEPAGENAME is used, Test/da would link to create 'Test' page. 
+
==== Search ====
 +
<code><nowiki>[[Special:Search/{{FULLPAGENAME}}]]</nowiki></code> searches for <code>Lorem:ipsum/dolor/da</code>
 +
 
 +
<code><nowiki>[[Special:Search/{{BASEPAGENAME}}]]</nowiki></code> searches for <code>ipsum/dolor</code>. This might be more useful for searches.
 +
 
 +
==== Create page ====
 +
<code><nowiki>{{fullurl:{{FULLPAGENAME}}|action=edit}}</nowiki></code> creates the page <code>Lorem:ipsum/dolor/da</code>. Danish page is created and English page still does not exist.
 +
 
 +
<code><nowiki>{{fullurl:{{#titleparts:{{FULLPAGENAME}}|-1}}|action=edit}}</nowiki></code> creates the page <code>Lorem:ipsum/dolor</code>
 +
 
 +
In its current situation, the translations are linking to the creation of language pages while saying that the link creates the pages in English. To fix this either the used template needs to be changed to my suggestion above, or the translations need to be corrected.
 +
 
 +
E.g.: <code>eller <nowiki>[{{fullurl:{{FULLPAGENAME}}|action=edit}}</nowiki> lave denne her på '''Engelsk'''</code> <small>(Engelsk = English)</small>
  
Translations need to be corrected accordingly
 
 
— Sam (a.k.a. cnoe) 17:19, 2 April 2018 (UTC)
 
— Sam (a.k.a. cnoe) 17:19, 2 April 2018 (UTC)
 +
 +
— ''[[User:Cnoe|Sam]] (a.k.a. cnoe)'' 13:55, 23 August 2018 (UTC) (Edited)

Latest revision as of 13:55, 23 August 2018

Template usage on translations

Currently under the condition "English page does NOT exist", only {{FULLPAGENAME}} template is used. While this does not pose any problem in English pages, it may in /lang pages.

Example page: http://wiki.teamfortress.com/wiki/Lorem:ipsum/dolor/da

Search

[[Special:Search/{{FULLPAGENAME}}]] searches for Lorem:ipsum/dolor/da

[[Special:Search/{{BASEPAGENAME}}]] searches for ipsum/dolor. This might be more useful for searches.

Create page

{{fullurl:{{FULLPAGENAME}}|action=edit}} creates the page Lorem:ipsum/dolor/da. Danish page is created and English page still does not exist.

{{fullurl:{{#titleparts:{{FULLPAGENAME}}|-1}}|action=edit}} creates the page Lorem:ipsum/dolor

In its current situation, the translations are linking to the creation of language pages while saying that the link creates the pages in English. To fix this either the used template needs to be changed to my suggestion above, or the translations need to be corrected.

E.g.: eller [{{fullurl:{{FULLPAGENAME}}|action=edit}} lave denne her på Engelsk (Engelsk = English)

— Sam (a.k.a. cnoe) 17:19, 2 April 2018 (UTC)

Sam (a.k.a. cnoe) 13:55, 23 August 2018 (UTC) (Edited)