テンプレートの記憶と発見 (Community Wishlist/FA4/ja)
投稿者がテンプレートのダイアログを使ってテンプレートを探して挿入しようとしても、簡単ではありません。
この要望に取り組むことにして「テンプレートを発見」(template discovery)と名付けたほうは新規参加者対象にテンプレートの使い方や探し方を補佐し、「テンプレートの記憶」(template recall)のほうは経験を積んだ編集者が以前、正しく使ったことがあるテンプレートを思い出して文に加えたりするために作る計画です。
この段階ではテンプレートの記憶を優先しており、その後にテンプレートの発見に取り組む予定です。
経験を積んだ編集者からテンプレート選択器をもっと直感的に使えるようにしてほしいという要望は2013年から出ており、よく使われる、あるいはいちばんの汎用テンプレートをダイアログで示せないかというものでした。
これは当チームの PES 1.3.2 OKRに組み込みました:テンプレート発見の改善版を構築すると、「注力エリア」を構成する要望3件以上に対処し、概念実証を財団の年間計画中に共有できるはずです。
Today’s User experience:
When an editor clicks on “templates” from either Wikitext or Visual Editor, the template selector is empty. This design is not very helpful for newcomers who seek to add a template, or for experienced editors who must type in a template name.
One volunteer said:
As a beginner, one may spend half an hour finding the appropriate template – and if it doesn’t have an easy-to-remember name (what is easy-to-remember is subjective, so it may not be possible to find a name that’s easy to remember for everyone), one needs to spend this half hour the second, third and fifteenth time as well. [favoriting templates] doesn't solve the problem of the first half-hour search, but it does solve the ones of the subsequent ones
Scope and investigations
Because we want to ship iteratively, we are limiting the scope of this focus area. For example, we will not consider global templates and instead opt for incremental improvements to the template selection experience.
There are over 600k templates on English Wikipedia, and many wikis have over 30k templates. Helping someone find the right template is a challenge.
We think the following recall or discovery tactics might be useful and actionable, and are under consideration:
- Suggest templates that are most popular/transcluded in your wiki (ideally namespace)
- Show templates you’ve recently used
- Allow users to “favorite” or bookmark templates
- Highlight templates with descriptions and good documentation
- Improve search
We think the following methods of template recall or discovery could be fraught with challenges and are less actionable in the early stages.
- Filter templates by categories. There are over 33k template categories on EN wiki, and 120+ categories of “Element isotopes.” Even for the experienced editor, it’s cumbersome to search.
- Popular templates across wikis. Not every wiki has the same instantiation of “Infobox,” or “Sfn.” It will be hard to scale.
- Allow editors of a local wiki to recommend templates. While this aligns to wiki principles, given the breadth of templates and template categories, it would be cumbersome to build a "template recommendation configuration" experience that scales to all wikis. At this stage, we are seeking lower-effort initiatives.
Community engagement
Since this focus area was created off the 2023 wishlist and was identified before our 2024 rollout, the wishes have already been voted for, and so we are aware the issues raised are important to the community. You can vote for the focus area and also leave feedback to help give an indication if we are moving in the right direction.
現在、当チームのこの作業は設計段階にあり、最新情報は、このページで共有していきます。ぜひフィードバックをしてください、歓迎します!
設計の実験
以下の模型のスクリーンショットは利用者の要求に応じてテンプレートをお気に入り一覧に取りこむ方法を示しています。これら初期実験に対して、どんなフィードバックも歓迎です。
設計の更新 2025年3月19日
前回の設計更新に続いて、当チームはテンプレートの記憶と発見について初期機能の範囲を絞り込みました。テンプレートを直接、お気に入りリストに追加するには、検索結果または挿入ダイアログのボックスで操作します。お気に入りリストからテンプレートが削除されると、誤操作に備えて確認メッセージを送り元に戻す操作法を表示します。さらにまた、お気に入りに追加の操作は、パラメータ経由で利用できるようになります。
以下に現状の設計実験に使った模型のスクリーンショットを添えます。
注意事項として、UI の複写/翻訳(ローカリゼーション)はまだ未完成で、展開前にさらに変更が重なると見込まれます。
今回もフィードバックをよろしくお願いします。
設計の更新 2025年6月17日
テンプレートをカテゴリ基準で検索する件は初期設計を探しました。現在の検索方法は限定的で、キーワード検索の深さは下位カテゴリ5件です。関連カテゴリを指定して選択できると、検索結果はもっと多く表示するはずです。
設計案に対するフィードバックは、 4-ウィキメディア調査の質問(MediaWiki survey)に投稿してください。
以下に現状の設計実験に使った模型のスクリーンショットを添えます。
-
1. カテゴリの一覧を開く
-
2. 下位カテゴリを開く
-
3. 選択した下位カテゴリ名
-
4. 選択した下位カテゴリから取得したテンプレートの一覧
- Created: 21:02, 4 September 2024
- Last updated: 17:10, 25 February 2026
This focus area currently has 43 supporters. Voting for this focus area is open until it is completed.