On Mon, 29 Sep 2003, Walter Vermeir wrote:
http://nl.wikipedia.org/wiki/Speciaal:Imagelist
Fatal error: Call to a member function on a non-object in
/usr/local/apache/common/php/GlobalFunctions.php on line 81
It looks fine to me on normal settings... this triggers it:
http://nl.wikipedia.org/w/wiki.phtml?title=Speciaal:Imagelist&sort=byda…
Lessee...
76 function wfImageUrl( $img )
77 {
78 global $wgUploadPath;
79
80 $nt = Title::newFromText( $img );
81 $name = $nt->getDBkey();
Oh ho! Another bug exposed by the new stricter title error checking
upstream. Something got uploaded with an invalid name, looks like.
Add a check... now we see it:
(<a href="/wiki/Afbeelding:" class='internal'
title="Afbeelding:">besc</a>)
<a href=""></a> . . 0 bytes . .
<a href="/wiki/Gebruiker:Marieus" class='internal'
title="Gebruiker:Marieus">Marieus</a>
. . 19 sep 2003 22:19 <em>(Basel, Marktplatz en Stadhuis)</em><br>
Interesting. :P
+----------+----------+-------------------------------+----------+---------------+----------------+
| img_name | img_size | img_description | img_user | img_user_text |
img_timestamp |
+----------+----------+-------------------------------+----------+---------------+----------------+
| | 0 | Basel, Marktplatz en Stadhuis | 1238 | Marieus |
20030919201916 |
+----------+----------+-------------------------------+----------+---------------+----------------+
Yup, a failed upload got recorded somehow.
I've removed that row from the table.
HTML uploads
now served as text/plain
Is this only for the English or also for the dutch?
Site-wide.
If it would be really really useful to have a place for live HTML uploads
directly on wikipedia's server, I could perhaps set something up under
another virtual host where login cookies would be inaccessible from
javascript.
-- brion vibber (brion @
pobox.com)