We host description of our research work in form of Wiki, using
MediaWiki. I would like to start a blog inside of our Wiki, not on one
of publicly available blog hosting services, becuase we want to have
more control over the storage of data and uniform access to them
(through MediaWiki).
Can you suggest me any extension to MediaWiki which allows for having a
blog as one of Wiki pages ? What are your experience with existing
extensions ?
By blog I mean a single Wiki page, where:
* Entries are sorted by date of publication
* Under each entry there is a list of comments or a link to the
separate page with only commented entry and detailed list of
comments made to it
Thank you for your time,
Maciej
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
It seems that one slow extension can bring MediaWiki to a halt. For example, if you define a <wait> tag that simply sleeps for 20 seconds, and you hit a page that contains it, no other MediaWiki pages can be served during those 20 seconds.
Other PHP pages on the same Apache server, however, work just fine during those 20 seconds, so I'd guess this is not an Apache or PHP configuration issue. Only MediaWiki pages are affected.
Although the <wait> tag is artificial, the situation is realistic. We have a parser tag that hits an external database, and when the connection is slow (for even ONE wiki page), no other wiki pages can be served.
This seems dangerous. What's happening, and what's the workaround? This is in 1.13.0. (And maybe it's my imagination, but the problem seemed less in 1.12.0.)
Here's my toy <wait> code:
<?php
# Wait for N seconds
$wgExtensionFunctions[] = 'wfWaitSetup';
function wfWaitSetup() {
global $wgParser;
$wgParser->setHook('wait', 'wfWait');
}
function wfWait($input) {
global $wgParser;
$wgParser->disableCache();
sleep($input);
return "Slept for $input seconds";
}
Thanks for any advice,
DanB
Hi,
I am trying to move my DB from my local system (running under windows) to a
web hosted system (godaddy.com)
I am getting an error as follow:
[QUOTE]
MediaWiki internal error.
Original exception: exception 'DBQueryError' with message 'A database error
has occurred
Query: SELECT value,exptime FROM `mw_objectcache` WHERE
keyname='OptiTexPmWiki-mw_:messages'
Function: MediaWikiBagOStuff::_doquery
Error: 1146 Table 'OptiTexPmWiki.mw_objectcache' doesn't exist (
p41mysql161.secureserver.net)
' in /home/content/o/p/t/optitexftp/html/PmWiki/includes/Database.php:844
Stack trace:
...
[/QUOTE]
Does anyone have an idea what is wrong in my process?
I can see the databases through the phpmyadmin, and all corresponding html
files has been uploaded.
thank you
Thank you,
Saar
--------------------------------
Saar Machtinger - CIO
OptiTex Ltd. | www.optitex.com | saar.machtinger(a)optitex.com
Tel: +972-3-904 9979 | Fax: +972-3-904 2710
* Think green before you print
Hi all,
"installing a template mediawiki" produces about 40,000 pages on google, yet
none tells me how to install a template (??) least of all the template
manual on wikimedia.
Can someone please point me to text telling me how it works?
TIA, John
Hi,
I am a bit lost here. I have a mediawiki on our IIS. I am now trying to move
this to a hosted unix server, but I find it frustrating.
I get too many errors, and I am lost.
I will try to brief:
created a dump of the current db
copied all php files and directories (except images for now - too large) to
the new server
Installed a mysql 4.1 on the server
extracted the dump
updated localsetting to have the new server, db,username and password.
*I renamed the DB from pmwikidb to optitexpmwiki - however, I don't think
that this is the problem, please please , if anyone can help me.
but I get errors trying to run index.php now
please find quoted:
QUOTE
MediaWiki internal error.
Original exception: exception 'DBQueryError' with message 'A database error
has occurred
Query: SELECT value,exptime FROM `mw_objectcache` WHERE
keyname='OptiTexPmWiki-mw_:messages'
Function: MediaWikiBagOStuff::_doquery
Error: 1146 Table 'OptiTexPmWiki.mw_objectcache' doesn't exist (
p41mysql161.secureserver.net)
' in /home/content/o/p/t/optitexftp/html/PmWiki/includes/Database.php:844
Stack trace:
#0 /home/content/o/p/t/optitexftp/html/PmWiki/includes/Database.php(799):
Database->reportQueryError('Table 'OptiTexP...', 1146, 'SELECT value,ex...',
'MediaWikiBagOSt...', false)
#1 /home/content/o/p/t/optitexftp/html/PmWiki/includes/BagOStuff.php(427):
Database->query('SELECT value,ex...', 'MediaWikiBagOSt...')
#2 /home/content/o/p/t/optitexftp/html/PmWiki/includes/BagOStuff.php(322):
MediaWikiBagOStuff->_doquery('SELECT value,ex...')
#3 /home/content/o/p/t/optitexftp/html/PmWiki/includes/BagOStuff.php(243):
SqlBagOStuff->_query('SELECT value,ex...', 'OptiTexPmWiki-m...')
#4
/home/content/o/p/t/optitexftp/html/PmWiki/includes/MessageCache.php(214):
SqlBagOStuff->get('OptiTexPmWiki-m...')
#5
/home/content/o/p/t/optitexftp/html/PmWiki/includes/MessageCache.php(434):
MessageCache->load()
#6 [internal function]: MessageCache->get('mainpage', true, true)
#7 /home/content/o/p/t/optitexftp/html/PmWiki/includes/StubObject.php(32):
call_user_func_array(Array, Array)
#8 /home/content/o/p/t/optitexftp/html/PmWiki/includes/StubObject.php(40):
StubObject->_call('get', Array)
#9 [internal function]: StubObject->__call('get', Array)
#10
/home/content/o/p/t/optitexftp/html/PmWiki/includes/GlobalFunctions.php(427):
StubObject->get('mainpage', true, true)
#11
/home/content/o/p/t/optitexftp/html/PmWiki/includes/GlobalFunctions.php(396):
wfMsgGetKey('mainpage', true, true, true)
#12
/home/content/o/p/t/optitexftp/html/PmWiki/includes/GlobalFunctions.php(344):
wfMsgReal('mainpage', Array, true, true)
#13 /home/content/o/p/t/optitexftp/html/PmWiki/includes/Title.php(271):
wfMsgForContent('mainpage')
#14 /home/content/o/p/t/optitexftp/html/PmWiki/includes/Wiki.php(84):
Title::newMainPage()
#15 /home/content/o/p/t/optitexftp/html/PmWiki/index.php(59):
MediaWiki->checkInitialQueries(NULL, 'view', Object(StubObject),
Object(WebRequest), Object(StubContLang))
#16 {main}
Exception caught inside exception handler: exception 'DBUnexpectedError'
with message 'Error in fetchObject(): Table 'OptiTexPmWiki.mw_page' doesn't
exist (p41mysql161.secureserver.net)' in
/home/content/o/p/t/optitexftp/html/PmWiki/includes/Database.php:973
Stack trace:
#0
/home/content/o/p/t/optitexftp/html/PmWiki/includes/MessageCache.php(307):
Database->fetchObject(false)
#1
/home/content/o/p/t/optitexftp/html/PmWiki/includes/MessageCache.php(244):
MessageCache->loadFromDB()
#2
/home/content/o/p/t/optitexftp/html/PmWiki/includes/MessageCache.php(434):
MessageCache->load()
#3
/home/content/o/p/t/optitexftp/html/PmWiki/includes/GlobalFunctions.php(427):
MessageCache->get('databaseerror', true, false)
#4
/home/content/o/p/t/optitexftp/html/PmWiki/includes/GlobalFunctions.php(396):
wfMsgGetKey('databaseerror', true, false, true)
#5 /home/content/o/p/t/optitexftp/html/PmWiki/includes/Exception.php(43):
wfMsgReal('databaseerror', Array)
#6 /home/content/o/p/t/optitexftp/html/PmWiki/includes/Database.php(292):
MWException->msg('databaseerror', 'Database error')
#7 /home/content/o/p/t/optitexftp/html/PmWiki/includes/Exception.php(148):
DBQueryError->getPageTitle()
#8 /home/content/o/p/t/optitexftp/html/PmWiki/includes/Exception.php(116):
MWException->htmlHeader()
#9 /home/content/o/p/t/optitexftp/html/PmWiki/includes/Exception.php(134):
MWException->reportHTML()
#10 /home/content/o/p/t/optitexftp/html/PmWiki/includes/Exception.php(213):
MWException->report()
#11 /home/content/o/p/t/optitexftp/html/PmWiki/includes/Exception.php(247):
wfReportException(Object(DBQueryError))
#12 [internal function]: wfExceptionHandler(Object(DBQueryError))
#13 {main}
Thank you,
Saar
--------------------------------
Saar Machtinger - CIO
OptiTex Ltd. | www.optitex.com | saar.machtinger(a)optitex.com
Tel: +972-3-904 9979 | Fax: +972-3-904 2710
* Think green before you print
Is there a way in this code to force a specific width of the TOC (not
just the table it is in but the actual TOC area)?
{| cellspacing=0 cellpadding=0 style="margin-bottom: 1em; float:
right; margin-right: 0em; padding: 0em 0em 0em 1em;
|
__TOC__
|}
Right now the width is based on the values in the TOC (header values),
but I want to force a specific width.
Many thanks,
Bobby
Hello all,
My wiki is being used to support projects and format plans. I am also using
it to format documentation, and very soon contributors may be adding pages
at a high rate.
What I am hoping to develop is a page that lists all the pages in an
automated site map.
Any advice would be greatly appreciated
Thanks in advance, John
--
Empathy
http://thinman.com/empathy
Photography
http://thinman.com/photography
Technology
http://thinman.com
Hi All,
Is there a way of enabling the default search to include all namespaces by
default? I realise you can tick them yourself but I am wanting this to be
default behaviour for my users.
Thanks
Cameron