How do I stop "What links here" from expanding templates?
For instance:
Page A -> Template:T -> Page B
When I do a "What links here" for Page B, it says Page A references it. It
doesn't. Template T does.
Where this blows up in our wiki is we use templates to provide topical
indices (links to many pages on a specific topic), which we reference at
the bottom of pages. When you do a "What links here" on a page mentioned
in one of those templates, you get a bazillion pages, nearly all of which
don't refer to this page directly, so tracing back-links becomes totally
impractical.
We're back on MediaWiki 1.9.3, but I'm prepared to upgrade if needed to
solve this.
Thanks,
Randall
Try extension addHTML <http://www.mediawiki.org/wiki/Extension:AddHTML>. With this you can add arbitary HTML code to your wiki page.
--Matěj Grabovský
>---------------------------------------------------------
>Od: Charlie Markwick
>Přijato: 8.1.2008 10:52:06
>Předmět: [Mediawiki-l] Links to files
>
>I'm revisiting this problem:-
>
>
>
>Firefox by default prevents access to local links to outside files and
>
>folders. I am running Firefox 2 and have installed LocaLinks which
>
>allows the access. I can get this to work without difficulty the basic
>
>HTML page:-
>
>
>
><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>
>"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>
><html xmlns="http://www.w3.org/1999/xhtml">
>
><head>
>
><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
>
>/>
>
><title>Test Links</title>
>
></head>
>
><a style="color: green;"
>
>href="file:///%5C%5CPDC%5Cusers%5Call%20users%20shared%5C">\\PDC\users\a
>
>ll users shared</a>
>
><body>
>
></body>
>
></html>
>
>
>
>Works fine and opens the folder \\PDC\users\all users shared\" without
>
>problem. However the exact same HTML:-
>
>
>
><a style="color: green;"
>
>href="file:///%5C%5CPDC%5Cusers%5Call%20users%20shared%5C">\\PDC\users\a
>
>ll users shared</a>
>
>
>
>On my wiki pages fails with no error at all just nothing happens. I am
>
>desperate to get this working to roll out some new features. Can anyone
>
>suggest how I might resolve it?
>
>
>
>_______________________________________________
>
>MediaWiki-l mailing list
>
>MediaWiki-l(a)lists.wikimedia.org
>
>http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
>
>
------------------------------------------
http://search.atlas.cz/
I'm revisiting this problem:-
Firefox by default prevents access to local links to outside files and
folders. I am running Firefox 2 and have installed LocaLinks which
allows the access. I can get this to work without difficulty the basic
HTML page:-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
/>
<title>Test Links</title>
</head>
<a style="color: green;"
href="file:///%5C%5CPDC%5Cusers%5Call%20users%20shared%5C">\\PDC\users\a
ll users shared</a>
<body>
</body>
</html>
Works fine and opens the folder \\PDC\users\all users shared\" without
problem. However the exact same HTML:-
<a style="color: green;"
href="file:///%5C%5CPDC%5Cusers%5Call%20users%20shared%5C">\\PDC\users\a
ll users shared</a>
On my wiki pages fails with no error at all just nothing happens. I am
desperate to get this working to roll out some new features. Can anyone
suggest how I might resolve it?
Thanks for everyone's help,
here is the error msg I get from two different wikis we have when trying to
browse the file gallery:
wiki 1:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to
allocate 11424 bytes) in
/home/myglcap2/public_html/usa/wv/ccmswiki/includes/media/Bitmap.php on line
168
wiki 2:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to
allocate 11264 bytes) in
/home/myglcap2/public_html/usa/wv/hsta-manwiki/includes/media/Bitmap.php on
line 168
This might be caused by the imagesize as Grietinus wrote yesterday (Issue
10) I am not sure.
The wikis is setup on a shared server.
The solution I found for it is:
1. Chaning Memory limit from 20M to 40-50M on the following line of
localsetting:
# ini_set( 'memory_limit', '20M' );
2. Going to the file gallery (that works now) and clicking on the thumbnails
3. then lowering the memory back to 20M
Any clues of how to prevent this?
Thanks,
Itay
-----Original Message-----
From: mediawiki-l-bounces(a)lists.wikimedia.org
[mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of
mediawiki-l-request(a)lists.wikimedia.org
Sent: Monday, January 07, 2008 7:00 AM
To: mediawiki-l(a)lists.wikimedia.org
Subject: MediaWiki-l Digest, Vol 52, Issue 10
Send MediaWiki-l mailing list submissions to
mediawiki-l(a)lists.wikimedia.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
or, via email, send a message with subject or body 'help' to
mediawiki-l-request(a)lists.wikimedia.org
You can reach the person managing the list at
mediawiki-l-owner(a)lists.wikimedia.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of MediaWiki-l digest..."
Today's Topics:
1. Re: Is there a way to limit the size of images uploaded
(Grietinus Koops)
2. Mediawiki skin problem (links) (Alain van Acker)
----------------------------------------------------------------------
Message: 1
Date: Sun, 6 Jan 2008 21:47:23 +0100
From: "Grietinus Koops" <grietinus(a)gmail.com>
Subject: Re: [Mediawiki-l] Is there a way to limit the size of images
uploaded
To: "MediaWiki announcements and site admin list"
<mediawiki-l(a)lists.wikimedia.org>
Message-ID:
<5490d0010801061247p4563abcdx2a87d9cb1c286aa3(a)mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
I also encountered this problem.
However it does not seem to be related with the bytesize but more with the
imagesize. Whenever an image exceeds the size of approximately 1600 x 1600
pixels, the "Fatal Out of Memory" errors occur.
It is, as Norbert says, only when Thumbnails are involved...
Kind Regards,
Grietinus
2008/1/5, Norbert Hoeller <nhoeller(a)sinet.ca>:
>
> I have run into problems as well with JPGs exceeding 1MB in size. Symptoms
> include upload confirmation pages that are blank, blank pages displayed
> when previewing/saving Wiki pages with thumbnails of the images, or 'Fatal
> Out of Memory' errors. I have no problems displaying the full-sized
> image.
>
> My MediaWiki installation is on a shared hosting server, which has limits
> on the amount of available memory I can use. My suspicion is that the GD
> code used to create the thumbnails is exceeding available memory - before
> it can create the thumbnail, it first uncompresses the JPG. I have been
> trying to install ImageMagick on the sharing hosting server, but have not
> figured out all the changes required to the Make files so that it will
> install cleanly. Installing just the ImageMagick binaries was not
> successful. There are other, JPG-specific thumbnail conversion routines
> provided with Linux that appear to be less memory-hungry, but I suspect
> that would require changes to the MediaWiki code.
> Norbert
>
>
> > Message from "Emufarmers Sangly" on Fri, 4 Jan 2008 18:09:02 -0500
>
> > This will work, but you might want to find out what's causing the errors
> in
> > the first place and tackle the original problem. What are the warnings
> and
> > errors you're getting? What image renderer are you using?
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
------------------------------
Message: 2
Date: Mon, 07 Jan 2008 12:43:21 +0100
From: Alain van Acker <a.v.a(a)home.nl>
Subject: [Mediawiki-l] Mediawiki skin problem (links)
To: mediawiki-l(a)lists.wikimedia.org
Message-ID: <47821059.5040506(a)home.nl>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi all,
I am trying to alter the monobook skin and I am running into a weird
problem (version 1.5.5).
Some links are still "clickable" while others behave as simple text, but
are displayed in blue.
When I have a look at the source of the webpage, the links are displayed
exactly the same.
The page in question is at
http://gemologyproject.com/wiki/index.php?title=Habit&useskin=test .
The first "form" link is not clickable (first sentence in the Basic
section), while the 2nd "form" link (in the Related Topics section)
works as expected/hoped.
Another strange thing is that I can not highlight the text in the
"Basic" section. I'm sure the two problems are related.
Does anyone have an idea what causes this?
Thanks,
Alain
------------------------------
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
End of MediaWiki-l Digest, Vol 52, Issue 10
*******************************************
Hi all,
I am trying to alter the monobook skin and I am running into a weird
problem (version 1.5.5).
Some links are still "clickable" while others behave as simple text, but
are displayed in blue.
When I have a look at the source of the webpage, the links are displayed
exactly the same.
The page in question is at
http://gemologyproject.com/wiki/index.php?title=Habit&useskin=test .
The first "form" link is not clickable (first sentence in the Basic
section), while the 2nd "form" link (in the Related Topics section)
works as expected/hoped.
Another strange thing is that I can not highlight the text in the
"Basic" section. I'm sure the two problems are related.
Does anyone have an idea what causes this?
Thanks,
Alain
Okay, reviewing http://www.mediawiki.org/wiki/Extension:PageNotice,
which is responsible for the <top-notice-pagename> page contents
<bottom-notice-pagename>, it says to
"...define fixed notice messages for the top or the bottom of each page
... by creating MediaWiki messages ..."
... but I cannot find a reference or example on how to create a system
message! Can anyone be so kind as to direct me to a link showing an
example so that I can implement the extension? Thanks!
I have run into problems as well with JPGs exceeding 1MB in size. Symptoms
include upload confirmation pages that are blank, blank pages displayed
when previewing/saving Wiki pages with thumbnails of the images, or 'Fatal
Out of Memory' errors. I have no problems displaying the full-sized
image.
My MediaWiki installation is on a shared hosting server, which has limits
on the amount of available memory I can use. My suspicion is that the GD
code used to create the thumbnails is exceeding available memory - before
it can create the thumbnail, it first uncompresses the JPG. I have been
trying to install ImageMagick on the sharing hosting server, but have not
figured out all the changes required to the Make files so that it will
install cleanly. Installing just the ImageMagick binaries was not
successful. There are other, JPG-specific thumbnail conversion routines
provided with Linux that appear to be less memory-hungry, but I suspect
that would require changes to the MediaWiki code.
Norbert
> Message from "Emufarmers Sangly" on Fri, 4 Jan 2008 18:09:02 -0500
> This will work, but you might want to find out what's causing the errors
in
> the first place and tackle the original problem. What are the warnings
and
> errors you're getting? What image renderer are you using?
By this time I hv figured out something
Justing playing around with mediawiki and mysql fulltext search- I hv
the following function:
$wgHooks['ArticleSaveComplete'][] = 'getNormalTextfromWikiText';
function getNormalTextfromWikiText(&$article,&$user,&$text)
{
global $wgParser;
$result = $wgParser->parse($text, $wgParser->mTitle,
$wgParser->mOptions);
$new_text= $result->getText();
$dbw =& wfGetDB( DB_MASTER );
$dbw->insert( 'searchable_text',
array(
'page_id' => $article->getID(),
'searchable_text' => $new_text
) );
return true;
}
What I want is to insert normal text to a table and perform a mysql
fulltext search on that table. i.e. if some user enters
[http://en.wikipedia.org/ Link to Wikipedia] in article edit box, I want
to insert "Link to Wikipedia" into my table. The "parse" in my above
function is returning "<p><a href="http://en.wikipedia.org/"
class="external text" target="_blank" title="http://en.wikipedia.org/"
rel="nofollow">Link to Wikipedia</a>
</p>". I don't want that. Simply needs "Link to Wikipedia". How can I
get that?
Regards,
Jack
----------------------------------------------------------------
"May He protect us both. May He cause us both to enjoy.May we exert
together. May our studies become brilliant. May we not hate each other"
-----Original Message-----
From: mediawiki-l-bounces(a)lists.wikimedia.org
[mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Thomas
Dalton
Sent: Thursday, January 03, 2008 7:55 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Parsing raw text
On 03/01/2008, Jack Eapen C <jackec(a)suntecgroup.com> wrote:
>
>
> Suppose I want to parse the text from the edit form and make it like
> html output and insert into a table. i.e. what I want to insert into
> the table is NOT wiki text. I can insert the wiki text with a function
> with "ArticleSaveCOmplete" hook. But in my function first I want to
> process the $text into something like the rendered output and then
> insert into a table.
>
> Can anyone plz tell me which function I can call for this?
I'm not quite sure what you're trying to do. Could you explain in more
detail what you are actually trying to achieve?
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You
Hallo!
I want to use the TeX in my wiki. That is why I want to install it.
But the problem is that I' ve got only webspace. So I can't install
TeX packets on the server.
Are there TeX programms which I only must copy on the webspace?
Or are there other solutions for my problem?
Thanks in advance!
Jack
I need to increase the space between paragarphs in my wiki. Is there a
way to do that? Changing fonts doesn't seem to make a difference.
Also, how to set the colors for unvisited, visited, and broken links.
Thanks.