Last modified: 2013-06-13 17:11:30 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 T42725, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40725 - Wikieditor bar not appearing on Special:FormEdit page (SF 2.5)
Wikieditor bar not appearing on Special:FormEdit page (SF 2.5)
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: s7eph4n
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-02 18:51 UTC by ryan.glasnapp
Modified: 2013-06-13 17:11 UTC (History)
1 user (show)

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


Attachments

Description ryan.glasnapp 2012-10-02 18:51:05 UTC
The wikieditor bar is not appearing on the Special:FormEdit page.

This is the Semantic Forms code that I have.

{{{standard input|free text|editor=wikieditor|rows=20|preload=Template:MOS Information no infobox}}}

Running MW 1.18.1, SMW 1.7.1, SF 2.5, and wikieditor 0.3.0.

It's not displaying because of a javascript error.

Javascript error (from Chrome).

Uncaught TypeError: Cannot read property 'wikieditor' of null Test_page:446
(anonymous function) Test_page:446
using load.php:148
(anonymous function) Test_page:446
deferred.resolveWith load.php:14
jQuery.extend.ready load.php:6
DOMContentLoaded load.php:12

Javascript error (from Firefox+Firebug)
    TypeError: window.ext is null
    <script>jQuery(function(){mw.loader.using("ext.semanticforms.wikieditor",function(){jQuery('#sf_free_text').SemanticForms_registerInputInit(window.ext.wikieditor.init, null );},function(e,module){alert(module+": "+e);});});</script>

I tried appending ?debug=true, but that did not change the output of the javascript errors.

This issue only appears on the Special Page, and only for logged in users. (Pages with [[Page has default forms::]] are fine)
Comment 1 Yaron Koren 2012-10-02 19:07:16 UTC
Assigning to f.trott.
Comment 2 s7eph4n 2013-05-09 21:52:44 UTC
Tried this with SF 2.5.2 and WikiEditor 0.3.1 and it worked. Could you try to upgrade and see if that helps?
Comment 3 s7eph4n 2013-06-13 17:11:30 UTC
Closing this.
Please re-open if it still a problem with current versions.

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


Navigation
Links