Hi,
I've asked this question a few times now, and got a few replies, but
none have really answered my final question...
Is there an Extension that I can use so that Mac users can open links
linked to files on a server? I have it working on the PC and have ben
told that the same extension wont work cross platform, so is there an
extension that will just work on Mac and not PC?
Mediawiki: 1.12.0
PHP: 5.2.5 (cgi-fcgi)
MySQL: 5.0.24-community-nt
Hope this helps.
Regards,
Dan
Anthony Zepezauer wrote
>"javascript: history.back();"
Where does this code have to go in order for it to work?
Original message:
> 2008/4/14, Dan Sinclair <Dan.Sinclair(a)boxer.co.uk>:
> > Hi,
> >
> >
> >
> > I'm trying to make my Wiki as less confusing and complicated as
> possible
> > for the end users. So I'm trying to add a small icon below all the
> text
> > on every page that is simply a "Back" button. How would I be able
> > to
> do
> > this, linking the image to the page previously?
> >
> >
> >
> > Cheers
> >
> >
> >
> > Dan
I am setting up several custom namespaces and want to make sure I have them
correct. Any advice or examples would be very helpful. This is what I have
so far in LocalSettings.php
#
# Skins Per Namespace
#
require_once( "$IP/extensions/SkinPerNamespace/SkinPerNamespace.php" );
#
# Illinois
#
define("NS_ILLINOIS", 100); # defining the numbers here allow you to use
the ID later instead of the number
define("NS_ILLINOIS", 101);
$wgExtraNamespaces[NS_ILLINOIS] = "Illinois";
$wgExtraNamespaces[NS_ILLINOIS] = "Illinois_talk";
$wgNamespaceProtection[NS_ILLINOISILLINOIS] = array( 'editIllinois' );
$wgGroupPermissions['sysop']['editsouthdakota'] = true;
$wgSkinPerNamespace[NS_ILLINOIS] = "cologneblue";
$wgSkinPerNamespace[NS_ILLINOIS_TALK]= "cologneblue";
#
# South Dakota
#
define("NS_SOUTHDAKOTA", 102); # defining the numbers here allow you to use
the ID later instead of the number
define("NS_SOUTHDAKOTA", 103);
$wgExtraNamespaces[NS_SOUTHDAKOTA] = "South_Dakota";
$wgExtraNamespaces[NS_SOUTHDAKOTA] = "South_Dakota_talk";
$wgNamespaceProtection[NS_SOUTHDAKOTA] = array( 'editsouthdakota' );
$wgGroupPermissions['sysop']['editsouthdakota'] = true;
$wgSkinPerNamespace[NS_SOUTHDAKOTA] = "cologneblue";
$wgSkinPerNamespace[NS_SOUTHDAKOTA_TALK]= "cologneblue";
#
# Add all additional namespaces here for searching and site statistics
#
$wgContentNamespaces[] = array(100,102);
I will be adding a namespace for multiple topics, but I just want to get
this working with 2 first. I have a few other questions as well:
What goes in the main page for a namespace? Should it be a normal page,
i.e. www.domain.com/index.php/Illinois or shout it be
www.domain.com/index.php/Illinois:Main_Page?
Do all pages in the namespace have to be defined as Illinois:mypage? I am
assuming that for now.
Is there a way to have a page in multiple namespaces? i.e.say I have Chicago
Illinois which is under Illinois:Chicago. But, Chicago has a group that
wants to make Chicago look different so it becomes its own namespace so I
can do a skin for it. How would I handle that since it needs its own
namespace, yet it is still apart of Illinois?
Thanks in advance for the help.
Lennie
Hi all,
I hope that this is the right place to ask for help ^_^
I'm trying to script a little php code to add a new user to the wiki by php
I use something simlar to this:
$newuserarray=array();
$newuserarray[0]='pippo';
$newuserarray[1]='pass';
$newuserarray[2]='prova(a)mail.com';
$newuserarray[3]='truename';
$NextUser=User::newFromName( $newuserarray[0] );
$NextUser->setEmail( $newuserarray[2] );
$NextUser->setRealName( $newuserarray[3] );
$uid=$NextUser->idForName();
if ($uid===0) {
$NextUser->addToDatabase();
$NextUser->setPassword( $newuserarray[1] );
$NextUser->saveSettings();
}
running it $NextUser is correctly created but the user is non in the
MySQL table (user)
what I'm doing wrong ?
thanks
Hi everyone,
is it possible to define a variable in LocalSettings.php which I can use
in an skin?
I'm currently using one single LocalSettings.php for 3 wikis. They share
several things and I'd like to incorporate Google Analytics with
different Analytic IDs.
Any idea?
All the best,
Marcus
I have a PHP function that returns an HTML table, occasionally with
8-bit characters in it. This function is called by a tag extension
<foobar> and a parser function {{#foobar:}}. When invoked as <foobar>
it works fine, but {{#foobar:}} dies when an 8-bit character is
returned. No errors are logged; the parser function just displays
nothing. ({{#foobar:}} works in all other cases.)
Any ideas why this might be so? Mediawiki 1.12.0, PHP 5.2.5, Apache
2.2.8, Windows 2003 Server.
If no explanation immediately comes to mind, I can try to produce a
minimal example.
Thanks,
DanB
Hi,
I'm trying to make my Wiki as less confusing and complicated as possible
for the end users. So I'm trying to add a small icon below all the text
on every page that is simply a "Back" button. How would I be able to do
this, linking the image to the page previously?
Cheers
Dan
https://bugs.edge.launchpad.net/ubuntu/+source/moin/+bug/217191
The Ubuntu wiki (MoinMoin) had problems when it hit about 32,000 pages
- the maximum number of directories you can have in an ext2/ext3
directory.
(Moin doesn't use a database, so you have to cope with stuff like this.)
- d.
Hi,
I am using mwdumper.jar to convert the dump into sql using the following
command on Ubuntu 7.10 with Java 1.5.0_13
<mediawiki-l(a)lists.wikimedia.org>nohup java -jar mwdumper.jar
--format=sql:1.5 enwiki-latest-pages-articles.xml.bz2
--filter=titlematch:[bB].* > b.sql 2>mwdumper.log2 &
and I am getting the following error
4,727,000 pages (1,685.36/sec), 4,727,000 revs (1,685.36/sec)
4,728,000 pages (1,685.5/sec), 4,728,000 revs (1,685.5/sec)
4,729,000 pages (1,685.604/sec), 4,729,000 revs (1,685.604/sec)
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2048
at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source)
at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
at org.apache.xerces.impl.XMLEntityScanner.scanContent(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanContent(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:176)
at org.mediawiki.importer.XmlDumpReader.readDump(Unknown Source)
at org.mediawiki.dumper.Dumper.main(Unknown Source)
Any idea, anyone? What's going on?
I have checked this thread but of no use --
https://lists.wikimedia.org/mailman/htdig/mediawiki-l/2007-July/021537.html
md5sum of the downloaded dump file is correct. Can someone please help me
out with this? Was anyone able to successfully import the latest dump
(20080312)?
Thanks,
Nazeer