<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Mediawiki files are not stored in Alfresco repository in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/mediawiki-files-are-not-stored-in-alfresco-repository/m-p/133184#M93531</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to get a quick and dirty solution for this problem. Here is my approach:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are using Alfresco 2.1 CE on Centos 5. On a non-Linux-Server, this hack may probably have to be adjusted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the beginning, I created another space in the mediawiki-space I use.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Next, I mounted Alfresco's CIFS in Linux:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;mount.cifs //servername/Alfresco/ /tmp/alfrewiki -o user=XXX,password=XXX,rw&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Then I deleted the images-foder of the Mediawiki and created a symbolic link to the space defined above:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;cd /var/www/html/mediawiki&lt;BR /&gt;rm images&lt;BR /&gt;ln -s /tmp/alfrewiki/(the following is the path inside Alfresco)Projects/Archiv/mediawiki/mediawiki/ images&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;It is important, that the user you use to mount the drive has full rights on the space!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After uploading a file, I now did receive an errormessage. Mediawiki tries to create new paths inside the folde, but Alfresco/CIFS obviously does not allow the creation of complete paths with the php-function mkdir, but only one folder by another. For example, if Mediawiki tries to create //var/www/html/mediawiki/images/public/e/7, it would have to create public/e/7. It will give out an errormessage, and each time you refresh it, a new 'level' will be created, first public, next time e and so on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As solution, open includes/GlobalFunctions.php of Mediawiki and replace&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;return mkdir( str_replace( '/', DIRECTORY_SEPARATOR, $fullDir ), $mode, true );&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;with&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;exec ('mkdir -p ' . $fullDir);&lt;BR /&gt;return true&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;From now on, all Uploads will be stored and indexed in Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem: It is still not possible to update or actually delete files. Deletion will be acknowledged by Mediawiki, but the files are not deleted and will make problems, if uploading another file of the same name. I am working on it and will post a solution, if I find one.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jul 2008 10:30:51 GMT</pubDate>
    <dc:creator>nicof</dc:creator>
    <dc:date>2008-07-22T10:30:51Z</dc:date>
    <item>
      <title>Mediawiki files are not stored in Alfresco repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mediawiki-files-are-not-stored-in-alfresco-repository/m-p/133180#M93527</link>
      <description>I integrated mediawiki to alfresco 2.1 following the instructions on http://wiki.alfresco.com/wiki/Alfresco_MediaWiki_Installation_InstructionsIf I write a new article in the wiki, it automatically gets stored in the alfresco repository.&amp;nbsp; &lt;IMG id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt; But if I upload a file to that article in the wiki, this f</description>
      <pubDate>Fri, 31 Aug 2007 14:11:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mediawiki-files-are-not-stored-in-alfresco-repository/m-p/133180#M93527</guid>
      <dc:creator>quovadit</dc:creator>
      <dc:date>2007-08-31T14:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Mediawiki files are not stored in Alfresco repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mediawiki-files-are-not-stored-in-alfresco-repository/m-p/133181#M93528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Harold,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I presume you are talking about storing files uploaded into MediaWiki into Alfresco?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this is the case then its not something we have yet tackled.&amp;nbsp; The current MediaWiki integration is our first stab and as such there are serveral points of integration we want to improve/add in the next interation, storing uploaded documents being one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure what the development schedule for this area of work is going forward, so in the mean time I'll take a quick look and see if there is something simple that can be done to help overcome this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2007 10:49:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mediawiki-files-are-not-stored-in-alfresco-repository/m-p/133181#M93528</guid>
      <dc:creator>rwetherall</dc:creator>
      <dc:date>2007-09-03T10:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Mediawiki files are not stored in Alfresco repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mediawiki-files-are-not-stored-in-alfresco-repository/m-p/133182#M93529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;yes, that's excactly what I'm looking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's really very bad news, that this feature is not yet implemented.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On a optaros-alfresco seminar in munich on june 26th I talked to a representative of alfresco, and he assured, that uploaded files in the wiki will get stored in the alfresco-repository in release 2.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would be great, if you could find a solution for that, and if you could tell me when this feature will be available approximately.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to install mediawiki 1.10.1 now, start using it (without uploading files), and installing the mediawiki-alfresco-integration afterwards? What about the articles already stored in the wiki until then?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Harald&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2007 13:20:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mediawiki-files-are-not-stored-in-alfresco-repository/m-p/133182#M93529</guid>
      <dc:creator>quovadit</dc:creator>
      <dc:date>2007-09-03T13:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Mediawiki files are not stored in Alfresco repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mediawiki-files-are-not-stored-in-alfresco-repository/m-p/133183#M93530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Has this been resolved yet ???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;uploading images on mediawiki does not upload the file on alfresco, though it creates the content.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2008 15:58:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mediawiki-files-are-not-stored-in-alfresco-repository/m-p/133183#M93530</guid>
      <dc:creator>robain</dc:creator>
      <dc:date>2008-07-15T15:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: Mediawiki files are not stored in Alfresco repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mediawiki-files-are-not-stored-in-alfresco-repository/m-p/133184#M93531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to get a quick and dirty solution for this problem. Here is my approach:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are using Alfresco 2.1 CE on Centos 5. On a non-Linux-Server, this hack may probably have to be adjusted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the beginning, I created another space in the mediawiki-space I use.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Next, I mounted Alfresco's CIFS in Linux:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;mount.cifs //servername/Alfresco/ /tmp/alfrewiki -o user=XXX,password=XXX,rw&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Then I deleted the images-foder of the Mediawiki and created a symbolic link to the space defined above:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;cd /var/www/html/mediawiki&lt;BR /&gt;rm images&lt;BR /&gt;ln -s /tmp/alfrewiki/(the following is the path inside Alfresco)Projects/Archiv/mediawiki/mediawiki/ images&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;It is important, that the user you use to mount the drive has full rights on the space!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After uploading a file, I now did receive an errormessage. Mediawiki tries to create new paths inside the folde, but Alfresco/CIFS obviously does not allow the creation of complete paths with the php-function mkdir, but only one folder by another. For example, if Mediawiki tries to create //var/www/html/mediawiki/images/public/e/7, it would have to create public/e/7. It will give out an errormessage, and each time you refresh it, a new 'level' will be created, first public, next time e and so on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As solution, open includes/GlobalFunctions.php of Mediawiki and replace&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;return mkdir( str_replace( '/', DIRECTORY_SEPARATOR, $fullDir ), $mode, true );&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;with&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;exec ('mkdir -p ' . $fullDir);&lt;BR /&gt;return true&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;From now on, all Uploads will be stored and indexed in Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem: It is still not possible to update or actually delete files. Deletion will be acknowledged by Mediawiki, but the files are not deleted and will make problems, if uploading another file of the same name. I am working on it and will post a solution, if I find one.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 10:30:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mediawiki-files-are-not-stored-in-alfresco-repository/m-p/133184#M93531</guid>
      <dc:creator>nicof</dc:creator>
      <dc:date>2008-07-22T10:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Mediawiki files are not stored in Alfresco repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mediawiki-files-are-not-stored-in-alfresco-repository/m-p/133185#M93532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know if this issue has been resolved in the standard community package?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know since this feature is of great interest for us…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/FaBa&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2008 15:20:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mediawiki-files-are-not-stored-in-alfresco-repository/m-p/133185#M93532</guid>
      <dc:creator>faba</dc:creator>
      <dc:date>2008-12-19T15:20:26Z</dc:date>
    </item>
  </channel>
</rss>

