Last modified: 2014-11-17 10:35:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T24928, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22928 - Enable NaturalLanguageList Extension on WMF wikis
Enable NaturalLanguageList Extension on WMF wikis
Status: NEW
Product: Wikimedia
Classification: Unclassified
Extension setup (Other open bugs)
unspecified
All All
: Low enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 31235
  Show dependency treegraph
 
Reported: 2010-03-23 12:46 UTC by Svip
Modified: 2014-11-17 10:35 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Svip 2010-03-23 12:46:43 UTC
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.
Comment 1 Happy-melon 2010-03-23 13:05:28 UTC
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|}}
| {{archivelist|1}}
| ...
| {{archivelist|9}}
| itemcover=[[/$1|$1]]
| blanks=false
}}
 
...
|}
 
=============================================
(Or, using #list, based on [[en:Template:Toolbar]])
== [[Template:Links]] ==
 
( {{#list: blanks=false | separator= &nbsp;{{!}}&nbsp;
| {{{1|}}}
| {{{2|}}}
| ...
| {{{29|}}}
| {{{30|}}}
}} )
Comment 2 Sumana Harihareswara 2012-04-05 11:52:23 UTC
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. :(
Comment 3 Andre Klapper 2013-01-23 12:40:20 UTC
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.
Comment 4 Raimond Spekking 2013-01-23 12:44:14 UTC
(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
Comment 5 Andre Klapper 2013-01-23 12:45:00 UTC
Then https://www.mediawiki.org/wiki/Extension:NaturalLanguageList needs quite some updates.
Comment 6 Svip 2013-01-23 12:55:27 UTC
(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'.
Comment 7 Greg Grossmeier 2013-08-22 22:17:48 UTC
Is this extension still needed now that we have Lua available on all wikis?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links