Last modified: 2014-04-10 06:56:34 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 T20340, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18340 - Include Functions from MW-Edit
Include Functions from MW-Edit
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Lowest enhancement with 1 vote (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-04 12:33 UTC by DaSch
Modified: 2014-04-10 06:56 UTC (History)
1 user (show)

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


Attachments

Description DaSch 2009-04-04 12:33:04 UTC
I think the editpage-copywarn and toolbar should be added to the free text area. I would have done it myself, but there is no seperate function for the freetextarea.

You just have to add

  $wgOut->wrapWikiMsg( "<div id=\"editpage-copywarn\">\n$1\n</div>", $copywarnMsg );

under the free_text area

for the Toolbar you have to add this to initialize the Toolbar with using the skript function from EditPage.php

if ( $wgUser->getOption('showtoolbar') and !$this->isCssJsSubpage ) {
            # prepare toolbar for edit buttons
            $toolbar = EditPage::getEditToolbar();
        } else {
            $toolbar = '';
        }

and

$wgOut->addHTML( <<<END
{$toolbar}
END
);

I hope this helps to make the freetextarea look a bit more like the mw-editpage

the last thing is to add this

textarea#free_text {
13 width: 100%;
14}

to SF_Main.css
Comment 1 DaSch 2009-04-04 12:41:27 UTC
and maybe add the function to have the mw-editTools on the form page

and make the free_text field a bit higher, it's really killing me that I have to edit ervy page twice, once with the form, to manage the template and once without the form so that I can edit the content of the page, with the form like it is now the content of the page is hardly editable, especially when there is more then just a few lines to edit
Comment 2 DaSch 2009-04-06 10:29:28 UTC
Well I just discovered the "$sfgUseFormEditPage = true;" Option, this seams very nice, but I hope by showing you this two Links

http://www.wecowi.de/formedit/Albert_Einstein
http://www.wecowi.de/edit/Albert_Einstein

you could try to enchance this function

One thing that shouldn't be hard to fix is to make the mw-editTools work and make the free_text field bigger by default
Comment 3 DaSch 2009-04-06 19:17:06 UTC
With "$sfgUseFormEditPage = true;" Autocompletion does not work and the forms are very slow. I hope this feature will be reworked soon. Maybe it could be done the way that the Form will be embedded on top of the normal EditPage

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


Navigation
Links