Page MenuHomePhabricator

ParserFunctions blocks display of page content
Closed, DeclinedPublic

Description

Author: zrhwiki

Description:
Since I updated my MediaWiki installation to the latest MW version via SVN, pages that use the ParserFunctions extension don't contain any content, there're virtually empty.

Deactivating the ParserFunctions extensions solves the problem, i.e. the page content is shown including the part of the source thought to be parsed by the ParserFunctions extensions.

An update to the latest ParserFunctions version via SVN didn't solve the problem.

Versions in use:

MediaWiki 1.16alpha #54887
ParserFunctions 1.1.1 #54888

Example page in my wiki:

http://www.zrhwiki.ch/wiki/Lufthansa?useskin=monobook


Version: unspecified
Severity: normal

Details

Reference
bz20199

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 10:46 PM
bzimport added a project: ParserFunctions.
bzimport set Reference to bz20199.
bzimport added a subscriber: Unknown Object (MLST).

zrhwiki wrote:

I'm going to roll back my MW installation in order to temporarily resolve this problem. I've therefore created screenshots for your information:

http://www.zrhwiki.ch/tmp/zrhwiki_parserfunctionsON_001.png (no content)
http://www.zrhwiki.ch/tmp/zrhwiki_parserfunctionsOFF_001.png (content including template source)

zrhwiki wrote:

I've just noticed that the above-described bug only occurs if the respective page contains category information (i.e. [[TEST:Lorem ipsum]] AFTER the ParserFunctions extension is used. If the respective doesn't contain category information or the category information is located BEFORE the ParserFunctions extension is used, the problem doesn't occur.

zrhwiki wrote:

I've been able to solve the above-described bug by splitting the templates using the ParserFunctions extensions, i.e. instead of using one pretty long template for various purposes and with any IFs, I use now multiple single purpose templates. Maybe the ParserFuctions extension was just overextended …