Page MenuHomePhabricator

Address Voice and Tone issues in GWToolset
Closed, DeclinedPublic

Description

Targets
    Occurrences of '(white|black)[ \-]?list' in Directory /Users/reedy/PhpstormProjects/mediawiki/extensions/GWToolset
Found Occurrences  (94 usages found)
    extensions  (94 usages found)
        GWToolset  (94 usages found)
            i18n  (5 usages found)
                cs.json  (1 usage found)
                    28 "gwtoolset-step-1-instructions-3-heading": "Doménový whitelist",
                en.json  (2 usages found)
                    131 be added to the Wikimedia Commons domain whitelist. The domain whitelist is a list of domains Wikimedia Commons checks against before fetching media files
                    132 "gwtoolset-step-1-instructions-3-heading": "Domain whitelist",
                fr.json  (1 usage found)
                    143 "gwtoolset-step-1-instructions-3-heading": "Whitelist des Domaines",
                qqq.json  (1 usage found)
                    135 following+domain+to+the+wgCopyUploadsDomains+whitelist,+so+that+I+can+use+GWToolset+to+upload+media+files+from+that+domain.+I+have+provided+at+least+3+example
            includes  (88 usages found)
                Forms  (1 usage found)
                    MetadataDetectForm.php  (1 usage found)
                        48 $result .= Html::openElement( 'ul', [ 'id' => 'gwtoolset-whitelist' ] );
                Handlers  (72 usages found)
                    Forms  (69 usages found)
                        MetadataDetectHandler.php  (14 usages found)
                            67 protected $_whitelisted_post;
                            106 * gets various user options from $this->_whitelisted_post and sets default values
                            114 !empty( $this->_whitelisted_post['gwtoolset-mediafile-throttle'] )
                            116 $this->_whitelisted_post['gwtoolset-mediafile-throttle'],
                            128 !empty( $this->_whitelisted_post['gwtoolset-metadata-file-url'] )
                            129 ? $this->_whitelisted_post['gwtoolset-metadata-file-url']
                            133 !empty( $this->_whitelisted_post['gwtoolset-metadata-mapping-url'] )
                            134 ? $this->_whitelisted_post['gwtoolset-metadata-mapping-url']
                            142 !empty( $this->_whitelisted_post['gwtoolset-record-element-name'] )
                            143 ? $this->_whitelisted_post['gwtoolset-record-element-name']
                            165 $this->_whitelisted_post = Utils::getWhitelistedPost(
                            263 !empty( $this->_whitelisted_post['gwtoolset-mediawiki-template-custom'] )
                            271 $this->_whitelisted_post['gwtoolset-mediawiki-template-custom']
                            276 $this->_whitelisted_post['gwtoolset-mediawiki-template-name']
                        MetadataMappingHandler.php  (55 usages found)
                            95 protected $_whitelisted_post;
                            120 'whitelisted-post' => $this->_whitelisted_post
                            124 if ( $this->_whitelisted_post['gwtoolset-record-begin'] >
                            167 if ( isset( $this->_whitelisted_post['gwtoolset-category'] ) ) {
                            168 foreach ( $this->_whitelisted_post['gwtoolset-category'] as $category ) {
                            181 * gets various user options from $this->_whitelisted_post and sets default values
                            192 !empty( $this->_whitelisted_post['gwtoolset-category-phrase'] )
                            193 ? $this->_whitelisted_post['gwtoolset-category-phrase']
                            197 !empty( $this->_whitelisted_post['gwtoolset-category-metadata'] )
                            198 ? $this->_whitelisted_post['gwtoolset-category-metadata']
                            202 !empty( $this->_whitelisted_post['gwtoolset-detect-license'] )
                            203 ? (bool)$this->_whitelisted_post['gwtoolset-detect-license']
                            207 !empty( $this->_whitelisted_post['wpSummary'] )
                            208 ? $this->_whitelisted_post['wpSummary']
                            212 !empty( $this->_whitelisted_post['gwtoolset-global-license'] )
                            213 ? $this->_whitelisted_post['gwtoolset-global-license']
                            217 !empty( $this->_whitelisted_post['gwtoolset-mediafile-throttle'] )
                            219 $this->_whitelisted_post['gwtoolset-mediafile-throttle'],
                            229 !empty( $this->_whitelisted_post['gwtoolset-mediawiki-template-name'] )
                            230 ? $this->_whitelisted_post['gwtoolset-mediawiki-template-name']
                            234 !empty( $this->_whitelisted_post['gwtoolset-metadata-file-url'] )
                            235 ? $this->_whitelisted_post['gwtoolset-metadata-file-url']
                            239 !empty( $this->_whitelisted_post['gwtoolset-metadata-file-relative-path'] )
                            240 ? $this->_whitelisted_post['gwtoolset-metadata-file-relative-path']
                            244 !empty( $this->_whitelisted_post['gwtoolset-metadata-file-sha1'] )
                            245 ? $this->_whitelisted_post['gwtoolset-metadata-file-sha1']
                            249 !empty( $this->_whitelisted_post['gwtoolset-partner-template-url'] )
                            250 ? $this->_whitelisted_post['gwtoolset-partner-template-url']
                            253 'preview' => !empty( $this->_whitelisted_post['gwtoolset-preview'] )
                            258 !empty( $this->_whitelisted_post['gwtoolset-record-begin'] )
                            259 ? (int)$this->_whitelisted_post['gwtoolset-record-begin']
                            263 !empty( $this->_whitelisted_post['gwtoolset-record-count'] )
                            264 ? (int)$this->_whitelisted_post['gwtoolset-record-count']
                            270 !empty( $this->_whitelisted_post['gwtoolset-record-element-name'] )
                            271 ? $this->_whitelisted_post['gwtoolset-record-element-name']
                            275 !empty( $this->_whitelisted_post['save-as-batch-job'] )
                            276 ? (bool)$this->_whitelisted_post['save-as-batch-job']
                            280 !empty( $this->_whitelisted_post['gwtoolset-title'] )
                            281 ? $this->_whitelisted_post['gwtoolset-title']
                            285 !empty( $this->_whitelisted_post['gwtoolset-reupload-media'] )
                            286 ? (bool)$this->_whitelisted_post['gwtoolset-reupload-media']
                            290 !empty( $this->_whitelisted_post['gwtoolset-reverse-creator'] )
                            291 ? (bool)$this->_whitelisted_post['gwtoolset-reverse-creator']
                            295 !empty( $this->_whitelisted_post['gwtoolset-wrap-creator'] )
                            296 ? (bool)$this->_whitelisted_post['gwtoolset-wrap-creator']
                            300 !empty( $this->_whitelisted_post['gwtoolset-wrap-institution'] )
                            301 ? (bool)$this->_whitelisted_post['gwtoolset-wrap-institution']
                            305 !empty( $this->_whitelisted_post['gwtoolset-wrap-language'] )
                            306 ? (bool)$this->_whitelisted_post['gwtoolset-wrap-language']
                            310 !empty( $this->_whitelisted_post['gwtoolset-url-to-the-media-file'] )
                            311 ? $this->_whitelisted_post['gwtoolset-url-to-the-media-file']
                            346 $this->_whitelisted_post
                            373 $this->_MediawikiTemplate->getMappingFromArray( $this->_whitelisted_post );
                            481 $this->_whitelisted_post['gwtoolset-record-begin'] =
                            535 $this->_whitelisted_post = Utils::getWhitelistedPost(
                    UploadHandler.php  (3 usages found)
                        749 * @param array $whitelistedPost
                        755 array $userOptions, array $options, array $whitelistedPost
                        780 'whitelisted-post' => $whitelistedPost,
                Jobs  (13 usages found)
                    UploadMediafileJob.php  (5 usages found)
                        68 $this->params['whitelisted-post']
                        162 if ( !empty( $this->params['whitelisted-post']['wpSummary'] ) ) {
                        163 $options['comment'] = $this->params['whitelisted-post']['wpSummary'];
                        217 if ( empty( $this->params['whitelisted-post'] ) ) {
                        218 $this->setLastError( __METHOD__ . ': no $this->params[\'whitelisted-post\'] provided' );
                    UploadMetadataJob.php  (8 usages found)
                        67 return $metaDataMappingHandler->processRequest( $this->params['whitelisted-post'], true );
                        103 'whitelisted-post' => $this->params['whitelisted-post']
                        166 if ( isset( $this->params['whitelisted-post']['gwtoolset-record-begin'] ) ) {
                        170 ->params( (int)$this->params['whitelisted-post']['gwtoolset-record-begin'] )
                        202 if ( !empty( $this->params['whitelisted-post']['wpSummary'] ) ) {
                        203 $options['comment'] = $this->params['whitelisted-post']['wpSummary'];
                        225 if ( empty( $this->params['whitelisted-post'] ) ) {
                        226 $this->setLastError( __METHOD__ . ': no $this->params[\'whitelisted-post\'] provided' );
                Utils.php  (2 usages found)
                    180 * cycles over the $_POST and returns a “whitelisted-post” that:
                    195 public static function getWhitelistedPost(
            resources  (1 usage found)
                css  (1 usage found)
                    ext.gwtoolset.css  (1 usage found)
                        66 #gwtoolset-whitelist {

Related Objects

Event Timeline

Change 681001 had a related patch set uploaded (by Amire80; author: Amire80):

[mediawiki/extensions/GWToolset@master] Rephrase whitelist messages

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

Change 681001 merged by jenkins-bot:

[mediawiki/extensions/GWToolset@master] Rephrase whitelist messages

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