Extension talk:Navigation path

Any example?

Doesn't work in MediaWiki 1.17

MediaWiki 1.19

edit

I tried to get this running in 1.19 out of the box.

Parser::disableCache can only be called when actually parsing something

Backtrace:

  1. 0 /var/www/html/wiki/extensions/NPath/navigation_path.php(33): Parser->disableCache()
  2. 1 [internal function]: npath()
  3. 2 /var/www/html/wiki/includes/Setup.php(527): call_user_func('npath')
  4. 3 /var/www/html/wiki/includes/WebStart.php(157): require_once('/var/www/html/w...')
  5. 4 /var/www/html/wiki/index.php(54): require('/var/www/html/w...')
  6. 5 {main}

MediaWiki 1.25

edit

I've this issue too

MWException from line 5726 of /srv/www/htdocs/mediawiki/includes/parser/Parser.php: Parser::disableCache can only be called when actually parsing something

Backtrace:

  1. 0 /srv/www/htdocs/mediawiki/extensions/npath/navigation_path.php(33): Parser->disableCache()
  2. 1 [internal function]: npath()
  3. 2 /srv/www/htdocs/mediawiki/includes/Setup.php(676): call_user_func(string)
  4. 3 /srv/www/htdocs/mediawiki/includes/WebStart.php(138): require_once(string)
  5. 4 /srv/www/htdocs/mediawiki/index.php(38): require(string)
  6. 5 {main}
Return to "Navigation path" page.