Rosetta Code:Village Pump/Features Wanted: Difference between revisions

Done
(New section: Powerful Search)
(Done)
 
(14 intermediate revisions by 11 users not shown)
Line 1:
{{Vptopic
A place to put the features we want. Please keep each feature in its own section. Some of these may be doable by bot. Others may be doable by writing MediaWiki extensions to fill additional namespaces.
|topic=Features Wanted
 
|summary=A place to put the features we want. Please keep each feature in its own section. Some of these may be doable by bot. Others may be doable by writing MediaWiki extensions to fill additional namespaces.
}}
==Logically Separate Code Samples==
 
Line 60 ⟶ 62:
 
I would like for there to be an interface for interacting with Rosetta Code that doesn't depend on having a web browser. A console-based interface using ncurses would be slick, or even a standalone XUL-based app. --[[User:Short Circuit|Short Circuit]] 02:52, 10 July 2009 (UTC)
::This may be a stupid question, since I don't understand the goal you're trying to achieve with that; but what part of this request is NOT served by Lynx running in a console? [[User:Sgeier|Sgeier]] 18:15, 8 October 2009 (UTC)
:::: An interesting question. Probably the biggest reason is due to some of the limitations of HTML web design; There are three sets of important links on each page, and each set of links winds up amassed prior to the page body. Browsers like w3m work slightly better, but are still clunky for navigating pages. Having function keys or other keyboard shortcuts corresponding to those menus and common page editing behaviors would improve my workflow on MW sites.
::::
:::: There are other features that would come in handy as an editor, such as an abbreviated list of of recent changes in-page, quick assess to a listing of category membership and intrawiki, interwiki and outbound links. Those aren't part of the default data that gets served up with a wiki page.
::::
:::: I'm loathe to implement such things via JavaScript as part of the theme. I've been down the theme modification path with the Rosetta theme, and theme modifications make MW upgrades ''very'' painful. I've even brought the subject up in ##mediawiki, and was told that you're not supposed to modify those themes. Then there are the reactions one gets from using a client-side language as part of a web page. --[[User:Short Circuit|Michael Mol]] 21:24, 8 October 2009 (UTC)
::I rather agree with the idea of <s>extending</s> using some already-existing chunk of software. One possibility that comes to mind would be using the Midnight Commander sources to, say, give the links in the left pane, and the content on the right (or something). mc already has all the code needed for a project like this; all that's required is some fat-trimming, and some server-side code to access the db. -- [[User:Eriksiers|Eriksiers]] 22:49, 8 October 2009 (UTC)
 
==Powerful Search==
It would be nice to have a search that could search only examples in a specific language and/or only pages in a language's category. This may be related to [[{{FULLPAGENAME}}#Logically Separate Code Samples|Logically Separate Code Samples]]. --[[User:Mwn3d|Mwn3d]] 17:37, 15 September 2009 (UTC)
 
==Simple features==
- I'd like a page that shows all tasks done with a language.
- I'd like a language page like:
http://rosettacode.org/wiki/Category:Lisp
to contain links as:
http://rosettacode.org/wiki/Empty_program#Lisp
Instead of:
http://rosettacode.org/wiki/Empty_program
 
: Something like that is in the works, with the help of Semantic Mediawiki. We've got a few bugs to work out first, however. --[[User:Coderjoe|Coderjoe]] 02:51, 22 August 2010 (UTC)
 
:: The first query should already be possible: {{#ask: [[Category:Programming Tasks]] [[Category:Lisp]] | limit=3}}
::: This page http://rosettacode.org/wiki/100_doors shows all languages for a task, but I'd like to see the opposite, a page that shows all tasks for a language (not jut a list, with all the inlined source code too).
:: Of course you would put that into a better format, and would make a nice page out of it. --[[User:Ce|Ce]] 07:55, 22 August 2010 (UTC)
:::Those links don't go right to the example though. You need to add the anchor on to the ends of the links. --[[User:Mwn3d|Mwn3d]] 15:37, 22 August 2010 (UTC)
:Check http://rosettacode.org/wiki/Rosetta_Code:Village_Pump/Language_Page_Links - it's been recommended and two possible solutions (in code) and a few others (in theory) have been made. [[User:BR|BR]] 20:39, 15 December 2010 (UTC)
 
- I'd like to do side-by-side comparisons between pairs of languages. For example, I know Python very well but am still learning Scheme. Being able to easily view side by side examples would be a tremendous time saver compared to having to scroll between the Python and Scheme entries for each example. BTW, this site is a terrific idea. My thanks to all the implementors!
:If you sign up for an account and then copy [[User:Tyrok1/monobook.js]] to the same subpage of your userpage (if your username was "username" then it would go to User:Username/monobook.js, and mine is at [[User:Mwn3d/monobook.js]]), you get a neat little "my scripts" option at the top of every page. If you check "language comparison" then checkboxes will appear next to language names in the tables of contents on task pages. You can then check a couple of those and only those languages will show on the page. It's not side-by-side, but there's a lot less scrolling. Plus it's nice to have an account and a user page to decorate. --[[User:Mwn3d|Mwn3d]] 13:35, 25 March 2011 (UTC)
 
== Webchat fix ==
In file /extensions/WebChat/WebChat_body.php, line 40, change the width from '600' to '100%'. Also, in function webChatExpand on line 52, comment out the two lines that automatically resize the webchat applet to the size of the screen. Doing this helps prevent an excessivly wide window, especially on those 2048x1152 displays that are popular right now. For those with Mediawiki bugzilla access, you can also see a patch at [https://bugzilla.wikimedia.org/show_bug.cgi?id=29592 bug 29592]. --[[User:Sigma 7|Sigma 7]] 12:28, 26 June 2011 (UTC)
: Done --[[User:Short Circuit|Michael Mol]] 12:55, 26 June 2011 (UTC)