Open main menu

Magic button linkEdit

See http://en.wikinews.org/wiki/Wikinews:Javascript#.7B.7Bdevelop.7D.7D_.E2.86.92_.7B.7Breview.7D.7D for full details. Basically it automatically replaces {{develop}} with {{review}}. If you want to change the text of the button, feel free to, but keep the link and the span the same. Bawolff 21:55, 5 November 2009 (UTC)

PunctuationEdit

{{editprotected}}

The comma after "to bring it to the attention of reviewers" should be a semicolon; as it is, it's a comma splice. --Pi zero (talk) 15:44, 30 March 2010 (UTC)

  Done Tempodivalse [talk] 17:57, 5 April 2010 (UTC)

Add a css id specifically for the submit buttonEdit

It would make things easier to make tools if there is a class for dialog buttons, and a specific id for submit button.
•–• 03:52, 10 August 2018 (UTC)

As a workaround, loop through elements of wikidialog-button class and check for their innerHTML matching with 'Submit for review'.
$('.wikidialog-button').each(function(i){var $el = $('.wikidialog-button')[i]; if($el.innerHTML=='<b>Submit for review</b>') {console.log('yes');}});
This for some reason finds two such buttons on one page. Dunno why.
--Gryllida (talk) 04:00, 10 August 2018 (UTC)
This would not be a change to {{develop}}, but primarily to {{Assistant:Submit}}, which is called from here and the call from here wouldn't change. {{Assistant:Submit}} would have to pass information to {{dialog/edit}}, which would pass it on to {{dialog/button}}, which sets up an html entity that is then processed by the dialog gadget. Likely the gadget already passes information through as needed, ditto {{dialog/edit}}; a change would be wanted to {{Assistant:Submit}}, and likely also to {{dialog/button}}. --Pi zero (talk) 23:09, 11 August 2019 (UTC)
Return to "Develop" page.