I came up with the idea that templates that don't have two unnamed parameters should be in Category:Translation templates needing attention. It's turned up quite a few results already - ten so far. How would people feel about t, t+ and t- having the same function. Any downsides? Mglovesfun (talk) 22:35, 1 August 2011 (UTC)
{{attention}}
, rather than Category:Translation templates needing attention. Actually, thinking about it — maybe there should be a "default" category that {{attention}}
uses when no language code is specified. If that were the case, then I think a missing first argument to {{tø}}
should probably also just use the normal {{attention}}
. —RuakhTALK 11:15, 3 August 2011 (UTC)
There are several (8K) sorted definitions from Wiktionary here. This file may be interesting for somebody, I hope. -- Andrew Krizhanovsky 08:42, 2 August 2011 (UTC)
Can anyone whip up a script to do these sorts of edits, allowing quick navigation between the pages? --Reetmo 13:17, 6 August 2011 (UTC)
I'm working on a template that uses named parameters in combination with positional parameters, with default values for some of them. However, test calls are not producing the expected results.
Sample call:
{{~template I'm using~|value1|value2|||value5}}
Value 3 defaults to foo
, and value 4 defaults to bar
. These are defined as:
{{{param|{{{3|foo}}}}}} {{{other_param|{{{4|bar}}}}}}
I'd expect to see:
Sample Table | ||||
---|---|---|---|---|
value1 | value2 | foo | bar | value5 |
Instead, I get:
Sample Table | ||||
---|---|---|---|---|
value1 | value2 | ' | ' | value5 |
What am I missing? When passing the third parameter as an empty value, {{{param|{{{3|foo}}}}}}
should evaluate to {{{3|foo}}}
since param
is undefined, and this should then evaluate to foo
since {{{3}}}
is empty. But then where is this single quote ' coming from?
Reading around on Wiktionary, Wikipedia, Wikimedia, and Mediawiki (bewildering that the docs are spread around so much, but that's a separate matter for discussion), it sounds like a design mistake early on has caused confusion in terms of how named versus unnamed parameters are handled, and I'm starting to think my bugaboo here is part of that. I'd deeply appreciate it if someone could point me to an elegant way of clearing this up -- I'd hate to have to add {{{#if:}}}
calls all over the place, but maybe that's what it comes to? -- TIA, Eiríkr Útlendi | Tala við mig 18:45, 8 August 2011 (UTC)
3
is defined as the null string then {{{3|foo}}}
evaluates to the null string; only if 3
is undefined ({{template|value1|value2|5=value5}}
, for example) does foo
get used instead. I have no idea where the apostrophe is coming from, unless you have quotes around the code (like ''{{{param|{{{3|foo}}}}}}''
and they're coming together (as ''''
, which yields a boldface apostrophe) because now only the null string (i.e., nothing) is between them. If you want to use foo
when 3
is the null string, then use {{#if:{{{3|}}}|{{{3}}}|foo}}
or the like.—msh210℠ (talk) 19:54, 8 August 2011 (UTC){{#if:}}
). And you're right about the single quote, I forgot to add in the italics in my examples. Thanks for chiming in, Msh210! -- Eiríkr Útlendi | Tala við mig 20:28, 8 August 2011 (UTC)Curiously {{isValidPageName|-}}
returns (that is, a blank string) although - is valid, as you can see by the blue link. Why is this? --Mglovesfun (talk) 10:57, 12 August 2011 (UTC)
What template should I use to mark that a Persian word in the "Translations" section is lacking transliteration? I use {{rfscript}}
but then entry goes to the Category:Entries which need Arabic script, not to the Category:Persian terms lacking transliteration.
Is there a template for this? Maro 21:48, 13 August 2011 (UTC)
{{rfr}}
. Maro 19:34, 28 August 2011 (UTC)At 17:17 / 17:18 this after noon two people moved the same page to different targets. Both moves worked, no redirect was left. Is this a bug? SemperBlotto 17:20, 14 August 2011 (UTC)
{{nonstandard spelling of}}
not using the script specified in the sc= parameterTake a look at he#Mandarin and shi#Mandarin. Even with the sc= parameter specified, the template is still picking up the script associated with the lang= parameter, making the end result a tad difficult to read for some (and god awful to look at). {{Xyzy}}
seems to exhibit the same issue. I had a look at both {{deftempboiler}}
and {{Xyzy}}
, but couldn't find anything wrong. I thought the sc= param was supposed to take precedence over the the script specified by the lang= tag? Is this not the case anymore? Jamesjiao → T ◊ C 00:08, 15 August 2011 (UTC)
{{makelink}}
template wasn't accepting sc. Now fixed. --Yair rand 00:37, 15 August 2011 (UTC)
Bug description:
What do we do about this? The set of steps seems to work on e.g. en.wikipedia and sv.wiktionary, so I conclude the issue is local for English wiktionary. \Mike 04:58, 15 August 2011 (UTC)
I've been working on some template ideas, and have rethought how to organize things a couple times. Moving works well enough, but then I'm left with all these stub pages with unneeded redirects. Is there any way of granting folks deletion permissions just within their own User areas? -- Curious, Eiríkr Útlendi | Tala við mig 09:13, 17 August 2011 (UTC)
{{d}}
to each page, unless there are too many to bother doing that to, in which case identify them (e.g. here).—msh210℠ (talk) 14:53, 22 August 2011 (UTC)Thank you both. I'll add the {{d}}
once I get enough deletable pages to where it makes sense to get rid of them all in one batch. -- Eiríkr Útlendi | Tala við mig 16:43, 22 August 2011 (UTC)
{{d}}
to just an entry or two at a time, rather than flooding the category all at once. —RuakhTALK 23:30, 22 August 2011 (UTC)There was an earlier discussion at Wiktionary:Grease_pit_archive/2010/December#Proposal_to_remove_prefixes_from_language_templates on removing the prefixes "proto:" and "conl:" from language template titles. The only objection given was that moving the templates would complicate AutoFormat's updating of User:AutoFormat/Languages. Since AutoFormat is no longer running, is there any reason not to remove the prefixes? --Yair rand 01:13, 23 August 2011 (UTC)
{{langprefix}}
. But since we're never going to fix that problem (one editor in particular is strongly dedicated to the proposition that the difference between mainspace languages and non-mainspace languages should be completely editor-transparent), removing the prefixes is probably the next-best option. —RuakhTALK 12:43, 23 August 2011 (UTC){{term|…|lang=tlh}}
should just work; to the extent that we treat Klingon differently from other languages, the editor feels that templates should handle that internally, rather than editors having to be aware of the distinction. (That is, the distinction would be "transparent" to editors, in that they could see right through it: both kinds of languages would be handled the same, from their perspective.) Anyway, thanks for making be clearer. :-) —RuakhTALK 19:12, 25 August 2011 (UTC)
What method was used to right-align images and the wikipedia box even in long articles, so they don't interfere with the left side and they don't create blank gaps on the left? It would be great to use the same in the Hungarian Wiktionary. Thanks. --Panda10 21:34, 23 August 2011 (UTC)
{{wikipedia}}
, I'll guess its div.foo{float:right}
.—msh210℠ (talk) 16:28, 25 August 2011 (UTC)
{clear:...}
set (or has something appearing right before it (like {{-}}
) that has either {clear:...}
or <br clear=...>
).—msh210℠ (talk) 18:08, 25 August 2011 (UTC)I just tried to add the Luxembourgish 'hoppelen' as a translation of the verb 'hop' using the Add translation tool. It usually works fine, but this time I got the following error message: "Could not find translation entry for 'lb:hoppelen'. Please reformat." Obviously I can still add it manually, but does anyone know why this happened? Cheers, BigDom 11:02, 25 August 2011 (UTC)
{{trreq}}
(translation request) for other languages and {{ttbc}}
(translation to checked) even for the language you're actually checking. --Anatoli 02:49, 26 August 2011 (UTC)Has anyone else had trouble making changes to WT:RFV — encountering Wikimedia Errors ("Error: ERR_READ_TIMEOUT, errno ") when trying to add or archive sections? It's almost as if archiving those 300 000 bytes made the page slower... I do not encounter the error when adding to other pages, even pages of comparable size, like this one or WT:RFC. - -sche (discuss) 02:36, 26 August 2011 (UTC)
This is coming up in Special:UncategorizedPages. For some reason, the server (not because of anything the creator has done) is interpreting all the templates with an uppercase first letter. The entry is correct, as it uses {{mul-proper noun}}
, the server however is interpreting this as {{Mul-proper noun}}
, which doesn't exist, hence uncategorized. Mglovesfun (talk) 10:04, 27 August 2011 (UTC)
I'm trying to get Category:Old Irish noun forms to sort properly by treating "á é í ó ú" as equivalent to "a e i o u". Can anyone tell me why the |sort= parameter of {{infl}}
works at ] but not at ], ], or ]? —Angr 17:28, 27 August 2011 (UTC)
{{dative of}}
and {{genitive of}}
try to categorize and sort the entries again. --Daniel 17:43, 27 August 2011 (UTC)
{{genitive of}}
and it's sorting correctly. —Angr 17:55, 27 August 2011 (UTC)
{{genitive of}}
categories in ], and it's trumping the sort key in {{infl}}
. Mglovesfun (talk) 21:22, 27 August 2011 (UTC)
I'm trying to get all the transclusion of {{sv-decl-noun}}
, including the templates that use it as a base (see Category:Swedish declension-table templates. I'm using AWB's 'skip' tab, selecting Contains: (that is, skip if the page contains) which is what I used to find out which pages in Category:French verbs weren't using {{fr-verb}}
. I then ticked regex and put in
====Declension====\n\{\{sv\-noun\-
. All I want it to do is skip pages containing that, thinning the list. Then I put in after that
====Declension====\n\{\{sv\-decl\-noun\|
and that should skip anything. But it's not working, I'm not sure if it's the \n syntax that it won't accept or what. PS it might be possible to combine all of these into one single, but bigger expression: how about
Declension(====|=====)(\n|\n\n)\{\{sv\-(decl\-noun\||noun\-)
? Mglovesfun (talk) 21:29, 27 August 2011 (UTC)
Declension====++\{\{sv-(decl-)?noun
Does anyone know of resources that can simplify long URLs, stripping out unnecessary field-value pairs from long query strings? For instance, Google Books URLs are often really long, but we can shorten it down to include a more manageable link the wikitext, while still having it link to the correct book and page number. These aren't w:URL shorteners but the intent is similar. --Bequw → τ 16:41, 28 August 2011 (UTC)
Has anyone debated minifying our Javascript code? I'm not sure if post-compression it would change the file sizes much, but I thought I'd ask. --Bequw → τ 19:03, 29 August 2011 (UTC)
I have about 2,500 pre-formatted English noun entries to import (specific minerals; and a small handful exist already in Wiktionary and should be skipped). What is a good way to do this, or can somebody do it for me? (Although I've used DotNetWikiBot in the past for retrieving pages, it will not let me save a page — "500 Internal Server Error" — and the inadequate documentation makes this impossible for me to diagnose.) Thanks. Equinox ◑ 15:13, 31 August 2011 (UTC)
I am trying to pull out all Wiktionary entries of Akkadian origin. I have tried using category:en:akkadian derivations but it doesn't work, yet I know Akkadain etymologies do come up in Wiktionary entries e.g. tandoor, souq.
Is there any way I can draw out all such entries? — This unsigned comment was added by Rdurkan (talk • contribs).
I did already find this page but it didn't list tandoor and souq. They must have been added since. Is there any page which lists all Akkadian derivations? Is there a way I could also pull out all Aramaic and more generally, all Semitic derivations?