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
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
$wikiNamespaceBackground["talk"] and $wikiNamespaceBackground[$wikiTalk]?
What should be done with this code?
--
Zundark
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
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
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
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...
-- brion vibber (brion @ pobox.com)