Rowan Collins | 1 Oct 2005 14:23
Picon

Re: {{msg}} URL

On 30/09/05, Stefan Vesterlund <s.vesterlund@...> wrote:
> Half a year ago this was the URL to get the content,
> http://no.wikipedia.org/w/wiki.phtml?title=Template:Akershus&action=raw&ctype=text/css.

You want "/w/index.php" instead of "/w/wiki.phtml", and you it's not
CSS, so lose the "&ctype=text/css" [Basically, find the edit page, and
substitute "raw" for "edit"] So:

http://no.wikipedia.org/w/index.php?title=Template:Akershus&action=raw
or http://no.wikipedia.org/w/index.php?title=Mal:Akershus&action=raw
["Mal" being Norwegian for "Template", it seems]

But, far far better than scraping content off the overloaded Wikimedia
servers would be to download a dump of the content from
http://download.wikimedia.org and process that locally.

--
Rowan Collins BSc
[IMSoP]
Timwi | 1 Oct 2005 15:11
Picon
Gravatar

Re: Modification Navigation et ToolBox

Ashar Voultoiz wrote:
> 
> Le lien "Version imprimable" visible sur http://fr.wikipedia.org/ est
> disponible à partir de la version 1.5 (qui devrait sortir bientôt).

Quand imprimé, la "version imprimable" est identique à la version 
"normale". C'est quoi le but?
Rowan Collins | 1 Oct 2005 16:03
Picon

Re: Re: Modification Navigation et ToolBox

On 01/10/05, Timwi <timwi@...> wrote:
> Ashar Voultoiz wrote:
> >
> > Le lien "Version imprimable" visible sur http://fr.wikipedia.org/ est
> > disponible à partir de la version 1.5 (qui devrait sortir bientôt).
>
> Quand imprimé, la "version imprimable" est identique à la version
> "normale". C'est quoi le but?

La "version imprimable" existes seulement parceque utilisateurs a
demandé ca - ils pensent toujours que les menus etc vas imprimer, et
n'essaient pas. Je prefere le nom "Print preview" (je ne sais pas la
Francais), avec un notice qui expliquez que cliquez la lien n'est pas
necessaire. Voir aussi
http://bugzilla.wikimedia.org/show_bug.cgi?id=1577

[Pardon que ma Francais n'est pas tout correcte]

--
Rowan Collins BSc
[IMSoP]
Rowan Collins | 1 Oct 2005 16:25
Picon

Re: {{msg}} URL

On 01/10/05, Stefan Vesterlund <s.vesterlund@...> wrote:
> The data in {{msg}} is not in the dumps (I'm using those to not put any
> unnecessary lode on Wikipedia servers). It is grate if a separate dump could
> be made with this data (xml, sql or what ever format).

Er... it should be, as long as you're not using the "ns0 only" dump.
It's just page content that's in the "Template" namespace (ns=10).
You've probably not spotted it because namespaces are stored
*numerically* in the database, not as strings, and not as part of the
title. [See also http://meta.wikimedia.org/wiki/Help:Namespace]

So, the page referenced by "{{msg:foo}}" (or "{{foo}}") is called
"Template:Foo", but in the database it will have a "title" of "Foo"
and a "namespace" of 10. That's why it can be called "Template:Foo"
and "Mal:Foo" at the same time, because the first bit isn't really
part of the name.

BTW, "{{msg:foo}}" was deprecated in favour of "{{foo}}" long ago.

I hope this makes at least some sense - feel free to ask if anything
still isn't clear.
--
Rowan Collins BSc
[IMSoP]
Timwi | 1 Oct 2005 16:46
Picon
Gravatar

Re: LZMA compression for dumps?

Magnus Manske wrote:
> 
> At some point, we
> might want to add a "rev_on_disk" field to the revisions table, and move
> the text of revisions older than, say, 3 month to the file system (file
> name generated through article and revision ID).

If and when you are going to do this, hopefully you are going to use the 
page_id, not the article title, as otherwise you will have to rename 
potentially arbitrary amounts of files upon a page move, and you will 
potentially make it impossible to run on Windows due to its filename 
character restrictions.
Timwi | 1 Oct 2005 18:28
Picon
Gravatar

Re: Multilingual error messages

Mark Ryan wrote:
> 
> For a preview, use the following URL:
> http://www.mindspillage.net/braindump/friends/error-utf8.htm

Where do we edit this? How do we contribute more translations?
Nyenyec N | 1 Oct 2005 18:44
Picon
Gravatar

Dump status

Hi,

What's the status of the database dumps?
Editor's in HuWiki are eagerly awaiting the next stats update. :)

Thanks,
nyenyec
Mark Ryan | 1 Oct 2005 08:51
Picon

Re: Re: Multilingual error messages

On 30/09/05, Mark Williamson <node.ue at gmail.com> wrote:
> Yeah... would it be possible to have a client-side script to determine
> the proper error message based on the requested subdomain?
>
> Mark

That was one option I'd considered (and would have implemented, had I
not run out of mid-semester break). It shouldn't be too difficult,
anyway. If someone wants to spend some time writing some Javascript
for this, inserting %U will insert the whole URL, from which you can
likely get the subdomain. Otherwise, I'll get around to it in the next
couple of weeks and submit it with the few changes that have been
requested by people.

I tested this error message on IE6, Firefox 1.0.6, Netscape 8, Opera
8.02, Lynx, Konqueror, e-Links and NCSA Mosaic (just to see if it
worked in ultra-old browsers). The Javascript works in its entirety in
Konqueror, IE and Firefox/Netscape. Opera does most of it fine except
it doesn't colour the links according to which language is currently
selected, because Opera doesn't currently support document.styleSheet
which is what I used. I suppose the page could be rejigged to remedy
this but it seems like too much effort for what is essentially a
cosmetic thing. Surprisingly, the page displays perfectly in Internet
Explorer (the strikethrough is faded in IE), which may offend some
free software purists out there (hey, I'm sending this email to the
technical list).

~Mark Ryan
Stefan Vesterlund | 1 Oct 2005 16:05
Picon

Re: {{msg}} URL

Thanks

The data in {{msg}} is not in the dumps (I'm using those to not put any 
unnecessary lode on Wikipedia servers). It is grate if a separate dump could 
be made with this data (xml, sql or what ever format).

Regards

Stefan Vesterlund

----- Original Message ----- 
From: "Rowan Collins" <rowan.collins@...>
To: "Wikimedia developers" <wikitech-l@...>
Sent: Saturday, October 01, 2005 2:23 PM
Subject: Re: [Wikitech-l] {{msg}} URL

> On 30/09/05, Stefan Vesterlund <s.vesterlund@...> wrote:
>> Half a year ago this was the URL to get the content,
>> http://no.wikipedia.org/w/wiki.phtml?title=Template:Akershus&action=raw&ctype=text/css.
>
> You want "/w/index.php" instead of "/w/wiki.phtml", and you it's not
> CSS, so lose the "&ctype=text/css" [Basically, find the edit page, and
> substitute "raw" for "edit"] So:
>
> http://no.wikipedia.org/w/index.php?title=Template:Akershus&action=raw
> or http://no.wikipedia.org/w/index.php?title=Mal:Akershus&action=raw
> ["Mal" being Norwegian for "Template", it seems]
>
> But, far far better than scraping content off the overloaded Wikimedia
> servers would be to download a dump of the content from
(Continue reading)

Brion Vibber | 1 Oct 2005 22:31
Picon
Favicon
Gravatar

Re: Dump status

Nyenyec N wrote:
> What's the status of the database dumps?
> Editor's in HuWiki are eagerly awaiting the next stats update. :)

Currently testing more improvements to the dump system to speed it up,
will launch another dump this weekend.

The 20050921 dump stopped at jawiki due to lack of disk space; the
server needs to be cleaned out.

-- brion vibber (brion  <at>  pobox.com)
_______________________________________________
Wikitech-l mailing list
Wikitech-l@...
http://mail.wikipedia.org/mailman/listinfo/wikitech-l

Gmane