Greetings,
I made a slight modification to the Database.php [starting at line
1004] file in the wikis I run. Should this be included in the next
Mediawiki release?
function tableName( $name ) {
global $wgSharedDB;
# Skip quoted literals
if ( $name{0} != '`' ) {
if ( $this->mTablePrefix !== '' && strpos(
'.', $name ) === false ) {
$name = "{$this->mTablePrefix}$name";
}
if ( isset( $wgSharedDB ) &&
("{$this->mTablePrefix}user" == $name ) or
("{$this->mTablePrefix}interwiki" == $name)) {
$name = "`$wgSharedDB`.`$name`";
} else {
# Standard quoting
$name = "`$name`";
}
}
return $name;
}
My reasoning for doing this is that if someone is using the same user
table then most likely would like to use a common interwiki table.
That was my use.
What do you all think?
--
Leonard Burton, N9URK
leonardburton(a)gmail.com
Hi ,
I have been using mediawiki tool for a travel destination site ,
I have problem in getting the "Other Languages box" as sticky box on all pages has the "Search box" as in many wiki sites
we have created a skins newskin.php file on the smiliar lines of otehr skins under skins directory ,
In newskin.php , the array $this->data[language_urls] , is not populated ,
while back tracing the code
i landed in SkinTemplate.php where the navigation urls and personal urls array being populated , but the language url array is not getting populated here
In my LocalSetting.php and DEfaultSettings.php file i have thses values
$wgLanguageCode = "en";
$wgUseDatabaseMessages = true;
i made the changes , by reading frm the documenations
$wgLanguageCode = "De";
$wgUseDatabaseMessages = false;
thsi makes to read the LanguagDe.php from Languages folder and i got the buuton values in the respective language but this landed in getting only De language ..
I wanted to get the "Other Language box " with list of languages
can anyone tell me how to get this ...
thanx heaps ,
Umesh
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><img src="http://travel.indiainfo.com/img/banner-coolwaters.gif" width="600" height="40" alt="" border="0" usemap="#banner"></td></tr>
</table>
<map name="banner">
<area alt="" coords="104,4,207,34" href="http://travel.indiainfo.com/destination/beaches/goa.html">
<area alt="" coords="224,3,296,22" href="http://travel.indiainfo.com/packages/beaches/goa-holidayinn.html">
<area alt="" coords="311,3,450,21" href="http://travel.indiainfo.com/packages/beaches/goa-majorda.html">
<area alt="" coords="223,22,328,39" href="http://travel.indiainfo.com/packages/beaches/goa-oldanchor.html">
<area alt="" coords="339,21,492,38" href="http://travel.indiainfo.com/packages/beaches/goa-kamath.html">
<area alt="" coords="509,9,592,31" href="http://travel.indiainfo.com/booknow.html">
</map>
Hi to you all,
I have two questions:
+ what is the syntax for linking to a file on my own computer or a nearby server?
+ is there an automated way to get MS Word documents in the Wiki and vice versa?
Many thanks in advance.
Marcel
Netherlands
---------------------------------
Yahoo! Messenger NEW - crystal clear PC to PCcalling worldwide with voicemail
(What is) EnotifWiki ?
- Enotif means "e-mail notification"
- is a special edition of MediaWiki
- very close and fully based on it
- permanently maintained
- and offers enhanced e-mail notification functions and some more gadgets.
http://sourceforge.net/projects/enotifwiki/ offers recent maintenance
release of EnotifWiki for
- MediaWiki 1.4.6 or
- MediaWiki 1.5beta3 (this version is recommended by me)
What distinguishes EnotifWiki from MediaWiki ?
* e-mail notifcation also for _new_ pages (users can opt-in/out)
* "You have new messages" also shown for new content on _User_ pages
(EnotifWiki versions for MediaWiki 1.5 versions)
* Recent Changes, Page History lines of watched pages have direct links
to the difference view between the current and your last-seen version
* garish green "updated" markers fly on your not-yet-seen revisions of
watched pages
The differences between EnotifWiki and MediaWiki become smaller and smaller.
Documentation and screenshots: http://meta.wikipedia.org/wiki/Enotif
I gave that a shot, but it still seems to give the same error.
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Andrew Venier
Sent: Thursday, July 07, 2005 2:40 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] File is corrupt?
I think you can set:
$wgVerifyMimeType = false;
in LocalSettings.php
Zain Memon wrote:
>I have an XML file that I want to upload. The XML extension isn't
>blocked (I can upload a blank XML file just fine), but for some reason,
>every time I try to upload this file I get the error "The file is
>corrupt or has an incorrect extension. Please check the file and upload
>again."
>
>
>Since it isn't an incorrect extension, I suspect the wiki thinks my
file
>is corrupt. This happened to me with a jpeg before as well, and I fixed
>it by copy/pasting the old image into a new image. The same solution
>didn't work for this.
>
>
>Can I somehow do something to have it not warn on corrupt files? I want
>them uploaded even if wiki thinks they are corrupt.
>
>_______________________________________________
>MediaWiki-l mailing list
>MediaWiki-l(a)Wikimedia.org
>http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
>
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
I have an XML file that I want to upload. The XML extension isn't
blocked (I can upload a blank XML file just fine), but for some reason,
every time I try to upload this file I get the error "The file is
corrupt or has an incorrect extension. Please check the file and upload
again."
Since it isn't an incorrect extension, I suspect the wiki thinks my file
is corrupt. This happened to me with a jpeg before as well, and I fixed
it by copy/pasting the old image into a new image. The same solution
didn't work for this.
Can I somehow do something to have it not warn on corrupt files? I want
them uploaded even if wiki thinks they are corrupt.
hi,
all email notifications link to localhost instead of
the server. The server is in a network and the wiki is
only used by people inside this network. Does it have
anything to do with my problem?
thx for any help
Julien
____________________________________________________
Sell on Yahoo! Auctions no fees. Bid on great items.
http://auctions.yahoo.com/
Hey there,
Is there any way I can enable document searching for .ppt, .dot, and
.rtf files that are uploaded? My wiki will hold a lot of documents, and
I need to be able to search through them all. I was able to do it for
other documents by using this tutorial:
http://meta.wikimedia.org/wiki/Uploaded_document_searching
So, can I do the same for others?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
MediaWiki 1.5 beta 3 is a preview release of the new 1.5 release
series, with a security update over beta 2.
Incorrect escaping of a parameter in the page move template could
be used to inject JavaScript code by getting a victim to visit a
maliciously constructed URL. Users of vulnerable releases are
recommended to upgrade to this release.
Vulnerable versions:
* 1.5 preview series: n <= 1.5beta2 vulnerable, fixed in 1.5beta3
* 1.4 stable series: 1.4beta6 <= n <= 1.4.5 vulnerable, fixed in 1.4.6
* 1.3 legacy series: not vulnerable
This release also includes several bug fixes and localization updates.
See the changelog in the release notes for a detailed list.
Release notes:
http://sourceforge.net/project/shownotes.php?release_id=340291
Download:
http://prdownloads.sourceforge.net/wikipedia/mediawiki-1.5beta3.tar.gz?down…
MD5 checksum: ee2abd543d1f23bdb67da87d902cbb09
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.wikimedia.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
iD8DBQFCzNsdwRnhpk1wk44RAkrLAKCZa9XjYcdjbyFdDU+K9MXr3yJHYgCghN1v
QZ22oXJi+jdm1Db2hB2mHR4=
=wTY+
-----END PGP SIGNATURE-----