Hi,
I need to redirect people entering our wiki through a specific domain
or using a specific skin (I only need one of both distinctions) to a
specific page.
I thought ParserFunctions might be one way to go, but when I do
{{#ifeq: 1 | 1 | #REDIRECT [[Specific Page]]}} it prints the redirect
instead of redirecting.
Any ideas? Maybe other solutions?
Best,
Matthias
--
Rock in China
http://wiki.rockinchina.com/http://www.rockinchina.com/
Hi, all,
First post--please don't hurt me. :)
I installed MediaWiki a couple of months ago to begin using as an intranet for about 80 people in an academic library environment. At the time, the idea was to only have a portion of the intranet be a wiki. Now, I'm sold, and I want to make the wiki the environment for the whole intranet. Question: how do I move the wiki files from /siterootfolder/wiki/ to just having the wiki files be the site root? Can I just dump them into the site root folder, or would that break stuff, including the existing articles? :)
Part of my motivation for doing this is shortening URLs even more:
http://hostname/wiki/My_Article_Titlehttp://hostname/My_Article_Title
I feel like if the intranet is contained entirely within the wiki, we don't need the extra /wiki/ in the URL.
Does MediaWiki work okay installed in the site root folder? Oh, and of course, there is already content in the wiki...
Thanks in advance for your help,
Nina
Welcome to mediawiki-l. This mailing list exists for discussion and questions
about the MediaWiki software[0]. Important MediaWiki-related announcements
(such as new versions) are also posted to this list.
Other resources.
If you only wish to receive announcements, you should subscribe to
mediawiki-announce[1] instead.
MediaWiki development discussion, and all Wikimedia technical questions, should
be directed to the wikitech-l[2] mailing list.
Several other MediaWiki-related lists exist:
- mediawiki-api[5] for API discussions,
- mediawiki-enterprise[6] for discussion of MediaWiki in the enterprise,
- mediawiki-cvs[7] for notification of commits to the Subversion repository,
- mediawiki-i18n[8] for discussion of MediaWiki internationalisation support,
- wikibugs-l[9] for notification of changes to the bug tracker.
List administrivia (unsubscribing, list archives).
To unsubscribe from this mailing list, visit [12]. Archives of previous postings
can be found at [3].
This list is also gatewayed to the Gmane NNTP server[4], which you can use to
read and post to the list.
Posting to the list.
Before posting to this list, please read the MediaWiki FAQ[10]. Many common
questions are answered here. You may also search the list archives to see if
your question has been asked before.
Please try to ask your question in a way that enables people to answer you.
Provide all relevant details, explain your problem clearly, etc. You may
wish to read [13], which explains how to ask questions well.
To post to the list, send mail to <mediawiki-l(a)lists.wikimedia.org>. This is a
public list, so you should not include confidential information in mails you
send.
When replying to an existing thread, use the "Reply" or "Followup" feature of
your mail client, so that clients that understand threading can sort your
message properly. When quoting other messages, please use the "inline" quoting
style[11], for clarity.
When creating a new thread, do not reply to an existing message and change the
subject. This will confuse peoples' mail readers, and will result in fewer
people reading your mail. Instead, compose a new message for your post.
Messages posted to the list have the "Reply-To" header set to the mailing list,
which means that by default, replies will go to the entire list. If you are
posting a reply which is only interesting to the original poster, and not the
list in general, you should change the reply to only go to that person. This
avoids cluttering the list with irrelevant traffic.
About this message.
This message is posted to the list once per week by <river(a)wikimedia.org>.
Please contact me if you have any questions or concerns about this mailing.
References.
[0] http://www.mediawiki.org/
[1] http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
[2] http://lists.wikimedia.org/mailman/listinfo/wikitech-l
[3] http://lists.wikimedia.org/pipermail/mediawiki-l/
[4] http://dir.gmane.org/gmane.org.wikimedia.mediawiki
[5] http://lists.wikimedia.org/mailman/listinfo/mediawiki-api
[6] http://lists.wikimedia.org/mailman/listinfo/mediawiki-enterprise
[7] http://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[8] http://lists.wikimedia.org/mailman/listinfo/mediawiki-i18n
[9] http://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[10] http://www.mediawiki.org/wiki/FAQ
[11] http://en.wikipedia.org/wiki/Posting_style#Inline_replying
[12] http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
[13] http://www.catb.org/~esr/faqs/smart-questions.html
One of the great weaknesses of our TableEdit extension (among many!!)
is that the extra tables we put into the schema don't pass information
into the XML dumps made by dumpBackup.php/backup.inc. We're wondering
how to implement this. It looks like there is something in the code
for plugins, but I don't understand how those would be used.
Thanks!
Jim Hu
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054
Hi guys,
I would be very grateful if someone could give me an indication of how to build up the request to the API. Just for a simple page query. I have some code that uses Web request/response which works with other API's but it does not work with the mediawiki api. I would be verya grateful if anyone could help me out. I one of the methods I have tried below:
I consistenly get a "The remote server returned an error: (417) Expectation failed." Error.
string pgTitle = txtPageTitle.Text;
Uri address = new Uri("http://en.wikipedia.org/w/api.php");
HttpWebRequest request = WebRequest.Create(address) as HttpWebRequest;
request.Method = "POST";
request.ContentType = "application/x-www-form-urlencoded";
string action = "query";
string query = pgTitle;
StringBuilder data = new StringBuilder();
data.Append("action=" + HttpUtility.UrlEncode(action));
data.Append("&query=" + HttpUtility.UrlEncode(query));
byte[] byteData = UTF8Encoding.UTF8.GetBytes(data.ToString());
request.ContentLength = byteData.Length;
using (Stream postStream = request.GetRequestStream())
{
postStream.Write(byteData, 0, byteData.Length);
}
using (HttpWebResponse response = request.GetResponse() as HttpWebResponse)
{
// Get the response stream
StreamReader reader = new StreamReader(response.GetResponseStream());
divWikiData.InnerText = reader.ReadToEnd();
}
Spatial Analysis Unit
UNEP-WCMC
219 Huntingdon Road
Cambridge
CB3 0DL
Tel: +44 1223 277 314 xtn 225
________________________________
** Confidentiality Statement and Disclaimer **
This e-mail, together with any attachments, may contain confidential information and/or copyright material. Any views or opinions presented are solely those of the author and do not necessarily represent those of UNEP-WCMC. It is intended only for the person named above. Any copying, distribution, dissemination, disclosure or use of this message or its contents unless authorised by us is strictly prohibited. If you have received this message in error, please notify us immediately.
You should understand and accept that email communication with UNEP-WCMC is not a totally secure communications medium. Although we have taken steps to ensure that this e-mail and attachments are free from any virus, we cannot guarantee that they are virus free. We do not, to the extent permitted by law, accept any liability (whether in contract, negligence or otherwise) for any virus infection and/or external compromise of security and/or breach of confidentiality in relation to transmissions sent by e-mail. Thank you.
If I have a page like this:
<div id="AccYear" class="Accordion" tabindex="0"> <div
class="AccordionPanel"> <div class="AccordionPanelTab">Year 2008</div> <div
class="AccordionPanelContent">Content One</div> </div> <div
class="AccordionPanel"> <div class="AccordionPanelTab">Year 2007</div> <div
class="AccordionPanelContent">Content 2</div> </div> <div
class="AccordionPanel"> <div class="AccordionPanelTab">Year 2006</div> <div
class="AccordionPanelContent">Content 2</div> </div> </div>
<accordion>AccYear</accordion>
How could I add accordion levels inside each year, such as headings for
volume number and issue number (for academic journals)
Any Ideas?
Thanks so much for any advice
Marcus in Seattle
Hi.
Just a minor issue: which is the rule for the placement of magic words? I've
added __NOINDEX__ to the bottom of two pages, and only one worked. Then I
moved the text to the top of the problematic page, and it worked. Then I
discovered that the problem was not the placement: the page in which the
magic word wasn't working was in a category, and I added the [[Category:Foo]]
just before the magic word.
Is this the expected behaviour? Do the magic words need a special placement or
any formatting constraint, or is this a bug? I found it with 1.14.0.
Thanks in advance.
--
Alex
Hello
I just installed a new mediawiki (version 1.14.0)
I export/import some pages from an other mediawiki 1.14.0
When I save (some, not all, pages) I get this message :
Warning: ignore_user_abort() has been disabled for security reasons in /home/xxx/public_html/mediawiki/includes/Article.php on line 1513
What does that mean ?
What can I do to fix it ?
Thanks
François Colonna
the wiki URL is http://converger.u7n.org/mediawiki/index.php
For some reason, users are reporting that although certain images upload
correctly, this appears in the box where the thumbnail usually appears:
Error creating thumbnail:
It only happens for a few random images and there doesn't seem to be any
correlation.
Any ideas?