Wikipedia talk:Wikipedia Signpost/2010-08-09/Technology report

Latest comment: 14 years ago by Reach Out to the Truth in topic ImageAnnotator

ARTICLEPATH

edit

So, uh, what exactly does {{ARTICLEPATH}} do?  Ed (talkmajestic titan) 01:15, 10 August 2010 (UTC)Reply

It gives the part of the url on the wiki used for articles, with $1 instead of the article name. For example on en wikipedia it'd be /wiki/$1 because thats where articles are accessed (as opposed to the script path which would be /w ). Bawolff (talk) 03:17, 10 August 2010 (UTC)Reply
That's great, but I'm not really seeing the point to it (which is particularly troublesome, considering I'm a template programmer, the very type of person you'd expect to take advantage of this). ダイノガイ千?!? · Talk⇒Dinoguy1000 03:19, 10 August 2010 (UTC)Reply
The specific variable is $wgArticlePath. I'm not sure where it would be useful either. Perhaps a different wiki would be able to make better use of it than we would. Reach Out to the Truth 03:32, 10 August 2010 (UTC)Reply
It might be useful in the Mediawiki: namespace (example, note that the message displayed doesn't refer to you), where parameters like $1 can appear, depending on the page. It's still somewhat limited because it forces $1 instead of e.g. $17 or whatever. --NYKevin @940, i.e. 21:33, 10 August 2010 (UTC)Reply

ImageAnnotator

edit

It looks like the ImageAnnotator is not cross-language, meaning the annotation on Commons doesn't show up on English's image page. OhanaUnitedTalk page 05:38, 16 August 2010 (UTC)Reply

They appear on image pages for me. It has to be enabled first though. There's a gadget available for use. Reach Out to the Truth 14:52, 16 August 2010 (UTC)Reply
In here? Or in Commons? OhanaUnitedTalk page 20:36, 16 August 2010 (UTC)Reply
If you want them to show up here, it has to be here. Each annotation is already stored in the image description page, so you don't have to do anything special on Wikimedia Commons if annotations already exist. You don't have to enable it on Commons unless you also want to use it there. Reach Out to the Truth 22:36, 16 August 2010 (UTC)Reply
I guess each language will have to do their own annotation on the same image then. It looks a bit repetitive. OhanaUnitedTalk page 04:24, 17 August 2010 (UTC)Reply
The annotations exist on Commons already. Or if not, they can be added and then they'll be available on any wiki that uses the ImageAnnotator to read them. Reach Out to the Truth 04:15, 18 August 2010 (UTC)Reply