I installede Treeview4.php in the directory indicated and edited the
LocalSetting.php to include the following:
###############################################################
##added by jwf 02/25/08 to install Treeiew4
include("$IP/extensions/Treeview4.php");
$wgTreeViewImages['plus'] = "Plus.gif";
$wgTreeViewImages['minus'] = "Minus.gif";
$wgTreeViewImages['opened'] = "Folder_opn_sml_yel.gif";
$wgTreeViewImages['closed'] = "Folder_sml_yel.gif";
$wgTreeViewImages['doc'] = "Doc-icon.gif";
$wgTreeViewImages['spacer'] = "Blank.gif";
Now I get this message:
Warning: Cannot modify header information - headers already sent by
(output started at /var/lib/mediawiki/extensions/Treeview4.php:246)
in /usr/share/mediawiki/includes/WebResponse.php on line 10
This seems to happen with a lot of extensions and only goes away when I
remove the extension. The install is to the letter what is supposed to
be done per the author.
Can anyone tell me what the problem is?
Oh yeh: the extension does not work either.
Thanks!!\
frosty
Hi
I would like to set a background image for a table in wikisyntax
(without changing CSS).
I tried:
{| style="background-image:url(http://mydomain.tld/myimage.jpg)"
| Data1
| Data2
|}
but it doesn't work. When i look at the generated html code there is no
attribute generated for <table>. Other attributes (e.g.
background-color:yellow) work perfectly. As soon as i put a
background-image:url(pathtoimage) statement, all other attributes disapear.
Whats wrong here?
Greetings
Ponte
List Members,
let me try to explain what I'm trying to set up. I have two servers.
Let's call them master.example and slave.example. I've set up MySQL on
both, and have replication working from master to slave. Slave is also
running MySQL with --read-only.
I've installed MediaWiki on master and have an rsync cron-job syncing
the installation to slave. In other words, the MediaWiki on master and
slave are *exactly* the same, including LocalSettings.php.
My goal is to have master using it's own database for both reading and
writing and slave to use it's own database for reading and masters
database for writing. I've set up $wgDBservers like this:
$wgDBservers = array(
array(
'host' => 'master.example',
'dbname' => 'wiki',
'user' => 'wiki',
'password' => '********',
'type' => "mysql",
'load' => 0,
),
array(
'host' => 'localhost',
'dbname' => 'wiki',
'user' => 'wiki',
'password' => '********',
'type' => "mysql",
'load' => 1,
),
);
From the rather limited documentation available about $wgDBservers,
it's my understanding that this should result in MediaWiki reading from
the MySQL server at localhost and writing to the MySQL server at
master.example.
I have also disabled page counters by setting $wgDisableCounters = true;
The problem is, if I stop MySQL on master and reload a page on slave, I
get the following error message:
Sorry! This site is experiencing technical difficulties.
Try waiting a few minutes and reloading.
(Can't contact the database server: Unknown error (master.example))
So my question is; why does a simple page load on slave trigger an
attempt to contact the database on master?
In case it's relevant: MediaWiki 1.11.1 on Debian with MySQL 5.0.32.
Bob
I just finished my first extension. It needs work I know, but perhaps
anyone looking for something like this can use it and let me know what
it needs.
It is a very lightweight search suggestion. (under 5k). When typing
into the search box, articles containing those letters or word will be
displayed under the search bar.
http://www.mediawiki.org/wiki/Extension:Search_Suggest
Thank you to everyone who helped make this work.
If you would like to help make this better, I would really love any
help.
I would like to be able to select what you want to choose using the
arrow keys.
Also, I could easily make the suggestions links so anyone could just
click on them.
Hi there,
is there a ready to use way to prevent file upload without an assign licence?
We do not want preload some "common" licence but offer a blank choice and force an input (selection from the list).
Can we avoid source changes?
Uwe (Baumbach)
U.Baumbach(a)web.de
__________________________________________________
GRATIS: Movie-FLAT. Jetzt freischalten!
http://freemail.web.de/club/maxdome.htm/?mc=025557
[Resend from nagios-users(a)lists.sf.net -- I wanted to get opinions from
the other side of the isle]
---
All:
Does anyone have a MW addon or Nagios Check (maybe utilizes the SOAP XML
API) that queries the application-level health of MediaWiki.
Something above & beyond simple check_http. Validate the backend
database functionality etc..
A simple wiki-side addon could use HTTP return codes and relay
performance data (count the articles, users, etc.)
Thoughts? Discussion?
~BAS
by Florian Poeck (EDV) - Kniel System-Electronic GmbH
Hi Kilian,
that was exactly what i was looking for.
Thank you very much for the quick & good response.
Best regards
Florian
--
- Stromversorgungen für industrielle Anwendungen -
Kniel System-Electronic GmbH
Postfach 210849 - 76158 Karlsruhe - Deutschland
Telefon +49 721 95920 - Fax +49 721 9592100
www.kniel.de
-
Geschäftsführer:
Dipl. Ing. (FH) Helmut Kniel
Dipl. Ing. (FH) Dieter Bretschneider
Hannelore Gob
USt-ID: DE 143 598 834
registriert beim Amtsgericht Mannheim, HRB 101538