Last modified: 2009-06-18 18:45:11 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T21268, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19268 - more standard installation instruction / deletion of non-useful parameter
more standard installation instruction / deletion of non-useful parameter
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Other (Other open bugs)
unspecified
All All
: Normal trivial (vote)
: ---
Assigned To: Al Maghi
http://www.mediawiki.org/wiki/Extensi...
: patch, patch-reviewed
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-17 21:30 UTC by Al Maghi
Modified: 2009-06-18 18:45 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
the patched file (1.95 KB, patch)
2009-06-17 21:43 UTC, Al Maghi
Details
correct patch file (1.05 KB, patch)
2009-06-17 22:10 UTC, Al Maghi
Details

Description Al Maghi 2009-06-17 21:30:51 UTC
1. go to direct page:
http://www.mediawiki.org/wiki/Extension:Memorizable
with:
http://www.mediawiki.org/wiki/Extension:Memorize

2. 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>' );

3. 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.
Comment 1 Al Maghi 2009-06-17 21:43:23 UTC
Created attachment 6235 [details]
the patched file
Comment 2 Al Maghi 2009-06-17 22:10:29 UTC
Created attachment 6236 [details]
correct patch file
Comment 3 Charles Melbye 2009-06-18 18:44:18 UTC
Patched in r52139.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links