We do this for our Intranet (MediaWiki 1.4 running on IIS) by mapping a
virtual directory to a share. We then can use
[http://ourserver/directory/filename.ext description] to access files that
are on the share.
It's a little clumsy but it works. The added benefit is we can use NTFS
security to restrict access to files (note we also use NTFS authentication
via IIS for wiki authentication).
al.
-----Original Message-----
From: Hamish [mailto:lists@subvs.co.uk]
Sent: Saturday, 16 April 2005 4:21 a.m.
To: mediawiki-l(a)wikimedia.org
Subject: [Mediawiki-l] windows shares
Hello all
I am about to put up a wiki for internal company use, I will be using
mediawiki, but i have just seen that docuwiki has support for windows
shares,
which may be quite useful. Is there a way to implement/use this in
mediawiki?
Thanks,
H
Hello "all",
I have just published my recent version (3.07) of - see subject.
If you are interested in using MediaWiki with e-mail notification for
page and/or user_talk page changes, please consider to visit
http://bugzilla.wikipedia.org/show_bug.cgi?id=454 . You are invited to
add your e-mail address to the CC list of this bugzilla, if you want to
receive always the latest news or to track new releases.
It also introduces direct links to the "difference to my last seen
revision" of pages, you have on your watchlist.
The patch works without "glitches" and is an improved(!) back-port from
what is already in CVS HEAD (version 1.5).
The indicated download URL ( http://www.wikinaut.de/mw/mw141+enea.tgz )
directs you to the version of REL1_4 incl. my additions, which are
listed also on http://meta.wikipedia.org/wiki/Enotif .
Wikinaut Tom
--- Jamie Bliss <astronouth7303(a)gmail.com> wrote:
> On 4/15/05, G Bit <routed2000(a)yahoo.com> wrote:
> > Hi,
> >
> > I am trying to install MediaWiki 1.4.0. The environment is:
> >
> > OS : Solaris 10
> > WebServer : Sun Java WebServer 6.1
> > PHP : 5.0.4 Runs in fastcgi mode using ZendEnabler
> > MySQL : 4.0.x
> >
> > I went through the config section. Moved the Local* from config to
> > its parent. Changed the name of "config" to something else.
> >
> > Now when I load the index.php it just hangs for a few seconds and
> > does nothing. I inserted print statements in index.php and found out
> > that it hangs in this line:
> >
> > $wgOut->output(); (line: 220)
> >
> > How can I debug this. Nothing in PHP logs.
> >
> > Thanks.
>
> First of all, can you include the output of the installation? (I'm
> assuming that this is either an upgrade or a first time, and that this
> exact configuration has not been tried.)
Jamie,
What do you mean by output of installation. After the config, when I go
to the index.php page, it just hangs for a few seconds and browser says
the request is complete, I can see the status at the bottom as "Done". But
no content is loaded.
>
> To answer your question, to debug this, you'd have to delve into the
> include files. I would only recomend doing this if we can not figure
> it out from other sources.
>
> Does PHP log errors? Is there any content recieved? What is it? Can
> you have PHP report all errors/warnings/notices/etc. to the browser
> (HTML or not)? What kind of access do you have to the server?
Yes, all logs and warnings are enabled.
> Based on a priliminary look, I'd say it is an issue with skins, but I
> have been wrong before. To check this, you will need to look in
> ./includes/OutputPage.php, about line #360. That is where the output()
> function is defined.
I will take a look at that also.
Thanks for your help.
> -- Jamie
> -------------------------------------------------------------------
> http://endeavour.zapto.org/astro73/
> Thank you to JosephM for inviting me to Gmail!
> Have lots of invites. Gmail now had 2GB.
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
__________________________________
Do you Yahoo!?
Plan great trips with Yahoo! Travel: Now over 17,000 guides!
http://travel.yahoo.com/p-travelguide
Well, this got a big yawn last time I posted this, so I had to go
digging. I did find out something further: SpecialPopularpages.php
hard-codes for namespace 0.
I had to hack in the following to make it work for all namespaces.
Sorry this isn't in the form of a diff. If this hasn't been done for
1.5, and the powers that be want it so, I'm willing to figure out
enough about CVS to get it into 1.5, but I think I need some
authorization, or at least a little hand-holding.
You can see this work at
http://www.islandseeds.org/wiki/Special:Popularpages
-------- SpecialPopularpages.php, lines 40-53 --------
WHERE cur_is_redirect=0";
// WHERE cur_namespace=0 AND cur_is_redirect=0";
}
function formatResult( $skin, $result ) {
global $wgLang, $wgContLang, $wgCanonicalNamespaceNames;
$link = $skin->makeKnownLink(
($result->namespace ?
($wgCanonicalNamespaceNames[$result->namespace] . ':') : '') .
$result->title,
$wgContLang->convert( $result->title ) );
$nv = wfMsg( "nviews", $wgLang->formatNum( $result->value ) );
return "{$link} ({$nv})";
}
}
Begin forwarded message:
> From: Jan Steinman <Jan(a)Bytesmiths.com>
> Date: 14 April 2005 00:27:19 GMT-07:00
>
> I took a static HTML page that had a CGI-based counter on it, and put
> it in MediaWiki. I then took the count that was on its CGI-based
> counter, and put that in the mw_cur.cur_counter field. Great! It shows
> up on that page with the proper count, and increments with each hit!
> <http://www.IslandSeeds.org>
>
> However, this did not cause it to show up in Special:Popularpages. Is
> there someplace else that the count needs to be stuffed for it to be
> seen by Special:Popularpages?
>
> Thanks!
:::: Nature must, in the not too distant future, institute bankruptcy
proceedings against industrial civilization. -- William Catton
:::: Jan Steinman <http://www.Bytesmiths.com/Van>
Hi,
I am trying to install MediaWiki 1.4.0. The environment is:
OS : Solaris 10
WebServer : Sun Java WebServer 6.1
PHP : 5.0.4 Runs in fastcgi mode using ZendEnabler
MySQL : 4.0.x
I went through the config section. Moved the Local* from config to
its parent. Changed the name of "config" to something else.
Now when I load the index.php it just hangs for a few seconds and
does nothing. I inserted print statements in index.php and found out
that it hangs in this line:
$wgOut->output(); (line: 220)
How can I debug this. Nothing in PHP logs.
Thanks.
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
I would like to know, whether you also like a new feature
- additional user option for Sysops, Developers and Bureaucrats (SDBs)
- configurable through a regular expression (RE) - per SDB.
which sends an Enotif (e-mail notification) to the SDBs on creation of a
new page - if the RE matches.
It can now easily be included in my Enotif 3.x for Mediawiki REL1_4 (1.4.1).
Tom
http://bugzilla.wikipedia.org/show_bug.cgi?id=454http://meta.wikipedia.org/wiki/Enotif
Hello, I want my wiki read a file (.po) and reckoning a string (msgid)
puts the content after (between " ") in a non-editable part,and
reckoning other string (msgstr) puts the content after (between " ")
in an editable part.
I already modified the index.php to enter editing, but I want to
present a s said. I thought first to modify Mediawiki database and add
a new field similar to cur_text and put the two text in cur_text i
cur_text2, but it wouldn't be too maintenable, and I suppose it would
be better using the language, PHP.
As PHP is interpreted I suppose there's nothing similar to debugger
(my experience is almost all with compiled ones). As I don't want to
save the file content in the db, can I do using PHP to read a file,
catch the parts required finding the labels, change them in the
mediawiki main page and write them to an output? Or it's impossible
and better go to modify bd?
Thanks in advance
Jordi
Hi all,
I'm been given permission to introduce a wiki into my department at
work. I've been using mediawiki as a demo to the extent that changing
would be hard now, but one feature I'm afraid will kill the wiki
quickly is the difficulty of uploading files. While I know wikis are
primarily for text content, the first instinct of a new user will be
to share the files he's been producing in his pre-wiki days.
As I understand it, the way to upload files right now is to go to
Special:Upload, click browse, etc. Then you edit a page and use the
[[media:filename|description] syntax. I had one of our most tech
savvy users try this and it was comically hard for him. He picked a
file with a very long file name and spaces. He got a warning about
the renaming and file size that confused him (I can probably configure
this). Then he tried to list the files so he could cut and paste the
file name (this is way beyond most of the potential users) back in the
edit window. This process involved open the file multiple times in
the attempt to highlight it. Then we put brackets around the name.
Forgot it was two instead of one at first, etc.
Is there any easier way to do this? I'd like to have the user not
have to memorize or cut and paste the filename across windows. Where
would I look to alter the button above the editing window. I've never
coded in php before, but have used other scripting languages (python,
perl, etc.).
Any help is greatly appreciated!
Thanks,
Greg
I am trying to install MediaWiki 1.4.0 on 5.3-STABLE FreeBSD 5.3-STABLE
following the instructions at
http://meta.wikimedia.org/wiki/Running_MediaWiki_on_FreeBSD
I have installed all the ports
$ pkg_info | grep apache
apache-2.0.53_1 Version 2 of Apache web server with prefork MPM.
$ pkg_info | grep mysql
mysql-client-4.1.10a Multithreaded SQL database (client)ed by script
will be
mysql-server-4.1.10a Multithreaded SQL database (server) shell is
assumed.
php4-mysql-4.3.11 The mysql shared extension for phply).
$ pkg_info | grep php4
php4-4.3.10_2 PHP Scripting Language (Apache Module and CLI)
php4-ctype-4.3.11 The ctype shared extension for php
php4-extensions-1.0 A "meta-port" to install PHP extensions
php4-iconv-4.3.11 The iconv shared extension for php
php4-mbstring-4.3.11 The mbstring shared extension for php
php4-mysql-4.3.11 The mysql shared extension for php
php4-overload-4.3.11 The overload shared extension for php
php4-pcre-4.3.11 The pcre shared extension for php
php4-posix-4.3.11 The posix shared extension for php
php4-readline-4.3.11 The readline shared extension for php
php4-session-4.3.11 The session shared extension for php
php4-tokenizer-4.3.11 The tokenizer shared extension for php
php4-xml-4.3.11 The xml shared extension for php
php4-zlib-4.3.11 The zlib shared extension for php
$ grep php /usr/local/etc/apache2/httpd.conf
LoadModule php4_module libexec/apache2/libphp4.so
AddType application/x-httpd-php .php .phtml(Apache Module and CLI)
But when I load index.php, I get the following message
MediaWiki 1.4.0 installation
Please include all of the lines below when reporting installation
problems.
Checking environment...
• PHP 4.3.10: ok
• PHP server API is apache2handler; ok, using pretty URLs
(index.php/Page_Title)
PHP's XML module is missing; the wiki requires functions in this
module and won't work in this configuration. If you're running
Mandrake, install the php-xml package.
Hello all
I am about to put up a wiki for internal company use, I will be using
mediawiki, but i have just seen that docuwiki has support for windows shares,
which may be quite useful. Is there a way to implement/use this in mediawiki?
Thanks,
H