From c1f9b1f7b1b77776192048005dcc66dcf3df2bfb Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 27 Dec 2014 15:41:37 +0100 Subject: Update to MediaWiki 1.24.1 --- extensions/Nuke/Nuke.hooks.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 extensions/Nuke/Nuke.hooks.php (limited to 'extensions/Nuke/Nuke.hooks.php') diff --git a/extensions/Nuke/Nuke.hooks.php b/extensions/Nuke/Nuke.hooks.php new file mode 100644 index 00000000..fddcf51a --- /dev/null +++ b/extensions/Nuke/Nuke.hooks.php @@ -0,0 +1,27 @@ +isAllowed( 'nuke' ) ) { + $toolLinks[] = Linker::link( + SpecialPage::getTitleFor( 'Nuke' ), + wfMessage( 'nuke-linkoncontribs' )->escaped(), + array( 'title' => wfMessage( 'nuke-linkoncontribs-text' )->text() ), + array( 'target' => $userPageTitle->getText() ) + ); + } + return true; + } +} -- cgit v1.2.3-54-g00ecf