On 11/09/12 13:57, John Sanzi wrote:
> Hello, MediaWiki-l folks.
> 
> For my wiki, I would like to achieve an effect similar to what
> Wikinews does, with this JavaScript:
> 
> http://en.wikinews.org/wiki/MediaWiki:Comments.js
> 
> It puts a new tab, for a previously-created "Comments" namespace, to
> the right of the main and talk tabs.  But for my wiki, I'd prefer a
> new tab in between the main and talk tabs.  Not to the right.
> Therefore, my question is: what lines of (presumably) JavaScript code
> would Wikinews developers add, delete, or modify, to put their
> Comments tab in the middle instead of to the right?  If possible--?

Change the line
 jQuery('#ca-edit')[0] /* nextnode */
to
 jQuery('#ca-talk')[0] /* nextnode */


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to