Template:LanguageBar/preload/step2: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "<includeonly>{{subst:subst}}#if: STEP 1. DONE STEP 2. Replace links (see https://developer.valvesoftware.com/wiki/Template:LAuto for more detailed steps, search/replace belo...")
 
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{subst:subst}}#if:
<includeonly>{{subst:subst}}#if:{{subst:!}}{{subst:!}}{{subst:!}}{{LAuto/t}}


STEP 1. DONE
--- DON'T JUST BLINDLY DELETE THIS PART. DO REPLACE THE LINKS AND CATEGORIES. THE PICTURE SHOWS HOW TO USE IT ! ---
STEP 2. Replace links
(see https://developer.valvesoftware.com/wiki/Template:LAuto for more detailed steps, search/replace below is for copy/paste convenience)


Search for:  
SEARCH FOR:  
\[\[(?!#{{subst:!}}File(?:[ _]talk)?:{{subst:!}}Image(?:[ _]talk)?:{{subst:!}}Media:{{subst:!}}Template(?:[ _]talk)?:{{subst:!}}MediaWiki(?:[ _]talk)?:{{subst:!}}Talk:{{subst:!}}Category[ _]talk:{{subst:!}}Project[ _]talk:{{subst:!}}Valve[ _]Developer[ _]Community[ _]talk:{{subst:!}}Help[ _]talk:{{subst:!}}User(?:[ _]talk)?:{{subst:!}}c:{{subst:!}}commons:{{subst:!}}Dictionary:{{subst:!}}Google:{{subst:!}}GoogleGroups:{{subst:!}}IMDB:{{subst:!}}M:{{subst:!}}Meta:{{subst:!}}Metawikipedia:{{subst:!}}MW:{{subst:!}}SdkBug:{{subst:!}}SourceForge:{{subst:!}}Steampowered:{{subst:!}}W:{{subst:!}}Wiki:{{subst:!}}WikiBooks:{{subst:!}}Wikipedia:{{subst:!}}Wikiquote:{{subst:!}}Wiktionary:{{subst:!}}WP:)(:?(?:Category{{subst:!}}Category{{subst:!}}Help{{subst:!}}Project{{subst:!}}Valve[ _]Developer[ _]Community{{subst:!}}Special{{subst:!}})(?:[^\{{subst:!}}\]]+))\{{subst:!}}?(.*?)\]\]
\[\[(?!#{{subst:!}}File(?:[ _]talk)?:{{subst:!}}Image(?:[ _]talk)?:{{subst:!}}Media:{{subst:!}}Template(?:[ _]talk)?:{{subst:!}}MediaWiki(?:[ _]talk)?:{{subst:!}}Talk:{{subst:!}}Category[ _]talk:{{subst:!}}Project[ _]talk:{{subst:!}}Valve[ _]Developer[ _]Community[ _]talk:{{subst:!}}Help[ _]talk:{{subst:!}}User(?:[ _]talk)?:{{subst:!}}c:{{subst:!}}commons:{{subst:!}}Dictionary:{{subst:!}}Google:{{subst:!}}GoogleGroups:{{subst:!}}IMDB:{{subst:!}}M:{{subst:!}}Meta:{{subst:!}}Metawikipedia:{{subst:!}}MW:{{subst:!}}SdkBug:{{subst:!}}SourceForge:{{subst:!}}Steampowered:{{subst:!}}W:{{subst:!}}Wiki:{{subst:!}}WikiBooks:{{subst:!}}Wikipedia:{{subst:!}}Wikiquote:{{subst:!}}Wiktionary:{{subst:!}}WP:)(:?(?:Category{{subst:!}}Category{{subst:!}}Help{{subst:!}}Project{{subst:!}}Valve[ _]Developer[ _]Community{{subst:!}}Special{{subst:!}})(?:[^\{{subst:!}}\]]+))(\{{subst:!}}?.*?)\]\]


Replace with:
REPLACE WITH:
{{subst:subst}}LAuto{{subst:!}}$1{{subst:!}}$2}}
{{subst:subst}}LAuto{{subst:!}}$1$2}}
 
STEP 3. After 'Replace all' do 'Show changes' and quickly check if links were properly replaced. After that when you save this notice will also disappear.
STEP 4. You can get to translating
 
* See also: https://developer.valvesoftware.com/wiki/Valve_Developer_Community:Alternative_Languages *


}}</includeonly>
}}</includeonly>

Latest revision as of 13:35, 22 September 2024