Please tell me if I got the wrong list.
In my template I have this text.
[[{{{parameter}}}]]
If I call the template with parameter=My Page Title (some info here) then
I will get this information on the page:
[[My Page Title (some info here)]]
Is there a way to convert the template so it looks like the following
instead? I don't want the link to show the parentheses to the user but I
want the link to contain the parentheses and text inside itself.
[[My Page Title (some info here)|My Page Title]]
I want to change my wiki from:
www.ABCwiki.com, to:
www.ABCwiki.com/wiki/
I've seen now this is better because there will be non-wiki packages later on the server. It would be nice if I had seen this before.
Can this be done? Will simply moving all the files to the new sub-directory work? Or do I need to do more?
thanks
Erik
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Thanks everyone.
I found the error in the CSS after Roger pointed me to the CSS validator
font: normal arial;
Should have been
font: normal 12pt Arial, sans-serif;
--
Best Regards,
Jed.
http://jedb.wordpress.com/
I'm trying to create a template to encapsulate an extension. I'd like
to call the extension passing the template parameters. Something like:
<extension-tag name="{{{1}}}" />
The problem is that the extension receives the string "{{{1}}}" and
not the actual parameter. Searching this mailing list I found out that
other users had the same problem but I could not find a definite
answer.
Is there a way to do this?
It seems to be a database problem, which would make sense as I haven't
been given the option to update the schema or anything. Don't know
what to do. Help appreciated! Thanks
--
Gary Kirk
Is there a "maintenance mode" in MediaWiki?
Something simple I can trigger so that nothing can be edited/added for a
while for a whole MW install, while I do some work on it ?
I have a couple of extensions I'm using (rss and a custom one) where
I'm getting the following error:
Fatal error: Call to undefined function wfStrencode() in /home/3698/
domains/swc/html/smsp1/extensions/rss.php on line 206
This is using MediaWiki 1.9 from SVN. Looks like it may be broken
somewhere (or, alternatively and more likely, I've done something
stupid).
It works just fine in my MediaWiki 1.8.2 install...
Any words of advice from the more knowledgeable much appreciated.
Steve
I updated the Main.CSS file for a skin I am using to default body text to
Arial.
body {
font: normal arial;
background: url(MaldenboBackFade.jpg) 0 0 no-repeat;
color: black;
margin: 0;
padding: 0;
}
it was - in the monobook original:
body {
font: x-small sans-serif;
background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;
color: black;
margin: 0;
padding: 0;
}
Only one of the 4 PC's we have displays Arial ?!! Firefox or IE makes no
difference. Tried purging the caches (action=purge) with no change.
Any ideas?
--
Best Regards,
Jed.
http://jedb.wordpress.com/
I'm doing a pilot of MediaWiki for the company I work for, and in
order to use a couple of new extensions, it's apparent 1.9 is needed.
I've updated the code and successfully run the upgrade script, but
now can't get ANY pages to render. I get the following error IF
$wgArticlePath = "$wgScript/$1":
Bad title
From SMSpedia
Jump to: navigation, search
The requested page title was invalid, empty, or an incorrectly linked
inter-language or inter-wiki title. It may contain one or more
characters which cannot be used in titles.
Return to Main Page.
The URL that gets rendered is like this:
http://wikidev/smsp/index.php/Smsp/index.php/Smsp/index.php/Smsp/
index.php/Smsp/index.php/Smsp/index.php/Smsp/index.php/Smsp/index.php/
Smsp/index.php/Smsp/index.php/Smsp/index.php/Smsp/index.php/Smsp/
index.php/Smsp/index.php/Smsp/index.php/Smsp/index.php/Smsp/index.php/
Smsp/index.php
If I set $wgArticlePath = "$wgScript?title=$1" I get Firefox
returning an error indicating that redirects are misconfigured.
PHP is installed as a CGI (I have no control over this one) and
cgi.fix_pathinfo = 1.
I'm at a loss and will need to figure out how to downgrade to 1.8.2
if I can't manage this one.
I've checked this and other lists and can find one other user with
the same problem, but no apparent answer.
Any help gratefully accepted.
TIA
Steve
Hi all,
I just installed Mediawiki 1.7.1 on our intranet and imported
successfully 206 pages - however after import each page has had its HTML
markup completely removed.
<h2>Some Title</h2> and <p>Some Text</p> are all that was used as
markup. I have added the FCKEdititor as a exstention and written a
custom LDAP extension after all the others failed, otherwise the
mediawiki is stock.
I have confirmed this by viewing and exporting the imported pages.
In order to do the import I firstly exported a existing page - copied
the format(I removed the namespaces - which is the only difference) and
then combined all of the pages in to one xml (separated by <page> of
course).
It imported all perfectly - but without formating.
What am I doing wrong?
Below is my xml import the subsequest export code.
<mediawiki xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.3/http://www.mediawiki.org/xml/export-0.3.xsd" version="0.3"
xml:lang="en">
<siteinfo>
<sitename>Telstrapedia</sitename>
<generator>MediaWiki 1.7.1</generator>
<case>first-letter</case>
</siteinfo>
<page>
<id/><title>3G</title> <revision>
<timestamp>2006-11-08T04:30:26Z</timestamp>
<contributor>
<username>Root</username>
</contributor>
<text xml:space="preserve">
<h2>URL</h2><p> http://www.telstra.com.au/video/</p>
<h2>Summary</h2>
<p>Central repository for all 3G information including video services,
mobiles, coverage, demos and useful tools. </p>
<comment>Imported from XML Excel document - Telstra.com asset list
v2.xls (See DME for original)</comment>
<minor>false</minor>
</revision>
</page>
</mediawiki>
After importing the export produces a stripped file.
<mediawiki xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.3/http://www.mediawiki.org/xml/export-0.3.xsd" version="0.3"
xml:lang="en">
<siteinfo>
<sitename>Telstrapedia</sitename>
<base>http://localhost/index.php?title=Main_Page</base>
<generator>MediaWiki 1.7.1</generator>
<case>first-letter</case>
<namespaces>
<namespace key="-2">Media</namespace>
<namespace key="-1">Special</namespace>
<namespace key="0"/>
<namespace key="1">Talk</namespace>
<namespace key="2">User</namespace>
<namespace key="3">User talk</namespace>
<namespace key="4">Telstrapedia</namespace>
<namespace key="5">Telstrapedia talk</namespace>
<namespace key="6">Image</namespace>
<namespace key="7">Image talk</namespace>
<namespace key="8">MediaWiki</namespace>
<namespace key="9">MediaWiki talk</namespace>
<namespace key="10">Template</namespace>
<namespace key="11">Template talk</namespace>
<namespace key="12">Help</namespace>
<namespace key="13">Help talk</namespace>
<namespace key="14">Category</namespace>
<namespace key="15">Category talk</namespace>
</namespaces>
</siteinfo>
<page>
<title>3G</title>
<id>1410</id>
<revision>
<id>1427</id>
<timestamp>2006-12-18T01:57:46Z</timestamp>
<contributor>
<username>Root</username>
<id>1</id>
</contributor>
<text xml:space="preserve">
URL http://www.telstra.com.au/video Summary Central repository for all
3G information including video services, mobiles, coverage, demos and
useful tools.
</text>
</revision>
</page>
</mediawiki>