Item2489: WysiwygPlugin Constants should use export instead of aliasing it to some WC module

Priority: Enhancement
Current State: Waiting for Release
Released In: 2.2.0
Target Release: minor
Applies To: Extension
Component: WysiwygPlugin
Branches: master Item14288 Item14380 Item14537
Reported By: OlivierRaginel
Waiting For:
Last Change By: CrawfordCurrie
FoswikiTrunk:WysiwygPlugin/lib/Foswiki/Plugins/WysiwygPlugin/ has a hack at the end to alias its own module to WC:: so other plugins can use $WC::CONSTANT or WC::function, instead of the fully qualified name Foswiki::Plugins::WysiwygPlugin::Constants::CONSTANT.

Even though this works fine, it's hackish, and would be much more cleaner using the EXPORT mechanism.

Rem: one would have to benchmark it to ensure EXPORT will not slow things down, or at least not too much

-- OlivierRaginel - 10 Dec 2009

ItemTemplate edit

Summary WysiwygPlugin Constants should use export instead of aliasing it to some WC module
ReportedBy OlivierRaginel
Codebase 1.0.8, trunk
SVN Range
AppliesTo Extension
Component WysiwygPlugin
Priority Enhancement
CurrentState Waiting for Release
Checkins distro:7b4c3f04fdf1
TargetRelease minor
ReleasedIn 2.2.0
CheckinsOnBranches master Item14288 Item14380 Item14537
masterCheckins distro:7b4c3f04fdf1
ItemBranchCheckins distro:7b4c3f04fdf1
Topic revision: r8 - 31 Jan 2018, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy