Re: [Wikitech-l] Requesting advice about formSpecialPage and ResourceLoader

2014-03-16 Thread Justin Folvarcik
And yes, I did read that page. I just couldn't figure out what I could set $wgResourceModules to in order to accomplish my goal. On Sun, Mar 16, 2014 at 10:37 AM, Justin Folvarcik wrote: > I realized that what I said might have given the wrong impression. This is > a script which will be injecte

Re: [Wikitech-l] Requesting advice about formSpecialPage and ResourceLoader

2014-03-16 Thread Justin Folvarcik
I realized that what I said might have given the wrong impression. This is a script which will be injected into the head of the page, setting event handlers for certain kinds of tables which will turn them into a mini editing form on click. It's for inline editing, as requested by a fellow staff me

Re: [Wikitech-l] Requesting advice about formSpecialPage and ResourceLoader

2014-03-16 Thread Trevor Parscal
Sorry if that was like "RTFM". If you have more specific ResourceLoader questions, please feel free to ask. - Trevor On Sun, Mar 16, 2014 at 7:22 AM, Trevor Parscal wrote: > Have you read > http://www.mediawiki.org/wiki/ResourceLoader/Developing_with_ResourceLoaderyet? > > - Trevor > > > On Sun

Re: [Wikitech-l] Requesting advice about formSpecialPage and ResourceLoader

2014-03-16 Thread Trevor Parscal
Have you read http://www.mediawiki.org/wiki/ResourceLoader/Developing_with_ResourceLoaderyet? - Trevor On Sun, Mar 16, 2014 at 6:04 AM, Justin Folvarcik wrote: > I have a couple questions about the formSpecialPage class and how it works. > For starters, I cannot seem to make anything happen in

[Wikitech-l] Requesting advice about formSpecialPage and ResourceLoader

2014-03-16 Thread Justin Folvarcik
I have a couple questions about the formSpecialPage class and how it works. For starters, I cannot seem to make anything happen in the onSubmit callback, regardless of what I do. In addition, I'm also not certain how to return error messages upon failure to perform the action. What's more, I made o