Page MenuHomePhabricator

[EPIC] Remove inline styling from Social Tools extensions
Open, LowestPublic

Description

There are still lots of instances where various bits of styling are in PHP files. They should be moved out and put in CSS files to be loaded through ResourceLoader to improve readability.

Related Objects

Event Timeline

lcawte raised the priority of this task from to Lowest.
lcawte updated the task description. (Show Details)
lcawte added a project: SocialProfile.
lcawte subscribed.

Well, this wasn't exactly what I had in mind when I ran a grep for style= against social tools:

BlogPage

./BlogPage/SpecialCreateBlogPost.php:                           $this->tabCounter . '" name="title2" id="title" style="width: 500px;"><br /><br />';
./BlogPage/SpecialCreateBlogPost.php:                           $tagcloud .= " <span id=\"tag-{$tagnumber}\" style=\"font-size:{$cloud->tags[$tag]['size']}{$cloud->tags_size_type}\">

Comments

./Comments/CommentClass.php:                            '" alt="" align="middle" style="margin-bottom:8px;" border="0"/>';
./Comments/CommentClass.php:                    $style = " style='display:none;'";
./Comments/CommentClass.php:                    $style = " style='display:none;'";

FanBoxes

./FanBoxes/UserBoxesHook.php:                                                   <td id="fanBoxLeftSideOutputProfile" style="color:' . $fanbox['fantag_left_textcolor'] . "; font-size:$leftFontSize; background-color:" . $fanbox['fantag_left_bgcolor'] . ';">' . $fantag_leftside . '</td>
./FanBoxes/UserBoxesHook.php:                                                   <td id="fanBoxRightSideOutputProfile" style="color:' . $fanbox['fantag_right_textcolor'] . "; font-size:$rightFontSize; background-color:" . $fanbox['fantag_right_bgcolor'] . ';">' . $right_text . '</td>
./FanBoxes/UserBoxesHook.php:                                                   <td style="font-size:10px" align="center">' .
./FanBoxes/UserBoxesHook.php:                                                   <td style="font-size:10px" align="center">' .
./FanBoxes/UserBoxesHook.php:                                                   <td style="font-size: 10px" align="center">' .
./FanBoxes/SpecialTopFanBoxes.php:                                              <a class=\"perma\" style=\"font-size:8px; color:" . $topfanbox['fantag_right_textcolor'] . "\" href=\"" . htmlspecialchars( $fantag_title->getFullURL() ) . "\" title=\"{$topfanbox['fantag_title']}\">" . $this->msg( 'fanbox-perma' )->plain() . "</a>
./FanBoxes/SpecialTopFanBoxes.php:                                                      <td id=\"fanBoxLeftSideOutput\" style=\"color:" . $topfanbox['fantag_left_textcolor'] . "; font-size:$leftfontsize\" bgcolor=\"" . $topfanbox['fantag_left_bgcolor'] . "\">" . $fantag_leftside . "</td>
./FanBoxes/SpecialTopFanBoxes.php:                                                      <td id=\"fanBoxRightSideOutput\" style=\"color:" . $topfanbox['fantag_right_textcolor'] . "; font-size:$rightfontsize\" bgcolor=\"" . $topfanbox['fantag_right_bgcolor'] . "\">" . $right_text . "</td>
./FanBoxes/SpecialTopFanBoxes.php:                                      <a class=\"perma\" style=\"font-size:8px; color:" . $categoryfanbox['fantag_right_textcolor'] . "\" href=\"" . htmlspecialchars( $fantag_title->getFullURL() ) . "\" title=\"{$categoryfanbox['fantag_title']}\">" . $this->msg( 'fanbox-perma' )->plain() . "</a>
./FanBoxes/SpecialTopFanBoxes.php:                                                      <td id=\"fanBoxLeftSideOutput\" style=\"color:" . $categoryfanbox['fantag_left_textcolor'] . "; font-size:$leftfontsize\" bgcolor=\"" . $categoryfanbox['fantag_left_bgcolor'] . "\">" . $fantag_leftside . "</td>
./FanBoxes/SpecialTopFanBoxes.php:                                                      <td id=\"fanBoxRightSideOutput\" style=\"color:" . $categoryfanbox['fantag_right_textcolor'] . "; font-size:$rightfontsize\" bgcolor=\"" . $categoryfanbox['fantag_right_bgcolor'] . "\">" . $categoryfanbox['fantag_right_text'] . '</td>
./FanBoxes/FanBoxes.js:         var html = '<div style="margin:0px 0px 10px 0px;"><img height="30" width="30" src="' +
./FanBoxes/FanBoxClass.php:                                             <td id=\"fanBoxLeftSideOutput\" style=\"color:" . $this->getFanBoxLeftTextColor() . "; font-size:$leftfontsize\" bgcolor=\"" . $this->getFanBoxLeftBgColor() . "\">" . $fantag_leftside . "</td>
./FanBoxes/FanBoxClass.php:                                             <td id=\"fanBoxRightSideOutput\" style=\"color:" . $this->getFanBoxRightTextColor() . "; font-size:$rightfontsize\" bgcolor=\"" . $this->getFanBoxRightBgColor() . "\">" . $right_text . "</td>
./FanBoxes/SpecialFanBoxes.php:                                         <td id="fanBoxLeftSideContainer" style="background-color:' . $update_fan->getFanBoxLeftBgColor() . ';">
./FanBoxes/SpecialFanBoxes.php:                                                 <td id="fanBoxLeftSideOutput2" style="color:' .
./FanBoxes/SpecialFanBoxes.php:                                 <td id="fanBoxRightSideContainer" style="background-color:' . $update_fan->getFanBoxRightBgColor() . ';">
./FanBoxes/SpecialFanBoxes.php:                                                 <td id="fanBoxRightSideOutput2" style="color:' .
./FanBoxes/SpecialFanBoxes.php:                                                 '" style="width:350px" maxlength="60" /><br />
./FanBoxes/SpecialFanBoxes.php:                                 <table style="width: 212px; height: 63px;">
./FanBoxes/SpecialFanBoxes.php:                 $tagcloud .= " <span id=\"tag-{$tagnumber}\" style=\"font-size:{$cloud->tags[$tag]['size']}{$cloud->tags_size_type}\">
./FanBoxes/SpecialViewFanBoxes.php:                                                     <a class="perma" style="font-size:8px; color:' . $userfanbox['fantag_right_textcolor'] . '" href="' . htmlspecialchars( $fantag_title->getFullURL() ) . "\" title=\"{$userfanbox['fantag_title']}\">" . $this->msg( 'fanbox-perma' )->plain() . "</a>
./FanBoxes/SpecialViewFanBoxes.php:                                                                     <td id=\"fanBoxLeftSideOutput\" style=\"color:" . $userfanbox['fantag_left_textcolor'] . "; font-size:$leftfontsize\" bgcolor=\"" . $userfanbox['fantag_left_bgcolor'] . '">' . $fantag_leftside . "</td>
./FanBoxes/SpecialViewFanBoxes.php:                                                                     <td id=\"fanBoxRightSideOutput\" style=\"color:" . $userfanbox['fantag_right_textcolor'] . "; font-size:$rightfontsize\" bgcolor=\"" . $userfanbox['fantag_right_bgcolor'] . '">' . $right_text . '</td>

MiniInvite

./MiniInvite/InviteFriendOnEdit.php:            $s .= '<span id="invite_to_edit" class="edit" style="display:none; background-color:#FFFB9B">';
./MiniInvite/InviteFriendOnEdit.php:            $s .= '<span id="invite_to_read" class="edit" style="display:none; background-color:#FFFB9B">';

NewSignupPage

./NewSignupPage/NewSignupPage.js:                                       '<span id="existence-check-result" style="' + style + '">' +
./NewSignupPage/NewSignupPage.js:                               '<span id="password-match-check-result" style="padding: 2px; color: red">' +

PictureGame

./PictureGame/PictureGameHome.body.php:                                                 <img src=\"{$wgUploadPath}/avatars/{$avatarID}\" style=\"border:1px solid #d7dee8; width:50px; height:50px;\" alt=\"\" border=\"0\"/>
./PictureGame/PictureGameHome.body.php:                                 <div id=\"loadingImg\" class=\"loadingImg\" style=\"display:none\">
./PictureGame/PictureGameHome.body.php:                         <div class=\"edit-image-frame\" id=\"edit-image-frame\" style=\"display:hidden\">
./PictureGame/PictureGameHome.body.php:         echo '<div style="color:red; font-weight:bold; font-size:16px; margin:-5px 0px 20px 0px;">' .
./PictureGame/PictureGameHome.body.php:                                 <h1 style="margin:10px 0px !important;">' . $this->msg( 'picturegame-least' )->text() . '</h1>
./PictureGame/PictureGameHome.body.php:                                 <h1 style="margin:10px 0px !important;">' . $this->msg( 'picturegame-least' )->text() . '</h1>
./PictureGame/PictureGameHome.body.php:                                 <h1 style="margin:10px 0px !important;">' . $this->msg( 'picturegame-least' )->text() . '</h1>
./PictureGame/PictureGameHome.body.php:                                 <h1 style="margin:10px 0px !important;">' . $this->msg( 'picturegame-least' )->text() . '</h1>
./PictureGame/PictureGameHome.body.php:         $imgOne = '<img style="width:100%;" alt="" src="' . $thumb_one_url . ' "/>';
./PictureGame/PictureGameHome.body.php:         $imgTwo = '<img style="width:100%;" alt="" src="' . $thumb_two_url . ' " />';
./PictureGame/PictureGameHome.body.php:         <div class=\"editDiv\" id=\"editDiv\" style=\"display: none\"> </div>
./PictureGame/PictureGameHome.body.php:                                 <div class=\"imgContainer\" id=\"imgContainer\" style=\"width:45%;\">
./PictureGame/PictureGameHome.body.php:                                         <div class=\"imageOne\" id=\"imageOne\" style=\"padding:5px;\">
./PictureGame/PictureGameHome.body.php:                                 <div class=\"imgContainer\" id=\"imgContainer\" style=\"width:45%;\">
./PictureGame/PictureGameHome.body.php:                                         <div class=\"imageTwo\" id=\"imageTwo\" style=\"padding:5px;\">
./PictureGame/PictureGameHome.body.php:                                                 <li id=\"backButton\" style=\"display:" . ( $lastID > 0 ? 'block' : 'none' ) . "\">
./PictureGame/PictureGameHome.body.php:                                                 <li id=\"skipButton\" style=\"display:" . ( $next_id > 0 ? 'block' : 'none' ) . "\">
./PictureGame/PictureGameHome.body.php:                                                 <img src=\"{$wgUploadPath}/avatars/{$avatarID}\" style=\"border:1px solid #d7dee8; width:50px; height:50px;\" alt=\"\" />
./PictureGame/PictureGameHome.body.php:                         <div class=\"voteStats\" id=\"voteStats\" style=\"display:none\">
./PictureGame/PictureGameHome.body.php:                                                 <img src=\"{$wgExtensionAssetsPath}/PictureGame/images/vote-bar-blue.gif\" id=\"one-vote-width\" border=\"0\" style=\"width:{$barOneWidth}px;height:11px;\" alt=\"\" />
./PictureGame/PictureGameHome.body.php:                                                 <img src=\"{$wgExtensionAssetsPath}/PictureGame/images/vote-bar-red.gif\" id=\"two-vote-width\" border=\"0\" style=\"width:{$barTwoWidth}px;height:11px;\" alt=\"\" />
./PictureGame/PictureGameHome.body.php:         <div id=\"preload\" style=\"display:none\">
./PictureGame/PictureGameHome.body.php:                                                 <div id="imageOneLoadingImg" class="loadingImg" style="display:none">
./PictureGame/PictureGameHome.body.php:                                                 <div id="imageOne" class="imageOne" style="display:none;"></div>
./PictureGame/PictureGameHome.body.php:                                                 <div id="imageTwoLoadingImg" class="loadingImg" style="display:none">
./PictureGame/PictureGameHome.body.php:                                                 <div id="imageTwo" class="imageTwo" style="display:none;"></div>
./PictureGame/PictureGameHome.body.php:                 <div id="startButton" class="startButton" style="display: none;">

PollNY

./PollNY/Poll.js:                       '<div style="margin:0px 0px 10px 0px;"><img height="75" width="75" src="' +
./PollNY/SpecialUpdatePoll.php:                         <div id=\"fake-form\" style=\"display:block;height:70px;\">
./PollNY/SpecialUpdatePoll.php:                                 <div style=\"margin:9px 0px 0px 0px;\">
./PollNY/SpecialUpdatePoll.php:                 <div id=\"real-form\" style=\"display:block;height:90px;\">
./PollNY/ApiPollNY.php:                 $bar_img = "<img src=\"{$wgExtensionAssetsPath}/PollNY/images/vote-bar-{$x}.gif\" border=\"0\" class=\"image-choice-{$x}\" style=\"width:{$choice['percent']}%;height:12px;\"/>";
./PollNY/PollPage.php:                                                  <img src=\"{$wgUploadPath}/avatars/{$avatarID}\" style=\"border:1px solid #d7dee8; width:50px; height:50px;\"/>
./PollNY/PollPage.php:                  $output .= '<div id="poll-display" style="display:none;">' . "\n";
./PollNY/PollPage.php:                                          '" style="width:' . $bar_width . 'px;height:11px;"/>';
./PollNY/PollPage.php:                                  $bar_img = "<img src=\"{$wgExtensionAssetsPath}/PollNY/images/vote-bar-{$x}.gif\" class=\"image-choice-{$x}\" style=\"width:{$bar_width}px;height:12px;\"/>";
./PollNY/PollPage.php:                                                  <input name='embed_code' style='width:300px;font-size:10px;' type='text' value='<pollembed title=\"{$poll_embed_name}\" />' onclick='javascript:document.embed_poll.embed_code.focus();document.embed_poll.embed_code.select();' readonly='readonly' />
./PollNY/create-poll.tmpl.php:                          <input type="text" id="poll_question" name="poll_question" class="createbox" style="width: 450px" value="<?php echo htmlspecialchars( $parentClass->getRequest()->getVal( 'wpDestName' ), ENT_QUOTES ) ?>" />
./PollNY/create-poll.tmpl.php:                          <div class="create-poll-answer" id="poll_answer_3" style="display: none;"><span class="create-poll-answer-number">3.</span><input type="text" id="answer_3" name="answer_3" /></div>
./PollNY/create-poll.tmpl.php:                          <div class="create-poll-answer" id="poll_answer_4" style="display: none;"><span class="create-poll-answer-number">4.</span><input type="text" id="answer_4" name="answer_4" /></div>
./PollNY/create-poll.tmpl.php:                          <div class="create-poll-answer" id="poll_answer_5" style="display: none;"><span class="create-poll-answer-number">5.</span><input type="text" id="answer_5" name="answer_5" /></div>
./PollNY/create-poll.tmpl.php:                          <div class="create-poll-answer" id="poll_answer_6" style="display: none;"><span class="create-poll-answer-number">6.</span><input type="text" id="answer_6" name="answer_6" /></div>
./PollNY/create-poll.tmpl.php:                          <div class="create-poll-answer" id="poll_answer_7" style="display: none;"><span class="create-poll-answer-number">7.</span><input type="text" id="answer_7" name="answer_7" /></div>
./PollNY/create-poll.tmpl.php:                          <div class="create-poll-answer" id="poll_answer_8" style="display: none;"><span class="create-poll-answer-number">8.</span><input type="text" id="answer_8" name="answer_8" /></div>
./PollNY/create-poll.tmpl.php:                          <div class="create-poll-answer" id="poll_answer_9" style="display: none;"><span class="create-poll-answer-number">9.</span><input type="text" id="answer_9" name="answer_9" /></div>
./PollNY/create-poll.tmpl.php:                          <div class="create-poll-answer" id="poll_answer_10" style="display: none;"><span class="create-poll-answer-number">10.</span><input type="text" id="answer_10" name="answer_10" /></div>
./PollNY/create-poll.tmpl.php:          <div id="real-form" style="display: block; height: 90px;">
./PollNY/PollNYHooks.php:                                       $output .= "<div id=\"poll-display_{$poll_info['id']}\" style=\"display:none;\">";
./PollNY/PollNYHooks.php:                                               $bar_img = "<img src=\"{$wgExtensionAssetsPath}/PollNY/images/vote-bar-{$x}.gif\" border=\"0\" class=\"image-choice-{$x}\" style=\"width:{$choice['percent']}%;height:12px;\" alt=\"\" />";

QuizGame

./QuizGame/QuestionGameHome.body.php:                           <div class="ajax-messages" id="ajax-messages" style="margin:0px 0px 15px 0px;"></div>
./QuizGame/QuestionGameHome.body.php:                                   <div id="quizgame-upload" class="quizgame-upload" style="display:none">
./QuizGame/QuestionGameHome.body.php:                                                           <img src=\"{$wgUploadPath}/avatars/{$avatarID}\" style=\"border:1px solid #d7dee8; width:50px; height:50px;\" alt=\"\" /></a>
./QuizGame/QuestionGameHome.body.php:                                           <div class=\"ajax-messages\" id=\"ajax-messages\" style=\"margin:20px 0px 15px 0px;\"></div>
./QuizGame/QuestionGameHome.body.php:                                           <div style=\"margin:10px 0px;\">" . $this->msg( 'quizgame-correct-answer-checked' )->text() . "</div>
./QuizGame/QuestionGameHome.body.php:                           $answers .= "<div id=\"one-answer-bar\" style=\"margin-bottom:10px;\" class=\"answer-" . $barColor . "\">
./QuizGame/QuestionGameHome.body.php:                                           <img border=\"0\" style=\"width:{$bar_width}px; height: 9px;\" id=\"one-answer-width\" src=\"{$wgExtensionAssetsPath}/QuizGame/images/vote-bar-" . $barColor . ".gif\"/>
./QuizGame/QuestionGameHome.body.php:                                   <div id=\"quizgame-answers\" style=\"display:none;\" class=\"quizgame-answers\">
./QuizGame/QuestionGameHome.body.php:                   $output .= '<div id="answer-stats" class="answer-stats" style="display:block">
./QuizGame/QuestionGameHome.body.php:                           $output .= "<div class=\"answer-bar\" id=\"answer-bar-one\" style=\"display:block\">
./QuizGame/QuestionGameHome.body.php:                                                   <img border=\"0\" style=\"width:{$bar_width}px; height: 11px;\" id=\"one-answer-width\" src=\"{$wgExtensionAssetsPath}/QuizGame/images/vote-bar-" . $answerColor . ".gif\"/>
./QuizGame/QuestionGameHome.body.php:                                                           <img src=\"{$wgUploadPath}/avatars/{$avatarID}\" style=\"border:1px solid #d7dee8; width:50px; height:50px;\" alt=\"\" />
./QuizGame/QuestionGameHome.body.php:                                                   <div id="flag-comment" style="display:none;margin-top:5px;">' .
./QuizGame/QuestionGameHome.body.php:                   <div class=\"hiddendiv\" style=\"display:none\">
./QuizGame/QuestionGameHome.body.php:                           <div id="quiz-game-errors" style="color:red"></div>
./QuizGame/QuestionGameHome.body.php:                           <span style="margin-top:10px;">' . $this->msg( 'quizgame-create-check-correct' )->text() . '</span>
./QuizGame/QuestionGameHome.body.php:                           <span style="display:none;" id="this-is-the-welcome-page"></span>';
./QuizGame/QuestionGameHome.body.php:                           ( ( $x > 2 ) ? ' style="display:none;"' : '' ) . ">
./QuizGame/QuestionGameHome.body.php:                   <h1 style="margin-top:20px">' .
./QuizGame/QuestionGameHome.body.php:                   <div id="quizgame-picture-upload" style="display:block;">
./QuizGame/QuestionGameHome.body.php:                           <div id="real-form" style="display:block; height:90px;">
./QuizGame/QuestionGameHome.body.php:                   <p id="quizgame-picture-reupload" style="display:none">

SiteScout

./SiteScout/resources/js/SiteScout.js:          document.getElementById( 'edit_stats' ).innerHTML = '<table><tr><td><table style="background-color:#285C98; height:7px;" width="' + ( SiteScout.edits_count / SiteScout.largest_value * 300 ) + '"><tr><td></td></tr></table></td><td>' + SiteScout.edits_count + '</td></tr></table>';
./SiteScout/resources/js/SiteScout.js:          document.getElementById( 'vote_stats' ).innerHTML = '<table><tr><td><table style="background-color:#009900; height:7px;" width="' + ( SiteScout.votes_count / SiteScout.largest_value * 300 ) + '"><tr><td></td></tr></table></td><td>' + SiteScout.votes_count + '</td></tr></table>';
./SiteScout/resources/js/SiteScout.js:          document.getElementById( 'comment_stats' ).innerHTML = '<table><tr><td><table style="background-color:#990000; height:7px;" width="' + ( SiteScout.comments_count / SiteScout.largest_value * 300 ) + '"><tr><td></td></tr></table></td><td>' + SiteScout.comments_count + '</td></tr></table>';
./SiteScout/resources/js/SiteScout.js:                  document.getElementById( 'networkupdates_stats' ).innerHTML = '<table><tr><td><table style="background-color:#FFFCA9; height:7px;" width="' + ( SiteScout.networkupdates_count / SiteScout.largest_value * 300 ) + '"><tr><td></td></tr></table></td><td>' + SiteScout.networkupdates_count + '</td></tr></table>';
./SiteScout/SpecialSiteScout.php:               $output .= '<div id="sitescout-utility-time" style="display:none;">' . time() . '</div>';
./SiteScout/SiteScoutClass.php:                                                                                                 <table style="background-color:#009900; height:7px; width:' . ( $votes / $largest_value * 300 ) . "px;\">
./SiteScout/SiteScoutClass.php:                                                                                                 <table style="background-color:#285C98; height:7px; width:' . ( $edits / $largest_value * 300 ) . "px;\">
./SiteScout/SiteScoutClass.php:                                                                                                 <table style="background-color:#990000; height:7px; width:' . ( $comments / $largest_value * 300 ) . "px;\">
./SiteScout/SiteScoutClass.php:                                                                                                         <table style="background-color: #FFFCA9; height: 7px; width:' . ( $networkupdates / $largest_value * 300 ) . "px;\">
./SiteScout/SiteScoutClass.php:         </td><td style="width:25px;"></td><td valign="bottom">

SocialProfile

SystemGifts

./SocialProfile/SystemGifts/SpecialSystemGiftManagerLogo.php:                   <td valign="top" style="color:#666666;font-weight:800">' . $this->msg( 'ga-large' )->plain() . '</td>
./SocialProfile/SystemGifts/SpecialSystemGiftManagerLogo.php:                   <td valign="top" style="color:#666666;font-weight:800">' . $this->msg( 'ga-mediumlarge' )->plain() . '</td>
./SocialProfile/SystemGifts/SpecialSystemGiftManagerLogo.php:                   <td valign="top" style="color:#666666;font-weight:800">' . $this->msg( 'ga-medium' )->plain() . '</td>
./SocialProfile/SystemGifts/SpecialSystemGiftManagerLogo.php:                   <td valign="top" style="color:#666666;font-weight:800">' . $this->msg( 'ga-small' )->plain() . '</td>
./SocialProfile/SystemGifts/SpecialSystemGiftManagerLogo.php:   htmlspecialchars( $this->mUploadSource ) . "\" style='width:100px' /></td>
./SocialProfile/SystemGifts/SpecialSystemGiftManagerLogo.php:                                   <td style="color:#666666;font-weight:800">' .
./SocialProfile/SystemGifts/SpecialSystemGiftManagerLogo.php:                   <td style="color:#666666;font-weight:800">' .
./SocialProfile/SystemGifts/SpecialSystemGiftManagerLogo.php:                           <input tabindex="1" type="file" name="wpUploadFile" id="wpUploadFile" style="width:100px" />
./SocialProfile/SystemGifts/SpecialSystemGiftManager.php:                                               '" style="font-size:10px; color:red;">' .

UserStats

./SocialProfile/UserStats/i18n/fr.json: "level-advanced-to": "a avancé vers le niveau <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/af.json: "level-advanced-to": "is gepromoveer tot vlak <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/zh-hant.json:    "level-advanced-to": "已升至第 <span style=\"font-weight:800;\">$1</span> 級"
./SocialProfile/UserStats/i18n/el.json: "level-advanced-to": "προχωρημένος στο επίπεδο <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/id.json: "level-advanced-to": "naik ke level <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/oc.json: "level-advanced-to": "a avançat cap al nivèl <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/ms.json: "level-advanced-to": "maju ke tahap <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/be-tarask.json:  "level-advanced-to": "палепшаны да ўзроўню <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/pt.json: "level-advanced-to": "avançou para o nível <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/fi.json: "level-advanced-to": "pääsi tasolle <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/sv.json: "level-advanced-to": "avancerat till nivå <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/pms.json:        "level-advanced-to": "avansà al livel <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/de.json: "level-advanced-to": "erweitert auf Level <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/pt-br.json:      "level-advanced-to": "Avançou para o nível <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/br.json: "level-advanced-to": "zo aet war-raok d'al live <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/bs.json: "level-advanced-to": "prešao na nivo <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/mk.json: "level-advanced-to": "прејде на ниво <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/ru.json: "level-advanced-to": "перешёл на уровень <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/lb.json: "level-advanced-to": "ass op den Niveau <span style=\"font-weight:800;\">$1</span> komm",
./SocialProfile/UserStats/i18n/ia.json: "level-advanced-to": "avantiava verso le nivello <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/hu.json: "level-advanced-to": "előlépett a(z) <span style=\"font-weight:800;\">$1</span> szintre",
./SocialProfile/UserStats/i18n/sk.json: "level-advanced-to": "postúpil na úroveň <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/ja.json: "level-advanced-to": "レベル<span style=\"font-weight:800;\">$1</span>に上がりました",
./SocialProfile/UserStats/i18n/tl.json: "level-advanced-to": "isinulong sa antas na <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/pl.json: "level-advanced-to": "awansowany do poziomu <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/zh-hans.json:    "level-advanced-to": "已升至第<span style=\"font-weight:800;\">$1</span>级"
./SocialProfile/UserStats/i18n/nl.json: "level-advanced-to": "is gepromoveerd tot niveau tot niveau <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/es.json: "level-advanced-to": "avanzó a nivel <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/gl.json: "level-advanced-to": "avanzou ata o nivel <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/ksh.json:        "level-advanced-to": "opjeschtoof op dat Nivoh <span style=\"font-weight:800\">$1</span>",
./SocialProfile/UserStats/i18n/nb.json: "level-advanced-to": "avanserte til nivå <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/frp.json:        "level-advanced-to": "at avanciê vers lo nivél <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/en.json: "level-advanced-to": "advanced to level <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/tr.json: "level-advanced-to": "<span style=\"font-weight:800;\">$1</span> seviyesine yükseldi",
./SocialProfile/UserStats/i18n/eo.json: "level-advanced-to": "rangiĝis al nivelo <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/hsb.json:        "level-advanced-to": "postupi k runinje <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/he.json: "level-advanced-to": "התקדמות לשלב <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/gsw.json:        "level-advanced-to": "furtgschritte zum Level <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/ar.json: "level-advanced-to": "تقدم إلى المستوى <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/i18n/dsb.json:        "level-advanced-to": "póstupijo k rowninje <span style=\"font-weight:800;\">$1</span>",
./SocialProfile/UserStats/TopUsers.php:                 $output .= '<h1 style="margin-top:15px !important;">' .

UserGifts

./SocialProfile/UserGifts/SpecialGiftManagerLogo.php:           $output .= '<tr><td valign="top" style="color:#666666;font-weight:800">' . $this->msg( 'g-large' )->plain() . '</td>
./SocialProfile/UserGifts/SpecialGiftManagerLogo.php:           $output .= '<tr><td valign="top" style="color:#666666;font-weight:800">' . $this->msg( 'g-mediumlarge' )->plain() . '</td>
./SocialProfile/UserGifts/SpecialGiftManagerLogo.php:           $output .= '<tr><td valign="top" style="color:#666666;font-weight:800">' . $this->msg( 'g-medium' )->plain() . '</td>
./SocialProfile/UserGifts/SpecialGiftManagerLogo.php:           $output .= '<tr><td valign="top" style="color:#666666;font-weight:800">' . $this->msg( 'g-small' )->plain() . '</td>
./SocialProfile/UserGifts/SpecialGiftManagerLogo.php:   htmlspecialchars( $this->mUploadSource ) . "\" style='width:100px' /></td>
./SocialProfile/UserGifts/SpecialGiftManagerLogo.php:                   $output = '<table><tr><td style="color:#666666;font-weight:800">' .
./SocialProfile/UserGifts/SpecialGiftManagerLogo.php:   <td style='color:#666666;font-weight:800'>" . $this->msg( 'g-file-instructions' )->escaped() .
./SocialProfile/UserGifts/SpecialGiftManagerLogo.php:   <input tabindex='1' type='file' name='wpUploadFile' id='wpUploadFile' style='width:100px' />
./SocialProfile/UserGifts/SpecialGiftManager.php:                                               '" style="font-size:10px; color:red;">' .

UserProfile

./SocialProfile/UserProfile/SpecialUploadAvatar.php:            $output .= '<table cellspacing="0" cellpadding="0" style="margin-top:20px;">';
./SocialProfile/UserProfile/SpecialUploadAvatar.php:                    <td valign="top" style="color:#797979;font-size:12px;font-weight:bold;padding-bottom:20px;">' .
./SocialProfile/UserProfile/SpecialUploadAvatar.php:                    <td style="padding-bottom:20px;">
./SocialProfile/UserProfile/SpecialUploadAvatar.php:                    <td valign="top" style="color:#797979;font-size:12px;font-weight:bold;padding-bottom:20px;">' .
./SocialProfile/UserProfile/SpecialUploadAvatar.php:                    <td style="padding-bottom:20px;">
./SocialProfile/UserProfile/SpecialUploadAvatar.php:                    <td valign="top" style="color:#797979;font-size:12px;font-weight:bold;padding-bottom:20px;">' .
./SocialProfile/UserProfile/SpecialUploadAvatar.php:                    <td style="padding-bottom:20px;">
./SocialProfile/UserProfile/SpecialUploadAvatar.php:                    <td valign="top" style="color:#797979;font-size:12px;font-weight:bold;padding-bottom:20px;">' .
./SocialProfile/UserProfile/SpecialUploadAvatar.php:                    <td style="padding-bottom:20px;">
./SocialProfile/UserProfile/SpecialUploadAvatar.php:                            htmlspecialchars( $this->mUploadSource ) . "\" style='width:100px' /></td>
./SocialProfile/UserProfile/SpecialUploadAvatar.php:                                            <p style="margin-bottom:10px;">' .
./SocialProfile/UserProfile/UserProfilePage.php:                                                        <a class=\"perma\" style=\"font-size:8px; color:" . $fanbox['fantag_right_textcolor'] . "\" href=\"" . htmlspecialchars( $fantag_title->getFullURL() ) . "\" title=\"{$fanbox['fantag_title']}\">" . wfMessage( 'fanbox-perma' )->plain() . "</a>
./SocialProfile/UserProfile/UserProfilePage.php:                                                                        <td id=\"fanBoxLeftSideOutputProfile\" style=\"color:" . $fanbox['fantag_left_textcolor'] . "; font-size:$leftfontsize\" bgcolor=\"" . $fanbox['fantag_left_bgcolor'] . "\">" . $fantag_leftside . "</td>
./SocialProfile/UserProfile/UserProfilePage.php:                                                                        <td id=\"fanBoxRightSideOutputProfile\" style=\"color:" . $fanbox['fantag_right_textcolor'] . "; font-size:$rightfontsize\" bgcolor=\"" . $fanbox['fantag_right_bgcolor'] . "\">" . $right_text . "</td>
./SocialProfile/UserProfile/UserProfilePage.php:                                                                        <td style="font-size:10px">' .
./SocialProfile/UserProfile/UserProfilePage.php:                                                                        <td style="font-size:10px">' .
./SocialProfile/UserProfile/UserProfilePage.php:                                                                <td style="font-size:10px">' .

SportsTeams

./SportsTeams/SportsTeamsHooks.php:                             <textarea tabindex="6" class="lr-input" id="thought" name="thought" maxlength="150" style="width: 150%; height: 80px;"></textarea>
./SportsTeams/SpecialAddFan.php:                                <div class="give-gift-message" style="margin:0px 0px 0px 0px;">' .
./SportsTeams/SpecialUpdateFavoriteTeams.php:           $output .= "<div id=\"fav_{$this->favorite_counter}\" style=\"{$style};padding-bottom: 15px;\">
./SportsTeams/SpecialUpdateFavoriteTeams.php:                   $output .= '<div style="display: block" id="add_more"></div>';
./SportsTeams/SpecialUpdateFavoriteTeams.php:                   <div id="fav_count" style="display:none;">' . ( ( count( $favorites ) ) ? count( $favorites ) : 1 ) .'</div>
./SportsTeams/SpecialTopNetworks.php:           $output .= '<h1 style="margin-top:15px !important;">' .
./SportsTeams/SpecialTopNetworks.php:           $output .= '<h1 style="margin-top:15px !important;">' .
./SportsTeams/SpecialRemoveFan.php:                             <div class="give-gift-message" style="margin:0px 0px 0px 0px;">' .
./SportsTeams/SpecialSportsTeamsManagerLogo.php:                        <td valign="top" style="color: #666666; font-weight: 800">' .
./SportsTeams/SpecialSportsTeamsManagerLogo.php:                        <td valign="top" style="color: #666666; font-weight: 800">' .
./SportsTeams/SpecialSportsTeamsManagerLogo.php:                        <td valign="top" style="color: #666666; font-weight: 800">' .
./SportsTeams/SpecialSportsTeamsManagerLogo.php:        htmlspecialchars( $this->mUploadSource ). "\" style='width:100px' /></td>
./SportsTeams/SpecialSportsTeamsManagerLogo.php:                                        <td style="color: #666666; font-weight: 800">' .
./SportsTeams/SpecialSportsTeamsManagerLogo.php:        <td style='color:#666666;font-weight:800'>" . $this->msg( 'sportsteams-logo-image-instructions' )->text() . "<br />
./SportsTeams/SpecialSportsTeamsManagerLogo.php:        <input tabindex='1' type='file' name='wpUploadFile' id='wpUploadFile' style='width:100px' />
./SportsTeams/SpecialSportsManagerLogo.php:             $output .= '<tr><td valign="top" style="color:#666666;font-weight:800">' .
./SportsTeams/SpecialSportsManagerLogo.php:             $output .= '<tr><td valign="top" style="color:#666666;font-weight:800">' .
./SportsTeams/SpecialSportsManagerLogo.php:             $output .= '<tr><td valign="top" style="color:#666666;font-weight:800">' .
./SportsTeams/SpecialSportsManagerLogo.php:     htmlspecialchars( $this->mUploadSource ). "\" style='width:100px' /></td>
./SportsTeams/SpecialSportsManagerLogo.php:                     $output = '<table><tr><td style="color:#666666;font-weight:800">' .
./SportsTeams/SpecialSportsManagerLogo.php:     <td style='color:#666666;font-weight:800'>" . $this->msg( 'sportsteams-logo-image-instructions' )->text() . "<br />
./SportsTeams/SpecialSportsManagerLogo.php:     <input tabindex='1' type='file' name='wpUploadFile' id='wpUploadFile' style='width:100px' />
./SportsTeams/SportsTeamsUserProfile.php:                       <div class=\"status-update-box\" id=\"status-update-box-{$fav['order']}\" style=\"display:none\"></div>";
./SportsTeams/SpecialFanHome.php:               $output .= '<p style="margin:-8px 0px 0px 0px; color:#797979;">' .
./SportsTeams/SpecialFanHome.php:               $output .= '<div style="margin-bottom:10px;">
./SportsTeams/SpecialFanHome.php:                                                                               "<div><div style=\"font-size:10px; color:#797979;\">" .

UserStatus

./UserStatus/SpecialFanUpdates.php:                     <span class="user-page-message-count" style="font-size: 11px; color: #666666;">' .
./UserStatus/SpecialUserStatus.php:                             <span class="user-page-message-count" style="font-size: 11px; color: #666666;">' .
./UserStatus/ApiUserStatus.php:         "<img src=\"{$wgExtensionAssetsPath}/UserStatus/quoteIcon.png\" border=\"0\" style=\"margin-left:5px;\" alt=\"\" />

Video

./Video/providers/MovieClipsVideo.php:  protected $embedTemplate = '<object width="$width" height="$height" type="application/x-shockwave-flash" data="http://static.movieclips.com/embedplayer.swf?config=http://config.movieclips.com/player/config/embed/$video_id/%3Floc%3DUS&endpoint=http://movieclips.com/api/v1/player/test/action/&start=0&v=1.0.15" style="display:block; overflow:hidden;">
./Video/i18n/fr.json:   "video-addvideo-instructions": "C'est facil sur ajouter une video à {{SITENAME}}.\nSimplement coller le code d'intégration ou l'URL de la vidéo sur le formulaire suivant, ajoutez un nom pour la vidéo et cliquez sur « {{int:video-addvideo-button}} ».\nSi vous voulez intégrer la vidéo sur une page, utiliser le format suivant : '''<nowiki>[[</nowiki>{{ns:video}}:Titre de la vidéo<nowiki>]]</nowiki>'''.\nVous pouvez ajouter une vidéo à partir des fournisseurs suivants :\n{{int:video-provider-list}}\n===Exemple d'un code intégration===\nVoici une exemple d'un code intégration de la vidéo de YouTube :\n\n<pre style=\"background-color: #F9F9F9; border: 1px dashed #2F6FAB; color: black; line-height: 1.1em; padding: 1em;\">\n<nowiki><object width=\"425\" height=\"355\">\n<param name=\"movie\" value=\"http://www.youtube.com/v/hUcFWPgB8oY\"></param>\n<param name=\"wmode\" value=\"transparent\"></param>\n<embed src=\"http://www.youtube.com/v/hUcFWPgB8oY\" type=\"application/x-shockwave-flash\"\nwmode=\"transparent\" width=\"425\" height=\"355\"></embed>\n</object></nowiki>\n</pre>\n\n===Exemple d'une URL de la vidéo===\nVoici une exemple d'une URL de la vidéo YouTube :\n<pre style=\"background-color: #F9F9F9; border: 1px dashed #2F6FAB; color: black; line-height: 1.1em; padding: 1em;\">http://www.youtube.com/watch?v=hUcFWPgB8oY</pre>",
./Video/i18n/fi.json:   "video-addvideo-instructions": "Videon lisääminen {{GRAMMAR:illative|{{SITENAME}}}} on helppoa.\nLiitä vain videon upotuskoodi ''tai'' videon URL seuraavaan lomakkeeseen, lisää nimi videolle ja paina \"{{int:video-addvideo-button}}\" -painiketta.\nJos haluat upottaa videon sivulle, käytä seuraavaa muotoa: '''<nowiki>[[</nowiki>{{ns:video}}:Videon otsikko<nowiki>]]</nowiki>'''.\nVoit lisätä videoita seuraavista palveluista:\n{{int:video-provider-list}}\n===Esimerkki videon upotuskoodista===\nTämä on esimerkki videon upotuskoodista YouTubesta:\n\n<pre style=\"background-color: #F9F9F9; border: 1px dashed #2F6FAB; color: black; line-height: 1.1em; padding: 1em;\">\n<nowiki><object width=\"425\" height=\"355\">\n<param name=\"movie\" value=\"http://www.youtube.com/v/hUcFWPgB8oY\"></param>\n<param name=\"wmode\" value=\"transparent\"></param>\n<embed src=\"http://www.youtube.com/v/hUcFWPgB8oY\" type=\"application/x-shockwave-flash\"\nwmode=\"transparent\" width=\"425\" height=\"355\"></embed>\n</object></nowiki>\n</pre>\n\n===Esimerkki videon URL:ista===\nAlapuolella on esimerkki YouTube-videon URL:ista:\n<pre style=\"background-color: #F9F9F9; border: 1px dashed #2F6FAB; color: black; line-height: 1.1em; padding: 1em;\">http://www.youtube.com/watch?v=hUcFWPgB8oY</pre>",
./Video/i18n/en.json:   "video-addvideo-instructions": "Adding a video to {{SITENAME}} is easy.\nJust paste the video embed code ''or'' the video's URL into the following form, add a name for the video, and press the \"{{int:video-addvideo-button}}\" button.\nIf you want to embed the video on a page use the following format: '''<nowiki>[[</nowiki>{{ns:video}}:Video Title<nowiki>]]</nowiki>'''.\nYou can add a video from the following providers:\n{{int:video-provider-list}}\n===Example of a Video Embed Code===\nThis is an example video embed code from YouTube:\n\n<pre style=\"background-color: #F9F9F9; border: 1px dashed #2F6FAB; color: black; line-height: 1.1em; padding: 1em;\">\n<nowiki><object width=\"425\" height=\"355\">\n<param name=\"movie\" value=\"http://www.youtube.com/v/hUcFWPgB8oY\"></param>\n<param name=\"wmode\" value=\"transparent\"></param>\n<embed src=\"http://www.youtube.com/v/hUcFWPgB8oY\" type=\"application/x-shockwave-flash\"\nwmode=\"transparent\" width=\"425\" height=\"355\"></embed>\n</object></nowiki>\n</pre>\n\n===Example of a Video URL===\nBelow is an example of a video's URL from YouTube:\n<pre style=\"background-color: #F9F9F9; border: 1px dashed #2F6FAB; color: black; line-height: 1.1em; padding: 1em;\">http://www.youtube.com/watch?v=hUcFWPgB8oY</pre>",
./Video/VideoPage.php:                                  <input name="embed_code" style="width: 300px; font-size: 10px;" type="text" value="' . $code . '" onclick="javascript:document.embed_video.embed_code.focus();document.embed_video.embed_code.select();" readonly="readonly" />
./Video/VideoGallery.php:                               $thumbhtml = "\n\t\t\t" . '<div style="height: ' . ( $this->mHeights * 1.25 + 2 ) . 'px;">'
./Video/VideoGallery.php:                               $thumbhtml = "\n\t\t\t" . '<div class="thumb" style="padding: ' . $vpad . 'px 0; width: ' . ( $this->mWidths + 30 ) . 'px;">'
./Video/VideoGallery.php:                               "\n\t\t" . '<td><div class="gallerybox" style="width: ' . ( $this->mWidths * 1.25 ) . 'px;">'

Change 230817 had a related patch set uploaded (by Jack Phoenix):
Version 3.2.1: add extension.json file for MW 1.25 , kill some inline styles

https://gerrit.wikimedia.org/r/230817

Change 230817 merged by jenkins-bot:
Version 3.2.1: add extension.json file for MW 1.25 , kill some inline styles

https://gerrit.wikimedia.org/r/230817

Change 231623 had a related patch set uploaded (by Jack Phoenix):
Version 3.2: less code duplication

https://gerrit.wikimedia.org/r/231623

Change 231627 had a related patch set uploaded (by Jack Phoenix):
Version 3.3: less code duplication

https://gerrit.wikimedia.org/r/231627

Change 232012 had a related patch set uploaded (by Jack Phoenix):
Version 2.3.1: responsiveness, moved one inline style to the CSS file

https://gerrit.wikimedia.org/r/232012

Change 232012 merged by Jack Phoenix:
Version 2.3.1: responsiveness, moved one inline style to the CSS file

https://gerrit.wikimedia.org/r/232012

Change 231623 merged by Jack Phoenix:
Version 3.2: less code duplication

https://gerrit.wikimedia.org/r/231623

Change 231627 merged by Jack Phoenix:
Version 3.3: less code duplication

https://gerrit.wikimedia.org/r/231627

Change 262702 had a related patch set uploaded (by Jack Phoenix):
Removing some inline styles again

https://gerrit.wikimedia.org/r/262702

Change 262702 merged by jenkins-bot:
Removing some inline styles again

https://gerrit.wikimedia.org/r/262702

SamanthaNguyen renamed this task from Remove inline styling from Social Tools to [EPIC] Remove inline styling from Social Tools extensions .Oct 4 2016, 2:44 AM
SamanthaNguyen moved this task from Backlog to Feedback on the FanBoxes board.
SamanthaNguyen moved this task from Backlog to Feedback on the NewSignupPage board.
SamanthaNguyen moved this task from Backlog to Feedback on the PictureGame board.
SamanthaNguyen moved this task from Backlog to Feedback on the QuizGame board.
SamanthaNguyen moved this task from Backlog to Feedback on the UserStatus board.
SamanthaNguyen moved this task from Backlog to Feedback on the Video extension board.
Iodel subscribed.

I'd like to take on this task.

Change 328920 had a related patch set uploaded (by UltrasonicNXT):
Remove inline styling

https://gerrit.wikimedia.org/r/328920

Change 328920 merged by Brian Wolff:
Remove inline styling

https://gerrit.wikimedia.org/r/328920

@Iodel - Hey, this is a pretty big task and since it's been 3 months and there's no activity from you, I'm going to remove you from this task; hope that's alright with you :) Feel free to tackle a subtask!

(also removed some projects, since the associated projects that should be tagged have been tagged with the appropriate subtasks, and the most recent patch has been merged)