Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

enhancement: limit values per property

オープン
#107 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript, php

調査の方向性

The node-loading code is in includes/KnowledgeGraph.php around line 933, where all values of a property are currently loaded without a cap. Read how the parser options such as depth are parsed, then decide where a property-limit option would be read and applied. The rendering side of the '+N more' node and the click-to-load behaviour would live in the JavaScript that drives vis-network, which the payload does not show. Done means a limit option caps the nodes per property, a '+N more' node appears when values are cut off, and the remaining values load on click; the design of that click behaviour is not settled in the issue.

索引モデルが issue の本文から書いたものです。

説明

ll values of a property are loaded, there is no limit. A page linked by 1000 pages via -MyProp shows 1000 nodes, multiplied by the default depth=3.

Suggestion: |property-limit?-MyProp=10 plus a "+N more" node to load the rest on click.

https://github.com/SemanticMediaWiki/KnowledgeGraph/blob/32c6e98bafea0fab2e13d9cf8402e0358a4f504c/includes/KnowledgeGraph.php#L933

主要言語
JavaScript
スター
5
フォーク
5
平均マージ
6分
マージ済み PR(30日)
4

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

SemanticMediaWiki/KnowledgeGraph のほかの issue

SemanticMediaWiki/KnowledgeGraph の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。