r52665 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r52664
|
r52665
|
r52666
>
Date:
23:37, 1 July 2009
Author:
rainman
Status:
ok
Tags:
Comment:
Revert
r51246
for now. It might not be *always* appropriate to show the page creation link, but to be consistent we are going to show for now.
Modified paths:
/trunk/phase3/includes/specials/SpecialSearch.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/specials/SpecialSearch.php
—
—
@@ -261,7 +261,7 @@
262
262
$wgOut->addHtml( "<div class='searchresults'>" );
263
263
264
264
// show direct page/create link
265
- if( !is_null($t) && ($this->active=='default' || $this->active=='all') ) {
265
+ if( !is_null($t) ) {
266
266
if( !$t->exists() ) {
267
267
$wgOut->addWikiMsg( 'searchmenu-new', wfEscapeWikiText( $t->getPrefixedText() ) );
268
268
} else {
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r51246
Lastest followup to
r50207
: show create article link only for content and eve...
rainman
17:10, 31 May 2009
Status & tagging log
22:14, 22 August 2009
Brion VIBBER
(
talk
|
contribs
)
changed the
status
of r52665
[
removed:
new
added:
ok]