ProfessionalWiki / ProfessionalWiki/Network

provide user interface (VIKI)

Open
#18 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

For documentation purposes, I am suggesting features that were present in the VIKI extension and could be improvments for the network extension in the future. The following is copied from the VIKI documentation. As the VIKI interface was somewhat cluttered, it does not necessarily make sense to add all features. So this needs to be discussed here before implementing.

Usage

Users may right click on a given node to bring up a context menu of options. Below is a list of all possible options, but not all nodes may have all options as appropriate.

  • Freeze: this node becomes frozen in position while other nodes may move around it
  • Visit Page: opens the page represented by the node in a new tab or window
  • Elaborate: elaborates a node, as discussed previously
  • Show Categories: Pops up a JavaScript alert listing the categories this page belongs to. (Under construction.)
  • Hide Node: Removes this node and links to it from the VIKI graph.
  • Hide Hub: Removes this hub node and all nodes immediately linked to it from the VIKI graph, unless the linked node is itself a hub.
  • Show All: Adds all previously-hidden nodes and links back into the VIKI graph.

To embed a VIKI graph into a page, the following parser function syntax is used:

{{ #viki:pageTitles=First Page Title, Second Page Title,…|width=width|height=height|delimiter=delimiter|secondOrderLinks=<true or false> }}

Parameters
  • secondOrderLinks: boolean value for whether to calculate and display 2nd order links, which is performance-expensive (optional, default: the value of $wgVIKI_Second_Order_Links, if set, or false if not)

Second order links were displayed in a different colour (grey):
grafik

This is what the burger menu looks like:
grafik

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

No files, tests, or entry points are named. Start by reviewing the existing Network extension interface against the listed VIKI context-menu, parser-function, and graph features; done requires an agreed feature scope before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.