Page MenuHomePhabricator

Parse wiki text when page does not exists and action=info
Closed, ResolvedPublic

Description

propsed patch

When $wgAllowPageInfo=true and use the info action, if the specified page does not exists, the output is (as seen in the web browser) :
There is currently no text in this page, you can [[Special:Search/Main Page|search for this page title]] in other pages or [http://localhost/w/index.php?title=Main_Page&action=edit edit this page].

The variables are replaced ($wgParser->transformMsg() is used) but then the links are not replaced because $wgOut->addHTML() is used instead of $wgOut->addWikiText(). I prose also to put the text in <div class='noarticletext'> like the "normal" message (used in action=view).


Version: 1.11.x
Severity: minor

Attached:

Details

Reference
bz10744

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:48 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz10744.
bzimport added a subscriber: Unknown Object (MLST).