Brion L. VIBBER | 3 Apr 04:54 2002
Picon

Search bugs; logins; histories; upgrades

I took advantage of yesterday's outage to spend some time fixing bugs:
* Fixed backlash escaping problems in page editing, the delete function,
and the SQL query page.
* Fixed url-encoding bugs in the file upload log and the page edit link.
* Bad [[wikilinks]] no longer drop the rest of the line following them.
* Text after a redirect link no longer gets included in the link.
* Non-ASCII characters now work in search!!

Thought that last one might get people's attention. :) It seems to
more-or-less work now (though not case-insensitive, as MySQL doesn't
understand the UTF-8 characters). I recommend we upgrade the Polish and
Esperanto wikis as soon as possible so we can get these in real usage.

Also; I've split the login screen into two separate forms: log in with
existing account, and create new account. I'm trying to add an e-mail
field to the new account form, but it always comes out as NULL instead
of the input text, so I commented out those lines for the time being.
Could someone take a quick look at special_userlogin.php and check it
out? I probably did something really dumb that I'm just overlooking...

As far as the old page history import goes, I'd really like to see this
done soon, but I haven't been able to test it myself. I'm having
problems importing the 3-21 database dump into MySQL (I get a "1006
server gone" error at line 45, not very helpful). If someone else is
having better luck with the SQL dump (and if we can get a more recent
dump, post last week's deletion frenzy?) and has a more recent old wiki
tarball (mine is Dec 20, I'm sure there are later ones), could you
please give it a try and let me know if it works? In particular, that it
doesn't explode horribly and destroy the database...

(Continue reading)

Magnus Manske | 5 Apr 18:06 2002
Picon

Voting system, Cologne Blue

I just commited - no, not a crime, but a (very basic) voting system for
articles to the CVS.

This was suggested several times on wikipedia-l. Currently, it only
generates pages similar to "Page titles to be deleted", in a "standard"
format. Please have a look.

I'll look into changing the "Cologne Blue" skin later so it matches Marian's
version at http://www.ds.fh-koeln.de/~marian/wikipedia/template.html

I am very much in favor of making this the "standard" skin. But, the "final"
version should be online first so we can ask wikipedia-l about that. Some
people are quite allergic to changes like that without being asked first...
;)

Magnus

Magnus Manske | 6 Apr 20:55 2002
Picon

Cologne Blue improvements

Please check the following changes I made to the CB skin:
* "User's contributions" apprears on the last line on user pages
* "Reditected from" appears on the last line
* "Wikipedia Home" was changed to "Main Page"
* "Edit this page" link in the sidebar is now larger than the other links,
making it more prominent
* Last modification date now uses time difference (English format only!)

I think these are about all comments that were made to improve the skin.

Magnus

Magnus Manske | 7 Apr 23:51 2002
Picon

Automatic wikification

I checked in a basic version of the long promised "auto-wikification" button 
on the edit page.

Features, as of now:
* <b> and </b> are replaced with '''
* <i> and </i> are replaced with ''
* <h2>, <h3> and <h4> are also converted to === style
* It fixes [[broken] links
* It converts [[self-links]] to self-links
* It removes [[talk:pages|talk]] and [[talk:pages]] (only for that page!)
* It simplyfies [[plural|plurals]] to [[plural]]s

Also, it leaves text in <pre> and <nowiki> tags alone.

Please, check it for bugs, and add some features!

Magnus

Tomasz Wegrzanowski | 8 Apr 00:19 2002
Picon
Picon

Re: Automatic wikification

On Sun, Apr 07, 2002 at 11:51:57PM +0200, Magnus Manske wrote:
> I checked in a basic version of the long promised "auto-wikification" button 
> on the edit page.
> 
> Features, as of now:
> * It simplyfies [[plural|plurals]] to [[plural]]s

I don't think this is good idea.
[[plural|plurals]] is much more readable.

Kurt Jansson | 8 Apr 02:19 2002
Picon
Picon

Word Wide Lexicon

Dear Wikipedians!

Today I read an article in a mailinglist which lead me to a
slashdot discussion about a project called "World Wide Lexicon". There
seem to be some wrong expectations about it so I mailed the author of
WWL to ask him and to point him to Wikipedia. I think it's a very
interresting project, but you can take a look at it yourself:

the project:
www.worldwidelexicon.org
the /. discussion:
http://slashdot.org/articles/02/04/05/1911255.shtml?tid=95

the answers to my emails:

-----Ursprüngliche Nachricht-----
Von: Brian McConnell <brianmsf@...>
An: Kurt Jansson <kurt@...>
Gesendet: Sonntag, 7. April 2002 19:55
Betreff: RE: Why "Lexicon"?

Kurt,

Thank you for your email.

I called it the worldwide lexicon because the system can be used to
retrieve
definitions for words as well as translations. For example, if you are
doing
a monolingual search, you can submit several different types of queries
(Continue reading)

Chuck Smith | 9 Apr 02:25 2002
Picon

auto wikification

As far as auto wikification is concerned, what would
be the effects of someone creating an article entitled
"The"?

Chuck

=====
Come to my homepage!  Venu al mia hejmpagxo!
http://amuzulo.babil.komputilo.org/
====
Venu al la senpaga, libera enciklopedio
esperanta reta! http://eo.wikipedia.com/

_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com

Zundark | 9 Apr 21:03 2002

Warnings by the dozen

I've installed the Wikipedia software on my machine, so I can start
hacking at it.  It seems to be working OK, except that I get huge
numbers of PHP warning messages at the top of each page.  I can get
rid of them by turning down the level of PHP warnings, but this is a
really bad idea from a bug-prevention point of view.

Looking through some of the old bug reports I see that at least one
of the major bugs was caused precisely by ignoring such messages.
So I have to assume that this is not my just a bad installation on my
part, and that the Wikipedia code really doesn't work properly with
error_reporting turned up full.  Clearly this ought to be fixed.  But
I can't do this on my own, since in some cases it's unclear what the
purpose of the code is.  For example, the first five warnings come from
the following section of wikiSettings.php:

  # Namespace backgrounds
  $wikiNamespaceBackground = array () ;
  $wikiNamespaceBackground[$wikiTalk] = "#eeFFFF" ;
  $wikiNamespaceBackground["user_talk"] = $wikiNamespaceBackground["talk"] ;
  $wikiNamespaceBackground["wikipedia_talk"] = $wikiNamespaceBackground["talk"] ;
  $wikiNamespaceBackground[$wikiUser] = "#FFeeee" ;
  $wikiNamespaceBackground[$wikiWikipedia] = "#eeFFee" ;
  $wikiNamespaceBackground["log"] = "#FFFFcc" ;
  $wikiNamespaceBackground["special"] = "#eeeeee" ;

Here, $wikiTalk, $wikiNamespaceBackground["talk"], $wikiUser and
$wikiWikipedia are all undefined.  I've no idea how to clean this
up, because I don't understand what it's supposed to look like.
Why are some of the indices variables and other constants?
In particular, what is the intended distinction between
(Continue reading)

Magnus Manske | 9 Apr 21:18 2002
Picon

RE: Warnings by the dozen

> I've installed the Wikipedia software on my machine, so I can start
> hacking at it.  It seems to be working OK, except that I get huge
> numbers of PHP warning messages at the top of each page.  I can get
> rid of them by turning down the level of PHP warnings, but this is a
> really bad idea from a bug-prevention point of view.

I think we all work with "standard settings", and there are no warnings
showing up, just like the Bomis server uses standard and doesn't show
anything like that, either. Me, I'm still surprised that it's running at all
;)

<snip>
> Here, $wikiTalk, $wikiNamespaceBackground["talk"], $wikiUser and
> $wikiWikipedia are all undefined.  I've no idea how to clean this
> up, because I don't understand what it's supposed to look like.
> Why are some of the indices variables and other constants?
> In particular, what is the intended distinction between
> $wikiNamespaceBackground["talk"] and $wikiNamespaceBackground[$wikiTalk]?
> What should be done with this code?

The reason (without looking at the code right now) is probably the missing
"global" statement at the beginning of the function.
The purpose of the indices being variables is that the German wikipedia, for
example, uses "/Diskussion" instead of "/Talk", and will get a "Diskussion:"
namespace instead of "Talk:". The reason for the mix with constants is that
we're too lazy to convert them all to variables...

Magnus

(Continue reading)

Brion L. VIBBER | 9 Apr 22:56 2002
Picon

Re: Automatic wikification (plus: watchlist changes)

On dim, 2002-04-07 at 14:51, Magnus Manske wrote:
> I checked in a basic version of the long promised "auto-wikification" button 
> on the edit page.
[...]
> Please, check it for bugs, and add some features!

I accidentally hit the auto-wikification button while testing something
else, and found an interesting phenomonen. In an article titled "Ludoj",
the first line was:

  *[[Kartludoj]]

which got changed to:

  *[[Kart'''Ludoj''']]

I don't think that's exactly right... :)

Also, I've made some changes to the watchlist; it now marks pages
independently of the namespace. Principally, this means that if you put
a page in your watchlist, you'll also see changed to the talk page in
there... which seemed like something anyone watching changes to pages
would want. Additionally, watchlist entries are now bolded in the
RecentChanges list, so you don't *have* to go to the watchlist page.

I think I still have to clean up a few cases for adding/removing things
from the watchlist in other namespaces, but it seems to be generally
working.

-- brion vibber (brion  <at>  pobox.com)
(Continue reading)


Gmane