I just started using mediawiki, and it is pretty cool. Often time I
want to create many pages with the same outline, so I'd like to use
templates.
To do this I went to http://example.com/wiki/Template:Project, and
created a page.
Now everytime I want to start a new page I want to create a new
project page I want it to
inherit everything from Template:Project.
I tried calling {{Project}} from within the newly created page, but
this sort of creates a link
to the Template:Project. If I modify something in this page it
modifies Template:Project.
I just want the new page to inherit everything from project, so I can
continue to edit the new page. I don't want to modify the template.
Any ideas ?
TIA,
rouble
--
"A door is what a dog is perpetually on the wrong side of." - Ogden Nash
Hello,
I hope this creates a little bit more hype about MediaWiki.
I have just finished modifying Ilya Haykinson's
<http://en.wikinews.org/wiki/User:IlyaHaykinson> Commonplace. Now, this
image uploader can be used on anyones wiki, not just the commons. It's a
fantastic tool to get all your images uploaded and archived.
It is now in use on my wiki, at
http://fubar.graemecanivet.com/index.php/Uploader. I have done very little
testing, so please let me know if there is problem with it.
Requires Windows XP & .NET Framework.
Thanks Everyone, especially Ilya,
Graeme.
Hi
I have solved this problem.For this you just create 2 new pages with names
[[MediaWiki:anyname]] [[MediaWiki:anyname-url]]
Remember same entries should be added in LocalSettings.php file I mean with the name anyname and anyname-url.
Now click MediaWiki:anyname link and it will ask to create a page.In Edit box write what u want to display in navigation menu.
Now click MediaWiki:anyname-url link and it will ask to create a page.In Edit box write what u want to display on top of page.
Now ur new menu is ready.
-Cheers
> -----Original Message-----
> From: mediawiki-l-bounces(a)Wikimedia.org
> [mailto:mediawiki-l-bounces@Wikimedia.org]On Behalf Of ext
> Rowan Collins
> Sent: Sunday, June 05. 2005 18:34
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] Error in customizing navigation tool
>
>
> On 05/06/05, Carlton B <carltonb(a)mindspring.com> wrote:
> > Were you able to resolve this problem? I get the
> <Something> as
> > well.
>
> Please read
> http://mail.wikimedia.org/pipermail/mediawiki-l/2005-May/005288.html
> and
> http://meta.wikimedia.org/wiki/MediaWiki_FAQ#How_do_I_change_t
he_contents_of_the_navigation_toolbar.3F
Basically, the "<Something>" means "I can't find the page called
MediaWiki:Something which you've referred to". The "mem caching
function" you're seeing is probably the function to fetch this from
the database.
To summarise once again, the "something" refers not to the literal
text "something" but to "whatever the page MediaWiki:Something
currently contains". It's *supposed* to make reconfiguring *easier*,
because changes can be made by any user with "sysop" status through
the normal wiki interface.
I may, of course, be wrong, in which case I apologise, but it seems
many people have reawl trouble getting the hang of this.
--
Rowan Collins BSc
[IMSoP]
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Hi
In order to add new link to navigation tool, I did the following steps.
1. Add a line of the form array( 'text'=>'something', 'href'=>'something-url' ) in LocalSettings.php
It is showing me <Something> in navigation tool instead of something I dont know why?
when I click this link I get error -Link target missing.
2. Then it is written in FAQ to edit (create) the pages in your wiki (substituting the names you chose); the first should contain whatever you want the link's text to be (e.g. "Contact us") (Blue above), and the second either the name of a wiki page (e.g. "Project:Get in touch") or the full URL of an external document .
I did'nt get it clearly.How many pages should i create here.
How will I create new pages with what names and
how will they be linked in namespace.
Please help me here.
Thanks and Regards,
Munish Mittal
After the rash of wikispam attacks on mediawiki sites a week or two
ago, I started playing with the SpamBlacklist extension. I've got a
comment and a couple of contributions.
1) I'm not sure if there is a bug here or not. When I first set the
extension up I put the blacklist file downloaded from meta first in
$wgSpamBlacklistFIles followed by my own Spam blacklist article. For
some reason it never saw my article. Reversing the order fixed this.
I didn't try to analyse this any further.
2) I wrote a linux(bash) shell script which converts the blacklist
downloaded from chongqed.org to theformat expected by the extension.
I documented this in meta
(http://meta.wikimedia.org/wiki/SpamBlacklist_extension)
3) Someone asked on this list how we would know how effective this and
other measures are. During my debugging of the first problem, I
modified the code to e-mail me when the trap was sprung. I tested by
deliberately trying to introduce spam links when I did this a week or
so ago. After being quiet since then, I was notified by e-mail about
several attempts in the wee hours last night. I've since cleaned up
and generalized the code to allow others to use this. It introduces a
new global $wgSpamBlacklistMonitors which is an array of email
addresses to be notified when the blacklist is tripped. The email is
sent from $wgEmergencyContact and includes the username and ip address
of the suspect, the link which triggered the blacklist and the full
text which the suspect was trying to save. While this might be a bit
much for a big site like wikipedia, it would probably be useful for
smaller sites like mine.
Here are my changes in patch format against the current CVS versions:
diff README.new README (CVS version 1.1)
24,30d23
< $wgSpamBlacklistMonitors is an optional array, each value is a string
< containing the email address of someone who will be notified by email (from
< the email address contained in $wgEmergencyContact) whenever the SpamBlacklist
< is triggered. The email body will contain the string which matched
the reg exp,
< the user name and ip address of the user attempting to save the article, and
< the full text which the user attempted to save.
<
41,44d33
< $wgSpamBlacklistMonitors = array(
< "spamhandler(a)myWikiDomain.com",
< };
<
diff SpamBlacklist.php.new SpamBlacklist (CVS version 1.1)
4a5
>
11d11
< $wgSpamBlacklistMonitors = array();
diff SpamBlacklist_body.php.new SpamBlacklist_body.php (CVS version 1.7)
48a49
>
53,54d53
<
<
59d57
<
61d58
<
87d83
<
91,100c87,88
< global $wgUser, $wgIP, $wgSpamBlacklistMonitors,$wgEmergencyContact;
< $userName = $wgUser->getName();
< $artTitle = $title->getFullText();
< foreach ($wgSpamBlacklistMonitors as $recipient) {
< mail ("$recipient","Alert from SpamBlacklist.php",
< "SpamBlacklist caught $matches[0] by $userName from
$wgIP\n\nArticle title=$artTitle\n\n$text",
< "From:$wgEmergencyContact");
< }
< EditPage::spamPage( $matches[0] );
< $retVal = true;
---
> EditPage::spamPage( $matches[0] );
> $retVal = true;
After some problems installing media wiki 1.4.x + mysql 4.0 under Fedora
Core 3, finally I managed it, using only RPM binaries in this way:
1. I installed MySQL-server and MySQL-client-4.0.24-0 from
http://dev.mysql.com
2. I installed MySQL-shared-3.23.58-1 from http://dev.mysql.com +
php-mysql from FC3. MySQL-shared-3.23 provides the
/usr/lib/libmysqlclient.so.10, required for php-mysql-4.3.9-3.
And so far, it works! That php-mysql was compiled for the FC3 people to
work with mysql-3.23 but it seems it also works well with mysql 4.0.
Thanks,
Pablo Chamorro C.
--
Tel: +57 (2) 7314752/3222/2595 - Fax: +57 (2) 7310514
Carrera 31 #18-07 Parque Infantil - PO Box 1795 - Pasto
I had my php.ini session.save_path completely messed up - not pointing to
an existing directory and I think the syntax was also wrong.
I had three symptoms
* If I would log in and return to the previous page, I wouldn't show up as
logged in (This is a documented symptom in the mediawiki.org help)
* If I was logged in and tried to save an edited page, the Wiki would act
as if I'd pressed Preview. If I wasn't logged in, the edit could be saved.
* If I used the Wiki in IE, many pages would be blank. View page source
showed nothing between <BODY> and </BODY>. When I would preview an edit
in IE, it also would have an empty body.
Once I fixed the php.ini setting, everything was happy.
My setup was MediaWiki 1.4.4, Apache 2.0.54, PHP 5.0.4 and MySql 4.1.12.
Is this of enough general interest that I should elaborate on the section
about session.save_path in the mediawiki.org's help?
Bill Smith
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
MediaWiki 1.5 alpha 2 includes a lot of bug fixes, feature merges,
and a security update.
THIS IS AN EXPERIMENTAL RELEASE FOR TESTING ONLY. Public or
in-production servers should use the stable MediaWiki 1.4.5 release.
Incorrect handling of page template inclusions made it possible to
inject JavaScript code into HTML attributes, which could lead to
cross-site scripting attacks on a publicly editable wiki.
Vulnerable releases and fix:
* 1.5 prerelease: fixed in 1.5alpha2
* 1.4 stable series: fixed in 1.4.5
* 1.3 legacy series: fixed in 1.3.13
* 1.2 series no longer supported; upgrade to 1.4.5 strongly recommended
For a relatively full list of changes since 1.5alpha1, see the changelog
in the release notes.
Release notes:
http://sourceforge.net/project/shownotes.php?release_id=332229
Download:
http://prdownloads.sf.net/wikipedia/mediawiki-1.5alpha2.tar.gz?download
Before asking for help, try the FAQ:
http://meta.wikimedia.org/wiki/MediaWiki_FAQ
Low-traffic release announcements mailing list:
http://mail.wikipedia.org/mailman/listinfo/mediawiki-announce
Wiki admin help mailing list:
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Bug report system:
http://bugzilla.wikipedia.org/
Play "stump the developers" live on IRC:
#mediawiki on irc.freenode.net
- -- brion vibber (brion @ pobox.com)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCoHg3wRnhpk1wk44RAgK2AKCUiTvJ7fKmlwfy1ICpShBMFYNGvACgkiGn
oBhbMAqlYR9q0v9Q+vylRsY=
=N4ka
-----END PGP SIGNATURE-----
Hey guys,
I'm running MediaWiki 1.4.4, on FreeBSD 4.8 with PHP 5.0.4, Apache
1.3.33 and MySQL 4.1.12. It's largely the stock install. I changed a
few options here and there, but nothing out of the ordinary.
So here's the problem. I upload an image, and it works fine. Then I
whip up a quick page which includes the following wiki markup:
[[Image:Corwin-field.jpg|right|thumb|200px|Image caption]]
It should display the image at 200px, with a border around it, right-
aligned, right? Well, all it does is show it right-aligned, at
uploaded size, with no border or caption at all. If you want to see
what I mean, check it out:
http://weswiki.broadlatitude.com/index.php/Corwin_Stadium
I've tried tweaking everything I can think of (I had older versions
of Apache and PHP running, and upgraded those. I even upgraded mysql
to a more recent version). The weird thing is that I installed
MedaWiki on the -exact- same environment (PHP 5.0.4, Apache 1.3.33,
MySQL 4.1.12) except on Mac OS X (only that's my workstation, not my
server :) It works fine, strangely enough.
Has anyone experienced this behavior? Any suggestions on how to fix it?
Thanks!
- Matt