As for implementing it in the software as an configurable option, I
think it's a good thing. But I think it would a shame to institute
this in blanket form on Wikipedia itself.
My experience is that spam gets cleaned up very quickly.
Conversely, I find pleasure in adding legitimate external links,
knowing it will help raise the page rank of those sites.
Yes I have installed ocaml. Can you suggest me how to test the
expression from say a command line.
-----Original Message-----
From: wikitech-l-bounces(a)wikimedia.org
[mailto:wikitech-l-bounces@wikimedia.org] On Behalf Of Tomasz
Wegrzanowski
Sent: Wednesday, January 19, 2005 10:51 AM
To: Wikimedia developers
Subject: [<SPAM>] - Re: [Wikitech-l] Problem in conversion of Formula on
Wiki - Email found in subject
On Wed, Jan 19, 2005 at 10:38:43AM +0100, Verma Atul (extern) wrote:
> Hi,
>
> I have installed Wiki server on Windows platform, and I have
configured
> the wiki server as per the guidelines provided in Running Media Wiki
on
> Windows. But now when I give a mathematical expression like:
>
> <math>\sqrt{2}</math>
>
> and try to preview the page to see the results I get an error given
> below:
>
> Failed to parse (PNG conversion failed; check for correct installation
> of latex, dvips, gs, and convert): \sqrt{2}
>
> I tried to run the commands latex, dvips and convert from command
line,
> they run perfectly fine. I'm not able to understand what the problem
is?
> Please suggest asap.
Have you checked if ocaml is installed ?
It's needed to compile texvc.
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/wikitech-l
such a major change should be discussed thouroughly before implementation in
MW1.4. I don/t think this is a good idea. Read my blog where I explain why
this technique could lead to fuirther commercialisation of the Internet:
http://nsk.wikinerds.org/blog/index.php?p=118
[MediaWiki-CVS] phase3 RELEASE-NOTES,1.40.2.119,1.40.2.120
From:
Brion Vibber <vibber(a)users.sourceforge.net>
To:
mediawiki-cvs(a)wikimedia.org
Date:
Today 11:58:41
Update of /cvsroot/wikipedia/phase3
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9436
Modified Files:
Tag: REL1_4
RELEASE-NOTES
Log Message:
* Add $wgNoFollowLinks option to add rel="nofollow" on external links (on by
default)
Index: RELEASE-NOTES
===================================================================
RCS file: /cvsroot/wikipedia/phase3/RELEASE-NOTES,v
retrieving revision 1.40.2.119
retrieving revision 1.40.2.120
diff -C2 -d -r1.40.2.119 -r1.40.2.120
*** RELEASE-NOTES 19 Jan 2005 03:53:00 -0000 1.40.2.119
--- RELEASE-NOTES 19 Jan 2005 09:58:38 -0000 1.40.2.120
***************
*** 257,260 ****
--- 257,262 ----
* Call-tree output mode for profiling
* (bug 730) configurable $wgRCMaxAge; don't try to update purged RC entries
+ * Add $wgNoFollowLinks option to add rel="nofollow" on external links
+ (on by default)
=== Caveats ===
_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS(a)wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-cvs
--
NSK
http://portal.wikinerds.org
Hi,
I have installed Wiki server on Windows platform, and I have configured
the wiki server as per the guidelines provided in Running Media Wiki on
Windows. But now when I give a mathematical expression like:
<math>\sqrt{2}</math>
and try to preview the page to see the results I get an error given
below:
Failed to parse (PNG conversion failed; check for correct installation
of latex, dvips, gs, and convert): \sqrt{2}
I tried to run the commands latex, dvips and convert from command line,
they run perfectly fine. I'm not able to understand what the problem is?
Please suggest asap.
Regards
Atul Verma
Hi,
"Kate's tools" are currently not available - I am searching for some
information about it because I want to cite it in my Wikipedia research
paper. Most important: Who is kate (full name)? Here is the paragraph I
want to write:
---------
You can easily create user profiles out of the list of all user
contributions but de-personalisation is absolutely necessary because of
privacy. Kate .... wrote a tool where every Wikipedia user can watch his
profile graphically and make it available if he wants[1].
[1] See http://wikimedia.org/~kate/ for a link to "count number of edits
from a user". The application is currently not online because of server
problems.
------------
You can also correct my bad English!
I am also interested in "Six degrees of Wikipedia". If you could take a
random sample of well...around 1.000 article pairs and send me a
histogram of distances - that would be *really* great!
Thanks a lot,
Jakob
I want to announce the new release 1.1 of the fulltext indexing and
retrieving engine ioda. It has three major improvements:
- now handles UTF-8.
- direct PHP integration through import lib
(Interfaces to C, Perl and Python are still available)
- returns alternatively search results in records (structs)
or as CSV formatted strings.
ioda can be found under http://ioda.sourceforge.net/
ioda runs since august 2004 under http://lexikon.rhein-zeitung.de/
try
http://lexikon.rhein-zeitung.de/lexikon.html?q=(Albert%20or%20Alfred)%20and…
ioda indexes a complete german encyclopedia (32 million occurencies of
1.7 million different words) in approx. 50 minutes. En-wikibook (3
million occurencies of 200.000 different words) will be indexed in 3
minutes (Both on a dual Athlon processor machine with 1 GB of RAM). ioda
can update entries in real time.
Cheers
jo
Hello,
A wiki is probably the best way to share documents and informations...
why not **structured** informations, like xml ?
PROBLEMS
Allowing xml tags is different from html or xhtml tags in one aspect:
namespaces.
1)Namespaces appear in:
- the tags (exemple: tei:page, dc:title, rdf:Alt, doc:formula ...)
- the attributes (xml:lang, ...)
- in the css example:
rdf\:li.block {display: block; font-weight: bold;}
2)Namespaces Declarations appear in:
- the main __html__ tag of the html/xhtml document
*exemple:
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:jw="http://jspwiki.org"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:tei="http://www.tei-c.org/" >
*Actual difficulty:
a list of allowed namespaces doesn't only come to allow the tag, but
also fill the template html tag with the namespace and its refered url
- any tag
*Actual difficulty:
Mediawiki recognises a link in the namespace declaration and thus
transformes it :
<my:tag xmlns:my="http://my.url"> BECOMES <my:tag xmlns:my="<a
href=" http://my.url="" class="external"
title="http://my.url">http://my.url">
- in the css
at the top (not yet compulsory as far as I know):
@namespace tei url(http://www.tei-c.org/);
SOLUTIONS
1) BARBARIAN solution:
commenting the a good deal of the mediawiki/include/parser.php function
removeHTMLtags( $text )
2)Future maybe
As for today, the white list of tags and attributes doesn't support
addition of namespace tags (tei:page) nor just namespace (tei).
QUESTIONS
Has any one an idea of how to implement an "allow xml namespace" system
in Mediawiki?
François Parlant
Hi everyone,
I am having currently to manage a big project that will relies on MediaWiki.
Basically I have a linux server (let's call it Pserv for Primary) with many
people having an account on it and those people will be the 'wiki' users.
For security reasons (PHP), mediawiki lies on a different machine (let's
call it Wserv for Wiki).
The project requires the wiki modifications to be restricted to the people
having an unix account on Pserv, and all modification should be
systematically authentified with the Pserv login. If an account is erased on
Pserv, then the associated user should not be able to modify the wiki on
Wserv any more.
Some thoughts:
- there are a lot of people (several thousands) to handle. Dupplicating on
Wserv the user management already done for Pserv is not a reasonnable
option.
- the authentification scheme of MediaWiki will have to be modified. The
idea is somehow to delegate the authentification task to Pserv (also
handling the case where a MediaWiki account needs to be created).
Question: how do I achieve that? Has anyone any experience with such a
situation?
Joannès
>First, update your code to the current 1.3.9 if you haven't already.
OK, I did, but things still aren't working.
My .htaccess file reads as follows:
# Don't rewrite requests for files in subdirectories,
# PHP files, HTTP error documents, favicon.ico, or robots.txt
# RewriteMap ampescape int:ampescape
RewriteCond %{REQUEST_URI} !^/(stylesheets|images|skins)/
RewriteCond %{REQUEST_URI} !^/(redirect|texvc|index).php
RewriteCond %{REQUEST_URI} !^/error/(40(1|3|4)|500).html
RewriteCond %{REQUEST_URI} !^/favicon.ico
RewriteCond %{REQUEST_URI} !^/robots.txt
# Rewrite http://www.sourcewatch.org/article properly
RewriteRule ^/(.*)$ /index.php/$1 [L,QSA]
I get an infinite redirect loop with the following in LocalSettings.php:
$wgSitename = "SourceWatch";
$wgServer = "http://www.sourcewatch.org";
$wgScriptPath = "";
$wgScript = "$wgScriptPath/index.php";
$wgRedirectScript = '$wgScriptPath/redirect.php';
$wgStyleSheetPath = '$wgScriptPath/stylesheets';
$wgUploadPath = '$wgScriptPath/images';
$wgLogo = "{$wgUploadPath}/wiki.png";
$wgMathPath = "{$wgUploadPath}/math";
$wgArticlePath = "$wgScriptPath/$1";
$wgStylePath = "$wgScriptPath/stylesheets";
My site works (but with ugly URLs) if I replace wgArticlePath with
the following:
$wgArticlePath = "$wgScript?title=$1";
I get the same results when I change the RewriteRule in .htaccess to:
RewriteRule ^/(.*)$ /index.php?title=$1 [L,QSA]
Can you tell me what I'm doing wrong? I've been chasing this problem
in circles now for several hours.
--Sheldon Rampton
Hello all,
I've had difficulty enabling EasyTimeline in MediaWiki.
It is on Windows Server 2003 with The Saint WAMP.
It appears to be activated, but I get the following error:
Timeline error: Executable not found. Command line was: "D:\Program
Files\TSW\Apache2\perl\bin\perl.exe" "D:\Program
Files\TSW\Apache2\htdocs\mediawiki\extensions\timeline\EasyTimeline.pl" -i
"D:\Program
Files\TSW\Apache2\htdocs\mediawiki\images\timeline\ |
d12a83ed39e720e3d4eb41241afdef3d"
-m -P "D:\Program Files\TSW\Apache2\bin\pl.exe" -T "D:\Program
Files\TSW\Apache2\htdocs\mediawiki\images\tmp" -A "/mediawiki/index.php/$1"
I'm a rank beginner with this stuff and I've found the whole forward slash
back slash thing difficult to navigate on the Windows system. I don't think
the scripts handle it seamlessly.
I've tweaked the scripts to try to get it to work, but I always get this
error - not surprising since it appears to be a catch all error message when
the command line returns "".
I eventually found the EasyTimeline.pl v1.12 and Timeline.php 1.7 in CVS.
Any hints on where I might have made a misstep would be greatly
appreciated...
For what it's worth, here's a snippet from the Timeline.php script as it
stands:
if ( ! ( file_exists( $fname.".png" ) || file_exists( $fname.".err" ) ) )
{
$handle = fopen($fname, "w");
fwrite($handle, $timelinesrc);
fclose($handle);
$cmdline = wfEscapeShellArg( $wgTimelineSettings->perlCommand,
"D:\\Program
Files\\TSW\\Apache2\\htdocs\\mediawiki\\extensions\\timeline\\EasyTimeline.pl")
.
" -i " . wfEscapeShellArg( $fname ) . " -m -P " . wfEscapeShellArg(
$wgTimelineSettings->ploticusCommand ) .
" -T " . wfEscapeShellArg( $wgTmpDirectory ) . " -A " .
wfEscapeShellArg( $wgArticlePath );
$ret = `{$cmdline}`;
unlink($fname);
if ( $ret == "" ) {
// Message not localized, only relevant during install
return "<div id=\"toc\"><tt>Timeline error: Executable not found. Command
line was: {$cmdline}</tt></div>";
}
Cheers,
Andrew