Page MenuHomePhabricator
Paste P2725

mediawiki/core search results for 'constructive'
ActivePublic

Authored by matmarex on Mar 9 2016, 1:57 AM.
Project Tags
None
Referenced Files
F3569092: mediawiki/core search results for 'constructive'
Mar 9 2016, 1:57 AM
Subscribers
None
includes/EditPage.php:
3992: $attribs, [ 'mw-ui-constructive' ] );
includes/Xml.php:
455: * When $wgUseMediaWikiUIEverywhere is true it will default to a constructive button
470: $baseAttrs['class'] = 'mw-ui-button mw-ui-constructive';
includes/htmlform/HTMLForm.php:
171: protected $mSubmitFlags = [ 'constructive', 'primary' ];
includes/htmlform/HTMLSubmitField.php:
10: protected $mFlags = [ 'primary', 'constructive' ];
includes/specials/SpecialBotPasswords.php:
241: 'flags' => [ 'primary', 'constructive' ],
includes/specials/SpecialMovepage.php:
466: 'flags' => [ 'constructive', 'primary' ],
includes/templates/Usercreate.php:
275: 'mw-ui-constructive',
resources/src/mediawiki/mediawiki.feedback.js:
219: flags: [ 'primary', 'constructive' ]
224: flags: 'constructive'
resources/src/mediawiki/mediawiki.Upload.Dialog.js:
81: flags: [ 'primary', 'constructive' ],
resources/src/mediawiki.less/mediawiki.ui/mixins.less:
112: // constructive/progressive/destructive color on hover and active.
resources/src/mediawiki.special/mediawiki.special.apisandbox.js:
588: flags: [ 'primary', 'constructive' ]
1401: flags: 'constructive'
resources/src/mediawiki.ui/components/anchors.less:
35: <a href="#" class="mw-ui-anchor mw-ui-constructive">Constructive</a>
49: &.mw-ui-constructive {
66: <a href="#" class="mw-ui-anchor mw-ui-constructive mw-ui-quiet">Constructive</a>
resources/src/mediawiki.ui/components/buttons.less:
17: // These are the main actions on the page/workflow. The page should have only one of progressive, constructive and desctructive buttons, the rest being quiet.
81: // <button class="mw-ui-button mw-ui-constructive mw-ui-big">.mw-ui-constructive</button>
104: // <button class="mw-ui-button mw-ui-constructive mw-ui-block">.mw-ui-constructive</button>
141: // Constructive buttons (deprecated, consolidated with `progressive` – see T110555)
143: // Use constructive buttons for actions which result in a final action in the process that results
149: // <button class="mw-ui-button mw-ui-constructive">.mw-ui-constructive</button>
152: // <button class="mw-ui-button mw-ui-constructive" disabled>.mw-ui-constructive</button>
156: &.mw-ui-constructive {
188: // Use quiet buttons when they are less important and alongside other constructive, progressive or destructive buttons. It should be used for an action that exits the user from the current view/workflow.
196: // <button class="mw-ui-button mw-ui-constructive mw-ui-quiet">.mw-ui-constructive</button>
199: // <button class="mw-ui-button mw-ui-constructive mw-ui-quiet" disabled>.mw-ui-constructive</button>
resources/src/mediawiki.ui/components/forms.less:
33: // <button class="mw-ui-button mw-ui-constructive">Button in vform</button>
resources/src/mediawiki.ui/components/inputs.less:
89: // <button class="mw-ui-button mw-ui-constructive">Submit</button>
resources/src/mediawiki.ui/components/text.less:
22: <span class="mw-ui-text mw-ui-constructive">Constructive</span>
34: .mw-ui-constructive& {
tests/phpunit/includes/resourceloader/ResourceLoaderImageModuleTest.php:
48: 'constructive' => [