proga:LMW - Lojbanic MediaWiki

From Lojban
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 [https://en.wikipedia.org/wiki/MediaWiki wiki and thus has facilities to allow you to edit its pages from the comfort of your very own browser.

Lojbanic MediaWiki (LMW) is being developed by the Lojbanic community. Right now there are 2,227 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

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. See Signing Up And Logging In for more information.

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 or read Wiki Page Editor for more information. The Mediawiki Help guide is often a bit more up to date, however. 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.

Formatting pages

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.
  • A system that integrates a wiki, a web forum system, quizzes, audio/video hosting, FAQs.
    • 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
  • 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

Other trivia

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


Design

Categories:

  • skami pruce
  • jboske
  • tadni
  • lisri

ToDo

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 (http://www.lojban.org/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 en.wikipedia.org or nds-nl.wikipedia.org We need something like that.
  • There should be a well-written instruction on how to add the interface for a new language if you have Lojbani stuff in the language not present on the main page with flags.
    • Widget:ralju papri widget needs to be improved (images should be put in Image: ... format, not in url format)
  • When a new alpha version of MW is out we should update LMW. Why? See #2.
  • 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 mw.lojban.org Wiki, jbo.wikipedia.org, jboselkei, tatoeba.org etc.
  • Port the whole of CLL to the wiki
  • Maybe produce an online version of Lojban for Beginners

Non-Features

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 (http://www.mediawiki.org/wiki/Extension:Babel). Here is an example of use: http://meta.wikimedia.org/wiki/User_language
  • 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.

Done

  • Install a forum extension. WikiForum extension works. Although, this is not an ideal extension.
  • Install VisualEditor so people not familiar with MediaWiki syntax can start developing LMW immediately.

Managing LMW

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 is 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 is cracked by vicarious.com
  2. Update extensions once in a while. Note that some of them require manual patches. ConfirmAccount requires the following:
  3. Update LMW once in a while. Usually alpha version are okay but please don't delete the old folder so that if after updating the wiki fails to load you can go back to the old version LMW. You need to run $ php maintenance/update.php to update all mysql tables after each update
  4. Update localisations

ConfirmAccount

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) {

SocialProfile

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 /extensions/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.

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 http://www.lojban.org/tiki/Sandbox

http://mw.lojban.org/index.php?title=Draft_SandBox removed

http://mw.lojban.org/index.php/Draft_Tiki_Feature_Testing removed

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