Page MenuHomePhabricator

more standard installation instruction / deletion of non-useful parameter
Closed, ResolvedPublic

Description

Author: alfred.maghi

Description:

  1. go to direct page:

http://www.mediawiki.org/wiki/Extension:Memorizable
with:
http://www.mediawiki.org/wiki/Extension:Memorize

  1. deletion of non-useful parameter:

global $wgMemorizeExtensionPath;

$extensionpath = "$wgMemorizeExtensionPath";

$m_pageObj->addScript( '<script src="' . $extensionpath . '/memorizable.js" type="text/javascript"></script>' );

replaced with:

global $wgScriptPath;
$m_pageObj->addScript( '<script src="'. $wgScriptPath.'/extensions/Memorize/memorizable.js" type="text/javascript"></script>' );

  1. Next change: I've asked mailto://info@memorizable.org to put memorizable.js into MediaWiki svn, there: http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Memorize/ I'm waiting for their acceptance.

Version: unspecified
Severity: trivial
URL: http://www.mediawiki.org/wiki/Extension_talk:Memorize#Suggetion_for_improved_installation_method

Details

Reference
bz19268

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:41 PM
bzimport set Reference to bz19268.

alfred.maghi wrote:

the patched file

attachment Memorize.php ignored as obsolete

alfred.maghi wrote:

correct patch file

Attached:

charlie wrote:

Patched in r52139.