https://bugzilla.wikimedia.org/show_bug.cgi?id=47137
Web browser: ---
Bug ID: 47137
Summary: Add ability to generate a list of pages based on
prefix to Scribunto/Lua
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Scribunto
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
Looking at
<https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual>, I
don't see a way currently to generate a list of pages based on prefix. For
example, I wanted to write a module that would take each page listed at
<https://meta.wikimedia.org/wiki/Special:PrefixIndex/Global_message_delivery/Targets/>
and generate output based on iterating over this generated list.
Rather than using a generated list, I was forced to specify each page title.
This isn't great, as pages may be added or deleted and I don't want to update
such a list by hand.
An equivalent to [[Special:PrefixIndex]] (or the MediaWiki API's
list=allpages&apprefix=) inside Scribunto/Lua would be wonderful.
--
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l