ProfessionalWiki / ProfessionalWiki/Network

Only first level Pages view

Open
#88 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
33
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Hello!

Installed the extension, everything is fine.

I didn't write anything in LocalSettings.php, all parameters are default (may be?)

On the main page I placed:

{{#network:
 | options=
{
    "nodes": {
    "shape": "image"
},
"groups": {
    "bluelink": {
        "image": "https://.../mediawiki/resources/lib/ooui/themes/wikimediaui/images/icons/article-rtl-progressive.svg"
    },
    "redlink": {
        "image": "https://.../mediawiki/resources/lib/ooui/themes/wikimediaui/images/icons/articleNotFound-ltr.svg"
    },
    "externallink": {
        "image": "https://.../mediawiki/resources/lib/ooui/themes/wikimediaui/images/icons/linkExternal-ltr-progressive.svg"
    }
}
}
}}

(Because i use short url)

The graph is displayed. But I have a question, I will give an example from your video: https://www.youtube.com/watch?v=iI1zJ8ma474

There is a main page and links on it, they are drawn around the main page. Let's call it "the first level of pages, number 1"

But when I click the left mouse button once on Talk:Main Page I expect to see the second level of pages (I highlighted the group under number 2 in blue).

The following pages do not appear for me, if I click the mouse button twice - I open this page.

Question: how to make the graph continue to draw pages like in your video?

Thank you!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the graph using the provided #network configuration and default LocalSettings.php, then compare single-click behavior on Talk:Main Page with the linked video. Done means selecting a first-level page reveals its second-level pages in the graph without requiring a double-click.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.