Clone this repo:

Branches

  1. 3aecafc build: Updating composer dependencies by libraryupgrader · 1 year, 1 month ago master
  2. fb1f1d2 build: Add MinusX by Umherirrender · 3 years ago
  3. 33efe95 build: Bump PHP minimum support from 7.0.0 to 7.2.0 by James D. Forrester · 3 years, 4 months ago
  4. 8946ad7 build: Install php-parallel-lint by James D. Forrester · 3 years, 4 months ago
  5. 8189df2 Read csv as directed graph by daniel · 4 years, 6 months ago

This project contains scripts for generating reports about cyclic dependencies in the MediaWiki code base. The analysis is based on phpda.

Installation

  • ensure that you have both Python 2 and Python 3 installed
  • ensure that you have graph-tool for Python 3 installed (see [https://git.skewed.de/count0/graph-tool/wikis/installation-instructions](graph-tool installation instructions))
  • ensure that you have networkx for Python 2 installed (use pip)
  • clone this repository
  • run git submodule update --init --recursive to pull in submodules
  • run composer install to pull in libraries

Usage

  • call bin/generate-reports *<path-to-mediawiki>*
  • a report will be generated in www/report
  • visit the www directory with your browser

License

(c) Wikimedia Foundation 2019, licensed GPL 2.0 or later.