# User talk:Patrick

## Sortable tables

Wow, that's one big user talk page that probably needs archiving… Anyway, please take a look at Help talk:Sorting#Describe standard. The Help:Sorting page right now is not very helpful for users dealing with "standard" sortable tables (look at en:Help:Sorting by the way), and it doesn't even help admins who are trying to decide if modified version is worth installing. The descriptions for "standard" and modified versions really really have to be separated ∴ Alex Smotrov 04:20, 16 August 2007 (UTC)

The idea was that for some problems it is easier to fix them than to find and explain workarounds. If an admin knows of sorting problems on their wiki and sees that the examples on Meta demonstrate a solution, then that may help them decide that the modified version is worth installing. See also Help_talk:Sorting#Describe_standard.--Patrick (talk) 11:58, 16 August 2007 (UTC)

## How to change language?

Hello Patrick, I have a question. Regarding the magic words page, one of them is {{CONTENTLANGUAGE}}, which gives the site's interface language. Is there any way to change a page's language, I believe under $wgLanguageCode, so you can get different results for that magic word? - Keta 16:22, 22 August 2007 (UTC) I just saw one thing: I followed a link to Kosovo from the basque Wikipedia, and the use of ...Kosovo?uselang=eu changes the value of wgUserLanguage to eu. Is there anything like this, but to change the wgContentLanguage? - Keta 18:09, 22 August 2007 (UTC) Now that I think, is there any magic word to get wgUserLanguage, just like {{CONTENTLANGUAGE}} does with wgContentLanguage? Sorry about so many questions, but I need some help with all this. - Keta 18:12, 22 August 2007 (UTC) Correct, {{CONTENTLANGUAGE}} takes the $wgContentLanguage and produces a result. If $wgContentLanguage=en, the {{CONTENTLANGUAGE}} magic word will produce "English". The $wgContentLanguage parameter is set in Localsettings.php, and requires a developers attention to change. There's no set variable in Localsettings.php for a user's language, because it is set in the interface, and is for a specific user. It would produce a different result for everyone, and therefore there is no magic word for that variable. To change the main interface language for \$wgContentLanguage, you'll need to open a ticket at http://bugzilla.wikimedia.org. Thunderhead 18:15, 22 August 2007 (UTC)
Thanks a lot for your answer. So, the more plausible solutions are, I think, having a magic word in the form of {{USERLANGUAGE}} or so, and having some tool to change the value of wgContentLanguage. I don't understand, though, what is the problem of having a magic word to get the value of wgUserLanguage, since even if it is user-specific, it can also be changed for all using ?uselang=xx at the URL. And, maybe the desired effect could be to have a distinct looking-page for users using different languages (which is more or less my purpose). And, the other thing, how can I do to request a ?uselang=xx-like feature to change the value of wgContentLanguage? - Keta 19:15, 22 August 2007 (UTC)
I placed this discussion here, so more people can join the discussion, and so this Talk page doesn't get too long. You're welcome to contribute there if you like. Thanks for your attention. - Keta 18:46, 23 August 2007 (UTC)

## MediaWiki:Tagline/ar

Please MediaWiki talk:Tagline/ar--Alnokta 23:25, 7 October 2007 (UTC)

Done.--Patrick (talk) 08:26, 8 October 2007 (UTC)
Thanks.--Alnokta 18:25, 8 October 2007 (UTC)

## Nomination for deletion

Hello Patrick. I've nominated some templates you created in June 2005 for deletion; if you'd like to comment, see Meta:Requests for deletion#Coloured box templates. —{admin} Pathoschild 18:34:49, 19 October 2007 (UTC)

## Template:Li

Hi Patrick. I've nominated this template for deletion. See here. Regards. Adambro 18:25, 5 February 2008 (UTC)

## Template:Xpd

Template:Xpd seems to be broken. In the examples form the documentation page, the result is always "{{{5}}}". This also affects pages using the template, such as Help:Calculation#Operators.

Thanks, I fixed it.--Patrick (talk) 10:30, 20 February 2008 (UTC)

## Question

Done. As mentioned on the Wikipedia help pages at the bottom: You are welcome to replace the full wikitext of the help page with that of the master page at Meta at any time.--Patrick (talk) 22:00, 9 April 2008 (UTC)

## Template:Idd

Hi Patrick, this template has been tagged for speedy deletion. Is it still of any use? Korg 15:37, 13 June 2008 (UTC)

## template looping

Hi Patrick, Do you know any way of changing the parser to allow template looping/recursion? Hillgentleman 14:33, 3 August 2008 (UTC)

Change to the old preprocessor.--Patrick (talk) 01:39, 6 August 2008 (UTC)
I know about that. But I want allow recursion even in transclusions. Hillgentleman 02:42, 6 August 2008 (UTC)

## Special characters in formulas

Dear Patrick,

I think you are one of users who can answer. I ask about [itex]\text{foreign letter Ж or another} [itex]. Just so it works but with ~ it doesn't. [itex]~\text{foreign letter Ж or another} [itex] doesn't give right png.

What can be done or whom must I ask? Thanks,92.124.78.251 11:36, 5 August 2008 (UTC)

Perhaps \sim.--Patrick (talk) 01:38, 6 August 2008 (UTC)
No, no. I speak about foreign letters in formulas. ДОДРЛГНГЕНГЕГНАРАРГА. This symbol "~" forces engine to make png instead of text. Well, if I use foreign letters in formulas, these letters appear when it is not png, but these cannot be rendered in png.92.124.78.251 03:02, 6 August 2008 (UTC)
So what?92.124.78.251 03:58, 28 August 2008 (UTC)
Yes, that is an unfortunate limitation. I added this to Help:Displaying_a_formula#Rendering. See mw:Bugzilla for requesting a fix.--Patrick (talk) 06:24, 28 August 2008 (UTC)

Just to let you know that, per Meta:Admin#Poll after a year, your local rights on meta are up for their annual reconfirmation at Meta:Administrators/confirm. WJBscribe (talk) 21:58, 7 October 2008 (UTC)

## Time Parser function question

Hey there, I was browsing around looking for an answer to my #time parser function problem, and I noticed you had made some relevant edits in the past. I outlined my problem here having to do with 2 digit year returns. If you have any suggestions, I would love to hear them, but if you don't know the answer that is cool; I just thought I would ask. Thanks! 24.236.101.233 10:05, 30 December 2008 (UTC)

I wanted to ask if you could help me out. I would like to see Template:Mws modified so that "pages" is a new, sortable column, and then I will go into Sites_using_Semantic_MediaWiki to add current page number counts to each wiki listed there. This way, readers will be able to sort this table of wikis by number of pages, which I feel is a much more useful way to organize the data, rather than SMW version number, which hardly any layman would care about. If you'd like to think about another variable, I'm happy to oblige, as long as the parameters are fairly easy to find and update... e.g., Alexa ranking, total page views, etc. (I tried to alter the template myself, but upon "previewing" my various attempts, I was clearly just botching the code, so I didn't hit Save page.) -- Thekohser 16:20, 27 January 2009 (UTC)

I added the header and adapted the template, nr. of pages can be given now as the 4th parameter.--Patrick (talk) 23:14, 27 January 2009 (UTC)
Just thought I'd drop by and let you know that I completed my work on the page. It's much more useful now, I feel. -- Thekohser 18:19, 20 February 2009 (UTC)

## User rights

Please sign see here if you wish to continue holding user rights here. Thanks, Majorly talk 15:12, 5 April 2009 (UTC)

## Nested tables problem

Well, I wrote you this because I thought that maybe you can help me with this (due your page creation long ago), if not, please lead me to someone who can (if you know, and you are able to). The problem is that nested collapsible tables (two or more) have an error while collapsing/uncollapsing (something that doesn´t happen on the english wikipedia). With the parameter "class="collapsible collapsed"", the content of a table becomes hidden, but if one of the cells of that table contains another table with the same parameter (a second table also with hidden content), the hidden secondary content is forcefully shown, even when the collapse caption indicates it as hidden. Here´s an example (note that a table within another generates this error; the sub-hidden content is no longer hidden and you have to click several times on the collapse caption to manually collapse it!):

I wish to know if you can help me telling me how to fix this (maybe with some other parameter or implementing it to meta-wiki directly).
Thaks for your attention, and I hope you can answer me soon. - Damërung ...ÏìíÏ..._Ξ_ . --  09:46, 2 July 2009 (UTC)

You could ask on the talk page of w:MediaWiki:Common.js, that page contains code for this.--Patrick (talk) 10:46, 2 July 2009 (UTC)

## Notice of review of adminship

Hello,

In accordance with Meta:Administrators/Removal and because you have made fewer than ten logged actions over the past six months, your adminship is under review at Meta:Administrators/Removal/October 2009. If you would like to retain your adminship, please sign there before 2009-10-9. Kind regards, —Anonymous DissidentTalk 15:18, 2 October 2009 (UTC)

## Notice of review of adminship

Hello,

In accordance with Meta:Administrators/Removal and because you have made fewer than ten logged actions over the past six months, your adminship is under review at Meta:Administrators/Removal/April 2010. If you would like to retain your adminship, please sign there before 2010-04-11. Kind regards, Ottava Rima (talk) 17:06, 4 April 2010 (UTC)

## Hello

Hey you's Admin ? KnuxD 12:59, 3 August 2010 (UTC)

Yes.--Patrick (talk) 13:02, 3 August 2010 (UTC)

That good. KnuxD 13:04, 3 August 2010 (UTC)

## For and similar templates

Hiya!

I've noticed you putting a lot of time and work into these various templates and they all seem quite useful.

I'm curious if you've considered adding some sort of categorization to these templates? I looked over a bit of your work and was considering doing it, but... well, frankly, I don't know how I'd start, other than just sticking them in one big "Category:Templates that Kylu isn't bright enough to figure out how to categorize" category. Is that redundant?

Anyway, good work! :) Kylu 13:28, 9 August 2010 (UTC)

Thanks. Yes, I sometimes forget to put a template in a category. I just fixed it for the two I am working on now.--Patrick (talk) 13:42, 9 August 2010 (UTC)
Erp, sorry! I only looked back a couple templates, my fault! I tried to figure out the wikicode, but it had so many curly brackets in it that I had college maths flashbacks... Kylu 14:00, 9 August 2010 (UTC)
It looks more complicated than it is, there is much repetition in it.--Patrick (talk) 14:18, 9 August 2010 (UTC)

## Autopatrolled

Hi, Patrick. How can I obtain the autopatrolled flag on Meta? Are there minimum requirements?

Regards, Ruy Pugliesi 22:16, 10 October 2010 (UTC)

## Template problems

Hi Patrick, I've made a template to convert English numerals into another language. This will help to translate numbers automatically. Like if you type {{CD|45687|bengali}} it will show ৪৫৬৮৭ in Bengali. When I created this on my user page, it was okay. But now on template namespace, it's not. I don't know what's the problem and what to do with it. Can you fix that for me please? Here are the templates.

You can check all the outputs on my test page. Thanks in advance. If you need me, leave a note on my talk page, or feel free to poke me on IRC. — Tanvir • 06:26, 14 November 2010 (UTC)

Problems are fixed. See {{ConvertDigit}}, {{ConvertDigit/core}}, and {{ConvertDigit/numbers}}. Thanks! — Tanvir • 08:04, 14 November 2010 (UTC)

## Useless template

Hello Patrick. May I know why you restored Template:List of template calls end ? Thanks by advance. -- Quentinv57 (talk) 12:46, 12 December 2010 (UTC)

It was a subtemplate of Template:List of template calls, but since it is an old method for repetition that would require a revision anyway (subtemplates that are redirects would have to be changed into copies of the target, due to a software change), the whole template is not worth keeping, I deleted (to start with) this subtemplate again.--Patrick (talk) 13:01, 12 December 2010 (UTC)
That's okay. When I saw you restoring this article, I have thought a moment that my deletions were crap and I have stop to do it before being sure that's not the case. I can now continue my work. Thanks :) -- Quentinv57 (talk) 13:13, 12 December 2010 (UTC)
I just found these following templates you created in 2005 :
They seems to have no more interest, but I prefer to be sure that you're fine with this deletion. -- Quentinv57 (talk) 13:53, 12 December 2010 (UTC)
I agree, they are not needed.--Patrick (talk) 14:04, 12 December 2010 (UTC)

## Help:Template rv?

Hi Patrick, could you add a few words onto the Talk page? (Though would have been better if you have done it before the rv.) Thanks. --Vikici 05:32, 19 December 2010 (UTC)

It was inconsistent with your remark "I agree that Meta needs a Help:Template page".--Patrick (talk) 07:43, 19 December 2010 (UTC)

## Template RfD

Please give a look at Meta:Requests_for_deletion#Template:Tts. I wonder if we should archive old templates somewhere as well, to document the old ways to do things. Nemo 07:51, 25 February 2011 (UTC)

I am not particularly interested in keeping these, but if you are you could put them in your user space.--Patrick (talk) 22:31, 28 February 2011 (UTC)

## Notice of review of adminship

Hello,

In accordance with Meta:Administrators/Removal and because you have made fewer than ten logged actions over the past six months, your adminship is under review at Meta:Administrators/Removal/October 2011. If you would like to retain your adminship, please sign there before October 10, 2011. Kind regards, vvvt 17:07, 3 October 2011 (UTC)

## Is it allowed in Wikipedia?

To keep in the pages of wiki Administrator's personnel thesis? at http://sd.wikipedia.org ? Other problem is We call Computer as same in English, but admin forcibly used his word Ganpukar of Computer. I have proof that thousands of published books called it Computer not Ganpukar. If some one oppose him he started abusive language. That is the reason sd.wikipedia.org never got attraction to Sindhi community. Plz check record there. Other things are he locked CSS due to that on the same site there are lot of font styles appeared there. He is not able to set commonCSS or Monocss. We are in trouble to work in our local Sindhi language. I don't know where to say for this problem. Record history says all the situation there. I appeal plz warn him to follow en.wikipedia.org rules, other wise he will continue use his personnel details and personnel promoted articles there. Dear I am sorry If u r not right person to say all about this, Plz suggest me where I can raise this issue. My sd.wikipedia.org ID is same. His thesis is not a violetion? http://sd.wikipedia.org/wiki/ماحولياتي_انتظام_ڪاڻ_اُپُگِرَهِي_عَڪس_ضماءُ_۽_درجه_بنديءَ_جي_طريقن_جو_اَڀياس Alixafar 00:07, 21 November 2011 (UTC)

## Identifying edge cases for the new parser

Hello Patrick, I am working on template expansion for the experimental JavaScript parser to support the visual editor project. We have opted for a token-based approach, where a tokenizer scans the text and feeds tokens to later stages. Template expansion is supposed to happen at the token level, which removes support for some character-level template tricks that were possible so far. I am now trying to get a feel if there are any commonly-used template uses we have missed.

We plan to support the table start / row / end template and lists where items are coming from templates. All the things listed in Help:Advanced_templates should also be supported. Problematic however are templates where templates contain only a part of what we identify as a token that is not plain text. An example would be something like {{echo|echo=[}}{{echo|echo=[}}Test]] expanding to Test. In the token-based parser, this won't produce a link.

Do you have a feeling for how common something like this is? Any examples of such a case would be really helpful.

Thanks for you help!

GWicke 00:09, 24 December 2011 (UTC)

It would be useful if templates could still produce any parts of wikitable syntax. See for example Help:Table#Producing table syntax using templates and/or parser functions. Some templates produce the lines of wikitext for a table row, with or without a newline at the end, and in some cases the row template produces wikitext starting with "-" (the last part of the wikitext line "|-" for table code) and ending with "|" (the first part of the wikitext line "|-"). These alternatives have to do with allowing conditional rows, avoiding an excess newline if the condition is false, and either applying or avoiding a trick to make a template produce a newline at the end.--Patrick (talk) 12:46, 24 December 2011 (UTC)
Supporting arbitrary character-wise template composition for tables is quite hard, but it is certainly possible to support some common uses with special tokenizer productions. The example in Help:Table#Producing table syntax using templates and/or parser functions should be doable by introducing a tokenizer production for |- and similar constructs. I fear that row templates starting with '-' and ending with '|' are harder to support, as the syntax is less unique and thus the risk of false positives in non-table contexts would be higher.
Do you have an estimate on the relative popularity of the two approaches? Would it be possible to convert the latter approach to the first one in all cases?
Thanks again for your help! GWicke 09:08, 27 December 2011 (UTC)
I think that usually, in the case of complications with wikitable syntax, people fall back on HTML syntax, e.g. in w:Template:Infobox/row. However, for uniformity it would be preferable if wikitable syntax could always be used. As far as I know the row templates starting with '-' are not used very often, and also it is more natural to have a row template producing the full lines of syntax corresponding to a table row rather than also parts of lines, so it would be more important to keep allowing template use like in the example. It would be even better if there would be a more elegant way of allowing the "then" and "else" part of a conditional construct to end with a newline (or space), compared to the trick used in e.g. Template:Ifnotempty.--Patrick (talk) 23:08, 27 December 2011 (UTC)
HTML syntax is fortunately unproblematic for the tokenizer as long as each tag is completely in a single source location. I have linked our conversation from mw:Future/Parser_test_cases#Template_and_parser_function_edge_cases and am now taking a first stab at an implementation. That location would be a good place to collect additional edge cases that might still come up.
Thanks for you help! GWicke 09:33, 6 January 2012 (UTC)

## Notice of review of adminship

Hello,

In accordance with Meta:Administrators/Removal and because you have made fewer than ten logged actions over the past six months, your adminship is under review at Meta:Administrators/Removal/April 2012. If you would like to retain your adminship, please sign there before April 08, 2012. Kind regards, —Marco Aurelio (Nihil Prius Fide) 12:48, 1 April 2012 (UTC)

## Notice of review of adminship

Hello Patrick. In accordance with Meta:Administrators/Removal and because you have made fewer than ten logged administrator actions over the past six months, your adminship is under review at Meta:Administrators/Removal/October 2012. If you would like to retain your adminship, please sign there before October 08, 2012. Kind regards, -- MarcoAurelio (talk) 09:44, 1 October 2012 (UTC)

## LangSwitch

Hello Patrick, we'd really benefit from getting your opinion about the full import of the infamous int:lang trick. Thanks, Nemo 21:09, 19 February 2013 (UTC)

## Notice of review of adminship (April 2013)

Hello Patrick. In accordance with Meta:Administrators/Removal and because you have made fewer than ten logged administrator actions over the past six months, your adminship is under review at Meta:Administrators/Removal/April 2013. If you would like to retain your adminship, please sign there before April 08, 2013. Kind regards. -- MarcoAurelio 14:46, 1 April 2013 (UTC)

Distributed via Global message delivery, 14:46, 1 April 2013 (UTC)

## Notice of review of adminship

Hello Patrick. In accordance with Meta:Administrators/Removal and because you have made fewer than ten logged administrator actions over the past six months, your adminship is under review at Meta:Administrators/Removal/October 2013. If you would like to retain your adminship, please sign there before October 08, 2013. Kind regards, Barras talk 14:21, 1 October 2013 (UTC)

## Editor @ ar.wiki

Hello. I would like to inform you that I have granted you editor flag at the Arabic Wikipedia, all your edits there will be automatically marked as patrolled. Best regards.--Avocato (talk) 06:41, 7 December 2013 (UTC)

Thanks! - Patrick (talk) 15:33, 7 December 2013 (UTC)

## Notice of review of adminship

Hello Patrick. In accordance with Meta:Administrators/Removal and because you have made fewer than ten logged administrator actions over the past six months, your adminship is under review at Meta:Administrators/Removal/April 2014. If you would like to retain your adminship, please sign there before April 08, 2014. Kind regards, Barras talk 09:59, 1 April 2014 (UTC)

## Notice of removal of adminship

Hello,

I regret to inform you that, in accordance with Meta:Administrators/Removal and as a result of your inactivity, administrator rights have been removed from your account. Please see Meta:Administrators/Removal/October 2014 for details. Kind regards, Barras talk 14:13, 1 October 2014 (UTC)

## Template:Empty

Hi Patrick. I've run across {{empty}} and I can't figure out any possible use of it. You didn't created it but since you know a lot about templates I thought about asking you. The same happens to Template:EmptyN which I don't understand what's for. Best regards and Happy New Year 2015 in advance. -- M\A 13:23, 30 December 2014 (UTC)

Template:Empty is not needed, we already have Template:Void. Best wishes to you too. - Patrick (talk) 14:25, 30 December 2014 (UTC)
Deleted. What about EmptyN? Should be deleted too? FWIW I've added the autopatrolled flag for your account (but I'd support you to become an admin again if you wish). -- M\A 14:37, 30 December 2014 (UTC)
Template:EmptyN is a demo for Help:Recursive conversion of wikitext, so it seems better to keep it. I will add some explanation.
Thanks for the autopatrolled flag. Being admin again would be useful for housekeeping with regard to old templates, like deletion and looking at the content of a deleted template. I may apply again when I get more active here again. - Patrick (talk) 01:23, 31 December 2014 (UTC)

## Still need Template:Do for every Dutch municipality/alt?

Hello Patrick. You created Template:Do for every Dutch municipality/alt in 2008, but it doesn't seem to be used anywhere, nothing links to it, and it's listed in pages with script errors. Do you still need it, or can it be safely deleted? —Pathoschild 23:54, 11 April 2016 (UTC)

It can be deleted. - Patrick (talk) 20:35, 21 April 2016 (UTC)

## Podcast WikiStammtisch

Lieber Patrick, hast Du Zeit und Lust, mit mir ein Gespräch für den Podcast de:Wikipedia:WikiStammtisch (https://wikistammtisch.org) zu führen? Das geht online per https://zencastr.com oder Skype oder bei einem Treffen. Ich würde mich freuen. Wenn Du lieber auf Englisch sprichst, können wir eine Episode für WikiJabber (https://wikijabber.org) produzieren. Herzlichen Gruß, --Sebastian Wallroth (talk) 12:28, 31 December 2017 (UTC)