[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Seeking Debian Linux user that might share some tips on adding extensions.



On 04/26/2008 11:16 PM, John W Foster wrote:
I have been at this for a while but just recently installed the Debianized versiion of Mediawiki from the Testing arena. I have been trying, with some assistence & information from the Debian package maintainer to get extensions to work that are not packaged with the Debian Mediawiki. I am not new to Debian or Linux but only about a year of practice with Mediawiki. I started off by installing the regular version from Wikimedia/Mediawiki. After some database issues, I decided (for ease of upgrades) to switch to the Debian version. All went well including an upgrade, until I started trying to add extensions to the wiki that were installed the "normal" way per the package maintainer. This is not working. My question is : Is there any one else one the list that might offer any tips???
frosty




I installed Mediawiki 1.12.0 from backports.org. This is what I did to get the Cite extension enabled in that Mediawiki installation:

* I had to uncomment the Alias directive in
  /etc/apache2/conf.d/mediawiki.conf .
* I went to the configuration page .../config/index.php,
  configured the application and moved LocalSettings.php
  to /etc/mediawiki. The permissions and ownership were
  changed to this:
  -rw-r--r-- 1 root root 4680 2008-04-27 15:09 LocalSettings.php
* I checked that the Cite extension was NOT available by going
  to http://localhost/mediawiki/index.php/Special:Version .
* I read /var/lib/mediawiki/extensions/README .
* I copied the Cite extension files into
  /var/lib/mediawiki/extensions/Cite/ .
* I added this line to the end of /etc/mediawiki/LocalSettings.php:
  require_once( $IP.'/extensions/Cite/Cite.php' );
* I checked that the Cite extension was enabled in
  http://localhost/mediawiki/index.php/Special:Version . It was
  enabled.


Note, I had previously set up my wiki database, and I already have private wiki active.

HTH



Reply to: