in 1.3 I edited \templates\xhtml_slim.pt to add/delete items from that left
column.
in 1.4 I'm editing the skin\*.php file to customise the layout.
al.
-----Original Message-----
From: John Spikowski [mailto:support@scriptbasic.info]
Sent: Thursday, 24 March 2005 3:03 p.m.
To: mediawiki-l(a)Wikimedia.org
Subject: [Mediawiki-l] Donate Button - Left Nav
I would like to add a PayPal donation button below the navigation section in
the left frame. Would anyone have some example code they could share?
Thanks in advance !
John
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
In 1.3.x (unsure about 1.4)
in localsettings.php:
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'ogg', 'doc', 'xls',
'bmp', 'pdf', 'zip', 'exe' );
al.
-----Original Message-----
From: Dave Brown [mailto:key88sf@gmail.com]
Sent: Thursday, 24 March 2005 10:21 a.m.
To: mediawiki-l(a)Wikimedia.org
Subject: [Mediawiki-l] Uploading binary files
Hi - is there any way to upload NON-image files, like .zip or .exe to
a wiki page?? The upload link seems to only allow images.
Thanks,
Dave
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Thanks Brion, that was it :-)
Cheers, al.
-----Original Message-----
From: Brion Vibber [mailto:brion@pobox.com]
Sent: Thursday, 24 March 2005 10:17 a.m.
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Switching between mediawiki and another
search engine
Alistair Johnson wrote:
> document.searchform.q = document.searchform.search;
Try:
document.searchform.q.value = document.searchform.search.value;
This seems to work for me, testing in Firefox 1.0.2.
Also, consider using the <form>'s onsubmit handler instead of the
button's onclick.
-- brion vibber (brion @ pobox.com)
Hi all,
I'm building a simplified MediaWiki skin for our Intranet and all is going
well apart from one thing. We want to use the search box to either search
our MediaWiki instance or the Internet (via google).
I have this working under a straight HTML page without any worries, but when
I go to integrate it into the PHP code for our skin it doesn't work. The
code I have is:
<script type="text/javascript" language="JavaScript">
<!--
function ActionDeterminator()
{
if(document.searchform.engine[0].checked == true) {
document.searchform.action = '<?php $this->text('searchaction') ?>';
}
if(document.searchform.engine[1].checked == true) {
document.searchform.action = 'http://www.google.com/search';
document.searchform.method = 'get';
document.searchform.q = document.searchform.search;
}
return true;
}
// -->
</script>
<form name="searchform" action="<?php $this->text('searchaction') ?>"
id="searchform">
<input name="q" type="hidden" value="">
<input type="radio" name="engine" checked>Intranet
<input type="radio" name="engine">The web
<input name="search" type="text"
<?php if($this->haveMsg('accesskey-search')) {
?>accesskey="<?php $this->msg('accesskey-search') ?>"<?php
}
if( isset( $this->data['search'] ) ) {
?> value="<?php $this->text('search') ?>"<?php } ?> />
<input type='image' name="fulltext"
class="searchButton" src="<?php $this->text('stylepath') ?>/<?php
$this->text('stylename') ?>/search.gif" alt="Search"
value="<?php $this->msg('search') ?>" onClick="return
ActionDeterminator();" />
</form>
It's the line "document.searchform.q = document.searchform.search;" that
doesn't appear to being called when run under MediaWiki. Is anyone able to
help me out and check this on their site to see if it's a problem with this
code? If this code works fine elsewhere then it's a problem with the skin
which will be a bit harder to track down :-(
Hoping someone can help.
al.
I'd like to integrate phpBB's user database with my wiki's user database
so my users do not have to register twice. I'm using MediaWiki
1.2.4beta6 (yes I know it's not the newest).
I've looked at the login code, and I can't see an immediately easy way
to do it. I assume I would use the phpBB database for both, but I can't
think of how to integrate the session IDs of phpBB and the cookies of
MediaWiki correctly.
Any help would be greatly appreciated.
Beans-v6
Administrator of the-BEANS.com,
( http://www.the-beans.com/ )
While trying to get an extension to run I got the following in my apache
error logs. The extension worked fine in 1.3.10
[error] PHP Warning: end(): Passed variable is not an array or object
in /home/imbeauje/apache/htdocs/wiki/includes/Parser.php on line 425
[error] PHP Warning: end(): Passed variable is not an array or object
in /home/imbeauje/apache/htdocs/wiki/includes/Parser.php on line 425
[error] PHP Warning: end(): Passed variable is not an array or object
in /home/imbeauje/apache/htdocs/wiki/includes/Parser.php on line 425
[error] PHP Warning: end(): Passed variable is not an array or object
in /home/imbeauje/apache/htdocs/wiki/includes/Parser.php on line 425
[error] PHP Notice: Undefined index: html in
/home/imbeauje/apache/htdocs/wiki/includes/Parser.php on line 373
[error] PHP Fatal error: Unsupported operand types in
/home/imbeauje/apache/htdocs/wiki/includes/Parser.php on line 373
In case it is useful here is my extension:
$wgExtensionFunctions[] = "wfTableSchema";
function wfTableSchema() {
global $wgParser;
$wgParser->setHook( "tableSchema", "renderTableSchema" );
}
function renderTableSchema( $input )
{
global $wgTitle, $wgParser;
$CLASSPATH =
"/home/imbeauje/WEBTEAM/HEAD/mrw/Tools/src/:/home/imbeauje/WEBTEAM/HEAD/mrw/Tools/lib/jconn2.jar";
$title = $wgTitle->getDBkey();
//title is of the form database..tableName. Parse to extract
list($dbName, $tableName) = explode("..", $title);
$dbName = strtolower($dbName);
//then pass as params to java prog that will generate table
$cmd = "/home/imbeauje/j2sdk1.4.2_06/bin/java -classpath $CLASSPATH ".
"com.mizuho.rws.tools.wikiTools.WikiDatabaseTableGenerator $dbName
$tableName";
$output = `$cmd`;
$output = $wgParser->internalParse($output, 0);
return $output;
}
?>
I've also filed this in bugzilla at:
http://bugzilla.wikimedia.org/show_bug.cgi?id=1732
Jc
Dear Customer!
You`ve got 1 VoiceMessage from voicemessage.com website!
Sender: IBM
You can listen your Virtual VoiceMessage at the following link:
http://virt.voicemessage.com/index.listen.php25affv
or by clicking the attached link.
Send VoiceMessage! Try our new virtual VoiceMessage Empire!
Best regards: SNAF.Team (R).
Hello,
since I installed and try a new Wiki-System (V.1 .4.0) there remains one
question:
which way to export articles or other content out of the system ?
In the database I found the "old"-table containing the first article
version.
Is there a smart way to get the raw content of the recent version or
does it need every time compiling each change, that is done ?
I need to export the content for exchanging it with other databased CMS
/ Newssystems.
thanx for replying.
GW
I'm trying to get MediaWiki running and I keep hitting the same problem.
I've tried the 1.3.x builds and the latest 1.4 builds and I get the same
problem each time. I don't think it's a database problem because the
configuration doesn't get that far. I'm able to get other wiki packages
running on this site so I don't think there is an admin problem.
The error I get is this:
Fatal error: Cannot redeclare class namespace in /na/h1/t/tk/tkw4u
/public_html/spacewiki/includes/Namespace.php on line 52
I've looked at the file and at that section of code. There doesn't seem to
be anything I can manually enter there.
Does anyone have any thoughts or ideas of what might be causing this error?
Thanks!
Tim