User talk:Pathoschild

From Meta

(Redirected from User talk:Pathoschild/s)
Jump to: navigation, search
Pathoschild (talk page)
en-N This user can read and write at a native level in English.
fr-N Cette personne a pour langue maternelle le français.
Note: Please use informative section titles that give some indication of the message. (Feel free to place comments at the bottom, and I'll sort them later.) This page was last archived 23 April 2008 (archives index, last archive).

Please place all comments and questions concerning Requests for new languages on Talk:Language subcommittee.


Contents

[edit] AJAX transclusion table

[edit] Debugging

Umm...

  • script doesn't seem to work in IE6
  • script doesn't seem to work in Opera 9
  • script breaks for some old skins, e.g. Nostalgia
  • &dontcountme=s is really obsolete
  • notice on MediaWiki talk:Common.js would be nice (I don't watch this forum)

However, the idea itself is nice and I support it. I suggest we move e.g. to Editing User talk:Pathoschild/Scripts/AJAX transclusion table to dicsuss technical details ∴ Alex Smotrov 06:27, 24 November 2007 (UTC)

I moved the discussion to my talk page; I prefer to keep discussions in a few places, so they're easier to keep track of. :) —{admin} Pathoschild 06:53:22, 24 November 2007 (UTC)
It works in all skins now. —{admin} Pathoschild 07:28:47, 24 November 2007 (UTC)
Now working in Opera 9. —{admin} Pathoschild 21:41:06, 24 November 2007 (UTC)
Today I had the time to look at the code, found getAttribute('class') and table.innerHTML and then saw that you already fixed those, so I guess the code will work in IE soon.
I don't see why you need att object and why you have to "rebuild" the table. Also, 8 lines of code
for(var i=0; i<att.count; i++) {
                if(att.alltables[i].className) {
                        if(att.alltables[i].className.match(/\battable\b/)) {
                                att.tables[x] = att.alltables[i];
                                x++;
                        }
                }
        }
could be simple
for(var i=0; i<att.count; i++) {
        if(att.alltables[i].className.match(/\battable\b/)) 
                att.tables[x++] = att.alltables[i]
Alex Smotrov 18:59, 26 November 2007 (UTC)
The object groups everything in a common namespace, which lets us use simple variable names without worrying about conflicts (like "rows" or "tables" or "count"). We need to rebuild tables because some browsers (like Firefox) do not allow row manipulation as table nodes, but only as tbody nodes. MediaWiki doesn't add the tbody element to tables, so we need to add them to the tables before we manipulate the rows. The script checks if there's a class first because some browsers give errors if you use .match() on something that is undefined (when checking an element with no class).
I'm working on it sporadically; it should work in Internet Explorer within a few days. Any other suggestions are welcome, of course. —{admin} Pathoschild 21:19:28, 26 November 2007 (UTC)

How was that colored brace-matching done? I proposed implementing such a thing for templates here. Snowball 22:24, 28 March 2008 (UTC)

It's handled by the SyntaxHighlight GeSHi extension. I suspect it would be difficult to add wikiML support, since it's not formally codified. It might also be difficult to apply to the edit box, because it uses HTML formatting (which cannot be used in a textbox) and would need to dynamically regenerate the formatting when the text was changed.
Syntax highlighting is possible with Javascript, although implementations that I know of are slow and unreliable. For example, see Cacycle's wikiEd. —{admin} Pathoschild 23:06:48, 28 March 2008 (UTC)

[edit] Language subcommittee

[edit] Wikipedia Pontic

The following discussion is closed and will soon be archived: Moved to Talk:Language subcommittee/2008#Wikipedia Pontic.

[edit] Pages grecques dans la wikiversité d'incubation

The following discussion is closed and will soon be archived.

Bonjour
En faisant le tri sur l'incubateur des wikiversités, j'ai trouvé cette page qui recense encore des pages en grecques. Est-ce qu'elle a encore une utilité ?
Merci d'avance. Crochet.david 06:45, 24 April 2008 (UTC)

Non, je l'ai marqué pour suppression. —{admin} Pathoschild 08:20:25, 24 April 2008 (UTC)

[edit] Hindi Wikinews

The following discussion is closed and will soon be archived: Moved to Talk:Language subcommittee/2008#Wikinews Hindi.

[edit] Wikisource Venetian

The following discussion is closed and will soon be archived.

Hi, I wrote 10 days ago to the langcom (here) asking about the current status of my request, but I didn't get any answer... I'm starting to think that my message wasn't noticed at all... Can you answer my question, or at least ask somebody else to do it? thanks. Candalua 12:35, 28 April 2008 (UTC)

Done. —{admin} Pathoschild 12:05:13, 03 May 2008 (UTC)

[edit] Wikiversity Persian

The following discussion is closed and will soon be archived: Moved to Talk:Language subcommittee/2008#Wikipedia Silesian.

[edit] Senang Hati

The following discussion is closed and will soon be archived.

Please see User talk:Herbythyme#Davenbelle about more sleepers. Cheers, User:Jack Merridew a.k.a. David 07:05, 30 April 2008 (UTC)

Herby has suggested a Steward and I see that you are one; Hi! The discussion on his page is a bit further along and the sleeper on wikiquote has just been blocked, but there are others. I have a list at User talk:Jack Merridew/Matrix and with a few exceptions they should be blocked. Not on my say-so, of course, but if you look into this, I believe you'll deem about a half dozen block appropriate.

Cheers, User:Jack Merridew a.k.a. David 08:01, 30 April 2008 (UTC)

p.s. Senang Hati means 'Happy Heart' in Indonesian; see w:Senang Hati Foundation

Thanks for pointing this out. It is being discussed on Checkuser-l, and local checkusers will take the preventative actions they deem appropriate. —{admin} Pathoschild 00:17:26, 01 May 2008 (UTC)

[edit] custom regex tool

Pathoschild, Sorry if you have the answer written somewhere already: I would like to set up the regex tool so that /foo/g -> bar is entered into the edit summary automatically. How can I do it? Hillgentleman 15:13, 3 May 2008 (UTC) P.S. At the moment the header occupies the whole page. It would be great if you could reduce most of it to a few lines. Hillgentleman 15:20, 3 May 2008 (UTC)

You can set it using setreason():
setreason('/foo/g -> bar');
You can also manipulate it directly using an alias:
editreason.value = '/foo/g -> bar';
Could you take a screenshot of the header? It's only a few lines at my resolution. —{admin} Pathoschild 15:34:00, 03 May 2008 (UTC)

[edit] TemplateScript

Hello, Pathoschild. I've copied your TemplateScript file to my monobook.js page, but it isn't working. Templates aren't appearing on Sidebar. Please let me know, what I must to do.--Srhat 06:04, 4 May 2008 (UTC)

Hello Srhat. I corrected the instructions and updated your JavaScript. It should work when you bypass your cache. (The script was broken by recently added restrictions for URL access points.) —{admin} Pathoschild 21:07:27, 04 May 2008 (UTC)
Thanks--Srhat 15:11, 6 May 2008 (UTC)

[edit] persian wikinews

hi pathoschild .today i was cheking meta's old pages so i found this and it seems that process was fully done before .check this page. and new voting is here.so i think the project should begin.thanks indeed.--Mardetanha talk 16:20, 4 May 2008 (UTC)

Hello Mardetanha. That process was deprecated in 2006, and is no longer considered for the approval of new wikis. However, the wiki will be eligible for creation when the test project is consistently active with several editors. —{admin} Pathoschild 21:14:59, 04 May 2008 (UTC)
Thanks. i will try to motivate more people to be active there.thanks for your attention.--Mardetanha talk 21:42, 4 May 2008 (UTC)

[edit] Length of submission

Please note that I have "compressed" my submission from the excessive 1450 to exactly 1200 characters. BTW, I find this rather too little. Former years had longer submissions, which linked to even longer election manifests. But that is not for me to decide. Harel 20:37, 11 May 2008 (UTC)

Hello Harel. The character limit was implemented in 2005 at 1000, and increased last year to 1200. Previous election committees decided that this was necessary to avoid overloading translators, since translating even one of the 2004 candidate statements was a lot of work. We decided to maintain this limit, particularly with the new requirement that the full candidate page be translated before being displayed.
We also decided to disallow linking to unofficial pages due to concerns about unbalanced coverage. Since these unofficial pages are rarely translated, they are only available to a portion of the eligible voters. Disallowing them encourages candidates to state their positions briefly (making informed voting easier with less reading), significantly reduces translators' workload, and ensures fair accessibility of all the information available.
If you disagree with any of the rules, we welcome input from the community. We have already made a few changes to the rules after community discussion. —{admin} Pathoschild 22:08:43, 11 May 2008 (UTC)

[edit] Translation/Translation requests/WMF/Our projects (nl)

Hi Pathoschild,

(Copy from Aphaia's Talk Page)

I made a beta version in Dutch and added an extra category to mark it as translated.
I guess a better way is to use another template so it comes in the category for proofread/correction or whatever.
Can you explain me how, please? Templates are one of my weakest points unfortunately, I'm happy that I can read them ;-).
Greetings and thanks in advance, your would-be translator Patio 13:21, 21 February 2008 (UTC)

Hi Patio,
You can change the status at the template put on the top of Translation requests/WMF/Our projects/nl, now there Dutch version is indicated as "nl /Nederlands (needs updating)". Since the current "beta" version seems not to be updated yet, it would be better for us not to call it "translated" or "proofreading", since it needs more update & translation in my opinion.
If you would like to merge your user subpage version and the current one, please let me or any other meta admins know that.
If you have further questions about this "status" template, ask User:Pathoschild for information (He created it so has the best knowledge). Cheers,--Aphaia 13:50, 21 February 2008 (UTC)

(end Copy)

Updated en removed extra Category as per Aphaia's request. How to change status to 'proofread' or something when applicable?
Thanks in advance for an answer Patio 10:58, 13 May 2008 (UTC)

Personal tools