https://bugzilla.wikimedia.org/show_bug.cgi?id=19268

       Web browser: ---
           Summary: more standard installation instruction / deletion of
                    non-useful parameter
           Product: MediaWiki extensions
           Version: any
          Platform: All
               URL: http://www.mediawiki.org/wiki/Extension:Memorize
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: Normal
         Component: [other]
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: alfred.ma...@gmail.com
                CC: rlan...@gmail.com


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://i...@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.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to