Jump to content

User talk:Nicolas NALLET

Add topic
From mediawiki.org

WikiSEO

[edit]

Hi Nicolas. Yes I'm the author of WikiSEO. I've just responded to the topic on the talk page. I hope to get to that bug soon. Watch the extension page of github repo for changes.

--Andrujhon (talk) 10:52, 17 March 2013 (UTC)Reply

ok Thanks !

See U,

Nicolas NALLET (talk) 20:04, 17 March 2013 (UTC)Reply



ContactPage error fix

[edit]

Hi Nicolas. I fixed the "Mail object returned error:" from ContactPage on my site. Don't know if your error was for the same reason, and I'd still like to find a better fix, but at least I don't get the error anymore :). See: http://www.mediawiki.org/wiki/Extension_talk:ContactPage#mailing_error Nickenge (talk) 10:43, 19 August 2013 (UTC)Reply

A beer for you!

[edit]
Votre wikis sont excellent. Ils me donnent plusieurs idee pour le mien. Merci

p/s: now I am going back to create a navigation bar like your wiki , it is gonna be tough Phuyem (talk) 21:16, 4 June 2014 (UTC)Reply

FancyBoxThumbs for pdf format

[edit]
No, I haven't. I tried to hack the code, to no avail. Bennylin (talk) 10:29, 6 January 2015 (UTC)Reply
ok thanks for replying Nicolas NALLET (talk) 16:57, 6 January 2015 (UTC)Reply
Hi Nicolas, in case you're still looking for a solution for this, I managed to tweak the code from version 1.0.1 to be able to display pdf thumbnail in fancyboxthumb correctly (alongside with other types)
This is my change to the code:
if ( !defined( 'MEDIAWIKI' ) )
    die( 'This is a MediaWiki extension, and must be run from within MediaWiki.' );
 
//Register Credits
$wgExtensionCredits['other'][] = array(
    'name'        => 'FancyBoxThumbs',
    'url'         => 'http://www.mediawiki.org/wiki/Extension:FancyBoxThumbs',
    'author'      => '[http://www.gilluminate.com Jason Gill]',
    'description' => 'Displays thumbnailed images in a Mac-style "lightbox" that floats overtop of web page. A simple and fancy lightbox alternative',
    'version'     => '1.0.1'
);
 
$wgHooks['BeforePageDisplay'][] = 'efBeforePageDisplay';
 
function efBeforePageDisplay($out)
{	
    global $wgScriptPath, $wgTitle, $wgRequest;
	
	// Don't load if in the Special namespace (to prevent clobbering Semantic Forms or other extensions that load jQuery).
	// Also don't load if we're doing any sort of action on the page.
	$action = $wgRequest->getVal("action");
	if($wgTitle->getNsText() != "Special" && $action != "formedit")
	{
		$FBT_Dir = '/extensions/FancyBoxThumbs/fancybox';
		//Only load jQuery if for some reason it's not present
		$out->addScript('<script type="text/javascript">var jQueryScriptOutputted = false;function initJQuery() {if (typeof(jQuery) == "undefined") {if (! jQueryScriptOutputted) {jQueryScriptOutputted = true;document.write(\'<scr\'+\'ipt type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></scr\'+\'ipt>\');}setTimeout("initJQuery()", 50);}}initJQuery();</script>');
		$out->addScriptFile($wgScriptPath.$FBT_Dir.'/jquery.fancybox-1.3.4.js');
		$out->addScript('<link rel="stylesheet" href="'.$wgScriptPath.''.$FBT_Dir.'/jquery.fancybox-1.3.4.css" type="text/css" />');
	 
		##uses jquery to rewrite the href, rather than traditional php methods that can break the CMS nature of WikiMedia
		$out->addScript('<script type="text/javascript">'
						.'jQuery.noConflict();'
						.'(function($) {'
							.'$(document.body).ready(function() {'
								.'$("a.image").each(function(){'
									.'var img_split1 = $(this).children().first().attr("src").split("/thumb");'
									.' if(img_split1[1] == null) { img_split1[1] = img_split1[0]; img_split1[0] = \'\';};' // Not a thumb but a full image
									.' var img_type = img_split1[1].substr(img_split1[1].length -4);' // cut the last 4 (!) characters to fetch .jpg and jpeg
									.' var img_type_pdf = img_split1[1].substr(img_split1[1].length -7);' // cut the last 7 (!) characters to test if it is pdf thumbnail or not
									.' var img_split2 = img_split1[1].split(img_type);'
									.' var img_src = img_split1[0]+img_split2[0]+"."+img_type;'
									.' if(img_type_pdf == "pdf.jpg") var img_src = img_split1[0]+"/thumb"+img_split2[0]+"."+img_type;'//if pdf thumbnail, insert "/thumb" address back to the href
									.' var img_src = img_src.replace("..", ".");' // change ..jpg to .jpg but do not change .jpeg
									.' $(this).attr("href", img_src);' //href to the image source
									.' $(this).attr("rel", "group");'
								.'});'
								.'$("a.image").fancybox({"transitionIn":"elastic","transitionOut":"elastic","titlePosition":"inside"});'
							.'});'
						.'})(jQuery)'
						.'</script>');
	}
 
    return true;
}
Regards, Bennylin (talk) 18:39, 28 August 2015 (UTC)Reply
WOW COOL! It work for our site!
THANK YOU! Deletedaccount4567435 (talk) 06:41, 16 October 2016 (UTC)Reply
You're welcome, Zoglun Bennylin (talk) 08:36, 17 October 2016 (UTC)Reply
[edit]

Thank you for uploading File:MediaWikiFarm Extension Presentation.pdf. However, it currently is missing information on its copyright and licensing status. Wikimedia Foundation, who kindly hosts MediaWiki.org, takes copyright law very seriously. It may be deleted soon, unless we can verify that it has an acceptable license status and a verifiable source. Please add this information by editing the image description page. The page on copyright tags may help you to find the correct tag to use for your file. Steinsplitter (talk) 08:54, 28 May 2016 (UTC)Reply

This file has been marked for deletion Ciencia Al Poder (talk) 10:44, 18 April 2022 (UTC)Reply
The file was deleted due to missing information regarding copyright license status. Tropicalkitty (talk) 06:00, 25 April 2022 (UTC)Reply

Share your experience and feedback as a Wikimedian in this global survey

[edit]
  1. This survey is primarily meant to get feedback on the Wikimedia Foundation's current work, not long-term strategy.
  2. Legal stuff: No purchase necessary. Must be the age of majority to participate. Sponsored by the Wikimedia Foundation located at 149 New Montgomery, San Francisco, CA, USA, 94105. Ends January 31, 2017. Void where prohibited. Click here for contest rules.

MediaWiki message delivery (talk) 21:27, 13 January 2017 (UTC)Reply

Your feedback matters: Final reminder to take the global Wikimedia survey

[edit]

(Sorry to write in Engilsh)

MediaWiki message delivery (talk) 08:24, 24 February 2017 (UTC)Reply