Extension talk:DidYouMean
From MediaWiki.org
From IRC with Rob Church on how to purge from the cache pages affected by editing another page:
- <robchurch> title::purgelinksto or somesuch
- <robchurch> and various bits probably referenced in article::editupdates
Contents |
[edit] installation
How do I install it? I downloaded DidYouMean.php didyoumean.sql DYMNorm.php install.php files but when I run install.php I get this message : "This script must be run from the command line"
Although it sounds like a really silly question, but where do I get the sources from? I'm obviously too stupid to find the link.
-- Lemming 20:14, 9 May 2007 (UTC)
- Not a silly question. I would also like to know where to get the source from. --Magick 09:12, 2 October 2007 (UTC)
-
- Go to the command line, cd to the mediawiki extensions directory, and run:
-
sudo svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/DidYouMean/
- The to install, I'd assume you'd run "php install.php" from the DidYouMean directory. --Naught101 09:40, 7 October 2008 (UTC)
I installed MediaWiki software on a remote web server, but I cannot access it by command line... Is it possible to install DidYouMean extension from a web browser??
Thanks
Riccardo79 07:00, 12 June 2009 (UTC)
[edit] HowTo ?
How do I install this? There is no download Link in the Article and no clue on how to install it! Please add these soon. Thanks --62.245.208.114 08:07, 13 June 2007 (UTC)
- Also need help installing this!
[edit] Where to get the code
Sorry for not answering your questions. I was off travelling the world for a while. DidYouMean is only available from MediaWiki svn at the moment: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/DidYouMean/
I've lost familiarity with it while I was away but I plan to resume MediaWiki hacking soon. This extensions seems relevant to the "Aliases" topic on wikitech-l currently. — Hippietrail 02:52, 26 October 2007 (UTC)
[edit] stemming, stemming, stemming
Stemming would be useful on ALL wikis, not just wiktionary, as EVERYONE accidentally links pages to their plural sometimes. Would be good for gerunds too.
Also, the test page listed on the Extension page (http://wiktionarydev.leuksman.com/) doesn't work. Wrong host, apparently. --Naught101 09:52, 7 October 2008 (UTC)
[edit] A little mod to install.php
I modified the beginning of install.php to allow it to install to a wiki independent of path. Just specify the path to the wiki with the -w option
<?php if (!isset($argv[1])){ echo "USAGE: php5 {$_SERVER['SCRIPT_NAME']} [ options ] -w [ path to wiki] "; exit; } $params = getopt('w:l'); if (isset($params['w'])){ $wikipath = $params['w']; } else { die("Please use the -w flag to set a path to the wiki.\n"); } require_once("$wikipath/maintenance/commandLine.inc"); /* $maint = dirname( dirname( __FILE__ ) ) . '/maintenance'; if( is_file( $maint . '/commandLine.inc' ) ) { require_once( $maint . '/commandLine.inc' ); } else { $maint = dirname( dirname( dirname( __FILE__ ) ) ) . '/maintenance'; if( is_file( $maint . '/commandLine.inc' ) ) { require_once( $maint . '/commandLine.inc' ); } else { # We can't find it, give up echo( "The installation script was unable to find the maintenance directories.\n\n" ); die( 1 ); } } */
Good extension! Thanks for the code!