Support for extracting positional template parameters
@j-sal 已经在做这个了。
开始于 2022年4月30日。
评估
这个 Issue 还没有评估数据。
描述
Sometimes we want to extract the values of template parameters which are positional (just designated by positions, not parameter names).
For instance:
{{location|60.165787|24.9460811}}
(taken from Sandra's parsing wishlist).
We could want to extract the first and second values in the template. One possible way would be to extend the functionality of the findTemplateValues() function that we already have, so that it accepts a number as third argument, like this:
findTemplateValues(wikitext, 'location', 1)
On the sample wikitext above, it would return ['60.165787'].
When running findTemplateValues(wikitext, 'location', 2) you would get ['24.9460811'].
- 主要语言
- Java
- 星标
- 30
- 派生
- 12
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenRefine/CommonsExtension 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
OpenRefine/CommonsExtension#176 · 2 条评论 ·
-
难度 3/5 1-2 天 新手友好度 30/100
OpenRefine/CommonsExtension#175 ·
-
难度 4/5 3-5 天 新手友好度 35/100
OpenRefine/CommonsExtension#159 ·
-
难度 4/5 3-5 天 新手友好度 38/100
OpenRefine/CommonsExtension#141 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 35/100
OpenRefine/CommonsExtension#138 · 1 条评论 ·
查看 OpenRefine/CommonsExtension 的全部 Issue
相似的 Issue
-
area/plugin good first issue
难度 2/5 1-3 小时 新手友好度 88/100
kestra-io/plugin-kestra#200 ·
维护者通常 1 天内回复
-
bug untriaged
难度 1/5 1 小时以内 新手友好度 92/100
opensearch-project/search-relevance#618 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
apache/rocketmq-dashboard#6716 ·
维护者通常 3 天内回复
-
DefaultRedisList.get(int) does not reject an index equal to the list size可能已有人在做 @ryujungkyun 今天认领。 未关闭status: waiting-for-triage
难度 1/5 1 小时以内 新手友好度 68/100
spring-projects/spring-data-redis#3471 ·
维护者通常 5 天内回复
-
in: build type: dependency-upgrade
难度 1/5 1 小时以内 新手友好度 62/100
spring-projects/spring-ldap#1791 ·
维护者通常 1 天内回复