File:Picsart 22-08-26 00-04-02-633-removebg-preview.png
<?php if( !defined( 'MEDIAWIKI' ) ){ die( "This is not a valid access point.\n" ); }
$wgHooks['SkinTemplateNavigation'][] = 'replaceTabs'; function replaceTabs( &$skin, &$links) { // Remove the talk action unset( $links['namespaces']['talk'] ); $maintitle = Title::newFromText( wfMessage( 'mainpage' )->inContentLanguage()->text() ); // Add an additional link $links['namespaces']['main'] = array( 'class' => false, // false or 'selected', defines whether the tab should be highlighted 'text' => wfMessage( 'sitetitle' )->text(), // what the tab says 'href' => $maintitle->getFullURL(), // where it links to 'context' => 'main', ); return true; } and then add
require_once("extensions/AR-Tabs.php");
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 06:56, 4 October 2022 | 433 × 577 (230 KB) | Kazi Mohammad Bayezid (Talk | contribs) | ||
06:48, 4 October 2022 | 433 × 577 (230 KB) | Kazi Mohammad Bayezid (Talk | contribs) | |||
06:46, 4 October 2022 | 433 × 577 (230 KB) | Kazi Mohammad Bayezid (Talk | contribs) | |||
06:30, 4 October 2022 | 433 × 577 (230 KB) | Kazi Mohammad Bayezid (Talk | contribs) | |||
06:28, 4 October 2022 | 433 × 577 (230 KB) | Kazi Mohammad Bayezid (Talk | contribs) | |||
06:14, 4 October 2022 | 433 × 577 (230 KB) | Kazi Mohammad Bayezid (Talk | contribs) |
- You cannot overwrite this file.
File usage
There are no pages that link to this file.