proga:LMW - Lojbanic MediaWiki

From Lojban
Revision as of 07:08, 11 August 2014 by Gleki (talk | contribs) (→‎ToDo)
Jump to navigation Jump to search

Unlike most of the web sites you have probably visited, this site can be edited by you, the user.

How? Well, this site is a wiki and thus has facilities to allow you to edit its pages from the comfort of your very own browser.

This website integrates a wiki, a web forum system, quizzes, audio/video hosting, FAQs.

Lojbanic MediaWiki (LMW) is being developed by the Lojbanic community. Right now there are 2,048 articles in LMW. As of now LMW is running on Mediawiki 1.38.4.

How to contribute

The wiki uses the same engine as Wikipedia called MediaWiki. So if you have technical problems with improving this wiki you can search for the necessary information applied to Wikipedia or MediaWiki.

If you want to contribute the basic recommendations are:

  1. fix formatting of any broken page you find, add necessary hyperlinks, if the page is too hard to understand add {{jbocre/en}} in the beginning of the code on each of such page and rename it to "[OLD-NAME-OF-PAGE]".
  2. Create new pages, add hyperlinks to other pages on the wiki in them, and add hyperlinks in other pages to your page.
  3. Feel freedom. The wiki is made for you too, not for just one person.

Basic Wiki Editing

If you are creating or editing a page please consider the following conventions:

  • Lojbanic text has bold text reserved for it. .i dei lojbo jufra
  • Translation to other languages have italic text reserved for them. This is an English sentence.
  • Glossing text (showing its structure) is done by text wrapped in <code>...</code> tags. This -is-an-example-of a text-structure.
  • Words are emphasized by underlining them.
  • You can receive e-mail notification on any wiki page change by placing the page to your watchlist by checking the Star (star.svg) button.
  • The shoutbox. Just type something in it, and other will reply.
  • Discussions related to pages are in "Discussion" tab in the toolbar
  • Pages must not contain the symbol ")" (right bracket).
  • You can see last n pages that changed and also pages changed in last n days
    • You can see a link to a difference chart of what was changed in the page. You can also use "History" tab for that

To edit a Wiki page, you first need to register (use the link in the upper right corner), then after your account is approved you need to log in.

You should then see a tab that says "Edit", in the upper toolbar. Click that to enter the editing interface.

You should be able to mostly just type whatever you want, but if you want to do anything complicated, either open this Mediawiki help guide. Note that paragraphs are separated by two blank lines, so you can hit return once anywhere you like.

To create a new page, just link to it from another page.

Other trivia

If you are seeking admin help, try the Lojban IRC channel.



  • skami pruce
  • jboske
  • tadni
  • lisri


This section is supposed to act as a central point in coordinating what needs to be done on the wiki. This is a list of things that still needs to be added to the new MediaWiki. Please add anything you feel is missing or needs fixing. If you feel like adopting something, just write your name behind it in parentheses, maybe together with the current date. When you're finished, delete it, or move it to a Done section below.

  • fix software section
  • Replace the old Tiki ( while retaining all the stuff. As of August 2013 this goal is complete. The two wikis are slowly drifting apart since April 2013. Otherwise LMW contains all the stuff from the tiki including text and attachments (files). You are welcome to copy new content from the old wiki to this one until the old tiki is frozen making this one official. Since the old wiki is not much active this drifting apart is not a serious problem.
  • Split all the content using pages prefixes.
    • (Without prefixes): main pages. Clean and usable stuff.
    • BPFK: - pages related to developing Lojban by BPFK.
    • - pages with discussing Lojbanic stuff and discussions of how to develop Lojban. Not usable by lo nintadni (i.e. new users).
      • Many of them are imported from the old tiki, those are a subject to move to other categories or deleted if they are of no use.
    • Stub: - pages to be developed and moved to the first category.
  • Fix all links on jbobau selci'a page. At least one copy of each text must be inside the wiki in mediawiki format (you may still post additional links to texts in other formats). No need in localizing this page to other languages.
  • Check if the links that lead from the main page always end in well-formatted pages without missing hyperlinks.
  • News block is almost absent in LMW. Look at those fance welcome pages at or We need something like that.
  • When a new version of VisualEditor is out please update it in LMW after finishing #1.
  • Flow extension, a replacement of Talk tabs should be available in beta version in 2014. Please install it when it's ready to use.
  • Clicking on the flags on the welcome screen should change the interface (e.g. the left sidebar) accordingly but currently it's not possible (&setlang flag doesn't work). Wait until the bug is fixed.
  • Currently not possible to edit the code of pages in "User" namespace. Not sure what can be the reason. Visual Editor works on them, though.
  • check whether old and outdated translations exist
  • nicer layout, for the front page, toolbars.
  • the news section is not very good advertisement imo. when i read it as a newbie, with one 10sec clip released in 2007, and two news in 2008, i think the community is almost dead. so, maybe add some news?
    • la selkik:
    • The problem is that there is LOTS of new news. There's plenty of news. I don't see any reason to rewrite that ancient text with some recent news and leave it on the front page though. It's weird. It's as if by adding some particular thing that happened I'm sanctioning the erroneous impression it gives that hardly anything ever happens in jbogu'e. So I say we just archive that news to an article called "News That Used To Be Up On The Main Page For Ages Even Though After A Little While It Wasn't News And Started To Give The Wrong Impression" (except shorter, probably) and forget about it. Who's in?
  • Write up a page for Crash Course, L4B, similar to What Is Lojban?, The Book or The Complete Lojban Language
  • The Contribute page needs expanding. Preferably showing the various ways one can contribute to the Lojban collective e.g. via Jbovlaste, the Wiki,, jboselkei, etc.
  • Port the whole of CLL to the wiki
  • Maybe produce an online version of Lojban for Beginners



There are a couple of things that I know people want that haven't been implemented yet. I may get around to them myself, or someone else on the dev team might.

You are more than welcome to add stuff here. If you do so, however, you should probably leave a question in the shoutbox.

  • It would be nice if people monitoring a page were sent copies when someone was discussing it. --rlpowell
  • Automatically report broken links
  • Some sort of automatic translation from Lojban, for example button 'link all words to dictionary entries'
  • One should have possibility to change name of UserPageXXX. Then, clicking on username could lead directly to his user page, where standard information (email/country) can be inserted with some module
  • Maybe search should get you right to the page if there is only one found -- ilya

How to add the interface for a new language

Tech: consider adding

Missing Extensions:

  • The Babel extension may be of interest ( Here is an example of use:
  • AWC Extension for LMW. It has been discovered that AWC extension no longer works for MW 1.22 wmf11. So la gleki patched it by replacing all deprecated functions with new ones or commenting out some strings that had deprecated functions. The patched extension can be downloaded here. If a file is patched it is backuped in the same folder with suffix @@@. For now uploading user avatars from AWC itself doesn't work. Use [[File: ...]] links or urls instead.

Stylistic Matters:

  • Auto-capitalization is removed; "Fanva" and "Ralju Ckupau" don't look like correct Lojban.

Managing LMW. What extensions to patch

If you are in charge of LMW you should do the following:

  1. Open LMW once in a while to see if there are new requests from users for being registered. ConfirmAccount extension might be installed requiring every new user to fill in a short bio about them. So you have to manually let users in. Don't disable this feature otherwise spambots or vandals might come in. Don't use captcha as it has been cracked by
  2. Update LMW once in a while by running in the root of LMW folder
    cd extensions
    and then:
    cd .. ; git checkout master ; git pull ; cd extensions
    php ../maintenance/update.php
    to update all mysql tables.
    In case of fresh install run
    cd .. ; git clone ; cd extensions
    and then
    chgrp -R apache /home/gleki/public_html/mediawiki-1.19.2/ ; chmod -R g+rwX /home/gleki/public_html/mediawiki-1.19.2/
    replacing the paths acording to where you are moving LMW to.

Update extensions once

in a while. Ensure you are in /extensions folder of the root of your MediaWiki deployment directory.

Note that some of extensions require manual patches.

for ext in Babel cldr CleanChanges LocalisationUpdate Translate UniversalLanguageSelector
   if [ ! -d "$ext" ]
     git clone$ext.git
   cd $ext; git fetch --tags; git checkout 2014.07; cd ..

cd VisualEditor
git pull

git submodule update --init

cd ..


For it to work you might need to run

chmod a+x /home/gleki/public_html/mediawiki-1.19.2/extensions/Scribunto/engines/LuaStandalone/binaries/*/lua

chcon -t httpd_user_script_exec_t /home/gleki/public_html/mediawiki-1.19.2/extensions/Scribunto/engines/LuaStandalone/binaries/*/lua


Update only to version 1.22. Later versions have bugs.

git clone -b REL1_22

also needs the following patch:

vim WikiForum/WikiForum.php

Then comment out the following line:

//$wgHooks['SkinTemplateToolboxEnd'][] = 'WikiForumHooks::addNavigationLinkToToolbox';


As of Mediawiki 1.24alpha only SimpleTable version 1.2a (not later!) works.


If a user SomeName doesn't exist and when I create a page User:SomeName I can't edit it's code when SocialProfile is enabled. VisualEditor works okay, though.

But what you should do after each update of this extension is to comment out lines 95-97 of SocialProfile/UserProfile/UserProfile.php. After that, you should be able to edit the namespace like normal, and still have the ability for user profiles to appear on the user page.


You should apply this patch to ULS extension until it is included into the MediaWiki core.

If not done users after being registered and logged in will fall back to Lojban interface of LMW which is confusing.

Just run

cd .. ; git fetch refs/changes/75/120475/5 && git checkout FETCH_HEAD ; cd extensions

ConfirmAccount (currently not used in LMW)

Since the author hasn't updated the extension yet we have to use the following patch in extensions/ConfirmAccount/business/AccountRequestSubmission.php:

# Check if biography is long enough
$bioWordCount = preg_match_all("/\\p{L}[\\p{L}\\p{Mn}\\p{Pd}'\\x{2019}]*/u", $this->bio, $matches);
if ($bioWordCount < $wgAccountRequestMinWords) {

Broken pages

While importing the content of the old wiki into LMW the attachments with the following attachments couldn't be imported because they were files of zero length.

254 262 649 650 654 655 656 657 658 85

Other removed pages

863 and 310 files removed as it was from removed removed

805 is removed as it's a duplicate of 818.


This section will be used to document changes and new ideas for renovating the web site.

Please add your ideas and they will probably be implemented if they are sensible.

Multilingual wiki

  • la gleki:
    Translate Extension is completely useless ina mukltilingual wiki since every language differs from lojban in a different way and thus requires special treatment. Thus im against literal translation of CLL to other languages. they must be adapted

The shoutbox

It needs to be removed. It's rarely used and nothing comes of it. Imo, people should be able to use the forums, mailing list or IRC channel to voice anything. If they are unable to do this we've done something wrong. The shoutbox just takes up space and adds yet another channel of communication which further partitions the concentration of focus for lojbo. All in favour of its removal? Let's not be sentimental, btw. — chrisdone

.ie.i'esaisai .i .a'o ma'a spocatra ti loi ba'e fagri mi'e .kamymecraijun.

The menu

Here is the old menu:

  • Help
  • Home Page
  • Popular Pages
  • What's New?
  • Donate
  • Recent Changes
  • Login
  • About Lojban
  • What Is Lojban?
  • Why Learn Lojban?
  • What Is Lojban?, The Book
  • FAQ
  • Learning Lojban
  • Lojban For Beginners
  • Advanced Lojban
  • Texts In Lojban
  • Helping Out
  • Donate
  • Official LLG Projects
  • LLG Committees
  • Contributing To This Site
  • Giving Feedback
  • Resources
  • FAQ
  • Lojbanic Forums
  • Vocabulary
  • Promotional Materials
  • Community
  • Public Pages
  • Web Pages in Lojban
  • Lojban materials in other languages
  • Lojbanic Software
  • Multimedia
  • Texts In Lojban
  • Miscellaneous
  • About This Site
  • About The LLG
  • Contributing To This Site
  • LLG Publications
  • LLG Projects
  • LLG Committees
  • Contact Us

And here is the new one:

  • About
  • Introduction
  • FAQ
  • Learning
  • Books
  • Vocabulary
  • Lojbanic Software
  • Community
  • Mailing list
  • IRC Chat
  • Forums
  • Links
  • Contribute
  • Dictionary
  • Wiki
  • Toggle Multimedia
  • Lojbanic Texts
  • Audio
  • Wiki
  • Recent Changes
  • Public Pages
  • Popular Pages
  • RSS feed
  • The LLG
  • Official Projects
  • Publications
  • Committees
  • Donate!
  • Links to pages which need creating.

Feel free to create pages that need making, otherwise I will do them tomorrow. The 'Learning' page needs to be a 'getting started' page i.e. a clear and concise explanation of how to get learning with Lojban, books, vocabulary, community, rememberize or stuff like that, how to contribute, etc. Same theme for books, enumerate all the books in a clear way ready to be compared.

  • la gleki:
    I think the fewer links the better. Newbies shouldn't be shocked by a large number of strings to read when they enter Here are my suggestions:
  • Learning
  • Questions
  • Contacts
  • Discussion board
  • Recent changes

Well, may be we should add "Texts in Lojban" but that page needs to be in Lojban itself since no one could read it unles they speak Lojban. Thus, this link should probably be put only inside pages related to learning and onto the main opage localised to Lojban.

Existing Ideas

Similar sites

Two web sites with similar navigation, and one which is also Wiki-based:

These sites are good-ish, especially the Python one. The Haskell one could be simpler but it is generally a fine example of a wiki-based web site imo.

Both of these web sites are worthy of having their ideas stolen, if any.

Jim Dabell's implementation

Imho it's a nice idea, but it's a lot harder than simply editing the existing Lojban web site as it is to our needs:

Plus it looks like it'll never get done. I think it's better for someone like me to shout at people and tell them to get their shit together and start organising and using the wiki, for the community as a whole, rather than making a pretty web site which is incompatible with the rather large pre-existing wiki.

Pin Stack, whoever that is

Has the right idea in general, make the wiki more organised, less cluttered, etc. But has unrealistic expectations about installing a new wiki and moving the site over to it. Isn't going to happen, imo (at least right now).

Positive suggestions from alternjupiter

Again, doesn't seem, to me, that a complete rewrite is needed at all. Mere sensible modifications are called for. Nice points, though.

purpleposeidon's updated (1) thoughts

  • Have the menu items indented, and have the menus default to being collapsed. (And when a top-level menu is clicked, it should visit the link and expand the menu.)
  • lojban fortunes, slashdot style, would be nice, changed every eight hours or so. (There could be random/convoluted attitudinals, and one-liners from IRC, jbotcan, books... but that would be its own project.)

I started a fortune file a while ago (I like fortune) - cmacis fortune file

  • Merge the live journal and last forum post feeds into one
  • Reduce the number of live journal/mailing list items on the home page, and have a "More News" page
  • Make the URLs pretty
  • is powered by so many things, it's a wonder it doesn't explode. What I really mean is... is it really neccessary to have all of those icons on the bottom?
  • That search bar seems kindof iffy.
  • Put the logout stuff on the top-right corner
  • Put the logo at the top.
  • Having a long wait (nearly 5 seconds!?!?) for the homepage to load is not acceptable. Maybe "latest forum posts" slows stuff down? In that case, three possibilities: Don't have it (sadness); use an iframe (flashback to 2003); ajax (more effort). Consider putting a caching/proxy server in front of the website. It would probably be the easiest way to try to speed things up. (You could have HTTP running on port 81, and the cache running on :80)
  • I agree. I've changed the default to collapsed and clicking the section visits a link, but I think the tiki software will have to be modified to support what is wanted.
  • No idea what fortunes are, will look at this later.
  • Live journal is blog software, I don't think it should be merged with the forum at all, in a feed.
  • Agreed, the news section isn't relevant for newbies who'll have feeds etc. anyway, it could be below a description of lojban, the lojban community and the web site.

Cmacis' tuppence worth

The site looks and feels like nothing else I've encountered, except maybe from my early days on the net. Lojban good, but this site is a mess. Sometimes someone will link something nice, but I've never a clue how they got to it. This editor looked daunting at first, but is quickly growing on me. I know that right now I'm whining without suggesting anything. I know that moving from the tiki is a big ouch, but has anyone considered more usual wiki software? People know this stuff.

On killing the tiki .iunai

I was just looking into the possibility of switching away from the tiki .iunai to something that actually merits use, and it doesn't seem like it would be that hard. Instructions for moving everything over to MediaWiki (what Wikipedia and everything else use) can be found at [1]; unfortunately, it requires admin access to the tiki .iunai, thus quashing my plans to mirror the site on as proof-of-concept.

On a related note, I would like to suggest changing the main page back to the one viewable at [2]. (I swore, until recently it was still available at [3], but apparently not anymore. MUST ALL GOOD LOJBAN RESOURCES BE DESTROYED?) The tiki .iunai could still be accessible via a link on that page, while showing newcomers actually user-friendly & navigable information.

mu'omi'e .kamymecraijun.

Yes, I think it would be better to have the as a mediawiki site. It's far more user-friendly.

mu'o mi'e omologos

You can think what you like, but Tiki is the only system I know of that does decent forum<->email gatewaying besides Google Groups, which would mean losing control over the lists. As such, I will oppose any attempt to replace it.

As far as the old web page goes, I got near constant complaints about it. Your single vote for it, I'm afraid, doesn't count for much. I moved it because many of the things it points to are on the tiki site now. However, I've put it back at just for you.

If you want admin access to the tiki for any purpose, just come find me on #lojban ; I'm helpful like that.

mu'o mi'e camgusmis

  • la gleki:
    That gatewaying hasnt been working since 2010. Do we still need it?