Guys,
I have a private Wiki, which is indexed for by our corporate search
engine.
Is there a way to exclude the Search engine hits on the 'Page Views' stats
- so this statistic is for only 'real' visits to pages in the Wiki ?
Jon
-----------------------------------------------------------
This e-mail was sent by GlaxoSmithKline Services Unlimited
(registered in England and Wales No. 1047315), which is a
member of the GlaxoSmithKline group of companies. The
registered address of GlaxoSmithKline Services Unlimited
is 980 Great West Road, Brentford, Middlesex TW8 9GS.
-----------------------------------------------------------
I want to moving all pages in a certain namespace (about 60 pages) into
the the "main" namespace. I couldn't find how to do this, so I tried
exporting the pages and importing them and I ran into all sorts of
problems. Is there a way to do what I want without using the import and
export features (and without having to move each of them manually)?
Thanks.
Hello everyone !
I wrote some python scripts outputting images (svg format - I'm using
matplotlib).
My mediawiki is running on a closed intranet at this url :
http://wiki/mediawiki/index.php
I can show my image at this url : http://wiki/cgi-bin/my_script.py
So, I wonder how to show this image on a page of the wiki (assuming
that I'm a random registered user of the site, that I'm editing some
page and that I know the name of the script).
Obviously I can't upload the image -> [[Image:my_script.py]] won't
work (as far as I know)
Using an external link works : [http://wiki/cgi-bin/my_script.py] but
I don't like to use an hard-coded url as the website url is subject to
change.
(little question : I'm just seeing the link and not the image, does
someone remember the option to set in order to see externally linked
images ?)
Finally, Is there any other smarter way to do this ?
Thanks ! :)
Maxime
ps: I apologize for my english (I'm french), feel free to correct my text.
pps : I'm using :
MediaWiki 1.15.1
PHP 5.3.0 (apache2handler)
MySQL 5.1.37-community-log
Windows XP Pro
Hey list,
I have an IRC bot. I'm integrating the mediawiki RC announcement into
the bot by having it listen on a UDP ip/port, parsing the incoming
message, then announcing it on IRC.
I'm having trouble in the "parsing" part of that. The RC announcement
message sent from MW is very messy, with random numbers and other
characters mixed in. I've been trying to write a regex to group this
into the Username, the edit reason, the page edited, and the URL of
the diff....but I'm having quite a bit of trouble.
I have this in my LocalSettings.php:
$wgRC2UDPAddress = '127.0.0.1';
$wgRC2UDPPort = '1223';
$wgRC2UDPPrefix = 'Wiki: ';
The string sent to the socket is something like:
Wiki: 14[[07To Do14]]4 10
02http://domain.tld/wiki/index.php?diff=230&oldid=201 5* 03Username 5*
(-45) 10Removed IRC line; added something else
The regex I wrote works when I test it by putting the above text into
a string and applying the regex. However, it DOES NOT work when I
actually run the bot and parse the data coming over the socket. I'm
not sure why it acts like this. I first thought it had to do with line
endings, but I tried removing the ^ and $, as well as setting the "m"
flag, for multi-line (where . matches linebreaks as well).
The regex I have now is:
/Wiki: [0-9]{2}\[\[[0-9]{2}(.+)[0-9]{2}\]\].*(http:\/\/domain.tld\/wiki\/index.php.+)
[0-9]\* [0-9]{2}(.+) [0-9]\* .+ [0-9]{2}(.*)/
Note, this is a PCRE regex.
And again, it works fine when I'm testing it against a string of the
text, but not the actual data being sent over the socket. I have no
idea why.
Is there some sort of generic regex that is available somewhere for
parsing this text? Or what? Why does MediaWiki choose such a messy
string to use as the announcement? It just seems odd to me and very
troublesome.
Thanks for the help.
No joy. I copied the file as you described, restarted the Apache server, then reloaded the phpinfo but still no MySQL section.
I'm going to remove everything and reinstall using the suggestion of Evelyn Yoder.
Thanks for you interest.
--
Charles Knell
cknell(a)onebox.com - email
-----Original Message-----
From: Eric <eric.henn(a)gmail.com>
Sent: Sat, 12 Sep 2009 08:28:40 -0700
To: MediaWiki announcements and site admin list <mediawiki-l(a)lists.wikimedia.org>
Subject: Re: [Mediawiki-l] MediaWiki 1.15.1 on Vista Home Premium Edition install error
Did you try copying the libmysql.dll file to system32 folder? The MYSQL
section did not show up until I did that on my test pc.
cknell(a)onebox.com wrote:
> I checked the log. There is no indication of any problems there. I have never received an apache-specific error.
>
> According to the installation instructions I'm using, I have created a PHP page that calls the phpinfo() function which returns a page listing the configuration particulars for my set up.
>
> When I run that PHP info page, there is no section concerning MySQL. Others have told me there should be one. MySQL is referenced many times in other sections of the output, always pointing to the correct directory and never commented out.
>
> Part of that output reads:
>
> ;Default port number for mysql_connect(). If unset, mysql_connect() will use
> ;the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
> ;compile-time value defined at MYSQL_PORT (in that order). Win32 will only look
> ;at MYSQL_PORT.
> mysql.default_port >
> Now, I'm confused by $MYSQL_TCP_PORT. Is this an environment variable? It doesn't have the format for a Windows environment variable, but I don't know what else it might be.
>
> There is no entry in /etc/services connected with MySQL.
>
> Likewise, what does MYSQL_PORT refer to
>
> Is any of that relevant to my situation?
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>From the hook ArticleSave, we can access the new text that is going to be saved into the page. Is there a hook that lets us access the new and the old text?
The instructions at that link refer to Windows XP. I am running Vista Home Premium. Which version of Windows are you running?
--
Charles Knell
cknell(a)onebox.com - email
-----Original Message-----
From: Evelyn Yoder <eyoder(a)gmail.com>
Sent: Fri, 11 Sep 2009 20:36:34 -0700
To: "'MediaWiki announcements and site admin list'" <mediawiki-l(a)lists.wikimedia.org>;<cknell(a)onebox.com>
Subject: RE: [Mediawiki-l] MediaWiki 1.15.1 on Vista Home Premium Editioninstall error
Hello -
I had success installing MW 1.15 using these instructions:
http://lifehacker.com/163707/geek-to-live--set-up-your-personal-wikipedia
And, I installed this flavor of WAMP: http://www.wampserver.com/en/
Hope it works for you.
Evelyn
---------------
Evelyn Yoder
Technical Communications
-----Original Message-----
From: mediawiki-l-bounces(a)lists.wikimedia.org
[mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of
cknell(a)onebox.com
Sent: Friday, September 11, 2009 5:09 PM
To: mediawiki-l(a)lists.wikimedia.org
Subject: Re: [Mediawiki-l] MediaWiki 1.15.1 on Vista Home Premium
Editioninstall error
Has anyone got Mediawiki to work on Windows Vista Home Premium Edition?
--
Charles Knell
cknell(a)onebox.com - email
-----Original Message-----
From: cknell(a)onebox.com
Sent: Wed, 09 Sep 2009 09:03:54 -0400
To: mediawiki-l(a)lists.wikimedia.org
Subject: Re: [Mediawiki-l] MediaWiki 1.15.1 on Vista Home Premium Edition
install error
Thank you for your reply.
> in the PHP.ini file that gets loaded, there is a setting that specifies
> where the extensions are...
> For example on my system (PHP 5.3 installed via WAMPServer) it is ...
> extension_dir = "e:/wamp/bin/php/php5.3.0/ext/" (Im running on Windows)
o My installation is running on (or failing to run on) Windows Vista Home
Premium.
o My PHP installation is at D:\php and the extensions are in D:\php\ext.
o The PATH system variable shows that D:\php\ext is included.
o In the php.ini file, the extension_dir is set with this entry:
extension_dir=D:\php\ext
> Also remember that there may be several PHP.ini files
o My computer has exactly one php.ini file. It is located at d:\php\php.ini.
I have verified this by using the file explorer's find file function.
> If you enter the following in your webbrowser, you'll see what the PHP
> info is being used for the webserver (which is what matters to MediaWiki).
o This reports that the Loaded Configuration File is D:php\php.ini.
--
Charles Knell
cknell(a)onebox.com - email
-----Original Message-----
From: Jon.G.Bartlett(a)gsk.com
Sent: Wed, 9 Sep 2009 12:15:14 +0100
To: "MediaWiki announcements and site admin list"
<mediawiki-l(a)lists.wikimedia.org>
Subject: Re: [Mediawiki-l] MediaWiki 1.15.1 on Vista Home Premium Edition
install error
Charles,
in the PHP.ini file that gets loaded, there is a setting that specifies
where the extensions are...
For example on my system (PHP 5.3 installed via WAMPServer) it is ...
extension_dir = "e:/wamp/bin/php/php5.3.0/ext/" (Im running on Windows)
Also remember that there may be several PHP.ini files - one that the PHP
command line uses, and one that Apache (etc) uses.
If you enter the following in your webbrowser, you'll see what the PHP
info is being used for the webserver (which is what matters to MediaWiki).
http://localhost/?phpinfo=1
(PS, replace localhost with the name of your webserver if not local).
I hope this helps,
Jon
"Platonides" <Platonides(a)gmail.com>
Sent by: mediawiki-l-bounces(a)lists.wikimedia.org
08-Sep-2009 23:53
Please respond to "MediaWiki announcements and site admin list"
<mediawiki-l(a)lists.wikimedia.org>
To
mediawiki-l(a)lists.wikimedia.org
cc
Subject
Re: [Mediawiki-l] MediaWiki 1.15.1 on Vista Home Premium Edition install
error
cknell(a)onebox.com wrote:
> Tell me if I understand correctly.
>
> In order to use MySQL, PHP must load the extension php_mysql.dll.
>
> This file is located in the "ext" subdirectory one level down from the
root of the php install directory.
>
> In order to load this file, the directory must be in the search path. On
my computer, the directory is d:\php\ext
>
> If I see "d:\php\ext" in my search path ( I type "echo %PATH%" and
<Enter> at a command window prompt to see it.), then PHP should be able to
load this .dll.
I don't think php does it, although if it's in the PATH php may also get
it.
PHP configuration is at file php.ini
Php should load php_mysql.dll when you have extension=php_mysql.dll on
the appropiate section there.
It expects to find that file at the folder pointed by extension_dir
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-----------------------------------------------------------
This e-mail was sent by GlaxoSmithKline Services Unlimited
(registered in England and Wales No. 1047315), which is a
member of the GlaxoSmithKline group of companies. The
registered address of GlaxoSmithKline Services Unlimited
is 980 Great West Road, Brentford, Middlesex TW8 9GS.
-----------------------------------------------------------
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l