LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 10-19-2007, 10:40 AM   #1
Harry Seldon
Member
 
Registered: Feb 2004
Distribution: SLES 9
Posts: 112

Rep: Reputation: 15
Mediawiki question


I'm running a mediawiki server and have been pleased with it so far. I've run into a couple of issues with keeping pages current. I was wondering if any has ever set up any automation with page updates or would know how to do so. I'm pretty good at scripting so I think I can format the data correctly; I just don't know where to put it.
 
Old 10-19-2007, 12:36 PM   #2
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Scottsdale, AZ, USA
Distribution: Slackware
Posts: 375

Rep: Reputation: 40
Mediawiki stores everything in a relational database. So you are going to have to examine the database tables and possibly do updates to information in those tables.

I don't do this in my installation but I would take a look at the database to see what's in there. Once I found the information I wanted to dynamically update, I would practice this with manual SQL updates. Once I was satisfied with that, I would look at what scripting I would need put together to automate those updates.

Another solution might be to look into a wiki that stores text files with no database backend like JSPWiki. You would need to install and configure a Java servlet container like Glassfish or Tomcat, but then you could modify straight text files in the file system. You would need to restart the web application for JSPWiki to re-index the files as it re-indexes files on every start up and only modifies the index through its own editor.

This raises another question: If you were to modify the database for Mediawiki, would it re-index your dynamic content? I don't know the answer to that one but once you've figured out how to modify the content, testing the indexing would be a piece of cake.
 
Old 10-19-2007, 01:19 PM   #3
Harry Seldon
Member
 
Registered: Feb 2004
Distribution: SLES 9
Posts: 112

Original Poster
Rep: Reputation: 15
Thanks, Scott. I've been browsing the database layout on MediaWiki's site to see if I can figure it out. I may look into getting JSPWiki if it starts getting too complicated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for printable docs for MediaWiki fudam Linux - Software 1 09-23-2007 09:03 PM
MediaWiki on Core 4 interOperate Fedora 1 08-23-2005 08:18 AM
mediawiki spellchecker jdd Linux - Software 2 08-04-2005 05:26 AM
mediawiki noir911 General 1 07-01-2005 07:18 AM
Path issues with MediaWiki Silvermink Linux - Software 4 02-19-2005 04:54 PM


All times are GMT -5. The time now is 06:12 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration