Merge "Add 路面 for better word segmentation."
[lhc/web/wiklou.git] / includes / specials / SpecialDeletedContributions.php
index a6719c8..ff2a901 100644 (file)
@@ -294,6 +294,7 @@ class DeletedContributionsPage extends SpecialPage {
                        $out->addHTML( $this->getForm( '' ) );
                        return;
                }
+               $this->getSkin()->setRelevantUser( $userObj );
 
                $target = $userObj->getName();
                $out->addSubtitle( $this->getSubTitle( $userObj ) );
@@ -389,6 +390,13 @@ class DeletedContributionsPage extends SpecialPage {
                                        )
                                );
                        }
+
+                       # Uploads
+                       $tools[] = Linker::linkKnown(
+                               SpecialPage::getTitleFor( 'Listfiles', $userObj->getName() ),
+                               $this->msg( 'sp-contributions-uploads' )->escaped()
+                       );
+
                        # Other logs link
                        $tools[] = Linker::linkKnown(
                                SpecialPage::getTitleFor( 'Log' ),