Difference between revisions of "OpenEMR Wiki"

From OpenEMR Project Wiki
Line 13: Line 13:
:*ParserFunctions (Version 1.3.0) (Build for Mediawiki version 16.x)
:*ParserFunctions (Version 1.3.0) (Build for Mediawiki version 16.x)
:*Cite (Build for Mediawiki version 16.x; note had to download from Cite prior SVN repository)
:*Cite (Build for Mediawiki version 16.x; note had to download from Cite prior SVN repository)
:*RenameUser (Build for Mediawiki version 16.x; note had to download from RenameUser prior SVN repository)


*A new skin was also created that was based on MonoBook (note all other skin options were removed to force use of this skin):
*A new skin was also created that was based on MonoBook (note all other skin options were removed to force use of this skin):

Revision as of 10:13, 31 August 2014

  • This is based on mediwiki version 1.16.5 with following extensions:
  • Confirm user accounts
  • MultipleUpload (Version 2.0)
  • Password Reset (Version 1.7)
  • Google Analytics Integration (Version 2.0.2)
  • Google Analytics Links (Version 1.2)
  • Modified googa.php code to open a new window when open link (added target="_blank").
  • Modified this code to allow full screen view of embedded youtube videos per instructions here
  • ExpandTemplates (Build for Mediawiki version 16.x)
  • ParserFunctions (Version 1.3.0) (Build for Mediawiki version 16.x)
  • Cite (Build for Mediawiki version 16.x; note had to download from Cite prior SVN repository)
  • RenameUser (Build for Mediawiki version 16.x; note had to download from RenameUser prior SVN repository)
  • A new skin was also created that was based on MonoBook (note all other skin options were removed to force use of this skin):
  • openemr
  • In order to support the 'openemr' skin, modifications were made in the wiki/includes/OutputPage.php script:
  • At line 2215:
# NEED TO ADD THE ID HERE (wiki vs download vs demo vs support)
                # USE THE DOCUMENT TITLE
                if (Sanitizer::escapeClass($this->getTitle()->getPrefixedText()) == "OpenEMR_Features") {
                    $bodyAttrs['id'] = 'features';
                }
                else if (Sanitizer::escapeClass($this->getTitle()->getPrefixedText()) == "OpenEMR_Version_4_1_1_Demo") {
                    $bodyAttrs['id'] = 'demo';
                }
                else if (Sanitizer::escapeClass($this->getTitle()->getPrefixedText()) == "OpenEMR_Downloads") {
                    $bodyAttrs['id'] = 'download';
                }
                else if (Sanitizer::escapeClass($this->getTitle()->getPrefixedText()) == "OpenEMR_Support_Guide") {
                    $bodyAttrs['id'] = 'support';
                }
                else {
                    $bodyAttrs['id'] = 'wiki';
                }
  • Internationalization