Last modified: 2007-08-01 01:23:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T12744, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10744 - Parse wiki text when page does not exists and action=info
Parse wiki text when page does not exists and action=info
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.11.x
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-07-29 18:32 UTC by Alexandre Emsenhuber [IAlex]
Modified: 2007-08-01 01:23 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
propsed patch (801 bytes, patch)
2007-07-29 18:32 UTC, Alexandre Emsenhuber [IAlex]
Details

Description Alexandre Emsenhuber [IAlex] 2007-07-29 18:32:45 UTC
Created attachment 3950 [details]
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).
Comment 1 Rob Church 2007-08-01 01:23:59 UTC
Fixed in r24504.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links