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

Jon <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
          Component|MobileFrontend              |ProofreadPage

--- Comment #4 from Jon <[email protected]> ---
What needs to happen here is Proofread extension should add its own module to
mobile that adds this feature. (alternatively if the javascript that does this
is small you may want to test the code you've written on desktop and attempt to
enable the same code you use on desktop)

We now have full RL support so it should be as simple as:

$wgResourceModules['mobile.proofreadpage'] = array(
    'scripts' => array(
        'mobile.js',
    ),
    'position' => 'top',
'targets' => array( 'mobile' ), // or array( 'mobile', 'desktop' ) if you want
to use same module
    'mobileTargets' => array( 'stable', 'beta', 'alpha' ),
);

MobileFrontend currently adds any modules that have been set to target mobile
and set a mobileTargets

I'd suggest enabling it on the beta site of wikisource first and spend some
time testing it before switching it on on stable.
This is as simple as setting:
'mobileTargets' => array( 'beta', 'alpha' ),

Word of warning: 
The mobile environment may be missing parts of the mw library so be careful
what you use!

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to