Rosetta Code:Village Pump/Replace MediaWiki: Difference between revisions

(Applied Template:vptopic)
 
(26 intermediate revisions by 5 users not shown)
Line 1:
{{Vptopic
|topic=Replace MediaWiki
|summary=On the need for different serverside software.
}}
==Example engine==
 
I did something in PHP. http://gugarcode.atbhostawardspace.netus/
 
Ignore my horrible code. Nothing W3C, almost no CSS. It's just aan example. There is missing a lot of important features, like edit history, language info, accounts, and a "visual". There is a lot of XSS and SQL Injection vulnerabilities, Ignore free hosting. It's just a example. If you want you can contribute to my code. But do not worry, thisThis example will not replace MediaWiki. In this engine, there is no "lang tags" or "headers" , you choose a language, write description and code in different fields and submit, and it's all done. All automatic. If you want more than 1 example for a language, just add again. It will be grouped by Language. (Grouping not implemented yet, now it's just 2 sections in same page with same title.)
 
'''I changed it to Awardspace, gugarcode.atbhost.net was apparently "hacked".'''
'''Login:''' gugarc (gugarc_root in MySQL)
'''If someone really want to contribute, post in my User Talk.'''
 
'''GugaRC had more than 70% of RC examples. (I've made a transition bot.)'''
'''Pass:''' rcpass
'''But ALL examples were completly erased by someone.'''
 
'''Cpanel login at:''' http://gugarcode.atbhost.net:2082/
 
'''FTP:''' gugarcode.atbhost.net'''
 
Hosting changed to ATBHost.net, DB migration successful. Much better. --[[User:Guga360|Guga360]] 19:12, 11 July 2009 (UTC)
 
==Replace MediaWiki==
Line 43:
:::::: Obviously, I will not do it alone. (not because it's hard, it's because i'm very poor at design.) Most people will help, will be completely open-source. The transfer will be very easy with bots. But there is a problem. For the bot do its job correctly, the article must be properly formatted. (Lang tags, headers and etc)
:::::: Incorrectly formatted articles should be transferred manually. In less than 2 weeks, we can transfer more than 90% of Rosetta Code. --[[User:Guga360|Guga360]] 20:58, 11 July 2009 (UTC)
::::::: It's your money and effort. Nobody other than yourself is going to put in effort until you've proved that you have a platform that's ready to receive us. (If there pages that you think are buggy, we should fix those pages or demonstrate to you why they are not actually buggy. Can't tell ''a priori'' which.) —[[User:Dkf|Donal Fellows]] 16:14, 12 July 2009 (UTC)
:::::::: This is just a example, a concept. It's not "my platform". It's just showing how examples will be added (with description, code and languages in different forms), adding a language two times to group and etc. New RC should be completly different from this example. --[[User:Guga360|Guga360]] 16:53, 12 July 2009 (UTC)
 
I made a small transition bot (it's running now) it already added a lot of tasks and examples, but some incorrect things ("<nowiki>{{trans C++}}</nowiki>" (missing |), <nowiki><pre></nowiki> tags, or spaces to start a "code box" and etc.), just fails silently, incorrect examples are not added. But some wiki tags like "<nowiki>'''</nowiki>" are not compatible, so, we need to adjust other things to make a transition perfect. PS: There is no way to move incorrectly formated examples. If we are really thinking of moving the platform, we should fix all examples first. --[[User:Guga360|Guga360]] 23:17, 13 July 2009 (UTC)
 
==Out of nowhere?==
Line 53 ⟶ 57:
Take a look at [[Village_Pump:Home/Features_Wanted]]. Most features are almost impossible to implement using MediaWiki. --[[User:Guga360|Guga360]] 03:51, 10 July 2009 (UTC)
: Actually, the vast majority (all?) of them are possible. I know how each of them could be done; My understanding of MediaWiki has grown tremendously over the last several months. --[[User:Short Circuit|Short Circuit]] 08:03, 10 July 2009 (UTC)
 
==Stick with MediaWiki==
 
I think we should continue to use MediaWiki.
* We don't have to maintain MW ourselves.
* Many people know MW wiki syntax.
* MW is very powerful in the matter of ''user-created functionality'', using categories, templates, and sometimes bots. All of the structures we've built -- <nowiki>{{header}}</nowiki>, categorized and flat indexes of examples, "Tasks not implemented in", etc. -- all of this does not need attention from RC administrators/programmers. Consider MediaWiki like a general-purpose programming language: if we create something that is adapted to what we want now, it will lack generality and make it difficult for people to come up with ideas for improvements and ''just do them''. (Of course, this is moot if we invent a ''better wiki'' rather than Rosetta Code-specific software.
--[[User:Kevin Reid|Kevin Reid]] 21:41, 11 July 2009 (UTC)
::Maintaining a wiki software is not something easy. But MW is really powerful. But sometimes lacks features that we need. Like some insoluble problems, like "C sharp bug". With the new software, we can stop using bots, because we can do a "Tasks not implemented in" in real time. We don't need to maintain a PHP script (like "viewunimpl.php"), but we need to maintain a bot. Bots are very unstable. (See [[Tasks_not_implemented_in_LaTeX]]). With a specific software, we don't need to adapt MW. It will be more stable, and we can do everything, without limitations. A example: RC changed "lang tags" a time ago. What happened? Today, we are still using deprecated tags in most Tasks. A transition has "pros and cons", We should really think and discuss this before doing anything. --[[User:Guga360|Guga360]] 15:44, 12 July 2009 (UTC)