Enable NaturalLanguageList Extension on WMF wikis
OpenPublic

Description

Author: svippy

Description:
http://www.mediawiki.org/wiki/Extension:NaturalLanguageList

The NaturalLanguageList Extension provides with some almost essential functions for almost any larger wiki out there and helps writing efficiency of templates as well as speed for rendering pages.

While Wiktionary would be an obvious choice for improvement, for anyone who have cried over the following templates:

http://en.wiktionary.org/wiki/Template:also
http://en.wiktionary.org/wiki/Template:list_helper

Wikipedia itself is not excluded from such a use:

http://en.wikipedia.org/wiki/Template:See_also

But in addition to provide easy natural language list features, it also allows to parse data provided in large numbers by other templates, using {{#rawlist:}}, see http://dpaste.org/ezns/ for an example of such a use.

In essence, if you cannot think of an application for this extension, then you have not spend enough time writing templates.


Version: unspecified
Severity: enhancement

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz22928.
bzimport created this task.Via LegacyMar 23 2010, 12:46 PM
bzimport added a comment.Via ConduitMar 23 2010, 1:05 PM

happy.melon.wiki wrote:

Extension is in SVN. Now needs security review; CC'ing Tim.

Contents of that dpaste, for when it expires:

(Based on the WP:AN archive list)

[[Template:Archivelist]]

{{#ifexist: /Archive {{{i|}}}1 | Archive {{{i|}}}1 | }} /~/
{{#ifexist: /Archive {{{i|}}}2 | Archive {{{i|}}}2 | }} /~/
...
{{#ifexist: /Archive {{{i|}}}8 | Archive {{{i|}}}8 | }} /~/
{{#ifexist: /Archive {{{i|}}}9 | Archive {{{i|}}}9 | }} /~/

[[Template:Archives]]

{| pretty_box_code

-
...

{{#rawlist: /~/ <!-- SEPARATOR -->

{{archivelist}}
{{archivelist1}}
...
{{archivelist9}}
itemcover=$1
blanks=false

}}

...

}

(Or, using #list, based on [[en:Template:Toolbar]])

[[Template:Links]]

( {{#list: blanks=false | separator= &nbsp;{{!}}&nbsp;

{{{1}}}
{{{2}}}
...
{{{29}}}
{{{30}}}

}} )

bzimport added a comment.Via ConduitApr 5 2012, 11:52 AM

sumanah wrote:

Tim wrote on April 4th, "I think it's pretty likely that the Lua feature will be live before NaturalLanguageList gets looked at again."

http://thread.gmane.org/gmane.science.linguistics.wikipedia.technical/60320/focus=60355

I apologize for the lengthy delay in response. :(

Aklapper added a comment.Via ConduitJan 23 2013, 12:40 PM

See https://www.mediawiki.org/wiki/Writing_an_extension_for_deployment for information on what is needed to get an extension reviewed before potentially deploying it on a wikisite.

It seems like the extension is still in SVN and has not been moved to Git which is a potential sign for missing maintenance.

Raymond added a comment.Via ConduitJan 23 2013, 12:44 PM

(In reply to comment #3)

It seems like the extension is still in SVN and has not been moved to Git
which
is a potential sign for missing maintenance.

It's in Git already: https://gerrit.wikimedia.org/r/#/q/project:mediawiki/extensions/NaturalLanguageList,n,z

bzimport added a comment.Via ConduitJan 23 2013, 12:55 PM

svippy wrote:

(In reply to comment #5)

Then https://www.mediawiki.org/wiki/Extension:NaturalLanguageList needs quite
some updates.

This I will not deny (speaking as the author of the extension). I have not maintained it for over a year now. If there is newfound interest (or necessary changes to be made), I will return. However, so far I have felt the extension to be 'feature complete' and 'working'.

greg added a comment.Via ConduitAug 22 2013, 10:17 PM

Is this extension still needed now that we have Lua available on all wikis?

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.