https://bugzilla.wikimedia.org/show_bug.cgi?id=36914
--- Comment #9 from Alex Monk (Krenair) <[email protected]> --- I would like to change the "You are modifying an Upload Wizard campaign." text to "You are viewing an Upload Wizard campaign but you cannot modify it.", however the message key is enforced by FormSpecialPage::getForm to effectively be: strlower( $this->getName() ) . '-text'. I think we'll have to do this: $wgHooks['SpecialUploadCampaignBeforeFormDisplay'][] = function ( &$form ) { $form->setHeaderText( wfMessage( 'uploadcampaign-text-readonly' )->parseAsBlock() ); return true; }; -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
