On Sat, 02 Aug 2014 at 15:53 -0300, Luiz Augusto wrote:
I've tried to create a new progress level for
Index pages on pt.wikisource
with no success (new level isn't being displayed on selection menu if I try
to edit an Index page).
I need to do more than those edits to get it working properly?
https://pt.wikisource.org/w/index.php?diff=prev&oldid=278685
https://pt.wikisource.org/w/index.php?diff=prev&oldid=278686
https://pt.wikisource.org/w/index.php?diff=prev&oldid=278702
Get a look at
https://wikisource.org/wiki/MediaWiki:IndexForm.js function
progress_select_value(). Before loading IndexForm.js from your mediawiki
common.js you need to provide your own:
self.ws_messages['progress_select'] " .... "
Inside it you can't use ws_msg() because it'll not yet available.
--
Phe