-----Original Message-----From: Henny Savenije
>I actually have a few already quite old homepages written in html.
>They are pretty big (follow the first few links below)
>
>Would it be possible to automatically import those in a wiki? The
>advantage would be that it's easier searchable and easier for me to maintain.
>
>Henny (Lee Hae Kang)
_______________________________________________
Hi Henny,
I don't see why not, but you would need to write something to search the folders those pages are in and parse the HTML to the desired wiki-text. I'm sure you could find something that would walk through the html for you. PHP's SimpleXML or DOM objects if nothing else.
-Courtney
A sysop on my wiki is complaining that certain "tools" are suddenly not
available on CheckUser. Unfortunately, he does not have a screenshot of what
he's talking about but here is a chat transcript.
Him: used to be, there was a row of buttons displayed, in IP mode, to do a
who is, tor check, etc. geo locate, etc
Me: By saying "IP mode," do you mean when you select Get edits from IP?
These tools would only appear with this option was selected?
Him: When we selected a particular IP to check, from the list of those used
I am not familiar with CheckUser. Is there anything that could have been
removed in a new version?
Thanks
Hi Gaurav,
MediaWiki uses MySQL to store all its data, so yes, it can display from a MySQL database. You can have a custom table inside (or outside) your MediaWiki installed database and write extensions to show data from that table.
What we did was actually to import XML data from a reference manager as wiki pages so that there was one wiki page per reference.
If you write a MediaWiki extension (I'd suggest the Special Page format) to take your source data and format it however you want you can easily import data into MediaWiki from any source I can think of at the moment.
For example, you might have a special page that you just went to, or hit a button, or had a text box to give information about the source. The special page would load the source and as long as it had MediaWiki page names it could create articles for you.
$comment = "Auto-Imported";
$articleTitle = Title::newFromText($this->getSourceTitle());
If ( !$articleTitle->exists() ) {
$articleText = $this->getSourceText();
$article = new Article($articleTitle);
$article->doEdit( $articleText, $comment, EDIT_NEW);
}
Slap most of that in a loop, make sure I got my syntax right and you have yourself an importer.
Will that work for you?
Good luck!
-Courtney
PS I CC'd the list because this is a common question and it might be nice for you to get more feedback.
-----Original Message-----
From: Gaurav Singal [mailto:gsingal@gmail.com]
Sent: Tuesday, February 24, 2009 12:06 AM
To: Christensen, Courtney
Subject: autopopulate mediawiki
Hi Courtney,
I found your posts on http://www.gossamer-threads.com/lists/wiki/mediawiki/157577?page=last.
I am creating a mediawiki that I would like to autopopulate from a database. I noticed that you were able to do this -- how did you go about it? Alternatively, do you know if mediawiki can display information from a MySQL database?
Thank you for your help,
Gaurav
Hi !
I have installed the Extension:FileIndexer new variant
(http://www.mediawiki.org/wiki/Extension_talk:FileIndexer#New_Variant) from
Ramon Dohle (raZe) on my version 1.12 and it doesn't work at all : nothing
special happend when I upload a PDF file (File correctly uploaded) and
search for any word in the PDF does not give any hit.
Actually I'm running under Windows using WAMP. I've installed pdftotext and
iconv for Windows and they works perfectly from both command line and a PHP
script. Of course I have adapted the raZe's script for my installation path.
Anything I could check / debug ?
Any advice appreciated.
--
francois.piette(a)overbyte.be
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be
Hi, I just got a request to prevent pages with some specific keywords from
showing up in the recent changes list...
Does anyone have an idea how to do this?
Besides "interesting articles" we also enter "Project Status Reports" on our
wiki. These should be not shown.
Thank you in advance for any help
G.
Apologies in advanced for the cross-posting. :-)
Please circulate this call among Wikimedia communities, researchers
and other people that may be interested! This call is also online at
http://wikimania2009.wikimedia.org/wiki/Call_for_Participation
== Call for Participation ==
Wikimania is an annual global event devoted to Wikimedia projects
around the globe (including Wikipedia, Wikibooks, Wikisource,
Wikinews, Wiktionary, Wikiversity, Wikiquote, Wikispecies, and
Wikimedia Commons). The conference is a community gathering, giving
the editors and users of Wikimedia projects an opportunity to meet
each other, exchange ideas, report on research and projects, and
collaborate on the future of the projects. The conference is open to
the public, and is a chance for educators, researchers, programmers
and free culture activists who are interested in the Wikimedia
projects to learn more and share ideas about the Wikimedia projects.
This year's conference will be held from '''August 26-28''' in Buenos
Aires, Argentina at '''San Martín Cultural Center'''.
For more information, please visit the official Wikimania 2009 site at
http://wikimania2009.wikimedia.org.
We are accepting submissions for presentations, workshops, panels,
posters, open space discussions, and artistic works related to the
Wikimedia projects or free content topics in general. Please carefully
follow the submission guidelines below.
=== Important dates ===
* '''Submissions will open on:''' March 1
* '''Deadline for submitting workshop, panel, and presentation
submissions:''' April 15
* '''Deadline for submitting posters, open space discussions, and
artistic works:''' April 30
* '''Notification of acceptance of workshops, panels, presentations:''' May 15
* '''Notification of acceptance of posters, discussions, and artistic
works:''' May 31
* '''Conference dates:''' August 26-28
=== Themes and tracks ===
There are two tracks for submission: the '''Casual Track''', for
members of wiki communities and interested observers to share their
own experiences and thoughts and to present new ideas; and the
'''Academic Track''', for research based on the methods of scientific
studies exploring the social, content or technical aspects of
Wikipedia, the other Wikimedia projects, or other massively
collaborative works, as well as open and free content creation and
community dynamics more generally.
Submissions to either track should address one or more of the following themes:
* '''"Wikimedia Communities,"''' including the topics of conflict
resolution and community dynamics; reputation and identity;
multi-lingualism and languages and cultures.
* '''"Free Knowledge,"''' including open access to information; ways
to gather and distribute free knowledge, use of the Wikimedia projects
in education, journalism, research; ways to improve content quality
and usability.
* '''"Latin American challenges,"''' centering on efforts and
limitations for expanding the reach of Wikimedia projects in Latin
America; promotion of projects in Native American languages; specific
problems of the Spanish and Portuguese-speaking Wikimedia communities.
* '''"Technical infrastructure,"''' including issues related to
MediaWiki development and extensions; Wikimedia's technical
infrastructure; and new ideas for development.
Papers should be of interest to members of the Wikimedia communities,
and fit within one of the themes above.
=== Types of Submissions ===
We are seeking submissions for:
* '''Presentations''' (10–30 minute talks with discussion afterwards)
:* This type of submission is appropriate for presenting substantial
research or community projects
* '''Workshops''' (60–120 minute session with a discussion leader and
more audience involvement)
:* This type of submission is appropriate for sessions designed to
teach a specific subject or explore it in depth
* '''Panels''' (group of 2-5 speakers to discuss aspects of a topic
with audience questions, 45-90 minute sessions)
:* This type of submission is appropriate for discussions on a topic
of wide interest among community members, with several participants
who may be presenting their work. For less formal discussions of
limited interest, consider an open space discussion instead.
* '''Open space discussions''' (informal discussion on a specific
topic; the discussion leader helps moderate the conversation but the
session is open to anyone interested to join in)
:* This type of submission is good for a topic that several
participants want to discuss or brainstorm about in an informal
setting
* '''Posters''' (printed visual displays that can stand on their own,
with no associated presentation)
:* This type of submission is good for presenting research in
progress, or smaller community projects
* '''Artistic works''' (plays, competitions, comedy, visualizations,
displays or other representations of some aspect of the projects)
:* This type of submission is good for showing creativity or
showcasing beautiful work about the projects.
In addition there will be the chance to give lightning talks, which
are 5-minute short presentations. Lightning talk sessions will be
organized on the Wikimania 2009 wiki shortly before the conference
begins, without any need to submit them via the submission system.
These talks are best for those who want to quickly present an idea or
project without giving a formal presentation. These are informal talks
that are open to everyone to participate in.
=== Submission Guidelines ===
Wikimania is organized by volunteers, so please help us minimize
wasted effort by submitting via the submission system and following
these guidelines. All submissions MUST include the following:
# '''Event title:''' an English or Spanish title.
# '''Abstract:''' a short English or Spanish abstract of your event in
50 to 100 words. The abstract will be used for the public schedule.
# '''Themes and track:''' list the track you wish to submit to (Casual
or Academic) and the single theme you think your submission fits in
best (Wikimedia Communities, Free Knowledge, Latin American
challenges, Technical infrastructure). Note that posters and artistic
works have their own track in the submission system.
# '''Information about the speaker:''' full name, email, and a short biography.
# '''Submission file:''' A plain text, PDF or OpenDocument file, in
English or Spanish, containing:
#* '''A long description of the submission''', in English or Spanish
that can be used for reviewing, not to exceed 1000 words. Please give
an overview of the areas to be covered or taught. State clearly the
relevance to the Wikimedia projects and whether submission concerns a
specific wiki project. You can also include links, Include graphics an
diagrams if they do not exceed one page.
#* '''Event type:''' please state if the event is a presentation,
workshop, panel, open space discussion, poster, or artistic work; if a
presentation or panel, whether the presentation is expected to be a
certain length.
#* '''For panel submissions only:''' name of a suggested moderator and
short biographies of each suggested panelist
#* '''Language:''' list the language you plan to present in. The
conference will be bilingual in English and Spanish.
#* '''Special requirements:''' list any special requirements,
including any equipment.
In the "Comments for conference director" field you should tell us
whether you will attend to Wikimania (a) surely, (b) probably, (c)
only if your submission is accepted, or (d) only if we provide travel
and/or accommodation. You can also add yourself to the public list of
attendees at the Wikimania 2009 wiki:
http://wikimania2009.wikimedia.org/wiki/Attendees
Please note that all submissions must be dual licensed under the GNU
Free Documentation License version 1.2 or later ''and'' the Creative
Commons Attribution-Share Alike 3.0 3.0! By submitting for Wikimania
2009 you agree to this condition.
===Submissions===
Once you are sure you have included all of the required information,
please send your submission before the respective deadline through our
'''submission system''':
http://wikimania2009.wikimedia.org/wiki/Submission
If you have further questions, email wikimania-program(a)wikimedia.org
(in English or Spanish).