Skip to content

Commit

Permalink
Add $page var in welcomeCurrentUser templating
Browse files Browse the repository at this point in the history
  • Loading branch information
framawiki authored and benapetr committed Oct 25, 2024
1 parent 9ecd6c8 commit be14628
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/huggle_ui/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2459,6 +2459,7 @@ void MainWindow::welcomeCurrentUser(QString message)
return;
}
message.replace("$1", this->CurrentEdit->User->Username);
message.replace("$page", this->CurrentEdit->Page->PageName);
WikiUtil::MessageUser(this->CurrentEdit->User, message, conf->WelcomeTitle, conf->WelcomeSummary, false, nullptr,
false, false, true, this->CurrentEdit->TPRevBaseTime, create_only);
}
Expand Down

0 comments on commit be14628

Please sign in to comment.