Community Wishlist Survey 2017/Wikisource/Extend pag and num accessibility
Appearance
Extend pag and num accessibility
- Problem: {{{pag}}} and {{{num}}} are reserved parameters for proofread extension, logically linked to pagelist tag. It would be useful to extend their use, so that they can run anywhere.
- Who would benefit: wikicode contributors
- Proposed solution: to allow to pass to {{{pag}}} and {{{num}}} two additional optional data (index name, book page/file page) to get book page by file page and file page by book page dynamically using pagelist data, into any context.
- More comments:
- Phabricator tickets:
- Proposer: Alex brollo (talk) 08:30, 8 November 2017 (UTC)
- Translations: none yet
Discussion
[edit]- Thank you for the proposal. I am not sure to understand what you want to have. Maybe API (maybe in Lua) that provides this kind of functions
getPageTitleForFile(fileName, filePageNumber)
,getPageTitleForIndexAndPage(indexName, logicalPageNumber)
,getIndexTitleForPage(pageName)
, andgetFilePageNumberForPage(pageName)
? Tpt (talk) 10:59, 8 November 2017 (UTC)- Lua access to all data coming from Index page (all fields, pagelist relate table too) will be great. It.source uses a special Modulo:Dati/[baseIndexName] to save and use these data, see it:Template:Pg that uses data, but it's a local, do-it-yourself solution. --Alex brollo (talk) 14:49, 8 November 2017 (UTC)
Voting
[edit]- Support --Liuxinyu970226 (talk) 13:31, 28 November 2017 (UTC)
- Support Ninovolador (talk) 20:58, 28 November 2017 (UTC)
- Support Thomas Obermair 4 (talk) 23:19, 28 November 2017 (UTC)
- Support Donald Trung (Talk 🤳🏻) (My global lock 🔒) (My global unlock 🔓) 13:28, 29 November 2017 (UTC)
- Support Jahl de Vautban (talk) 19:23, 10 December 2017 (UTC)