https://bugzilla.wikimedia.org/show_bug.cgi?id=59111
Web browser: --- Bug ID: 59111 Summary: Support categories on title objects Product: MediaWiki extensions Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: Unprioritized Component: Scribunto Assignee: wikibugs-l@lists.wikimedia.org Reporter: bret...@yahoo.com CC: bjor...@wikimedia.org, tstarl...@wikimedia.org, vasi...@gmail.com Classification: Unclassified Mobile Platform: --- I see per http://www.mediawiki.org/wiki/Extension_talk:Scribunto/Lua_reference_manual#Access_to_MediaWiki_API.3B_access_to_page_text that you don't want to expose the full MW API to Scribunto, but I was wondering whether it wouldn't be too expensive to allow title objects to have a means of accessing the categories for a given page. I know one could hack something together to check for "[[Category:" within page content but it would be ugly if trying to deal with nowiki blocks, etc. As I recall you may have categories added to their own table anyways, so I thought I would ask about this. (Since multiple categories are possible, I presume the ideal result form would be a table of category names, perhaps without the "Category:" prefix.) -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l