Eric K | 1 Oct 2006 07:56
Picon
Favicon

Image Markup - How do disable the link to the image?

Is there a way to disable the link to an image? When I
write [[Image:myimage50.jpg]] on certain pages, I dont
want the user to have his mouse change its hover icon
and have a link to the image. This is not needed for
the user in this certain case case.

Is there a way I can use a "nolink" tag and disable
the link? e.g.:

[[Image:myImage50.jpg|NoLink]]

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
jeremiah johnson | 1 Oct 2006 08:57
Picon

Re: Image Markup - How do disable the link to the image?

edit the Image template?

On 10/1/06, Eric K <ek79501@...> wrote:
> Is there a way to disable the link to an image? When I
> write [[Image:myimage50.jpg]] on certain pages, I dont
> want the user to have his mouse change its hover icon
> and have a link to the image. This is not needed for
> the user in this certain case case.
>
> Is there a way I can use a "nolink" tag and disable
> the link? e.g.:
>
> [[Image:myImage50.jpg|NoLink]]
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l@...
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
Sy Ali | 1 Oct 2006 10:38
Picon

Re: robots.txt

On 9/25/06, Roger Chrisman <roger@...> wrote:
> But in the interest of short URLs, I serve my MediaWiki directly from
> site / without any /wiki/ or /w/ directories. So above meathod would
> not work on my installation.
>
> Any ideas how I can exclude robots from crawling all my wiki's edit,
> history, talk, etc, pages *without* excluding its article pages?

I do the same thing, and I never did figure out the rules to disallow
the other sub-pages.

As I understand, there are "nofol" tags within the web pages itself,
but I'm not certain that's being honoured.
Šerých Jakub | 1 Oct 2006 10:58
Picon
Favicon

Re: Include HTML page

Isn't it better idea to create an article (statical wiki page) with the table
you need, find the apropriate record in the mysql database and modify this
record from bash script?

Jakub

> -----Original Message-----
> From: mediawiki-l-bounces@...
> [mailto:mediawiki-l-bounces@...]On Behalf Of Eagleone
> Sent: Friday, September 29, 2006 1:36 AM
> To: mediawiki-l@...
> Subject: [Mediawiki-l] Include HTML page
> 
> 
> Is there anyway to include (dinamically) an HTML page inside 
> a MediaWiki page?
> 
> What I'd like to do is update a table with a cron bash script. I don't
> have an idea of how edit from a bash script a wiki page, but I can
> edit an html file on my web server and make mediawiki include it.
> 
> Is it there any other way of doing it?
> 
> Thanks,
> Andrea
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l@...
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
> 
(Continue reading)

Šerých Jakub | 1 Oct 2006 12:20
Picon
Favicon

Re: Image Markup - How do disable the link to the image?

Take a look at: 
http://en.wikipedia.org/wiki/Template:Click

Isn't it just what you need?

Jakub 

> -----Original Message-----
> From: mediawiki-l-bounces@...
> [mailto:mediawiki-l-bounces@...]On Behalf Of Eric K
> Sent: Sunday, October 01, 2006 7:56 AM
> To: mediawiki-l@...
> Subject: [Mediawiki-l] Image Markup - How do disable the link to the
> image?
> 
> 
> Is there a way to disable the link to an image? When I
> write [[Image:myimage50.jpg]] on certain pages, I dont
> want the user to have his mouse change its hover icon
> and have a link to the image. This is not needed for
> the user in this certain case case.
> 
> Is there a way I can use a "nolink" tag and disable
> the link? e.g.:
> 
> [[Image:myImage50.jpg|NoLink]]
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
(Continue reading)

Matt Hucke | 1 Oct 2006 15:28
Favicon
Gravatar

Re: Include HTML page

You can modify a Wiki article programmaticly with Perl and 
CMS::MediaWiki.  The latest release of this module includes a getPage() 
function (which I contributed), and it has always had editPage().

my $lines = $wiki->getPage(title => '/foo');
foreach my $line ( <at> $lines)
{
    ...edit stuff here...
}
$wiki->editPage (title => '/foo', text => join("\n",  <at> $lines) );

On www.novaroma.org I use it to do a random daily image on the main 
page.  The data file (a table of image locations and captions) is a wiki 
page that any of our editors can modify as usual.  It is fetched and 
parsed, with a random record selected, and from this the template that 
provides random images for the main page is parsed.  Script is available 
on request.

>Isn't it better idea to create an article (statical wiki page) with the table
>you need, find the apropriate record in the mysql database and modify this
>record from bash script?
>
>Jakub
>
>  
>
>>-----Original Message-----
>>From: mediawiki-l-bounces@...
>>[mailto:mediawiki-l-bounces@...]On Behalf Of Eagleone
>>Sent: Friday, September 29, 2006 1:36 AM
(Continue reading)

Emufarmers Sangly | 1 Oct 2006 16:13
Picon

Re: Image Markup - How do disable the link to the image?

I think the tags you're looking for are <nowiki></nowiki>; wiki code is not
parsed within them: In other words, you can have it displayed as text,
rather than being turned into a link, bolded, or whatever.

On 10/1/06, Eric K <ek79501@...> wrote:
>
> Is there a way to disable the link to an image? When I
> write [[Image:myimage50.jpg]] on certain pages, I dont
> want the user to have his mouse change its hover icon
> and have a link to the image. This is not needed for
> the user in this certain case case.
>
> Is there a way I can use a "nolink" tag and disable
> the link? e.g.:
>
> [[Image:myImage50.jpg|NoLink]]
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l@...
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>

--

-- 
Emufarmers Sangly
Pirate, Cowboy,
(Continue reading)

Eric K | 1 Oct 2006 18:57
Picon
Favicon

Re: Image Markup - How to disable the link to the image?

Editing the Image template/Parser.php to include an
optional "Nolink" tag is a big task. I dont know how
to make the edits of that scale in the code.
I really wish this was an option. Sometimes we want to
put an image in the page (while using the [[Image:]]
code) but we dont want the image to link to anything.
It seems like the "Click Template" actually adds a
link on the image, is that right? I want to remove all
the links to the image.
I cant use the "nowiki" code eithers, thats not what I
want.

What I want simple is that the following:
[[Image:myimage50.jpg|NoLink]]
would produce an image that cant be clicked with the
mouse. Its just like a regular common image on the
web.
It looks like this is going to require extensive
editing on Parser.php so "NoLink" can be parsed just
like "left" or "thumb".

thanks
Erik

> edit the Image template?

On 10/1/06, Eric K <ek79501 at yahoo.com> wrote:
>> Is there a way to disable the link to an image?
When I
>> write [[Image:myimage50.jpg]] on certain pages, I
(Continue reading)

Neil Jones | 1 Oct 2006 21:06
Picon
Picon

reseting mysql root password

I forgot my mysql root password on a system I am working on.
I reset it without any trouble, but now the wiki won't work because it
does not know the new password.
I have googled around to no avail so could someone please tell me how to
reset the password inside the wiki so that it works again.

Neil Jones
Neil@...
Emufarmers Sangly | 1 Oct 2006 20:38
Picon

Re: reseting mysql root password

It's in LocalSettings.php; look for $wgDBserver.

On 10/1/06, Neil Jones <neil@...> wrote:
>
> I forgot my mysql root password on a system I am working on.
> I reset it without any trouble, but now the wiki won't work because it
> does not know the new password.
> I have googled around to no avail so could someone please tell me how to
> reset the password inside the wiki so that it works again.
>
> Neil Jones
> Neil@...
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l@...
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>

--

-- 
Emufarmers Sangly
Pirate, Cowboy,
Hellraiser

Gmane