Heli Retzek | 1 Jan 2005 12:08
Picon

AW: Change wiki.png image?


1)
look up the upload path of the picture you want to set by

"Special - Imagelist"
select your picture, click on the picture --> it re-opens in the browser
window and you can just copy the path from the adress-field of the browser

2) edit localsettings.php "wglogo"
this is how my localsettings look, I have commented the original line out
and put the new picture in

#$wgLogo             = "$wgStylePath/common/images/wiki.png";
$wgLogo             = "/wiki/images/f/fa/Hahnemann.gif";

> -----Ursprungliche Nachricht-----
> Von: mediawiki-l-bounces@...
> [mailto:mediawiki-l-bounces@...]Im Auftrag von David Cruz
> Gesendet: Freitag, 31. Dezember 2004 09:00
> An: MediaWiki announcements and site admin list; =James Birkholz=
> Betreff: Re: [Mediawiki-l] Change wiki.png image?
>
>
> On 12/31/04 12:23 AM, "=James Birkholz=" <j.birchwood@...> wrote:
>
> > What is the best way to put my own image in place of the
> "wiki.png" image?
> > I presume that I can edit all the .css files for the skins, but
> is there a
> > global setting?
(Continue reading)

=James Birkholz= | 1 Jan 2005 16:05
Picon

code inside user editable text?

Is it possible to insert a dynamic data retrieval function into the middle 
of an article? In other words, to allow user edits, but have something in 
the text that calls a query/table building routine. I have some articles 
that need to display data from tables in the same database that I installed 
WikiMedia into. Rather than editing that data into tables by hand, it would 
be so much easier to have a routine build the tables, and have any changes 
to the database reflected in the article automatically.

Alternate ideas might include:
1) putting the logic in the overall page display logic (as part of a 
Special: page?), but would prefer to have it in the main article text, not 
as a footer
2) using links to point to non-wiki pages that display the tables (again, 
prefer to have the data in the main article text, not hidden on other pages

Ideas?

James Birkholz
admin, Posen-L mailing list and website
http://www.Posen-L.com
Jamie Bliss | 1 Jan 2005 17:24
Picon

Re: code inside user editable text?

Write an extension. This allows you to insert the text as HTML style
(<foo></foo>) tags. Meta has an article on it:
http://meta.wikimedia.org/wiki/Write_your_own_MediaWiki_extension

All you need to know is PHP and SQL for the DB queries. You probably
should not use MySQL functions directly, but use the MediaWiki
wrappers (Whithin the Database class). Look at some of the source code
of your version for an idea of how to use it.

On Sat, 01 Jan 2005 09:05:19 -0600, =James Birkholz=
<j.birchwood@...> wrote:
> Is it possible to insert a dynamic data retrieval function into the middle
> of an article? In other words, to allow user edits, but have something in
> the text that calls a query/table building routine. I have some articles
> that need to display data from tables in the same database that I installed
> WikiMedia into. Rather than editing that data into tables by hand, it would
> be so much easier to have a routine build the tables, and have any changes
> to the database reflected in the article automatically.
> 
> Alternate ideas might include:
> 1) putting the logic in the overall page display logic (as part of a
> Special: page?), but would prefer to have it in the main article text, not
> as a footer
> 2) using links to point to non-wiki pages that display the tables (again,
> prefer to have the data in the main article text, not hidden on other pages
> 
> Ideas?
> 
> James Birkholz
> admin, Posen-L mailing list and website
(Continue reading)

Benjamin Morrison (ZetaOne | 1 Jan 2005 23:40

"Frozen MediaWiki"

Hello,

I am currently running MediaWiki 1.4beta3. It was working just fine for 
about 2 weeks and yesterday I got what appeared to be a Frozen Wiki. It 
works with tabs, switches pages, but edits don't show up even after a 
refresh. Yet when you try to re-edit the page it shows the edits. The 
only way I have been able to get it to show the edits is to clear the 
browser cache and hit refresh. Yet I have to do that every time. Any 
ideas what is wrong?

Thanks For Your Time,
Benjamin
Tobin Richard | 2 Jan 2005 03:37
Picon

Re: Change wiki.png image?

Erik Hermansen wrote:

> At 01:23 AM 12/31/2004 -0600, =James Birkholz= wrote:
>
>> What is the best way to put my own image in place of the "wiki.png" 
>> image? I presume that I can edit all the .css files for the skins, 
>> but is there a global setting?
>
>
> You could try changing the value of "$wgLogo" in LocalSettings.php.  
> You could also just overwrite the file at 
> .../skins/common/images/wiki.png.
>

I'd change $wgLogo. Overwriting wiki.png might cause problems (your logo 
being overwritten) when you upgrade the software.

Tobin.
Brion Vibber | 3 Jan 2005 03:18
Picon
Favicon
Gravatar

Re: Restrict editing to registered users?

On Dec 30, 2004, at 11:27 PM, =James Birkholz= wrote:
> Are WikiPedia images blocked from being downloaded?

No.

>  I tried transferring one of mine by "Save image as" but when I try to 
> upload it back up into my wiki, I get an error: "Upload warning The 
> file is corrupt or has an incorrect extension. Please check the file 
> and upload again." I get an "unknow file type" if I try to open the 
> image in Photo Editor.

Did you try downloading it again? Did you look at the file to confirm 
it is corrupt or correct or missing or zero-length etc?

-- brion vibber (brion  <at>  pobox.com)
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l@...
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
=James Birkholz= | 3 Jan 2005 03:35
Picon

Re: Restrict editing to registered users?

I was trying to download from the article pages, but had success when I 
downloaded from the image's page, as per previous answer.

At 06:18 PM 1/2/05, you wrote:
>On Dec 30, 2004, at 11:27 PM, =James Birkholz= wrote:
>>  I tried transferring one of mine by "Save image as" but when I try to 
>> upload it back up into my wiki, I get an error: "Upload warning The file 
>> is corrupt or has an incorrect extension. Please check the file and 
>> upload again." I get an "unknow file type" if I try to open the image in 
>> Photo Editor.
>
>Did you try downloading it again? Did you look at the file to confirm it 
>is corrupt or correct or missing or zero-length etc?
>

James Birkholz
admin, Posen-L mailing list and website
http://www.Posen-L.com
Brion Vibber | 3 Jan 2005 03:39
Picon
Favicon
Gravatar

Re: Restrict editing to registered users?

On Jan 2, 2005, at 6:35 PM, =James Birkholz= wrote:
> I was trying to download from the article pages, but had success when 
> I downloaded from the image's page, as per previous answer.

You probably downloaded the image page's HTML instead of the image, by 
using "Save Linked File As..." or equivalent instead of "Save Image 
As..." or equivalent.

-- brion vibber (brion  <at>  pobox.com)
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l@...
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
=James Birkholz= | 3 Jan 2005 05:09
Picon

Registration merging / template mods / transferring articles

I've been really pleased with my progress as a newbie, especially with 
incorporating my database into displayed tables using the extensions that 
this group told me about.

Here are some additional needs/questions that I would appreciate pointers 
to from those who've gone before...

1) I'll want to merge the registration for the wiki portion with the 
non-wiki existing site. I'm thinking that I need to have all users go 
through the wiki registration and then ask them if they want to record the 
additional info required for the non-wiki portions. So I'll need to modify 
the non-wiki to recognize users that have logged in to the wiki.

2) What is the best way to modify the pages templates? For example, if I 
wanted to add a "Donations" link likes WikiPedia's? Or links to the 
non-wiki sections? Or display the time in Timbuctoo in the bottom left 
corner? Or have a second image randomly selected that morphs out of the 
main logo image? Obviously I'm looking for general pointers, not specific 
solutions here. (That may come later :]  )

3) I've been transferring articles by hand from WikiPedia to my GenWiki, 
but am wondering if there's a better way. I've looked at the WikiPedia's 
data dump downloads instruction pages, but frankly they don't make it seem 
too easy, especially if I'm using a remote web server that I don't admin. 
Is this the case? Besides, even if I could magically transfer the data, I'd 
need to weed out most of it. Also, the storage space would be a problem 
until I weeded. I doubt that it exists, but what would best serve my needs 
would be some spider that given a start page, crawls my GenWiki looking for 
empty articles and then goes to WikiPedia (using approved behavior of one 
page per second, etc) and copies the edit box material and pastes it back 
(Continue reading)

François Van Der Biest | 3 Jan 2005 11:29
Picon

mediawiki upgrade

Hi everyone,

I'd like to upgrade from 1.3.1 to 1.3.9 on our internal network.
First I backup the database :
mysqldump -u root -p wikidb > wiki.db

Then, I follow the normal setup of a fresh install of mediawiki 1.3.9

When I want to restore my old data :
cat wiki.db | mysql -u root -p wikidb
this tells me : "ERROR 1050 at line 11: Table 'archive' already exists"

Indeed, the definition of the table 'archive' seems to be at line 11 of 
file wiki.db, and I guess that the fresh install of mediawiki already 
created such a table.

So my question would be : how do i get my old data back into my new 
install of mediawiki ?

Thank's for any help.

I've been looking through the pages :
http://meta.wikimedia.org/wiki/How_to_become_a_MediaWiki_hacker
http://fr.wikipedia.org/wiki/Wikip%C3%A9dia:Installation_du_logiciel
.... but i could not get any information on this problem.

Gmane