Develop a Laboratory Information Management System Using Mediawiki, PHP and Perl

No GoodNeed ImprovementOKGoodExcellent (No Ratings Yet)
Loading ... Loading ...

LIMS for Freezer Sample Tracking

Software: Mediawiki.

Components: Perlwikipedia, CMS::MediaWiki.

Programming languages: PHP, Perl, SPARQL.

Example Code


#!/usr/bin/perl
use strict;

use Perlwikipedia;

my $user = ‘admin’; my $pass = ‘xxx’;
my $hostname=”xxx.com”;
my $directory=”LIMS”;
my $editor=Perlwikipedia->new($user);
$editor ->set_wiki($hostname, $directory);
$editor->{debug} = 1;

$editor->login($user, $pass);

my $article = “Wikipedia:Freezer”;
my $text=$editor->get_text($article);

$text = $text . “Run a PCR reaction on June, 7 2007 <br />”;

my $edit_summary=’PCR Enhancer Protein’;

my $is_minor = 0;

$editor->edit($article, $text, $edit_summary, $is_minor);

Popularity: 1%

Leave a Comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word