MediaWiki:Gadget-I18n-js.js: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m
spelling
m (match MW's usage documentation for gender)
m (spelling)
Line 404: Line 404:
             // [[pagename|text]] -> [[$1|$2]]
             // [[pagename|text]] -> [[$1|$2]]
             pageWithTextRgx = /\[\[(.+?)\|(.+?)\]\]/g,
             pageWithTextRgx = /\[\[(.+?)\|(.+?)\]\]/g,
             // {{PLURAL:count|singluar|plural}} -> {{PLURAL:$1|$2}}
             // {{PLURAL:count|singular|plural}} -> {{PLURAL:$1|$2}}
             pluralRgx = /\{\{PLURAL:(\d+)\|(.+?)\}\}/gi,
             pluralRgx = /\{\{PLURAL:(\d+)\|(.+?)\}\}/gi,
             // {{GENDER:gender|masculine|feminine|neutral}} -> {{GENDER:$1|$2}}
             // {{GENDER:gender|masculine|feminine|neutral}} -> {{GENDER:$1|$2}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.