[MediaWiki-l] Page Forms - Edit with form placement

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[MediaWiki-l] Page Forms - Edit with form placement

Billy Sims
Hello,
Does anyone know of a way to have Page Forms automatically insert the edit
to the END of the page rather than the beginning?

This would be helpful to maintain some desired page ordering.

Best,
Billy
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: [MediaWiki-l] Page Forms - Edit with form placement

Billy Sims
Revision: I would like to insert conditionally from where the form detects
the template to be placed in the page originally. (not default end)
-B

On Sun, Dec 22, 2019 at 10:35 AM Billy Sims <[hidden email]> wrote:

> Hello,
> Does anyone know of a way to have Page Forms automatically insert the edit
> to the END of the page rather than the beginning?
>
> This would be helpful to maintain some desired page ordering.
>
> Best,
> Billy
>
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: [MediaWiki-l] Page Forms - Edit with form placement

Billy Sims
Solution:
"Touch" the other templates you would like to position in relation to. e.g.

...
<div id="wikiPreview" style="display: none; padding-bottom: 25px;
margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
{{{for template|Infobox}}}
{| class="formtable"
|}
{{{end template}}}
{{{for template|Main Section}}}
{| class="formtable"
! Body:
| {{{field|body|input type=textarea|editor=wikieditor|autogrow}}}
|}
{{{end template}}}
{{{standard input|summary}}}
{{{standard input|minor edit}}} {{{standard input|watch}}}
{{{standard input|save}}} {{{standard input|preview}}} {{{standard
input|changes}}} {{{standard input|cancel}}}
</includeonly>
...

On another note, if anyone has run into an issue where the wikieditor does
not appear even after the Header Tabs extension is installed, I would be
interested to hear your method.
: )


On Sun, Dec 22, 2019 at 10:49 AM Billy Sims <[hidden email]> wrote:

> Revision: I would like to insert conditionally from where the form detects
> the template to be placed in the page originally. (not default end)
> -B
>
> On Sun, Dec 22, 2019 at 10:35 AM Billy Sims <[hidden email]> wrote:
>
>> Hello,
>> Does anyone know of a way to have Page Forms automatically insert the
>> edit to the END of the page rather than the beginning?
>>
>> This would be helpful to maintain some desired page ordering.
>>
>> Best,
>> Billy
>>
>
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l