From 13892d758378b9f6c051a150ee31651d1b7616c8 Mon Sep 17 00:00:00 2001 From: Chlod Alejandro Date: Sun, 1 Jan 2023 09:55:11 +0800 Subject: [PATCH] getNameText (deprecated) to getMainText --- src/modules/ante/models/TemplateFactory.ts | 2 +- src/ui/root/DeputyChangesListElements.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/ante/models/TemplateFactory.ts b/src/modules/ante/models/TemplateFactory.ts index 586f0c35..a280d904 100644 --- a/src/modules/ante/models/TemplateFactory.ts +++ b/src/modules/ante/models/TemplateFactory.ts @@ -30,7 +30,7 @@ export default class TemplateFactory { return WikiAttributionNotices.attributionNoticeTemplates[ type ].getNamespaceId() === nsId( 'template' ) ? // If in the "Template" namespace, "Copied" - WikiAttributionNotices.attributionNoticeTemplates[ type ].getNameText() : + WikiAttributionNotices.attributionNoticeTemplates[ type ].getMainText() : // If not in the "Template" namespace, "Namespace:Copied" WikiAttributionNotices.attributionNoticeTemplates[ type ].getPrefixedText(); } diff --git a/src/ui/root/DeputyChangesListElements.tsx b/src/ui/root/DeputyChangesListElements.tsx index fa993ce3..f8f6bf56 100644 --- a/src/ui/root/DeputyChangesListElements.tsx +++ b/src/ui/root/DeputyChangesListElements.tsx @@ -115,7 +115,7 @@ export function ChangesListUser( { user }: { user: string } ) { userPage.getPrefixedDb() ) } title={ userPage.getPrefixedText() } - >{ userPage.getNameText() } { userPage.getMainText() }