Page MenuHomePhabricator

SpecialContributions.patch

Authored By
bzimport
Nov 21 2014, 9:35 PM
Size
889 B
Referenced Files
None
Subscribers
None

SpecialContributions.patch

--- SpecialContributions.php 2007-02-15 22:35:35.000000000 +0900
+++ SpecialContributionsnew.php 2007-02-19 10:48:24.000000000 +0900
@@ -194,13 +194,13 @@
$target = isset( $par ) ? $par : $wgRequest->getVal( 'target' );
if ( !strlen( $target ) ) {
- $wgOut->showErrorPage( 'notargettitle', 'notargettext' );
+ $wgOut->addHTML( contributionsForm());
return;
}
$nt = Title::newFromURL( $target );
if ( !$nt ) {
- $wgOut->showErrorPage( 'notargettitle', 'notargettext' );
+ $wgOut->addHTML( contributionsForm());
return;
}
@@ -374,6 +374,7 @@
$f .= '<p>' . wfMsgHtml( 'namespace' ) . ' ' .
HTMLnamespaceselector( $options['namespace'], '' ) .
+ Xml::inputLabel( wfMsg( 'specialloguserlabel' ), 'target', 'target', 12, $options['target']) .
wfElement( 'input', array(
'type' => 'submit',
'value' => wfMsg( 'allpagessubmit' ) )

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3228
Default Alt Text
SpecialContributions.patch (889 B)

Event Timeline