Wikipedia:Reference desk/Archives/Computing/2010 June 13

From Wikipedia, the free encyclopedia
Computing desk
< June 12 << May | June | Jul >> June 14 >
Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


June 13[edit]

Infobox field and value ordering[edit]

Resolved

I'm working with a mediawiki installation and I have a bunch of values like so:

| label20 = ccat7
| data20 = {{{ccat7|}}}
| label21 = qid1
| data21 = {{{qid1|}}}

I'd like to add a ccat8 between ccat7 and qid1. Is there any way to do this without renumbering the whole template? --Rajah (talk) 00:57, 13 June 2010 (UTC)[reply]

depends on what you mean. If you're talking about a mediawiki template (like {{infobox}} then no. you at least have to renumber things to the next available space (in either direction). I wrote a small script that I use to fix that problem - if you point me to the page, I can run the script on it (basically it spaces out the labels a bit to give room for additions). If you're talking about a preference file or different template then there's may not be a specific need for parameter names to be in a given order. I'd need to see specifically what you're doing. --Ludwigs2 23:53, 14 June 2010 (UTC)[reply]
Yeah, this is an Infobox. It's on a private installation though. I can write a script too, just wondered about that. Btw, do you know where the documentation is for Infoboxes? Specifically where it talks about labelN, dataN, etc. ? Thanks. --Rajah (talk) 03:18, 15 June 2010 (UTC)[reply]
if it's a copy of wikipedia's infobox template, you can look at the docs listed at the link I gave above. what I use is an applescript to modify the text, so you probably can't make any use of it. --Ludwigs2 04:45, 15 June 2010 (UTC)[reply]
Ok, got it. thanks again. --Rajah (talk) 21:13, 15 June 2010 (UTC)[reply]

XFire & Games List[edit]

Why do iTunes and Windows Media Player show up in my list of installed 'games' in XFire? No other programs appear (besides my other games, some of which don't, but that's presumably because they are unsupported). It would be nice if Word did, though, because I always feel the need to fire off a quick document in the middle of a game . --KägeTorä - (影虎) (TALK) 15:25, 13 June 2010 (UTC)[reply]

It's probably merely a matter of application detection -- perhaps Xfire's criteria of 'game' is pretty loose, or they just thought that media players should also be in the list. If you've not added them manually, more than likely they are in some database that came with it. Findstr (talk) 15:27, 13 June 2010 (UTC)[reply]
The (archived) XFire README file states that XFire can be used to control Windows Media Player or iTunes; it can also use the "current song" to update your profile, and similar features. Nimur (talk) 16:34, 13 June 2010 (UTC)[reply]
Ah! Excellent. So, if I enable this feature, everyone I know can get a little pop-up message on the bottom right of their screen every 4-5 minutes telling them what song I'm listening to. Also, if I feel like watching a film during a game I can just turn on Windows Media Player. How convenient. --KägeTorä - (影虎) (TALK) 03:13, 14 June 2010 (UTC)[reply]
MSN/Live Messenger has a similar feature. Nil Einne (talk) 04:41, 14 June 2010 (UTC)[reply]