<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://assela.pathirana.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=JCBehre</id>
	<title>assela Pathirana - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://assela.pathirana.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=JCBehre"/>
	<link rel="alternate" type="text/html" href="https://assela.pathirana.net/index.php?title=Special:Contributions/JCBehre"/>
	<updated>2026-05-13T16:37:03Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.0</generator>
	<entry>
		<id>https://assela.pathirana.net/index.php?title=Talk:File_Link_Extension&amp;diff=3876</id>
		<title>Talk:File Link Extension</title>
		<link rel="alternate" type="text/html" href="https://assela.pathirana.net/index.php?title=Talk:File_Link_Extension&amp;diff=3876"/>
		<updated>2008-06-25T10:37:56Z</updated>

		<summary type="html">&lt;p&gt;JCBehre: /* Corrupt File */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Corrupted File ==&lt;br /&gt;
It&amp;#039;s impossible for me to uncompress the downloaded folder&lt;br /&gt;
I&amp;#039;ve tried several tools ( winzi, winrar, simplyzip ect) to uncompress your file.&lt;br /&gt;
Is there another source to dowload the file from?&lt;br /&gt;
Greetz, --[[User:JCBehre|JCBehre]] 10:35, 25 June 2008 (GMT)&lt;br /&gt;
&lt;br /&gt;
== Correction ==&lt;br /&gt;
the&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
#settings for fileLinkExtension&lt;br /&gt;
$wgFilelinkExtensionPath = &amp;quot;extensions/FilelinkExtension&amp;quot;;&lt;br /&gt;
include(&amp;quot;$IP/$wgFilelinkExtensionPath/FilelinkExtension.php&amp;quot;);&lt;br /&gt;
#end settings for fileLinkExtension&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;should be&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
#settings for fileLinkExtension&lt;br /&gt;
$wgFilelinkExtensionPath = &amp;quot;extensions/FileLinkExtension&amp;quot;;&lt;br /&gt;
include(&amp;quot;$IP/$wgFilelinkExtensionPath/FileLinkExtension.php&amp;quot;);&lt;br /&gt;
#end settings for fileLinkExtension&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(note the uppercase &amp;quot;L&amp;quot; in &amp;quot;FileLinkExtension&amp;quot;) with the provided pathes&lt;br /&gt;
&lt;br /&gt;
also there is a minor glitch:&amp;lt;br&amp;gt;&lt;br /&gt;
the file:///-icon is showing up two times on the edit page, but showing up not at all at the &amp;quot;show preview&amp;quot; page. my skills in programming php and js are nearly zero, so any help would be highly appreciated.&lt;br /&gt;
--[[User:Mel999|Mel999]] 19:08, 4 May 2006 (JST)&lt;br /&gt;
: now it&amp;#039;s perfect, thank you very much! --[[User:Mel999|Mel999]] 01:12, 15 September 2006 (JST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
another issue had come up here:&lt;br /&gt;
I see the &amp;quot;some problem with FileLinkExtension&amp;quot;-alert very often, mainly with newly created pages,  but cannot reproduce it at 100% :-( &amp;lt;br&amp;gt; i commented out the update and the preview mode changes, but didn&amp;#039;t help. would there be a workaround to not show the annoying alert? &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
btw: you probably did mixup some of your extensions ;-) &lt;br /&gt;
imho it should be &lt;br /&gt;
 function filelinkDo (&amp;amp;$parser, &amp;amp;$text){&lt;br /&gt;
  global $wgRequest;&lt;br /&gt;
  global $wgFilelinkExtensionPath;&lt;br /&gt;
instead of &lt;br /&gt;
 function addbuttonDo (&amp;amp;$parser, &amp;amp;$text){ &lt;br /&gt;
  global $wgRequest;&lt;br /&gt;
  global $wgAddButtonExtensionPath;&lt;br /&gt;
--[[User:Mel999|Mel999]] 17:16, 18 September 2006 (JST)&lt;br /&gt;
&lt;br /&gt;
== Corrupted file for 0.2.tar.gz? ==&lt;br /&gt;
&lt;br /&gt;
When I download and untar the FileLinkExtension.0.2.tar.gz, it appears to be corrupted. Here&amp;#039;s my anonymized session transcript:&lt;br /&gt;
&lt;br /&gt;
 user@host extensions $ md5sum *.gz&lt;br /&gt;
 4480583ab11f8eff909831d2fdc6f86b  FileLinkExtension.tar.gz&lt;br /&gt;
 2a7bca5f8fdb81b261a8015b68a90a85  Image FileLinkExtension.0.2.tar.gz&lt;br /&gt;
 user@host extensions $ gzip -d Image\ FileLinkExtension.0.2.tar.gz&lt;br /&gt;
 user@host extensions $ tar -xvf Image\ FileLinkExtension.0.2.tar&lt;br /&gt;
 tar: This does not look like a tar archive&lt;br /&gt;
 tar: Skipping to next header&lt;br /&gt;
 tar: Error exit delayed from previous errors&lt;br /&gt;
 user@host extensions $&lt;br /&gt;
The FileLinkExtension.tar.gz can be untarred OK. I&amp;#039;ve also tried to untar the 0.2.tar.gz file using WinZip, but I get a similar error message.&lt;br /&gt;
&lt;br /&gt;
== some problem with FileLinkExtension ==&lt;br /&gt;
a &amp;quot;Solution&amp;quot; to the &amp;quot;Problem&amp;quot; could be to comment out the alert function ;0). I can not see any Problem with the extension in my Wiki, so i choosed to comment out the alert function.&lt;br /&gt;
&lt;br /&gt;
edit &amp;quot;mainfile.js&amp;quot; search for &amp;lt;pre&amp;gt;&lt;br /&gt;
alert(&amp;quot;some problem with FileLinkExtension&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
...replace with ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//alert(&amp;quot;some problem with FileLinkExtension&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
br [[User:Patrik|Patrik]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The problem-message only occurs when I put the button into the preview-mode. Perhaps this will help finding the cause of the problem.&lt;br /&gt;
&lt;br /&gt;
I used Patrik&amp;#039;s &amp;quot;solution&amp;quot;, so I don&amp;#039;t see the message anymore, but I&amp;#039;d like to know what caused it to appear in the first place. ;)&lt;br /&gt;
&lt;br /&gt;
--[[User:Kawo|Kawo]] 22:25, 20 July 2007 (JST)&lt;br /&gt;
&lt;br /&gt;
== extension-directory  of current version ==&lt;br /&gt;
&lt;br /&gt;
The lines for LocalSettings.php should look like this for the current version of the extension&lt;br /&gt;
&lt;br /&gt;
 #settings for fileLinkExtension&lt;br /&gt;
 $wgFilelinkExtensionPath = &amp;quot;extensions/FileLinkExtension.0.2&amp;quot;;&lt;br /&gt;
 include(&amp;quot;$IP/$wgFilelinkExtensionPath/FileLinkExtension.php&amp;quot;);&lt;br /&gt;
 #end settings for fileLinkExtension&lt;br /&gt;
&lt;br /&gt;
--[[User:Kawo|Kawo]] 22:20, 20 July 2007 (JST)&lt;br /&gt;
&lt;br /&gt;
== Extension doesn&amp;#039;t work on MediaWiki v1.9+ ==&lt;br /&gt;
&lt;br /&gt;
Howdy good folk. Thanks for this extension - i&amp;#039;m using it in an internal company Wiki. Found a bug in the code which seems to crop up for MediaWiki Version 1.9+. The extension throws an error, expecting a return value from fileLinkDo, called by ParserBeforeTidy.&lt;br /&gt;
&lt;br /&gt;
Fixed this by replacing:&lt;br /&gt;
&lt;br /&gt;
 #########new part###########&lt;br /&gt;
  static $done=0;&lt;br /&gt;
  if ( $done ) { &lt;br /&gt;
    return;&lt;br /&gt;
  }&lt;br /&gt;
  $done=1;&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
 #########new part###########&lt;br /&gt;
  static $done=0;&lt;br /&gt;
  if ( $done ) { &lt;br /&gt;
    return true;&lt;br /&gt;
  }&lt;br /&gt;
  $done=1;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
... and adding a return false; (instead of return;) to the else section as below&lt;br /&gt;
&lt;br /&gt;
  }else{&lt;br /&gt;
    //Either not an edit attempt, or not logged in &lt;br /&gt;
    //Do nothing be silent without bothering innocent visitors. &lt;br /&gt;
    return false;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
Otherwise, awesome extension. This will be handy because I&amp;#039;m trying to get Wiki doco happening in a rusted-on Sharepoint shop!&lt;br /&gt;
&lt;br /&gt;
== This extension doesnt seem to work on MW 1.10 ==&lt;br /&gt;
&lt;br /&gt;
Hi guys.  &amp;lt;br&amp;gt;&lt;br /&gt;
Id love to be able to use this extension on MW 1.10, but it just keels over. &amp;lt;br&amp;gt;&lt;br /&gt;
When I load a page, the page loads fine, its only when going to Edit a page, it throws an exception. &amp;lt;br&amp;gt;&lt;br /&gt;
Here is the output: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Internal error&lt;br /&gt;
Detected bug in an extension! Hook filelinkDo failed to return a value; should return true to continue hook processing or false to abort.&lt;br /&gt;
&lt;br /&gt;
Backtrace:&lt;br /&gt;
&lt;br /&gt;
#0 /var/www/html/mediawiki/includes/Parser.php(332): wfRunHooks(&amp;#039;ParserBeforeTid...&amp;#039;, Array)&lt;br /&gt;
#1 /var/www/html/mediawiki/includes/OutputPage.php(357): Parser-&amp;gt;parse(&amp;#039;&amp;#039;&amp;#039;&amp;#039;Warning:&amp;#039;&amp;#039;&amp;#039; ...&amp;#039;, Object(Title), Object(ParserOptions), true, true, NULL)&lt;br /&gt;
#2 /var/www/html/mediawiki/includes/OutputPage.php(334): OutputPage-&amp;gt;addWikiTextTitle(&amp;#039;&amp;#039;&amp;#039;&amp;#039;Warning:&amp;#039;&amp;#039;&amp;#039; ...&amp;#039;, Object(Title), true)&lt;br /&gt;
#3 /var/www/html/mediawiki/includes/EditPage.php(995): OutputPage-&amp;gt;addWikiText(&amp;#039;&amp;#039;&amp;#039;&amp;#039;Warning:&amp;#039;&amp;#039;&amp;#039; ...&amp;#039;)&lt;br /&gt;
#4 /var/www/html/mediawiki/includes/EditPage.php(433): EditPage-&amp;gt;showEditForm()&lt;br /&gt;
#5 /var/www/html/mediawiki/includes/EditPage.php(285): EditPage-&amp;gt;edit()&lt;br /&gt;
#6 /var/www/html/mediawiki/includes/Wiki.php(437): EditPage-&amp;gt;submit()&lt;br /&gt;
#7 /var/www/html/mediawiki/includes/Wiki.php(48): MediaWiki-&amp;gt;performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))&lt;br /&gt;
#8 /var/www/html/mediawiki/index.php(89): MediaWiki-&amp;gt;initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest))&lt;br /&gt;
#9 {main}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I tried the guy&amp;#039;s suggestion for MW 1.9, but this made no difference.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hi!&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve had no problem with it in MW 1.10 but I get exactly the same error-messages as above when I try to use it in MW 1.11.0. :-(&lt;br /&gt;
&lt;br /&gt;
Could somebody please look into it, because if I cannot get this extension to work, I cannot update my wiki to MW 1.11.0&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;br /&gt;
&lt;br /&gt;
--[[User:Kawo|Kawo]] 23:19, 15 January 2008 (JST)&lt;br /&gt;
&lt;br /&gt;
== Obviously ==&lt;br /&gt;
&lt;br /&gt;
Obviously noone cares to update this extension.&lt;br /&gt;
This extension really is a flaky hack, and a hack that doesnt work in later versions of MW.&lt;/div&gt;</summary>
		<author><name>JCBehre</name></author>
	</entry>
	<entry>
		<id>https://assela.pathirana.net/index.php?title=Talk:File_Link_Extension&amp;diff=3875</id>
		<title>Talk:File Link Extension</title>
		<link rel="alternate" type="text/html" href="https://assela.pathirana.net/index.php?title=Talk:File_Link_Extension&amp;diff=3875"/>
		<updated>2008-06-25T10:36:57Z</updated>

		<summary type="html">&lt;p&gt;JCBehre: /* Corrupt File */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Corrupt File ==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;It&amp;#039;s impossible for me to uncompress the downloaded folder&lt;br /&gt;
 I&amp;#039;ve tried several tools ( winzi, winrar, simplyzip ect) to uncompress your file.&lt;br /&gt;
 Is there another source to dowload the file from?&lt;br /&gt;
 Greetz, --[[User:JCBehre|JCBehre]] 10:35, 25 June 2008 (GMT)&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
the&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
#settings for fileLinkExtension&lt;br /&gt;
$wgFilelinkExtensionPath = &amp;quot;extensions/FilelinkExtension&amp;quot;;&lt;br /&gt;
include(&amp;quot;$IP/$wgFilelinkExtensionPath/FilelinkExtension.php&amp;quot;);&lt;br /&gt;
#end settings for fileLinkExtension&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;should be&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
#settings for fileLinkExtension&lt;br /&gt;
$wgFilelinkExtensionPath = &amp;quot;extensions/FileLinkExtension&amp;quot;;&lt;br /&gt;
include(&amp;quot;$IP/$wgFilelinkExtensionPath/FileLinkExtension.php&amp;quot;);&lt;br /&gt;
#end settings for fileLinkExtension&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(note the uppercase &amp;quot;L&amp;quot; in &amp;quot;FileLinkExtension&amp;quot;) with the provided pathes&lt;br /&gt;
&lt;br /&gt;
also there is a minor glitch:&amp;lt;br&amp;gt;&lt;br /&gt;
the file:///-icon is showing up two times on the edit page, but showing up not at all at the &amp;quot;show preview&amp;quot; page. my skills in programming php and js are nearly zero, so any help would be highly appreciated.&lt;br /&gt;
--[[User:Mel999|Mel999]] 19:08, 4 May 2006 (JST)&lt;br /&gt;
: now it&amp;#039;s perfect, thank you very much! --[[User:Mel999|Mel999]] 01:12, 15 September 2006 (JST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
another issue had come up here:&lt;br /&gt;
I see the &amp;quot;some problem with FileLinkExtension&amp;quot;-alert very often, mainly with newly created pages,  but cannot reproduce it at 100% :-( &amp;lt;br&amp;gt; i commented out the update and the preview mode changes, but didn&amp;#039;t help. would there be a workaround to not show the annoying alert? &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
btw: you probably did mixup some of your extensions ;-) &lt;br /&gt;
imho it should be &lt;br /&gt;
 function filelinkDo (&amp;amp;$parser, &amp;amp;$text){&lt;br /&gt;
  global $wgRequest;&lt;br /&gt;
  global $wgFilelinkExtensionPath;&lt;br /&gt;
instead of &lt;br /&gt;
 function addbuttonDo (&amp;amp;$parser, &amp;amp;$text){ &lt;br /&gt;
  global $wgRequest;&lt;br /&gt;
  global $wgAddButtonExtensionPath;&lt;br /&gt;
--[[User:Mel999|Mel999]] 17:16, 18 September 2006 (JST)&lt;br /&gt;
&lt;br /&gt;
== Corrupted file for 0.2.tar.gz? ==&lt;br /&gt;
&lt;br /&gt;
When I download and untar the FileLinkExtension.0.2.tar.gz, it appears to be corrupted. Here&amp;#039;s my anonymized session transcript:&lt;br /&gt;
&lt;br /&gt;
 user@host extensions $ md5sum *.gz&lt;br /&gt;
 4480583ab11f8eff909831d2fdc6f86b  FileLinkExtension.tar.gz&lt;br /&gt;
 2a7bca5f8fdb81b261a8015b68a90a85  Image FileLinkExtension.0.2.tar.gz&lt;br /&gt;
 user@host extensions $ gzip -d Image\ FileLinkExtension.0.2.tar.gz&lt;br /&gt;
 user@host extensions $ tar -xvf Image\ FileLinkExtension.0.2.tar&lt;br /&gt;
 tar: This does not look like a tar archive&lt;br /&gt;
 tar: Skipping to next header&lt;br /&gt;
 tar: Error exit delayed from previous errors&lt;br /&gt;
 user@host extensions $&lt;br /&gt;
The FileLinkExtension.tar.gz can be untarred OK. I&amp;#039;ve also tried to untar the 0.2.tar.gz file using WinZip, but I get a similar error message.&lt;br /&gt;
&lt;br /&gt;
== some problem with FileLinkExtension ==&lt;br /&gt;
a &amp;quot;Solution&amp;quot; to the &amp;quot;Problem&amp;quot; could be to comment out the alert function ;0). I can not see any Problem with the extension in my Wiki, so i choosed to comment out the alert function.&lt;br /&gt;
&lt;br /&gt;
edit &amp;quot;mainfile.js&amp;quot; search for &amp;lt;pre&amp;gt;&lt;br /&gt;
alert(&amp;quot;some problem with FileLinkExtension&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
...replace with ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//alert(&amp;quot;some problem with FileLinkExtension&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
br [[User:Patrik|Patrik]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The problem-message only occurs when I put the button into the preview-mode. Perhaps this will help finding the cause of the problem.&lt;br /&gt;
&lt;br /&gt;
I used Patrik&amp;#039;s &amp;quot;solution&amp;quot;, so I don&amp;#039;t see the message anymore, but I&amp;#039;d like to know what caused it to appear in the first place. ;)&lt;br /&gt;
&lt;br /&gt;
--[[User:Kawo|Kawo]] 22:25, 20 July 2007 (JST)&lt;br /&gt;
&lt;br /&gt;
== extension-directory  of current version ==&lt;br /&gt;
&lt;br /&gt;
The lines for LocalSettings.php should look like this for the current version of the extension&lt;br /&gt;
&lt;br /&gt;
 #settings for fileLinkExtension&lt;br /&gt;
 $wgFilelinkExtensionPath = &amp;quot;extensions/FileLinkExtension.0.2&amp;quot;;&lt;br /&gt;
 include(&amp;quot;$IP/$wgFilelinkExtensionPath/FileLinkExtension.php&amp;quot;);&lt;br /&gt;
 #end settings for fileLinkExtension&lt;br /&gt;
&lt;br /&gt;
--[[User:Kawo|Kawo]] 22:20, 20 July 2007 (JST)&lt;br /&gt;
&lt;br /&gt;
== Extension doesn&amp;#039;t work on MediaWiki v1.9+ ==&lt;br /&gt;
&lt;br /&gt;
Howdy good folk. Thanks for this extension - i&amp;#039;m using it in an internal company Wiki. Found a bug in the code which seems to crop up for MediaWiki Version 1.9+. The extension throws an error, expecting a return value from fileLinkDo, called by ParserBeforeTidy.&lt;br /&gt;
&lt;br /&gt;
Fixed this by replacing:&lt;br /&gt;
&lt;br /&gt;
 #########new part###########&lt;br /&gt;
  static $done=0;&lt;br /&gt;
  if ( $done ) { &lt;br /&gt;
    return;&lt;br /&gt;
  }&lt;br /&gt;
  $done=1;&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
 #########new part###########&lt;br /&gt;
  static $done=0;&lt;br /&gt;
  if ( $done ) { &lt;br /&gt;
    return true;&lt;br /&gt;
  }&lt;br /&gt;
  $done=1;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
... and adding a return false; (instead of return;) to the else section as below&lt;br /&gt;
&lt;br /&gt;
  }else{&lt;br /&gt;
    //Either not an edit attempt, or not logged in &lt;br /&gt;
    //Do nothing be silent without bothering innocent visitors. &lt;br /&gt;
    return false;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
Otherwise, awesome extension. This will be handy because I&amp;#039;m trying to get Wiki doco happening in a rusted-on Sharepoint shop!&lt;br /&gt;
&lt;br /&gt;
== This extension doesnt seem to work on MW 1.10 ==&lt;br /&gt;
&lt;br /&gt;
Hi guys.  &amp;lt;br&amp;gt;&lt;br /&gt;
Id love to be able to use this extension on MW 1.10, but it just keels over. &amp;lt;br&amp;gt;&lt;br /&gt;
When I load a page, the page loads fine, its only when going to Edit a page, it throws an exception. &amp;lt;br&amp;gt;&lt;br /&gt;
Here is the output: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Internal error&lt;br /&gt;
Detected bug in an extension! Hook filelinkDo failed to return a value; should return true to continue hook processing or false to abort.&lt;br /&gt;
&lt;br /&gt;
Backtrace:&lt;br /&gt;
&lt;br /&gt;
#0 /var/www/html/mediawiki/includes/Parser.php(332): wfRunHooks(&amp;#039;ParserBeforeTid...&amp;#039;, Array)&lt;br /&gt;
#1 /var/www/html/mediawiki/includes/OutputPage.php(357): Parser-&amp;gt;parse(&amp;#039;&amp;#039;&amp;#039;&amp;#039;Warning:&amp;#039;&amp;#039;&amp;#039; ...&amp;#039;, Object(Title), Object(ParserOptions), true, true, NULL)&lt;br /&gt;
#2 /var/www/html/mediawiki/includes/OutputPage.php(334): OutputPage-&amp;gt;addWikiTextTitle(&amp;#039;&amp;#039;&amp;#039;&amp;#039;Warning:&amp;#039;&amp;#039;&amp;#039; ...&amp;#039;, Object(Title), true)&lt;br /&gt;
#3 /var/www/html/mediawiki/includes/EditPage.php(995): OutputPage-&amp;gt;addWikiText(&amp;#039;&amp;#039;&amp;#039;&amp;#039;Warning:&amp;#039;&amp;#039;&amp;#039; ...&amp;#039;)&lt;br /&gt;
#4 /var/www/html/mediawiki/includes/EditPage.php(433): EditPage-&amp;gt;showEditForm()&lt;br /&gt;
#5 /var/www/html/mediawiki/includes/EditPage.php(285): EditPage-&amp;gt;edit()&lt;br /&gt;
#6 /var/www/html/mediawiki/includes/Wiki.php(437): EditPage-&amp;gt;submit()&lt;br /&gt;
#7 /var/www/html/mediawiki/includes/Wiki.php(48): MediaWiki-&amp;gt;performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))&lt;br /&gt;
#8 /var/www/html/mediawiki/index.php(89): MediaWiki-&amp;gt;initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest))&lt;br /&gt;
#9 {main}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I tried the guy&amp;#039;s suggestion for MW 1.9, but this made no difference.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hi!&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve had no problem with it in MW 1.10 but I get exactly the same error-messages as above when I try to use it in MW 1.11.0. :-(&lt;br /&gt;
&lt;br /&gt;
Could somebody please look into it, because if I cannot get this extension to work, I cannot update my wiki to MW 1.11.0&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;br /&gt;
&lt;br /&gt;
--[[User:Kawo|Kawo]] 23:19, 15 January 2008 (JST)&lt;br /&gt;
&lt;br /&gt;
== Obviously ==&lt;br /&gt;
&lt;br /&gt;
Obviously noone cares to update this extension.&lt;br /&gt;
This extension really is a flaky hack, and a hack that doesnt work in later versions of MW.&lt;/div&gt;</summary>
		<author><name>JCBehre</name></author>
	</entry>
	<entry>
		<id>https://assela.pathirana.net/index.php?title=Talk:File_Link_Extension&amp;diff=3874</id>
		<title>Talk:File Link Extension</title>
		<link rel="alternate" type="text/html" href="https://assela.pathirana.net/index.php?title=Talk:File_Link_Extension&amp;diff=3874"/>
		<updated>2008-06-25T10:36:09Z</updated>

		<summary type="html">&lt;p&gt;JCBehre: /* Corrupt File */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Corrupt File ==&lt;br /&gt;
&lt;br /&gt;
 It&amp;#039;s impossible for me to uncompress the downloaded folder&lt;br /&gt;
 I&amp;#039;ve tried several tools ( winzi, winrar, simplyzip ect) to uncompress your file.&lt;br /&gt;
 Is there another source to dowload the file from?&lt;br /&gt;
 Greetz, --[[User:JCBehre|JCBehre]] 10:35, 25 June 2008 (GMT)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
the&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
#settings for fileLinkExtension&lt;br /&gt;
$wgFilelinkExtensionPath = &amp;quot;extensions/FilelinkExtension&amp;quot;;&lt;br /&gt;
include(&amp;quot;$IP/$wgFilelinkExtensionPath/FilelinkExtension.php&amp;quot;);&lt;br /&gt;
#end settings for fileLinkExtension&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;should be&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
#settings for fileLinkExtension&lt;br /&gt;
$wgFilelinkExtensionPath = &amp;quot;extensions/FileLinkExtension&amp;quot;;&lt;br /&gt;
include(&amp;quot;$IP/$wgFilelinkExtensionPath/FileLinkExtension.php&amp;quot;);&lt;br /&gt;
#end settings for fileLinkExtension&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(note the uppercase &amp;quot;L&amp;quot; in &amp;quot;FileLinkExtension&amp;quot;) with the provided pathes&lt;br /&gt;
&lt;br /&gt;
also there is a minor glitch:&amp;lt;br&amp;gt;&lt;br /&gt;
the file:///-icon is showing up two times on the edit page, but showing up not at all at the &amp;quot;show preview&amp;quot; page. my skills in programming php and js are nearly zero, so any help would be highly appreciated.&lt;br /&gt;
--[[User:Mel999|Mel999]] 19:08, 4 May 2006 (JST)&lt;br /&gt;
: now it&amp;#039;s perfect, thank you very much! --[[User:Mel999|Mel999]] 01:12, 15 September 2006 (JST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
another issue had come up here:&lt;br /&gt;
I see the &amp;quot;some problem with FileLinkExtension&amp;quot;-alert very often, mainly with newly created pages,  but cannot reproduce it at 100% :-( &amp;lt;br&amp;gt; i commented out the update and the preview mode changes, but didn&amp;#039;t help. would there be a workaround to not show the annoying alert? &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
btw: you probably did mixup some of your extensions ;-) &lt;br /&gt;
imho it should be &lt;br /&gt;
 function filelinkDo (&amp;amp;$parser, &amp;amp;$text){&lt;br /&gt;
  global $wgRequest;&lt;br /&gt;
  global $wgFilelinkExtensionPath;&lt;br /&gt;
instead of &lt;br /&gt;
 function addbuttonDo (&amp;amp;$parser, &amp;amp;$text){ &lt;br /&gt;
  global $wgRequest;&lt;br /&gt;
  global $wgAddButtonExtensionPath;&lt;br /&gt;
--[[User:Mel999|Mel999]] 17:16, 18 September 2006 (JST)&lt;br /&gt;
&lt;br /&gt;
== Corrupted file for 0.2.tar.gz? ==&lt;br /&gt;
&lt;br /&gt;
When I download and untar the FileLinkExtension.0.2.tar.gz, it appears to be corrupted. Here&amp;#039;s my anonymized session transcript:&lt;br /&gt;
&lt;br /&gt;
 user@host extensions $ md5sum *.gz&lt;br /&gt;
 4480583ab11f8eff909831d2fdc6f86b  FileLinkExtension.tar.gz&lt;br /&gt;
 2a7bca5f8fdb81b261a8015b68a90a85  Image FileLinkExtension.0.2.tar.gz&lt;br /&gt;
 user@host extensions $ gzip -d Image\ FileLinkExtension.0.2.tar.gz&lt;br /&gt;
 user@host extensions $ tar -xvf Image\ FileLinkExtension.0.2.tar&lt;br /&gt;
 tar: This does not look like a tar archive&lt;br /&gt;
 tar: Skipping to next header&lt;br /&gt;
 tar: Error exit delayed from previous errors&lt;br /&gt;
 user@host extensions $&lt;br /&gt;
The FileLinkExtension.tar.gz can be untarred OK. I&amp;#039;ve also tried to untar the 0.2.tar.gz file using WinZip, but I get a similar error message.&lt;br /&gt;
&lt;br /&gt;
== some problem with FileLinkExtension ==&lt;br /&gt;
a &amp;quot;Solution&amp;quot; to the &amp;quot;Problem&amp;quot; could be to comment out the alert function ;0). I can not see any Problem with the extension in my Wiki, so i choosed to comment out the alert function.&lt;br /&gt;
&lt;br /&gt;
edit &amp;quot;mainfile.js&amp;quot; search for &amp;lt;pre&amp;gt;&lt;br /&gt;
alert(&amp;quot;some problem with FileLinkExtension&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
...replace with ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//alert(&amp;quot;some problem with FileLinkExtension&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
br [[User:Patrik|Patrik]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The problem-message only occurs when I put the button into the preview-mode. Perhaps this will help finding the cause of the problem.&lt;br /&gt;
&lt;br /&gt;
I used Patrik&amp;#039;s &amp;quot;solution&amp;quot;, so I don&amp;#039;t see the message anymore, but I&amp;#039;d like to know what caused it to appear in the first place. ;)&lt;br /&gt;
&lt;br /&gt;
--[[User:Kawo|Kawo]] 22:25, 20 July 2007 (JST)&lt;br /&gt;
&lt;br /&gt;
== extension-directory  of current version ==&lt;br /&gt;
&lt;br /&gt;
The lines for LocalSettings.php should look like this for the current version of the extension&lt;br /&gt;
&lt;br /&gt;
 #settings for fileLinkExtension&lt;br /&gt;
 $wgFilelinkExtensionPath = &amp;quot;extensions/FileLinkExtension.0.2&amp;quot;;&lt;br /&gt;
 include(&amp;quot;$IP/$wgFilelinkExtensionPath/FileLinkExtension.php&amp;quot;);&lt;br /&gt;
 #end settings for fileLinkExtension&lt;br /&gt;
&lt;br /&gt;
--[[User:Kawo|Kawo]] 22:20, 20 July 2007 (JST)&lt;br /&gt;
&lt;br /&gt;
== Extension doesn&amp;#039;t work on MediaWiki v1.9+ ==&lt;br /&gt;
&lt;br /&gt;
Howdy good folk. Thanks for this extension - i&amp;#039;m using it in an internal company Wiki. Found a bug in the code which seems to crop up for MediaWiki Version 1.9+. The extension throws an error, expecting a return value from fileLinkDo, called by ParserBeforeTidy.&lt;br /&gt;
&lt;br /&gt;
Fixed this by replacing:&lt;br /&gt;
&lt;br /&gt;
 #########new part###########&lt;br /&gt;
  static $done=0;&lt;br /&gt;
  if ( $done ) { &lt;br /&gt;
    return;&lt;br /&gt;
  }&lt;br /&gt;
  $done=1;&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
 #########new part###########&lt;br /&gt;
  static $done=0;&lt;br /&gt;
  if ( $done ) { &lt;br /&gt;
    return true;&lt;br /&gt;
  }&lt;br /&gt;
  $done=1;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
... and adding a return false; (instead of return;) to the else section as below&lt;br /&gt;
&lt;br /&gt;
  }else{&lt;br /&gt;
    //Either not an edit attempt, or not logged in &lt;br /&gt;
    //Do nothing be silent without bothering innocent visitors. &lt;br /&gt;
    return false;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
Otherwise, awesome extension. This will be handy because I&amp;#039;m trying to get Wiki doco happening in a rusted-on Sharepoint shop!&lt;br /&gt;
&lt;br /&gt;
== This extension doesnt seem to work on MW 1.10 ==&lt;br /&gt;
&lt;br /&gt;
Hi guys.  &amp;lt;br&amp;gt;&lt;br /&gt;
Id love to be able to use this extension on MW 1.10, but it just keels over. &amp;lt;br&amp;gt;&lt;br /&gt;
When I load a page, the page loads fine, its only when going to Edit a page, it throws an exception. &amp;lt;br&amp;gt;&lt;br /&gt;
Here is the output: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Internal error&lt;br /&gt;
Detected bug in an extension! Hook filelinkDo failed to return a value; should return true to continue hook processing or false to abort.&lt;br /&gt;
&lt;br /&gt;
Backtrace:&lt;br /&gt;
&lt;br /&gt;
#0 /var/www/html/mediawiki/includes/Parser.php(332): wfRunHooks(&amp;#039;ParserBeforeTid...&amp;#039;, Array)&lt;br /&gt;
#1 /var/www/html/mediawiki/includes/OutputPage.php(357): Parser-&amp;gt;parse(&amp;#039;&amp;#039;&amp;#039;&amp;#039;Warning:&amp;#039;&amp;#039;&amp;#039; ...&amp;#039;, Object(Title), Object(ParserOptions), true, true, NULL)&lt;br /&gt;
#2 /var/www/html/mediawiki/includes/OutputPage.php(334): OutputPage-&amp;gt;addWikiTextTitle(&amp;#039;&amp;#039;&amp;#039;&amp;#039;Warning:&amp;#039;&amp;#039;&amp;#039; ...&amp;#039;, Object(Title), true)&lt;br /&gt;
#3 /var/www/html/mediawiki/includes/EditPage.php(995): OutputPage-&amp;gt;addWikiText(&amp;#039;&amp;#039;&amp;#039;&amp;#039;Warning:&amp;#039;&amp;#039;&amp;#039; ...&amp;#039;)&lt;br /&gt;
#4 /var/www/html/mediawiki/includes/EditPage.php(433): EditPage-&amp;gt;showEditForm()&lt;br /&gt;
#5 /var/www/html/mediawiki/includes/EditPage.php(285): EditPage-&amp;gt;edit()&lt;br /&gt;
#6 /var/www/html/mediawiki/includes/Wiki.php(437): EditPage-&amp;gt;submit()&lt;br /&gt;
#7 /var/www/html/mediawiki/includes/Wiki.php(48): MediaWiki-&amp;gt;performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))&lt;br /&gt;
#8 /var/www/html/mediawiki/index.php(89): MediaWiki-&amp;gt;initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest))&lt;br /&gt;
#9 {main}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I tried the guy&amp;#039;s suggestion for MW 1.9, but this made no difference.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hi!&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve had no problem with it in MW 1.10 but I get exactly the same error-messages as above when I try to use it in MW 1.11.0. :-(&lt;br /&gt;
&lt;br /&gt;
Could somebody please look into it, because if I cannot get this extension to work, I cannot update my wiki to MW 1.11.0&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;br /&gt;
&lt;br /&gt;
--[[User:Kawo|Kawo]] 23:19, 15 January 2008 (JST)&lt;br /&gt;
&lt;br /&gt;
== Obviously ==&lt;br /&gt;
&lt;br /&gt;
Obviously noone cares to update this extension.&lt;br /&gt;
This extension really is a flaky hack, and a hack that doesnt work in later versions of MW.&lt;/div&gt;</summary>
		<author><name>JCBehre</name></author>
	</entry>
	<entry>
		<id>https://assela.pathirana.net/index.php?title=Talk:File_Link_Extension&amp;diff=3873</id>
		<title>Talk:File Link Extension</title>
		<link rel="alternate" type="text/html" href="https://assela.pathirana.net/index.php?title=Talk:File_Link_Extension&amp;diff=3873"/>
		<updated>2008-06-25T10:35:45Z</updated>

		<summary type="html">&lt;p&gt;JCBehre: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Corrupt File ==&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s impossible for me to uncompress the downloaded folder :(&lt;br /&gt;
 I&amp;#039;ve tried several tools ( winzi, winrar, simplyzip ect) to uncompress your file.&lt;br /&gt;
 Is there another source to dowload the file from?&lt;br /&gt;
 Greetz, --[[User:JCBehre|JCBehre]] 10:35, 25 June 2008 (GMT)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
the&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
#settings for fileLinkExtension&lt;br /&gt;
$wgFilelinkExtensionPath = &amp;quot;extensions/FilelinkExtension&amp;quot;;&lt;br /&gt;
include(&amp;quot;$IP/$wgFilelinkExtensionPath/FilelinkExtension.php&amp;quot;);&lt;br /&gt;
#end settings for fileLinkExtension&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;should be&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
#settings for fileLinkExtension&lt;br /&gt;
$wgFilelinkExtensionPath = &amp;quot;extensions/FileLinkExtension&amp;quot;;&lt;br /&gt;
include(&amp;quot;$IP/$wgFilelinkExtensionPath/FileLinkExtension.php&amp;quot;);&lt;br /&gt;
#end settings for fileLinkExtension&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(note the uppercase &amp;quot;L&amp;quot; in &amp;quot;FileLinkExtension&amp;quot;) with the provided pathes&lt;br /&gt;
&lt;br /&gt;
also there is a minor glitch:&amp;lt;br&amp;gt;&lt;br /&gt;
the file:///-icon is showing up two times on the edit page, but showing up not at all at the &amp;quot;show preview&amp;quot; page. my skills in programming php and js are nearly zero, so any help would be highly appreciated.&lt;br /&gt;
--[[User:Mel999|Mel999]] 19:08, 4 May 2006 (JST)&lt;br /&gt;
: now it&amp;#039;s perfect, thank you very much! --[[User:Mel999|Mel999]] 01:12, 15 September 2006 (JST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
another issue had come up here:&lt;br /&gt;
I see the &amp;quot;some problem with FileLinkExtension&amp;quot;-alert very often, mainly with newly created pages,  but cannot reproduce it at 100% :-( &amp;lt;br&amp;gt; i commented out the update and the preview mode changes, but didn&amp;#039;t help. would there be a workaround to not show the annoying alert? &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
btw: you probably did mixup some of your extensions ;-) &lt;br /&gt;
imho it should be &lt;br /&gt;
 function filelinkDo (&amp;amp;$parser, &amp;amp;$text){&lt;br /&gt;
  global $wgRequest;&lt;br /&gt;
  global $wgFilelinkExtensionPath;&lt;br /&gt;
instead of &lt;br /&gt;
 function addbuttonDo (&amp;amp;$parser, &amp;amp;$text){ &lt;br /&gt;
  global $wgRequest;&lt;br /&gt;
  global $wgAddButtonExtensionPath;&lt;br /&gt;
--[[User:Mel999|Mel999]] 17:16, 18 September 2006 (JST)&lt;br /&gt;
&lt;br /&gt;
== Corrupted file for 0.2.tar.gz? ==&lt;br /&gt;
&lt;br /&gt;
When I download and untar the FileLinkExtension.0.2.tar.gz, it appears to be corrupted. Here&amp;#039;s my anonymized session transcript:&lt;br /&gt;
&lt;br /&gt;
 user@host extensions $ md5sum *.gz&lt;br /&gt;
 4480583ab11f8eff909831d2fdc6f86b  FileLinkExtension.tar.gz&lt;br /&gt;
 2a7bca5f8fdb81b261a8015b68a90a85  Image FileLinkExtension.0.2.tar.gz&lt;br /&gt;
 user@host extensions $ gzip -d Image\ FileLinkExtension.0.2.tar.gz&lt;br /&gt;
 user@host extensions $ tar -xvf Image\ FileLinkExtension.0.2.tar&lt;br /&gt;
 tar: This does not look like a tar archive&lt;br /&gt;
 tar: Skipping to next header&lt;br /&gt;
 tar: Error exit delayed from previous errors&lt;br /&gt;
 user@host extensions $&lt;br /&gt;
The FileLinkExtension.tar.gz can be untarred OK. I&amp;#039;ve also tried to untar the 0.2.tar.gz file using WinZip, but I get a similar error message.&lt;br /&gt;
&lt;br /&gt;
== some problem with FileLinkExtension ==&lt;br /&gt;
a &amp;quot;Solution&amp;quot; to the &amp;quot;Problem&amp;quot; could be to comment out the alert function ;0). I can not see any Problem with the extension in my Wiki, so i choosed to comment out the alert function.&lt;br /&gt;
&lt;br /&gt;
edit &amp;quot;mainfile.js&amp;quot; search for &amp;lt;pre&amp;gt;&lt;br /&gt;
alert(&amp;quot;some problem with FileLinkExtension&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
...replace with ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//alert(&amp;quot;some problem with FileLinkExtension&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
br [[User:Patrik|Patrik]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The problem-message only occurs when I put the button into the preview-mode. Perhaps this will help finding the cause of the problem.&lt;br /&gt;
&lt;br /&gt;
I used Patrik&amp;#039;s &amp;quot;solution&amp;quot;, so I don&amp;#039;t see the message anymore, but I&amp;#039;d like to know what caused it to appear in the first place. ;)&lt;br /&gt;
&lt;br /&gt;
--[[User:Kawo|Kawo]] 22:25, 20 July 2007 (JST)&lt;br /&gt;
&lt;br /&gt;
== extension-directory  of current version ==&lt;br /&gt;
&lt;br /&gt;
The lines for LocalSettings.php should look like this for the current version of the extension&lt;br /&gt;
&lt;br /&gt;
 #settings for fileLinkExtension&lt;br /&gt;
 $wgFilelinkExtensionPath = &amp;quot;extensions/FileLinkExtension.0.2&amp;quot;;&lt;br /&gt;
 include(&amp;quot;$IP/$wgFilelinkExtensionPath/FileLinkExtension.php&amp;quot;);&lt;br /&gt;
 #end settings for fileLinkExtension&lt;br /&gt;
&lt;br /&gt;
--[[User:Kawo|Kawo]] 22:20, 20 July 2007 (JST)&lt;br /&gt;
&lt;br /&gt;
== Extension doesn&amp;#039;t work on MediaWiki v1.9+ ==&lt;br /&gt;
&lt;br /&gt;
Howdy good folk. Thanks for this extension - i&amp;#039;m using it in an internal company Wiki. Found a bug in the code which seems to crop up for MediaWiki Version 1.9+. The extension throws an error, expecting a return value from fileLinkDo, called by ParserBeforeTidy.&lt;br /&gt;
&lt;br /&gt;
Fixed this by replacing:&lt;br /&gt;
&lt;br /&gt;
 #########new part###########&lt;br /&gt;
  static $done=0;&lt;br /&gt;
  if ( $done ) { &lt;br /&gt;
    return;&lt;br /&gt;
  }&lt;br /&gt;
  $done=1;&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
 #########new part###########&lt;br /&gt;
  static $done=0;&lt;br /&gt;
  if ( $done ) { &lt;br /&gt;
    return true;&lt;br /&gt;
  }&lt;br /&gt;
  $done=1;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
... and adding a return false; (instead of return;) to the else section as below&lt;br /&gt;
&lt;br /&gt;
  }else{&lt;br /&gt;
    //Either not an edit attempt, or not logged in &lt;br /&gt;
    //Do nothing be silent without bothering innocent visitors. &lt;br /&gt;
    return false;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
Otherwise, awesome extension. This will be handy because I&amp;#039;m trying to get Wiki doco happening in a rusted-on Sharepoint shop!&lt;br /&gt;
&lt;br /&gt;
== This extension doesnt seem to work on MW 1.10 ==&lt;br /&gt;
&lt;br /&gt;
Hi guys.  &amp;lt;br&amp;gt;&lt;br /&gt;
Id love to be able to use this extension on MW 1.10, but it just keels over. &amp;lt;br&amp;gt;&lt;br /&gt;
When I load a page, the page loads fine, its only when going to Edit a page, it throws an exception. &amp;lt;br&amp;gt;&lt;br /&gt;
Here is the output: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Internal error&lt;br /&gt;
Detected bug in an extension! Hook filelinkDo failed to return a value; should return true to continue hook processing or false to abort.&lt;br /&gt;
&lt;br /&gt;
Backtrace:&lt;br /&gt;
&lt;br /&gt;
#0 /var/www/html/mediawiki/includes/Parser.php(332): wfRunHooks(&amp;#039;ParserBeforeTid...&amp;#039;, Array)&lt;br /&gt;
#1 /var/www/html/mediawiki/includes/OutputPage.php(357): Parser-&amp;gt;parse(&amp;#039;&amp;#039;&amp;#039;&amp;#039;Warning:&amp;#039;&amp;#039;&amp;#039; ...&amp;#039;, Object(Title), Object(ParserOptions), true, true, NULL)&lt;br /&gt;
#2 /var/www/html/mediawiki/includes/OutputPage.php(334): OutputPage-&amp;gt;addWikiTextTitle(&amp;#039;&amp;#039;&amp;#039;&amp;#039;Warning:&amp;#039;&amp;#039;&amp;#039; ...&amp;#039;, Object(Title), true)&lt;br /&gt;
#3 /var/www/html/mediawiki/includes/EditPage.php(995): OutputPage-&amp;gt;addWikiText(&amp;#039;&amp;#039;&amp;#039;&amp;#039;Warning:&amp;#039;&amp;#039;&amp;#039; ...&amp;#039;)&lt;br /&gt;
#4 /var/www/html/mediawiki/includes/EditPage.php(433): EditPage-&amp;gt;showEditForm()&lt;br /&gt;
#5 /var/www/html/mediawiki/includes/EditPage.php(285): EditPage-&amp;gt;edit()&lt;br /&gt;
#6 /var/www/html/mediawiki/includes/Wiki.php(437): EditPage-&amp;gt;submit()&lt;br /&gt;
#7 /var/www/html/mediawiki/includes/Wiki.php(48): MediaWiki-&amp;gt;performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))&lt;br /&gt;
#8 /var/www/html/mediawiki/index.php(89): MediaWiki-&amp;gt;initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest))&lt;br /&gt;
#9 {main}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I tried the guy&amp;#039;s suggestion for MW 1.9, but this made no difference.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hi!&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve had no problem with it in MW 1.10 but I get exactly the same error-messages as above when I try to use it in MW 1.11.0. :-(&lt;br /&gt;
&lt;br /&gt;
Could somebody please look into it, because if I cannot get this extension to work, I cannot update my wiki to MW 1.11.0&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;br /&gt;
&lt;br /&gt;
--[[User:Kawo|Kawo]] 23:19, 15 January 2008 (JST)&lt;br /&gt;
&lt;br /&gt;
== Obviously ==&lt;br /&gt;
&lt;br /&gt;
Obviously noone cares to update this extension.&lt;br /&gt;
This extension really is a flaky hack, and a hack that doesnt work in later versions of MW.&lt;/div&gt;</summary>
		<author><name>JCBehre</name></author>
	</entry>
</feed>