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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 10744 - Parse wiki text when page does not exists and action=info
Parse wiki text when page does not exists and action=info
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  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: ---

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

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.