Last modified: 2014-04-18 03:06:20 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 T50175, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48175 - Scribunto/Lua should have a built-in method for retrieving categories used on a page
Scribunto/Lua should have a built-in method for retrieving categories used on...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Scribunto (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 59111 (view as bug list)
Depends on:
Blocks: 48176
  Show dependency treegraph
 
Reported: 2013-05-06 19:18 UTC by MZMcBride
Modified: 2014-04-18 03:06 UTC (History)
6 users (show)

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


Attachments

Description MZMcBride 2013-05-06 19:18:47 UTC
It would be helpful to have a built-in method in Scribunto/Lua that allows retrieving a list of the categories used on a page.

For example, <https://en.wikipedia.org/wiki/Einar_Schleef> would return a list that includes:

* German dramatists and playwrights
* 1944 births
* 2001 deaths

As these categories are included on this page.
Comment 1 Brett Zamir 2014-04-18 03:05:45 UTC
I'd just like to make the explicit suggestion that the categories be exposed be on title objects (see http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Title_objects ) as they contain other information about a given page.
Comment 2 Brett Zamir 2014-04-18 03:06:20 UTC
*** Bug 59111 has been marked as a duplicate of this bug. ***

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


Navigation
Links