Index: trunk/extensions/Blackout/skins/ProtestSopa.php |
— | — | @@ -12,13 +12,13 @@ |
13 | 13 | * to show the actual HTML output |
14 | 14 | */ |
15 | 15 | public function execute() { |
16 | | - $header = wfMsg( 'blackout-protestsopa-header' ); |
17 | | - $message1 = wfMsg( 'blackout-protestsopa-message1' ); |
18 | | - $message2 = wfMsg( 'blackout-protestsopa-message2' ); |
19 | | - $message3 = wfMsg( 'blackout-protestsopa-message3' ); |
20 | | - $action = wfMsg( 'blackout-protestsopa-action' ); |
21 | | - $actionmsg = wfMsg( 'blackout-protestsopa-actionmsg' ); |
22 | | - $join = wfMsg( 'blackout-protestsopa-join' ); |
| 16 | + $header = wfMsg( 'blackout-protestsopa-header', escape ); |
| 17 | + $message1 = wfMsg( 'blackout-protestsopa-message1', escape ); |
| 18 | + $message2 = wfMsg( 'blackout-protestsopa-message2', escape ); |
| 19 | + $message3 = wfMsg( 'blackout-protestsopa-message3', escape ); |
| 20 | + $action = wfMsg( 'blackout-protestsopa-action', escape ); |
| 21 | + $actionmsg = wfMsg( 'blackout-protestsopa-actionmsg', escape ); |
| 22 | + $join = wfMsg( 'blackout-protestsopa-join', escape ); |
23 | 23 | ?> |
24 | 24 | |
25 | 25 | <html> |
Index: trunk/extensions/Blackout/skins/SopaStrike.php |
— | — | @@ -12,28 +12,28 @@ |
13 | 13 | * to show the actual HTML output |
14 | 14 | */ |
15 | 15 | public function execute() { |
16 | | - $title = wfMsg( 'blackout-sopastrike-title' ); |
17 | | - $ogdesc = wfMsg( 'blackout-sopastrike-ogdesc' ); |
18 | | - $message1 = wfMsg( 'blackout-sopastrike-message1' ); |
19 | | - $message2 = wfMsg( 'blackout-sopastrike-message2' ); |
20 | | - $message3 = wfMsg( 'blackout-sopastrike-message3' ); |
21 | | - $name = wfMsg( 'allmessagesname' ); |
22 | | - $email = wfMsg( 'email' ); |
23 | | - $address = wfMsg( 'blackout-sopastrike-address' ); |
24 | | - $zipcode = wfMsg( 'blackout-sopastrike-zipcode' ); |
25 | | - $action = wfMsg( 'blackout-sopastrike-action' ); |
26 | | - $actionmsg1 = wfMsg( 'blackout-sopastrike-actionmsg1' ); |
27 | | - $actionmsg2 = wfMsg( 'blackout-sopastrike-actionmsg2' ); |
28 | | - $join = wfMsg( 'blackout-sopastrike-join' ); |
29 | | - $add = wfMsg( 'blackout-sopastrike-add' ); |
30 | | - $learn = wfMsg( 'blackout-sopastrike-learn' ); |
31 | | - $video = wfMsg( 'blackout-sopastrike-video' ); |
| 16 | + $title = wfMsg( 'blackout-sopastrike-title', escape ); |
| 17 | + $ogdesc = wfMsg( 'blackout-sopastrike-ogdesc', escape ); |
| 18 | + $message1 = wfMsg( 'blackout-sopastrike-message1', escape ); |
| 19 | + $message2 = wfMsg( 'blackout-sopastrike-message2', escape ); |
| 20 | + $message3 = wfMsg( 'blackout-sopastrike-message3', escape ); |
| 21 | + $name = wfMsg( 'allmessagesname', escape ); |
| 22 | + $email = wfMsg( 'email', escape ); |
| 23 | + $address = wfMsg( 'blackout-sopastrike-address', escape ); |
| 24 | + $zipcode = wfMsg( 'blackout-sopastrike-zipcode', escape ); |
| 25 | + $action = wfMsg( 'blackout-sopastrike-action', escape ); |
| 26 | + $actionmsg1 = wfMsg( 'blackout-sopastrike-actionmsg1', escape ); |
| 27 | + $actionmsg2 = wfMsg( 'blackout-sopastrike-actionmsg2', escape ); |
| 28 | + $join = wfMsg( 'blackout-sopastrike-join', escape ); |
| 29 | + $add = wfMsg( 'blackout-sopastrike-add', escape ); |
| 30 | + $learn = wfMsg( 'blackout-sopastrike-learn', escape ); |
| 31 | + $video = wfMsg( 'blackout-sopastrike-video', escape ); |
32 | 32 | $orgpage = wfMsg( 'blackout-sopastrike-orgpage' ); |
33 | | - $infographic = wfMsg( 'blackout-sopastrike-infographic' ); |
34 | | - $ocsopa = wfMsg( 'blackout-sopastrike-ocsopa' ); |
35 | | - $ocpipa = wfMsg( 'blackout-sopastrike-ocpipa' ); |
36 | | - $disclaimer = wfMsg( 'blackout-sopastrike-disclaimer' ); |
37 | | - $privacy = wfMsg( 'blackout-sopastrike-privacy' ); |
| 33 | + $infographic = wfMsg( 'blackout-sopastrike-infographic', escape ); |
| 34 | + $ocsopa = wfMsg( 'blackout-sopastrike-ocsopa', escape ); |
| 35 | + $ocpipa = wfMsg( 'blackout-sopastrike-ocpipa', escape ); |
| 36 | + $disclaimer = wfMsg( 'blackout-sopastrike-disclaimer', escape ); |
| 37 | + $privacy = wfMsg( 'blackout-sopastrike-privacy', escape ); |
38 | 38 | ?> |
39 | 39 | |
40 | 40 | <!DOCTYPE html> |
Index: trunk/extensions/Blackout/skins/StopSopa.php |
— | — | @@ -12,8 +12,8 @@ |
13 | 13 | * to show the actual HTML output |
14 | 14 | */ |
15 | 15 | public function execute() { |
16 | | - $header = wfMsgExt( 'blackout-stopsopa-header' ); |
17 | | - $message = wfMsgExt( 'blackout-stopsopa-message' ); |
| 16 | + $header = wfMsgExt( 'blackout-stopsopa-header', escape ); |
| 17 | + $message = wfMsgExt( 'blackout-stopsopa-message', escape ); |
18 | 18 | ?> |
19 | 19 | |
20 | 20 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |