proga:LMW - Lojbanic MediaWiki: Difference between revisions

From Lojban
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:
*Check if the links that lead from the main page always end in well-formatted pages without missing hyperlinks.
*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.
* 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 [[proga:LMW. How to add the interface for a new language|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 alpha version of MW is out we should update LMW. Why? See #2.
* When a new version of [https://www.mediawiki.org/wiki/Extension:VisualEditor VisualEditor] is out please update it in LMW after finishing #1.
* When a new version of [https://www.mediawiki.org/wiki/Extension:VisualEditor VisualEditor] is out please update it in LMW after finishing #1.

Revision as of 14:04, 16 March 2014

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 "jbocre: [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.

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.

  • 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.
    • jbocre: - pages with discussing lojbanic stuff and discussions of how to develop lojban. Not usable by lo nintadni (i.e. new users).
    • Stub: - pages to be developed and moved to the first category.
    • jbocre: - imported from the tiki, to be moved to all the other categories or deleted if they are of no use.
  • 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 jbocre: 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

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.