Timwi | 1 Sep 2004 03:04
Picon
Gravatar

Re: Updating Wiki From a Script

andrew fabbro wrote:
> I'm curious if there is any documentation on the "rules" for updating a
> mediawiki SQL database.  Specifically, something like "if you want to 
> delete a page, modify these tables and fields" or "here are the steps to 
> insert a page into the database".

Such a documentation would be nice to have (and brion has already 
provided a good start), but I fear it will be hard to keep up to date. 
Changes in the code can often affect these procedures.

It would probably be nice if there was a single function in our PHP 
code, createPage() or something, that does everything. But even with 
that, you'd have to write your own stuff in PHP.

If I were you I'd instead go for Brion's latter suggestion. Don't 
manipulate the DB directly; send an HTTP request to the wiki and let it 
do it. It's probably easier for you to code, and it's also less prone to 
requiring future maintenance whenever small things change.

Timwi
Malcolm Lawrence | 1 Sep 2004 03:35

Slash Wiki

Greetings all, 

I understand that there is a wiki plug in for Slash and I was wondering if there are any Wiki developers who
know enough about Slash to point me to one which works because I'm having a hard time trying to find an
example of one. 

Malcolm Lawrence
Editor-in-Chief
Babel: The multilingual, multicultural
online journal and community of arts and ideas.
http://www.towerofbabel.com
------------------------------------------------------------
Babel wonders: The Rev. Jerry Falwell called the prophet Muhammad a terrorist during an interview aired on
60 Minutes. And exactly why does the media feel like his opinion is noteworthy?
------------------------------------------------------------
Kent Wang | 1 Sep 2004 03:38

Where is this CSS class defined?

I particularly like how the default skin has a horizontal line below each H1,
H2, etc element. I wanted to emulate it for my own site and saw that it uses the
class "firstHeading". Try as I might though, I could not actually find where
"firstHeading" was defined. Could someone please help me with this?

Thanks,
Kent Wang
Thomas Gries | 1 Sep 2004 09:02
Picon
Favicon

bug: left, center positioning of images fail [[Image:ZZZ|thumb|center]]

I found (sorry if I overlooked something), that the positioning of 
thumbnail images is not yet perfectly solved,
see for example http://meta.wikimedia.org/wiki/Sandbox/Thumbs and its 
wiki source code; it is probably related to a not correctly interpreted 
or coded css.

The text of many contributors under "Layout of tables, images"  on page  
http://meta.wikimedia.org/wiki/MediaWiki_1.3_comments_and_bug_reports 
was of no help: the problem of misaligned pictures appears to be 
independent from the presence of categorie links on that page.

Main question:
How can one position a thumb image left or center or right aligned 
(appears to be the default) ?
It's not possible for me, I am using Netscape 7.1; the same effect under 
InternetExplorer 5.5 and 6.0, Classic Skin.

Could someone of the developers please check and perhaps solve this 
problem in a next version. The thumbnail function is a very powerful 
tool of MW - thanks for inventing it.

Tom
Eckhart Wörner | 1 Sep 2004 11:44
Picon

Re: Where is this CSS class defined?

Hello,

Kent Wang schrieb:
> I particularly like how the default skin has a horizontal line below each H1,
> H2, etc element. I wanted to emulate it for my own site and saw that it uses the
> class "firstHeading". Try as I might though, I could not actually find where
> "firstHeading" was defined. Could someone please help me with this?

/style/monobook/main.css:

.firstHeading { margin-bottom:0.1em; } /* (line 236) */

But I think you got there something wrong. .firstHeading is not 
responsible for this line. The line is directly defined for each heading 
independant of a class or id:

h1, h2, h3, h4, h5, h6 { /* (line 93) */
     color: Black;
     background: none;
     font-weight: normal;
     margin: 0;
     padding-top: 0.5em;
     padding-bottom: 0.17em;
     border-bottom: 1px solid #aaaaaa;
}

h3, h4, h5, h6 { /* (line 104) */
     border-bottom: none;
     font-weight: bold;
}
(Continue reading)

Thomas R. Koll | 1 Sep 2004 11:53
Picon
Picon
Gravatar

Re: Slash Wiki

On Tue, Aug 31, 2004 at 06:35:38PM -0700, Malcolm Lawrence wrote:
> Greetings all, 
> 
> I understand that there is a wiki plug in for Slash and I was wondering if there are any Wiki developers who
know enough about Slash to point me to one which works because I'm having a hard time trying to find an
example of one. 

Are you sure to talk about the right wiki-software? This is (ok, actually
it's not) the mailinglist for the Mediawiki software which is used at
Wikipedia.
What do you mean with Slash? Slashcode the software behind /. ?

Maybe this helps:
http://www.onlamp.com/pub/a/onlamp/2002/01/17/slash_plugin.html

ciao, tom
--

-- 
== Weblinks ==
* http://shop.wikipedia.org - WikiReader Internet zu kaufen
* http://de.wikipedia.org/wiki/Benutzer:TomK32
* http://www.hammererlehen.de - Urlaub in Berchtesgaden
Alfio Puglisi | 1 Sep 2004 15:08
Picon
Favicon

Header numbers


Hello,
every now and then I see rendered ==headers== with numbers. That is, the
same number scheme applied to the TOC:

1 this
2 that
2.1 the other

will appear on also on the subsequent text:

1 this
---------
(paragraph)

2 that
---------
(paragraph)

2.1 the other

(paragraph)

Before I file a bug report, is this expected behaviour during some
operations? cache updates? I noticed this on it: and don't know if it
happens on en: and other languages too.

Alfio
Erik Moeller | 1 Sep 2004 16:35
Picon
Picon

Re: Slash Wiki

Thomas-
> What do you mean with Slash? Slashcode the software behind /. ?

Contrary to popular belief, Slash is actually called Slash and not  
Slashcode. Slashcode is the name of the website.

And Slash is a mess. I recommend using a clean codebase like Drupal  
instead, which already has wiki-like functionality and only needs to be  
expanded a bit.

Regards,

Erik
Ævar Arnfjörð Bjarmason | 1 Sep 2004 18:03
Picon
Gravatar

Re: Header numbers

As far as i know it is, and its an option in preferences.

On Wed, 1 Sep 2004 15:08:01 +0200 (MEST), Alfio Puglisi
<puglisi <at> arcetri.astro.it> wrote:
> 
> Hello,
> every now and then I see rendered ==headers== with numbers. That is, the
> same number scheme applied to the TOC:
> 
> 1 this
> 2 that
> 2.1 the other
> 
> will appear on also on the subsequent text:
> 
> 1 this
> ---------
> (paragraph)
> 
> 2 that
> ---------
> (paragraph)
> 
> 2.1 the other
> 
> (paragraph)
> 
> Before I file a bug report, is this expected behaviour during some
> operations? cache updates? I noticed this on it: and don't know if it
> happens on en: and other languages too.
(Continue reading)

Gerard Meijssen | 1 Sep 2004 18:35
Picon

GEMET and Wikipedia

Gemet is the "GEneral Multilingual Environmental Thesaurus". This 
thesaurus is maintained by the European Environment Agency. It contains 
a 5200 + glossary with translations of the words to 20+ languages and 
descriptions in a few. The EEA wants to have this information in a wiki 
format, the data is open content.

Mr Stefan Jensen, the project manager did sent me a mail as I am 
preparing to upload a botanical glossary into wiktionary (I said so on 
the wiktionary list). As the GEMET data is already on-line on the 
internet, and much better structured than the data that I have, I would 
first break my teeth on this one and then progress to my own glossary.

However, I received a mail which shows how much he would appreciate 
cooperation; all kinds of people who have expertise in area's like  
Semantic Web, Ontologies, Thesaury, Topic Maps, XML, RDF, OASIS ... have 
had my mail forwarded. I have created an article on Meta [[GEneral 
Multilingual Environmental Thesaurus]]. I copied the mail to the talk page.

My plans are simple I want to upload this stuff into nl:Wiktionary. I 
also plan to tag them with a [[Categorie:GEMET]]. When I have been 
succesfull, I will also be able to upload it to other wiktionaries. When 
somebody beats me to it, I will only be pleased.

As I have seen many a time on Wikitech stuff about XML etc, it might be 
a good idea to synchronise what GEMET does and what we do. So please 
discuss this preferably on Meta, or on the lists. I have no good idea 
about how difficult this may prove to be.. Again, information on META.

Thanks,
   GerardM
(Continue reading)


Gmane