[MediaWiki-commits] [Gerrit] mediawiki/core[master]: Convert SpecialPrefixIndex to OOUI
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/312265 Change subject: Convert SpecialPrefixIndex to OOUI .. Convert SpecialPrefixIndex to OOUI The xml part of the namespacePrefixForm() is changed to use HTML forms. Bug: T117726 Change-Id: I98cdfb69d11dee0dd1ac2d0d862235f2e53d85d9 --- M includes/specials/SpecialPrefixindex.php 1 file changed, 28 insertions(+), 47 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/65/312265/1 diff --git a/includes/specials/SpecialPrefixindex.php b/includes/specials/SpecialPrefixindex.php index 5e3e430..f7b4cf6 100644 --- a/includes/specials/SpecialPrefixindex.php +++ b/includes/specials/SpecialPrefixindex.php @@ -98,56 +98,37 @@ * @return string */ protected function namespacePrefixForm( $namespace = NS_MAIN, $from = '' ) { - $out = Xml::openElement( 'div', [ 'class' => 'namespaceoptions' ] ); - $out .= Xml::openElement( - 'form', - [ 'method' => 'get', 'action' => $this->getConfig()->get( 'Script' ) ] - ); - $out .= Html::hidden( 'title', $this->getPageTitle()->getPrefixedText() ); - $out .= Xml::openElement( 'fieldset' ); - $out .= Xml::element( 'legend', null, $this->msg( 'allpages' )->text() ); - $out .= Xml::openElement( 'table', [ 'id' => 'nsselect', 'class' => 'allpages' ] ); - $out .= " - " . - Xml::label( $this->msg( 'allpagesprefix' )->text(), 'nsfrom' ) . - " - " . - Xml::input( 'prefix', 30, str_replace( '_', ' ', $from ), [ 'id' => 'nsfrom' ] ) . - " - - - " . - Xml::label( $this->msg( 'namespace' )->text(), 'namespace' ) . - " - " . - Html::namespaceSelector( [ - 'selected' => $namespace, - ], [ + $fields = [ + 'prefix' => [ + 'label-message' => 'allpagesprefix' , + 'type' => 'text', + 'size' => '30' , + ], + 'namespace' => [ + 'type' => 'namespaceselect', 'name' => 'namespace', 'id' => 'namespace', - 'class' => 'namespaceselector', - ] ) . - Xml::checkLabel( - $this->msg( 'allpages-hide-redirects' )->text(), - 'hideredirects', - 'hideredirects', - $this->hideRedirects - ) . ' ' . - Xml::checkLabel( - $this->msg( 'prefixindex-strip' )->text(), - 'stripprefix', - 'stripprefix', - $this->stripPrefix - ) . ' ' . - Xml::submitButton( $this->msg( 'prefixindex-submit' )->text() ) . - " - "; - $out .= Xml::closeElement( 'table' ); - $out .= Xml::closeElement( 'fieldset' ); - $out .= Xml::closeElement( 'form' ); - $out .= Xml::closeElement( 'div' ); + 'label-message' => 'namespace', + 'all' => null, + 'value' => $namespace, + ], + 'hidedirects' => [ + 'class' => 'HTMLCheckField', + 'label-message' => 'allpages-hide-redirects' , + ], + 'stripprefix' => [ + 'class' => 'HTMLCheckField', + 'label-message' => 'prefixindex-strip', + ], - return $out; + + ]; + $form = HTMLForm::factory( 'table', $fields, $this->getContext() ); + $form->setMethod( 'get' ) + ->setWrapperLegendMsg( 'allpages' ) + ->setSubmitTextMsg( 'prefixindex-submit' ) + ->prepareForm() + ->displayForm( false); } /** -- To view, visit https://gerrit.wikimedia.org/r/312265 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id:
[MediaWiki-commits] [Gerrit] Convert Special:PrefixIndex to OOUI - change (mediawiki/core)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/293908 Change subject: Convert Special:PrefixIndex to OOUI .. Convert Special:PrefixIndex to OOUI The XML form has been converted to HTML. Bug:T117726 Change-Id: I5b107e9145ff06eda18c241d0fd6156625c7655d --- M includes/specials/SpecialPrefixindex.php 1 file changed, 30 insertions(+), 47 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/08/293908/1 diff --git a/includes/specials/SpecialPrefixindex.php b/includes/specials/SpecialPrefixindex.php index 87a5b27..8757fe0 100644 --- a/includes/specials/SpecialPrefixindex.php +++ b/includes/specials/SpecialPrefixindex.php @@ -98,56 +98,39 @@ * @return string */ protected function namespacePrefixForm( $namespace = NS_MAIN, $from = '' ) { - $out = Xml::openElement( 'div', [ 'class' => 'namespaceoptions' ] ); - $out .= Xml::openElement( - 'form', - [ 'method' => 'get', 'action' => $this->getConfig()->get( 'Script' ) ] - ); - $out .= Html::hidden( 'title', $this->getPageTitle()->getPrefixedText() ); - $out .= Xml::openElement( 'fieldset' ); - $out .= Xml::element( 'legend', null, $this->msg( 'allpages' )->text() ); - $out .= Xml::openElement( 'table', [ 'id' => 'nsselect', 'class' => 'allpages' ] ); - $out .= " - " . - Xml::label( $this->msg( 'allpagesprefix' )->text(), 'nsfrom' ) . - " - " . - Xml::input( 'prefix', 30, str_replace( '_', ' ', $from ), [ 'id' => 'nsfrom' ] ) . - " - - - " . - Xml::label( $this->msg( 'namespace' )->text(), 'namespace' ) . - " - " . - Html::namespaceSelector( [ - 'selected' => $namespace, - ], [ + $fields = [ + 'prefix' => [ + 'label-message' => 'allpagesprefix' , + 'type' => 'text', + 'size' => '30' , + ], + 'namespace' => [ + 'type' => 'namespaceselect', 'name' => 'namespace', 'id' => 'namespace', - 'class' => 'namespaceselector', - ] ) . - Xml::checkLabel( - $this->msg( 'allpages-hide-redirects' )->text(), - 'hideredirects', - 'hideredirects', - $this->hideRedirects - ) . ' ' . - Xml::checkLabel( - $this->msg( 'prefixindex-strip' )->text(), - 'stripprefix', - 'stripprefix', - $this->stripPrefix - ) . ' ' . - Xml::submitButton( $this->msg( 'prefixindex-submit' )->text() ) . - " - "; - $out .= Xml::closeElement( 'table' ); - $out .= Xml::closeElement( 'fieldset' ); - $out .= Xml::closeElement( 'form' ); - $out .= Xml::closeElement( 'div' ); + 'label-message' => 'namespace', + 'all' => null, + 'value' => $namespace, + ], + 'hidedirects' => [ + 'class' => 'HTMLCheckField', + 'label-message' => 'allpages-hide-redirects' , + ], + 'stripprefix' => [ + 'class' => 'HTMLCheckField', + 'label-message' => 'prefixindex-strip', + ], - return $out; + + ]; + $form = HTMLForm::factory( 'table', $fields, $this->getContext() ); + $form->setMethod( 'get' ) + ->setWrapperLegendMsg( 'allpages' ) + ->setSubmitTextMsg( 'prefixindex-submit' ) + ->prepareForm() + ->displayForm( false); + + } /** -- To view, visit https://gerrit.wikimedia.org/r/293908 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id:
[MediaWiki-commits] [Gerrit] Upgrade Mailgun to 2.0 - change (mediawiki...Mailgun)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/282162 Change subject: Upgrade Mailgun to 2.0 .. Upgrade Mailgun to 2.0 The composer.json file has been updated by version = 2.0. Bug:T132020 Change-Id: Ia6c384f6cc132b52430136f4efffebcc03b895ae --- M composer.json 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Mailgun refs/changes/62/282162/1 diff --git a/composer.json b/composer.json index 6acf437..40152d3 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "mediawiki/mailgun", "require": { -"mailgun/mailgun-php": "1.7.2" +"mailgun/mailgun-php": "2.0" }, "prepend-autoloader": false, "optimize-autoloader": true -- To view, visit https://gerrit.wikimedia.org/r/282162 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia6c384f6cc132b52430136f4efffebcc03b895ae Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Mailgun Gerrit-Branch: master Gerrit-Owner: Haritha28___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Exiting edit collection loses changes(WIP) - change (mediawiki...Gather)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/281248 Change subject: Exiting edit collection loses changes(WIP) .. Exiting edit collection loses changes(WIP) As we open the edit pane and click the back button, a confirmation box will appear to check if user has confirmed to discard/save his changes. Bug:T103892 Change-Id: I63d22fab651e4982043ea2fcad24d3764a06ec02 --- M resources/ext.gather.collection.editor/CollectionEditOverlay.js 1 file changed, 13 insertions(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Gather refs/changes/48/281248/1 diff --git a/resources/ext.gather.collection.editor/CollectionEditOverlay.js b/resources/ext.gather.collection.editor/CollectionEditOverlay.js index 342a359..89cb17a 100644 --- a/resources/ext.gather.collection.editor/CollectionEditOverlay.js +++ b/resources/ext.gather.collection.editor/CollectionEditOverlay.js @@ -324,10 +324,19 @@ onSettingsBackClick: function () { if ( this.id ) { // reset the values to their original values. - this.$( 'input.title' ).val( this.options.collection.title ); - this.$( '.description' ).val( this.options.collection.description ); - // Note: we will need to reset checkbox when enabling private/public toggle. - this._switchToFirstPane(); + + if (this.activePane === 'edit') { + if ( !window.confirm( this.options.confirmExitMessage ) ) { + this.$( 'input.title' ).val( this.options.collection.title ); + this.$( '.description' ).val( this.options.collection.description ); + // Note: we will need to reset checkbox when enabling private/public toggle. + this._switchToFirstPane(); + } + else { + this.onSaveDescriptionClick(); + } + } + } else { Overlay.prototype.hide.apply( this, arguments ); } -- To view, visit https://gerrit.wikimedia.org/r/281248 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I63d22fab651e4982043ea2fcad24d3764a06ec02 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Gather Gerrit-Branch: master Gerrit-Owner: Haritha28___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Failed to find gather-remove-from-failed-collection-toast - change (mediawiki...Gather)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/276510 Change subject: Failed to find gather-remove-from-failed-collection-toast .. Failed to find gather-remove-from-failed-collection-toast The message "gather-remove-from-failed-collection-toast" was a typo and has been replaced with the correct message "gather-remove-from-colection-failed-toast". Bug: T129242 Change-Id: I65811e5a9371bd5b1284e0be1eb68915926c1056 --- M extension.json 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Gather refs/changes/10/276510/1 diff --git a/extension.json b/extension.json index 931e63b..55a90f3 100644 --- a/extension.json +++ b/extension.json @@ -303,7 +303,7 @@ "gather-collection-content-tutorial-heading": "gather-collection-content-tutorial-heading", "gather-collection-content-tutorial-subheading": ["parse"], "gather-tutorial-dismiss-button-label": "gather-tutorial-dismiss-button-label", - "gather-remove-from-failed-collection-toast": "gather-remove-from-failed-collection-toast", + "gather-remove-from-collection-failed-toast": "gather-remove-from-collection-failed-toast", "gather-add-to-collection-failed-toast": "gather-add-to-collection-failed-toast", "gather-new-collection-failed-toast": "gather-new-collection-failed-toast", "gather-add-to-existing": "gather-add-to-existing", -- To view, visit https://gerrit.wikimedia.org/r/276510 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I65811e5a9371bd5b1284e0be1eb68915926c1056 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Gather Gerrit-Branch: master Gerrit-Owner: Haritha28___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Merge "Try and avoid race conditions with thank-you-edit not... - change (mediawiki...Echo)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/274980 Change subject: Merge "Try and avoid race conditions with thank-you-edit notifications" .. Merge "Try and avoid race conditions with thank-you-edit notifications" Change-Id: Icb5beaddf2151d2e08ed68be8554847a6436f3ca --- M Echo.php M Hooks.php M i18n/en.json M i18n/qqq.json 4 files changed, 8 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo refs/changes/80/274980/1 diff --git a/Echo.php b/Echo.php index dd24a9b..917181c 100644 --- a/Echo.php +++ b/Echo.php @@ -80,6 +80,7 @@ $wgHooks['ParserTestTables'][] = 'EchoHooks::onParserTestTables'; $wgHooks['EmailUserComplete'][] = 'EchoHooks::onEmailUserComplete'; $wgHooks['LoginFormValidErrorMessages'][] = 'EchoHooks::onLoginFormValidErrorMessages'; +$wgHooks['BlockIpComplete'][] = 'EchoHooks::onBlockIpComplete'; // Extension:UserMerge support $wgHooks['UserMergeAccountFields'][] = 'EchoHooks::onUserMergeAccountFields'; diff --git a/Hooks.php b/Hooks.php index b326795..a4f7d9e 100644 --- a/Hooks.php +++ b/Hooks.php @@ -600,7 +600,7 @@ return true; } - if ( $add || $remove ) { + if ( $add || $remove || $block) { EchoEvent::create( array( 'type' => 'user-rights', @@ -610,6 +610,7 @@ 'add' => $add, 'remove' => $remove, 'reason' => $reason, + 'block' => $block, ), 'agent' => $performer, ) @@ -1171,6 +1172,9 @@ global $wgEchoMaxNotificationCount; $vars['wgEchoMaxNotificationCount'] = $wgEchoMaxNotificationCount; return true; + + public static function onBlockComplete( Block $block, User $user ) { + return $block; } } diff --git a/i18n/en.json b/i18n/en.json index 4e5269e..97ae056 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -94,6 +94,7 @@ "notification-header-mention-article-talkpage": "$1 {{GENDER:$2|mentioned}} {{GENDER:$3|you}} on the '''$4''' talk page in \"'''$5'''\".", "notification-header-mention-article-talkpage-nosection": "$1 {{GENDER:$2|mentioned}} {{GENDER:$3|you}} on the '''$4''' talk page.", "notification-user-rights-add": "You are now a member of {{PLURAL:$2|this group|these groups}}: $1", + "notification-user-rights-block": "{{GENDER:$1|You}} have been blocked.", "notification-user-rights-remove": "You are no longer a member of {{PLURAL:$2|this group|these groups}}: $1", "notification-user-rights": "Your user rights [[Special:Log/rights/$1|were {{GENDER:$1|changed}}]] by [[User:$1|$1]]. $2. [[Special:ListGroupRights|Learn more]]", "notification-header-user-rights-add-only": "{{GENDER:$4|Your}} user rights were {{GENDER:$1|changed}}. You have been added to: $2.", diff --git a/i18n/qqq.json b/i18n/qqq.json index 3e4cacf..034af82 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -115,6 +115,7 @@ "notification-header-mention-article-talkpage": "Header text for a notification when you are mentioned by another user in a section on an article talk page.\n* $1 - user's name (not suitable for GENDER).\n* $2 - user's name for use in GENDER.\n* $3 - name of the user viewing the notification, can be used for GENDER\n* $4 - name of the article whose talk page you are mentioned in (without namespace).\n* $5 - name of the section they were mentioned in", "notification-header-mention-article-talkpage-nosection": "Header text for a notification when you are mentioned by another user on an article talk page.\n* $1 - user's name (not suitable for GENDER).\n* $2 - user's name for use in GENDER.\n* $3 - name of the user viewing the notification, can be used for GENDER\n* $4 - name of the article whose talk page you are mentioned in (without namespace)", "notification-user-rights-add": "Message indicating that a user was added to a user group. Parameters:\n* $1 - a comma separated list of user group names\n* $2 - the number of user groups, this is used for PLURAL support\nSee also:\n* {{msg-mw|Notification-user-rights-remove}}", + "notification-user-rights-block": "Message indicating that a user has been blocked. \n* $1 - name user who has been blocked, can be used for GENDER", "notification-user-rights-remove": "Message indicating that a user was removed from a user group. Parameters:\n* $1 - a comma separated list of user group names\n* $2 - the number of user groups, this is used for PLURAL
[MediaWiki-commits] [Gerrit] Remove hardcoded parentheses - change (mediawiki/core)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/272319 Change subject: Remove hardcoded parentheses .. Remove hardcoded parentheses Hardcoded parentheses have been removed and the code have been replaced using $this->msg('parentheses')->rawParams('diff') Bug: T127160 Change-Id: I9ba13b1acb74dd8ce08351ab45c9a3a71ccdee27 --- M includes/specials/SpecialUndelete.php M languages/i18n/en.json 2 files changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/19/272319/1 diff --git a/includes/specials/SpecialUndelete.php b/includes/specials/SpecialUndelete.php index 36f6b4c..0a8706c 100644 --- a/includes/specials/SpecialUndelete.php +++ b/includes/specials/SpecialUndelete.php @@ -1481,7 +1481,7 @@ ); } else { $pageLink = $this->getPageLink( $rev, $titleObj, $ts ); - $last = $this->msg( 'diff' )->escaped(); + $last = $this->msg('parentheses')->rawParams( 'diff' )->escaped(); } } else { $pageLink = htmlspecialchars( $this->getLanguage()->userTimeAndDate( $ts, $user ) ); diff --git a/languages/i18n/en.json b/languages/i18n/en.json index eb48dd6..d781788 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -2232,7 +2232,7 @@ "undelete-error-long": "Errors were encountered while undeleting the file:\n\n$1", "undelete-show-file-confirm": "Are you sure you want to view the deleted revision of the file \"$1\" from $2 at $3?", "undelete-show-file-submit": "Yes", - "undelete-revision-row2": "$1 ($2) $3 . . $4 $5 $6 $7 $8", + "undelete-revision-row2": "$1 $2 $3 . . $4 $5 $6 $7 $8", "namespace": "Namespace:", "invert": "Invert selection", "tooltip-invert": "Check this box to hide changes to pages within the selected namespace (and the associated namespace if checked)", -- To view, visit https://gerrit.wikimedia.org/r/272319 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9ba13b1acb74dd8ce08351ab45c9a3a71ccdee27 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Haritha28___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Echo congragulations threshold should'nt be hardcoded - change (mediawiki...Echo)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/272308 Change subject: Echo congragulations threshold should'nt be hardcoded .. Echo congragulations threshold should'nt be hardcoded The congragulations threshold is configured using $wgthresholds as a global variable. Bug: T127311 Change-Id: Iec84e1f28ebfe2e81d9c831078374bd0f912e7a4 --- M Echo.php M Hooks.php 2 files changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo refs/changes/08/272308/1 diff --git a/Echo.php b/Echo.php index d06ef04..cb6a61b 100644 --- a/Echo.php +++ b/Echo.php @@ -114,6 +114,7 @@ // Whether to turn on email batch function $wgEchoEnableEmailBatch = true; +$wgthresholds = array(1, 10, 100, 1000); // URL for more information about the Echo notification system $wgEchoHelpPage = '//www.mediawiki.org/wiki/Special:MyLanguage/Help:Notifications'; diff --git a/Hooks.php b/Hooks.php index ae238ec..f44a4e8 100644 --- a/Hooks.php +++ b/Hooks.php @@ -433,7 +433,7 @@ * @return bool true in all cases */ public static function onArticleSaved( &$article, &$user, $text, $summary, $minoredit, $watchthis, $sectionanchor, &$flags, $revision, &$status ) { - global $wgEchoNotifications, $wgRequest; + global $wgEchoNotifications, $wgRequest, $wgthresholds; if ( !$revision ) { return true; @@ -447,11 +447,10 @@ // If the user is not an IP and this is not a null edit, // test for them reaching a congratulatory threshold - $thresholds = array( 1, 10, 100, 1000 ); if ( $user->isLoggedIn() && $status->value['revision'] ) { // This edit hasn't been added to the edit count yet $editCount = $user->getEditCount() + 1; - if ( in_array( $editCount, $thresholds ) ) { + if ( in_array( $editCount, $wgthresholds ) ) { DeferredUpdates::addCallableUpdate( function () use ( $user, $title, $editCount ) { EchoEvent::create( array( 'type' => 'thank-you-edit', -- To view, visit https://gerrit.wikimedia.org/r/272308 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iec84e1f28ebfe2e81d9c831078374bd0f912e7a4 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Echo Gerrit-Branch: master Gerrit-Owner: Haritha28___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Remove button from toolbar - change (mediawiki...WikiEditor)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/271949 Change subject: Remove button from toolbar .. Remove button from toolbar As is deprecated with HTML5 the has been removed from the code. Bug:T40487 Change-Id: Ib330a8b7b0570af494a53aba8e13aed24bfe8914 --- M modules/jquery.wikiEditor.toolbar.config.js 1 file changed, 0 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikiEditor refs/changes/49/271949/1 diff --git a/modules/jquery.wikiEditor.toolbar.config.js b/modules/jquery.wikiEditor.toolbar.config.js index 9e23580..0b6d6f1 100644 --- a/modules/jquery.wikiEditor.toolbar.config.js +++ b/modules/jquery.wikiEditor.toolbar.config.js @@ -359,9 +359,7 @@ action: { type: 'encapsulate', options: { - pre: '', periMsg: 'wikieditor-toolbar-tool-big-example', - post: '' } } }, -- To view, visit https://gerrit.wikimedia.org/r/271949 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib330a8b7b0570af494a53aba8e13aed24bfe8914 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/WikiEditor Gerrit-Branch: master Gerrit-Owner: Haritha28___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Gadgets tab on Special: Preferences badly formatted - change (mediawiki/core)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/271468 Change subject: Gadgets tab on Special: Preferences badly formatted .. Gadgets tab on Special: Preferences badly formatted The section headers are changed from to and the "label = " is removed. Bug: T46231 Change-Id: Ica05064ba2f4a43c15898b4111099d73cf5fe4ea --- M includes/htmlform/HTMLMultiSelectField.php M tests/phpunit/includes/api/ApiOptionsTest.php 2 files changed, 1 insertion(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/68/271468/1 diff --git a/includes/htmlform/HTMLMultiSelectField.php b/includes/htmlform/HTMLMultiSelectField.php index 251bb05..04dbc56 100644 --- a/includes/htmlform/HTMLMultiSelectField.php +++ b/includes/htmlform/HTMLMultiSelectField.php @@ -41,7 +41,7 @@ foreach ( $options as $label => $info ) { if ( is_array( $info ) ) { - $html .= Html::rawElement( 'h1', [], $label ) . "\n"; + $html .= Html::rawElement( 'h2', [], $label ) . "\n"; $html .= $this->formatOptions( $info, $value ); } else { $thisAttribs = [ diff --git a/tests/phpunit/includes/api/ApiOptionsTest.php b/tests/phpunit/includes/api/ApiOptionsTest.php index 0a577c1..3bb1b0d 100644 --- a/tests/phpunit/includes/api/ApiOptionsTest.php +++ b/tests/phpunit/includes/api/ApiOptionsTest.php @@ -66,7 +66,6 @@ $preferences[$k] = [ 'type' => 'text', 'section' => 'test', - 'label' => '', ]; } -- To view, visit https://gerrit.wikimedia.org/r/271468 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ica05064ba2f4a43c15898b4111099d73cf5fe4ea Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Haritha28___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] QuickSurveys should use @deviceWidthTablet - change (mediawiki...QuickSurveys)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/271050 Change subject: QuickSurveys should use @deviceWidthTablet .. QuickSurveys should use @deviceWidthTablet The hardcoding of 768px has been replaced with @deviceWidthTablet. Bug: T124990 Change-Id: If849d14aede802a3a6a13f5acb214a8ce480a5de --- M resources/ext.quicksurveys.lib/styles.less 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/QuickSurveys refs/changes/50/271050/1 diff --git a/resources/ext.quicksurveys.lib/styles.less b/resources/ext.quicksurveys.lib/styles.less index 7bbd8c6..ef38b8c 100644 --- a/resources/ext.quicksurveys.lib/styles.less +++ b/resources/ext.quicksurveys.lib/styles.less @@ -21,7 +21,7 @@ } } -@media all and (min-width: 768px) { +@media all and (min-width: @deviceWidthTablet) { .ext-qs-loader-bar, .ext-quick-survey-panel { margin-left: 1.4em; -- To view, visit https://gerrit.wikimedia.org/r/271050 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If849d14aede802a3a6a13f5acb214a8ce480a5de Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/QuickSurveys Gerrit-Branch: master Gerrit-Owner: Haritha28___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Notification when account is blocked - change (mediawiki...Echo)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/264070 Change subject: Notification when account is blocked .. Notification when account is blocked Changes have been made accordingly in the respective files so that the user gets notification when the user is been blocked Bug: T100974 Change-Id: I15eb583e053d72fff211863d1efad3834ef8f21d --- M Hooks.php M i18n/en.json M i18n/qqq.json M includes/formatters/UserRightsPresentationModel.php 4 files changed, 9 insertions(+), 5 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo refs/changes/70/264070/1 diff --git a/Hooks.php b/Hooks.php index ec3ff9a..62aca3c 100644 --- a/Hooks.php +++ b/Hooks.php @@ -551,7 +551,7 @@ return true; } - if ( $add || $remove ) { + if ( $add || $remove } || $block) { EchoEvent::create( array( 'type' => 'user-rights', @@ -559,7 +559,8 @@ 'extra' => array( 'user' => $user->getID(), 'add' => $add, - 'remove' => $remove + 'remove' => $remove, + 'block' => $block ), 'agent' => $performer, ) diff --git a/i18n/en.json b/i18n/en.json index 14144e1..0121341 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -86,7 +86,8 @@ "notification-user-rights": "Your user rights [[Special:Log/rights/$1|were {{GENDER:$1|changed}}]] by [[User:$1|$1]]. $2. [[Special:ListGroupRights|Learn more]]", "notification-header-user-rights": "Your user rights were {{GENDER:$2|changed}} by $1. $3.", "notification-user-rights-add": "You are now a member of {{PLURAL:$2|this group|these groups}}: $1", - "notification-user-rights-remove": "You are no longer a member of {{PLURAL:$2|this group|these groups}}: $1", + "ntoification-user-rights-block":"You have been blocked.", + "notification-user-rights-remove": "You are no longer a member of {{PLURAL:$2|this group|these groups}}: $1", "notification-new-user": "Welcome to {{SITENAME}}, $1! We're glad you're here.", "notification-header-welcome": "{{GENDER:$2|Welcome}} to {{SITENAME}}, $1! We're glad {{GENDER:$2|you're}} here.", "notification-welcome-link": "", diff --git a/i18n/qqq.json b/i18n/qqq.json index 5e739b9..581f29d 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -107,7 +107,8 @@ "notification-user-rights": "Format for displaying notifications of a user right change in notification page.\n\nParameters:\n* $1 - the username of the person who made the user right change. Can be used for GENDER support.\n* $2 - a semicolon separated list of {{msg-mw|Notification-user-rights-add}}, {{msg-mw|Notification-user-rights-remove}}", "notification-header-user-rights": "Format for displaying notifications of a user right change in notification flyout. Parameters:\n* $1 - the username of the person who made the user right change, formatted for display. Cannot be used for GENDER\n* $2 - the raw username of the person who made the user rights change, can be used for GENDER support\n* $3 - a semicolon separated list of {{msg-mw|notification-user-rights-add}}, {{msg-mw|notification-user-rights-remove}}", "notification-user-rights-add": "Message indicating that a user was added to a user group. Parameters:\n* $1 - a comma separated list of user group names\n* $2 - the number of user groups, this is used for PLURAL support\nSee also:\n* {{msg-mw|Notification-user-rights-remove}}", - "notification-user-rights-remove": "Message indicating that a user was removed from a user group. Parameters:\n* $1 - a comma separated list of user group names\n* $2 - the number of user groups, this is used for PLURAL support\nSee also:\n* {{msg-mw|Notification-user-rights-add}}", + "notification-user-rights-block":"Message indicating that a user has been blocked from a user group.", + "notification-user-rights-remove": "Message indicating that a user was removed from a user group. Parameters:\n* $1 - a comma separated list of user group names\n* $2 - the number of user groups, this is used for PLURAL support\nSee also:\n* {{msg-mw|Notification-user-rights-add}}", "notification-new-user": "Text of the welcome notification. Parameters:\n* $1 - the name of the new user\nSee also:\n* {{msg-mw|Guidedtour-tour-gettingstarted-start-title}}", "notification-header-welcome": "Text of the welcome notification. Parameters:\n* $1 - the
[MediaWiki-commits] [Gerrit] Update mediawiki/tools/codesniffer with phpcs.xml - change (mediawiki...codesniffer)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/263222 Change subject: Update mediawiki/tools/codesniffer with phpcs.xml .. Update mediawiki/tools/codesniffer with phpcs.xml The composer.json file of mediawiki-tools-codesniffer is changed and a phpcs.xml file is added. Bug: T116866 Change-Id: Ifef86402067e085fa2484e76d314b9e1bf2c4fb5 --- M composer.json A phpcs.xml 2 files changed, 10 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/tools/codesniffer refs/changes/22/263222/1 diff --git a/composer.json b/composer.json index 72309ec..75ad15c 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ "test": [ "parallel-lint . --exclude vendor", "phpunit $PHPUNIT_ARGS", - "phpcs --standard=./MediaWiki --extensions=php,php5,inc --ignore=vendor,*fail.php -p -s ." + "phpcs -p -s ." ] } } diff --git a/phpcs.xml b/phpcs.xml new file mode 100644 index 000..b6396fe --- /dev/null +++ b/phpcs.xml @@ -0,0 +1,9 @@ + + + +. + + + +vendor + \ No newline at end of file -- To view, visit https://gerrit.wikimedia.org/r/263222 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ifef86402067e085fa2484e76d314b9e1bf2c4fb5 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/tools/codesniffer Gerrit-Branch: master Gerrit-Owner: Haritha28___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Add GENDER support - change (mediawiki...Newsletter)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/262443 Change subject: Add GENDER support .. Add GENDER support Gender support is added for $2 in Newsletter-email-batch-body. Bug:T122717 Change-Id: If270d8acb0bd612e8e074eb1ad802d3acbf56dbf --- M i18n/en.json 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Newsletter refs/changes/43/262443/1 diff --git a/i18n/en.json b/i18n/en.json index 007a6ad..1207d4b 100755 --- a/i18n/en.json +++ b/i18n/en.json @@ -88,7 +88,7 @@ "newsletter-notification-link-text-new-issue": "View new issue", "newsletter-notification-link-text-view-newsletter": "View newsletter", "newsletter-email-subject": "A new issue of $1 has been announced.", - "newsletter-email-batch-body": "$2 has announced a new issue of $1.", + "newsletter-email-batch-body": "{{GENDER:$2|has announced}} a new issue of $1.", "newsletter-header-name": "Name of newsletter", "newsletter-header-description": "Description", "newsletter-header-action": "Subscribed?", -- To view, visit https://gerrit.wikimedia.org/r/262443 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If270d8acb0bd612e8e074eb1ad802d3acbf56dbf Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Newsletter Gerrit-Branch: master Gerrit-Owner: Haritha28___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Add GENDER support to moodbar-feedback-response-summary - change (mediawiki...MoodBar)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/243932 Change subject: Add GENDER support to moodbar-feedback-response-summary .. Add GENDER support to moodbar-feedback-response-summary The "moodbar-feedback-response-summary" message lacked gender support for the responder. The parameter $2, responder username has been given GENDER support. Bug:T99066 Change-Id: I810f75e2017788dc8d0416adab58555100b505b0 --- M i18n/en.json 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MoodBar refs/changes/32/243932/1 diff --git a/i18n/en.json b/i18n/en.json index 143fe7b..8411548 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -135,7 +135,7 @@ "moodbar-invalid-item": "The system was unable to find the correct feedback item.", "moodbar-feedback-action-error": "An error occurred when trying to perform this action.", "moodbar-feedback-response-summary": "[[$1|$2]] [[$3|responded]] $4 ago", - "moodbar-feedback-response-helpful-summary": "[[$1|$2]] [[$3|responded]] $4 ago and [[$5|$6]] finds it helpful", + "moodbar-feedback-response-helpful-summary": "[[$1|$2]]{{GENDER:$2}} [[$3|responded]] $4 ago and [[$5|$6]] finds it helpful", "moodbar-feedback-edit-summary": "Response to [[Special:FeedbackDashboard/$1|user feedback]]: $2", "moodbar-feedback-top-responders-title": "Top Responders", "moodbar-type-happy": "{{GENDER:$1|Happy}}", -- To view, visit https://gerrit.wikimedia.org/r/243932 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I810f75e2017788dc8d0416adab58555100b505b0 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MoodBar Gerrit-Branch: master Gerrit-Owner: Haritha28___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Add GENDER support for Moodbar - change (mediawiki...MoodBar)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/240175 Change subject: Add GENDER support for Moodbar .. Add GENDER support for Moodbar GENDER support was added for "moodbar-log-hide" message with the parameter $1, username. Bug:T45481 Change-Id: Id4e60c741420bcf0bf52e17a69dff42a302bfd9b --- M i18n/en.json M i18n/qqq.json 2 files changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MoodBar refs/changes/75/240175/1 diff --git a/i18n/en.json b/i18n/en.json index 143fe7b..591dc7c 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -147,7 +147,7 @@ "moodbar-user-user": "Registered user", "moodbar-log-name": "Feedback log", "moodbar-log-header": "This is the log of actions taken on feedback items listed on the [[Special:FeedbackDashboard|feedback dashboard]].", - "moodbar-log-hide": "hid [[$1]]", + "moodbar-log-hide": "hid [[$1]], {{GENDER:$1|hid}}", "moodbar-log-feedback": "left feedback at [[$1]]", "moodbar-log-restore": "restored the visibility for [[$1]]", "moodbar-log-delete": "deleted [[$1]]", diff --git a/i18n/qqq.json b/i18n/qqq.json index 463916b..c30b4bc 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -138,7 +138,7 @@ "moodbar-user-user": "{{Identical|Registered user}}", "moodbar-log-name": "{{doc-logpage}}", "moodbar-log-header": "Descriptive header text for Feedback log page.", - "moodbar-log-hide": "Log Action text for hiding feedback [[$1]] is link to feedback item\n{{Identical|Hid}}", + "moodbar-log-hide": "Log Action text for hiding feedback [[$1]] is link to feedback item\n{{Identical|Hid}}. Parameters:\n* $1 - the username,can be used for GENDER", "moodbar-log-feedback": "Log Action text for leaving feedback. Parameters:\n* $1 is a link to a feedback item.", "moodbar-log-restore": "Log Action text for restoring feedback [[$1]] is link to feedback item", "moodbar-log-delete": "Log Action text for deleting feedback [[$1]] is link to feedback item", -- To view, visit https://gerrit.wikimedia.org/r/240175 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id4e60c741420bcf0bf52e17a69dff42a302bfd9b Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MoodBar Gerrit-Branch: master Gerrit-Owner: Haritha28___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Change link to phabricator - change (mediawiki...Wikidata)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/239565 Change subject: Change link to phabricator .. Change link to phabricator The link "bugzilla.wikimedia.org" is changed to "phabricator.wikimedia.org" as we no more use it. Bug:T112794 Change-Id: I1350a76207c0a8debfbd33b0f276eca6b2f6d241 --- M vendor/data-values/javascript/composer.json 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikidata refs/changes/65/239565/1 diff --git a/vendor/data-values/javascript/composer.json b/vendor/data-values/javascript/composer.json index d11839d..d12994d 100644 --- a/vendor/data-values/javascript/composer.json +++ b/vendor/data-values/javascript/composer.json @@ -22,7 +22,7 @@ } ], "support": { - "issues": "https://bugzilla.wikimedia.org/;, + "issues": "https://phabricator.wikimedia.org/;, "irc": "irc://irc.freenode.net/wikidata" }, "require": { -- To view, visit https://gerrit.wikimedia.org/r/239565 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1350a76207c0a8debfbd33b0f276eca6b2f6d241 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikidata Gerrit-Branch: master Gerrit-Owner: Haritha28Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Add GENDER support - change (mediawiki...Thanks)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/238426 Change subject: Add GENDER support .. Add GENDER support The "notification-link-text-respond-to-user" did not support gender. The code has been modified so that it supports GENDER with with parameters $1 and $2 . Bug:T56979 Change-Id: I628b3a02ba32ebeeefddce23f51d7ac2990b6479 --- M i18n/en.json 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Thanks refs/changes/26/238426/1 diff --git a/i18n/en.json b/i18n/en.json index 53e7733..98aef9b 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -28,7 +28,7 @@ "notification-thanks-flyout2": "[[User:$1|$1]] {{GENDER:$1|thanked}} you for your edit on $2.", "notification-thanks-email-subject": "$1 {{GENDER:$1|thanked}} you for your edit on {{SITENAME}}", "notification-thanks-email-batch-body": "$1 {{GENDER:$1|thanked}} you for your edit on $2.", - "notification-link-text-respond-to-user": "Respond to user", + "notification-link-text-respond-to-user": "{{GENDER:$1|$2}}Respond to user", "log-name-thanks": "Thanks log", "log-description-thanks": "Below is a list of users thanked by other users.", "logentry-thanks-thank": "$1 {{GENDER:$2|thanked}} {{GENDER:$4|$3}}", -- To view, visit https://gerrit.wikimedia.org/r/238426 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I628b3a02ba32ebeeefddce23f51d7ac2990b6479 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Thanks Gerrit-Branch: master Gerrit-Owner: Haritha28___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Adding GENDER support - change (mediawiki/core)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/238096 Change subject: Adding GENDER support .. Adding GENDER support The message Emailuserfooter has been modified by adding the GENDER support with the parameters $1 and $2 . Bug: T111944 Change-Id: I7df3027d0cac203f0147de845b49b1a3b6ce1c10 --- M languages/i18n/en.json 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/96/238096/1 diff --git a/languages/i18n/en.json b/languages/i18n/en.json index 5859365..06f6194 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -1870,7 +1870,7 @@ "emailccsubject": "Copy of your message to $1: $2", "emailsent": "Email sent", "emailsenttext": "Your email message has been sent.", - "emailuserfooter": "This email was sent by $1 to $2 by the \"{{int:emailuser}}\" function at {{SITENAME}}.", + "emailuserfooter": "This email was sent by $1 to $2 by the \"{{int:emailuser}}\" function at {{SITENAME}}\{{GENDER:$1|$2}} .", "usermessage-summary": "Leaving system message.", "usermessage-editor": "System messenger", "usermessage-template": "MediaWiki:UserMessage", -- To view, visit https://gerrit.wikimedia.org/r/238096 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7df3027d0cac203f0147de845b49b1a3b6ce1c10 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Haritha28___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Modification of Comment in LocalSettings.php file - change (mediawiki/core)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/236020 Change subject: Modification of Comment in LocalSettings.php file .. Modification of Comment in LocalSettings.php file The comment message given in enabling the extensions are based on for the earlier versions of mediawiki which uses the requireonce() and as at present all the versions since 1.25 uses wfLoadExtensions() the comment message have been changed accordingly. Bug:T100940 Change-Id: I915a4893cc2d89624c9d8dd6504d7dc8bf166cd9 --- M includes/installer/LocalSettingsGenerator.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/20/236020/1 diff --git a/includes/installer/LocalSettingsGenerator.php b/includes/installer/LocalSettingsGenerator.php index 7b1cfdc..1115e00 100644 --- a/includes/installer/LocalSettingsGenerator.php +++ b/includes/installer/LocalSettingsGenerator.php @@ -153,7 +153,7 @@ if ( count( $this->extensions ) ) { $localSettings .= " -# Enabled Extensions. Most extensions are enabled by including the base extension file here +# Enabled Extensions.The extensions can be enabled by adding the wfLoadExtensions('extensionname') command to the LocalSettings.php file # but check specific extension documentation for more details # The following extensions were automatically enabled:\n"; -- To view, visit https://gerrit.wikimedia.org/r/236020 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I915a4893cc2d89624c9d8dd6504d7dc8bf166cd9 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Haritha28___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Edited the message : Line Length and Spacing - change (mediawiki/core)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/236249 Change subject: Edited the message : Line Length and Spacing .. Edited the message : Line Length and Spacing The message which exceeded more than 80 characters are reduced. Spacing between sentences are provided. Bug: T100940 Change-Id: I12d8d0fb4c93d9bef3573bcbe23384cbf3eb0031 --- M includes/installer/LocalSettingsGenerator.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/49/236249/1 diff --git a/includes/installer/LocalSettingsGenerator.php b/includes/installer/LocalSettingsGenerator.php index 1115e00..03df990 100644 --- a/includes/installer/LocalSettingsGenerator.php +++ b/includes/installer/LocalSettingsGenerator.php @@ -153,7 +153,7 @@ if ( count( $this->extensions ) ) { $localSettings .= " -# Enabled Extensions.The extensions can be enabled by adding the wfLoadExtensions('extensionname') command to the LocalSettings.php file +# Enabled Extensions. Add the wfLoadExtensions('extensionname') command to the LocalSettings.php file # but check specific extension documentation for more details # The following extensions were automatically enabled:\n"; -- To view, visit https://gerrit.wikimedia.org/r/236249 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I12d8d0fb4c93d9bef3573bcbe23384cbf3eb0031 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Haritha28___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Changed the documentation of two message - change (mediawiki...ShortUrl)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/233190 Change subject: Changed the documentation of two message .. Changed the documentation of two message Edited the documentation of Short-url messages shorturl-not-found-title, and shorturl-toolbox-title. Bug:T103217 Change-Id: Ibf04406ff63e284938c6e0113adee7c855116e9d --- M i18n/qqq.json 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ShortUrl refs/changes/90/233190/1 diff --git a/i18n/qqq.json b/i18n/qqq.json index 643..9e56444 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -7,7 +7,7 @@ }, shorturl: {{doc-special|ShortUrl}}\n{{Identical|Short URL}}, shorturl-desc: {{desc|name=Short Url|url=https://www.mediawiki.org/wiki/Extension:ShortUrl}};, -shorturl-not-found-title:Labels the inexistent title, +shorturl-not-found-title:Label the inexistent title, shorturl-not-found-message: Used as error message in Special:ShortUrl. Parameters:\n* $1 - short URL ID, shorturl-toolbox-title:Title text for shorturl tootbox, shorturl-toolbox-text: {{Identical|Short URL}} -- To view, visit https://gerrit.wikimedia.org/r/233190 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ibf04406ff63e284938c6e0113adee7c855116e9d Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ShortUrl Gerrit-Branch: master Gerrit-Owner: Haritha28 haritha@gmail.com ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Changed the message for mwe-upwiz-license-show-recommended - change (mediawiki...UploadWizard)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/232925 Change subject: Changed the message for mwe-upwiz-license-show-recommended .. Changed the message for mwe-upwiz-license-show-recommended The message in mwe-upwiz-license-show-recommended is changed, as the on selecting a different license , you are returned to default license. Bug: T105179 Change-Id: I77cf2ee347534d750ba8c91385bcdfcd674a311f --- M i18n/en.json 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/UploadWizard refs/changes/25/232925/1 diff --git a/i18n/en.json b/i18n/en.json index 0541f08..24eaf32 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -192,7 +192,7 @@ mwe-upwiz-file-need-file: Please add an upload first., mwe-upwiz-deeds-need-license: Please select a license., mwe-upwiz-license-show-all: Use a different license, - mwe-upwiz-license-show-recommended: Use the recommended license, + mwe-upwiz-license-show-recommended: Use the site's recommended License, mwe-upwiz-error-signature-blank: You must sign with your username or real name in the appropriate field., mwe-upwiz-error-latitude: The latitude needs to be between -90 and 90., mwe-upwiz-error-longitude: The longitude needs to be between -180 and 180., -- To view, visit https://gerrit.wikimedia.org/r/232925 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I77cf2ee347534d750ba8c91385bcdfcd674a311f Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/UploadWizard Gerrit-Branch: master Gerrit-Owner: Haritha28 haritha@gmail.com ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Disabled link in Logo - change (mediawiki...chameleon)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/232257 Change subject: Disabled link in Logo .. Disabled link in Logo The href tag in logo.php file is commented, so that on clicking logo icon page won't be directed to wiki main page. Bug : T68859 Change-Id: Ifa1d8f5c098e0f4a4458f9f523eb4a29f318659e --- M src/Components/Logo.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/chameleon refs/changes/57/232257/1 diff --git a/src/Components/Logo.php b/src/Components/Logo.php index 5bc0e00..df27067 100644 --- a/src/Components/Logo.php +++ b/src/Components/Logo.php @@ -48,7 +48,7 @@ public function getHtml() { $attribs = array_merge( - array( 'href' = $this-getSkinTemplate()-data[ 'nav_urls' ][ 'mainpage' ][ 'href' ] ), + array( /*'href' = $this-getSkinTemplate()-data[ 'nav_urls' ][ 'mainpage' ][ 'href' ]*/ ), Linker::tooltipAndAccesskeyAttribs( 'p-logo' ) ); -- To view, visit https://gerrit.wikimedia.org/r/232257 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ifa1d8f5c098e0f4a4458f9f523eb4a29f318659e Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/skins/chameleon Gerrit-Branch: master Gerrit-Owner: Haritha28 haritha@gmail.com ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Changed compare revisions header message - change (mediawiki...Flow)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/230753 Change subject: Changed compare revisions header message .. Changed compare revisions header message As the human-readable timestamp doesnt change into an RFC2822 timestamp, the text has been edited accordingly. Bug: T96511 Change-Id: Ifd530eccbe45bc8d4933703073c953d905a4245c --- M i18n/qqq.json 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow refs/changes/53/230753/1 diff --git a/i18n/qqq.json b/i18n/qqq.json index aea78da..91ef5a6 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -353,7 +353,7 @@ flow-revision-permalink-warning-postsummary-first: Header displayed at the top of a page when somebody is viewing a single-revision permalink of a post summary.\n\nThis message will only be shown for the first revision.\n\nNote that the \topic permalink warning\ (see {{msg-mw|Flow-topic-permalink-warning}}) will also be displayed.\n\nParameters:\n* $1 - date and timestamp, formatted as most are in Flow. That is, a human-readable timestamp that changes into an RFC2822 timestamp when hovered over.\n* $2 - title of the Flow Board that the post appears on. Example: User talk:Andrew\n* $3 - title of the topic that this post appears in\n* $4 - URL to the history page\nSee also:\n* {{msg-mw|Flow-revision-permalink-warning-post}}\n* {{msg-mw|Flow-revision-permalink-warning-header-first}}, flow-revision-permalink-warning-header: Header displayed at the top of a page when somebody is viewing a single-revision permalink of board header.\n\nThis message will not appear for the first revision, which has its own message ({{msg-mw|Flow-revision-permalink-warning-header-first}}).\n\nParameters:\n* $1 - date and timestamp, formatted as most are in Flow. That is, a human-readable timestamp that changes into an RFC2822 timestamp when hovered over.\n* $2 - URL to the history page\n* $3 - URL to the diff from the previous revision to this one\nSee also:\n* {{msg-mw|Flow-revision-permalink-warning-header-first}}\n* {{msg-mw|Flow-revision-permalink-warning-post}}, flow-revision-permalink-warning-header-first: Header displayed at the top of a page when somebody is viewing a single-revision permalink of board header.\n\nThis message will only be shown for the first revision.\n\nParameters:\n* $1 - (Unused) date and timestamp, formatted as most are in Flow. That is, a human-readable timestamp that changes into an RFC2822 timestamp when hovered over.\n* $2 - URL to the history page\nSee also:\n* {{msg-mw|Flow-revision-permalink-warning-header}}\n* {{msg-mw|Flow-revision-permalink-warning-post-first}}, - flow-compare-revisions-revision-header: Diff column header for a revision. Parameters:\n* $1 - date and timestamp, formatted as most are in Flow. That is, a human-readable timestamp that changes into an RFC-2822 timestamp.\n* $2 - user who made this revision, + flow-compare-revisions-revision-header: Diff column header for a revision. Parameters:\n* $1 - date and timestamp, formatted as most are in Flow. That is, a human-readable timestamp is shown.\n* $2 - user who made this revision, flow-compare-revisions-header-post: Header for a page showing a \diff\ between two revisions of a Flow post. Parameters:\n* $1 - the title of the Board on which this post sits. Example: User talk:Andrew\n* $2 - the subject of the Topic in which this post sits\n* $3 - the username of the author of the post\n* $4 - URL to the Board, with the fragment set to the post in question\n* $5 - URL to the Topic, with the fragment set to the post in question\n* $6 - URL to the history page for this post\n{{Related|Flow-compare-revisions-header}}, flow-compare-revisions-header-postsummary: Header for a page showing a \diff\ between two revisions of a Flow post summary. Parameters:\n* $1 - the title of the Board on which this post sits. Example: User talk:Andrew\n* $2 - the subject of the Topic in which this post sits\n* $3 - URL to the Board, with the fragment set to the post in question\n* $4 - URL to the Topic, with the fragment set to the post in question\n* $5 - URL to the history page for this post\n{{Related|Flow-compare-revisions-header}}, flow-compare-revisions-header-header: Header for a page showing a \diff\ between two revisions of a Flow board header. Parameters:\n* $1 - the title of the Board on which this header sits. Example: User talk:Andrew\n* $2 - the username of the author of the header\n* $3 - URL to the Board, with the fragment set to the post in question\n* $4 - URL to the history page for this post\n{{Related|Flow-compare-revisions-header}}, @@ -413,7 +413,7 @@ flow-topic-undo-hide: Automatic moderation summary when undoing a topic hide that was just performed.,
[MediaWiki-commits] [Gerrit] Changed Documentation for two messages in ShortUrl - change (mediawiki...ShortUrl)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/230530 Change subject: Changed Documentation for two messages in ShortUrl .. Changed Documentation for two messages in ShortUrl Changed the shorturl-not-found-title and shorturl-toolbox-title messages. Bug:T103217 Change-Id: I7f1f88cc233c6bcbfc00813235c49fc1868aafb1 --- M i18n/qqq.json 1 file changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ShortUrl refs/changes/30/230530/1 diff --git a/i18n/qqq.json b/i18n/qqq.json index fae60a9..643 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -6,9 +6,9 @@ ] }, shorturl: {{doc-special|ShortUrl}}\n{{Identical|Short URL}}, - shorturl-desc: {{desc|name=Short Url|url=https://www.mediawiki.org/wiki/Extension:ShortUrl}};; -shorturl-not-found-title:Identifies Url to be not found; + shorturl-desc: {{desc|name=Short Url|url=https://www.mediawiki.org/wiki/Extension:ShortUrl}};, +shorturl-not-found-title:Labels the inexistent title, shorturl-not-found-message: Used as error message in Special:ShortUrl. Parameters:\n* $1 - short URL ID, -shorturl-toolbox-title:Finds the shorturl; +shorturl-toolbox-title:Title text for shorturl tootbox, shorturl-toolbox-text: {{Identical|Short URL}} } -- To view, visit https://gerrit.wikimedia.org/r/230530 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7f1f88cc233c6bcbfc00813235c49fc1868aafb1 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ShortUrl Gerrit-Branch: master Gerrit-Owner: Haritha28 haritha@gmail.com ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Added missing documentation for 2 messages in Short Url - change (mediawiki...ShortUrl)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/230386 Change subject: Added missing documentation for 2 messages in Short Url .. Added missing documentation for 2 messages in Short Url Added documentation data forshorturl-not-found-title,shorturkl-toolbox-title , which where not listed in documentation page. Bug:T103217 Change-Id: I0b45f74a2035a2d26c752464c39ca862424b8e4b --- M i18n/qqq.json 1 file changed, 4 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ShortUrl refs/changes/86/230386/1 diff --git a/i18n/qqq.json b/i18n/qqq.json index 1d76eb8..fae60a9 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -6,7 +6,9 @@ ] }, shorturl: {{doc-special|ShortUrl}}\n{{Identical|Short URL}}, - shorturl-desc: {{desc|name=Short Url|url=https://www.mediawiki.org/wiki/Extension:ShortUrl}};, - shorturl-not-found-message: Used as error message in Special:ShortUrl. Parameters:\n* $1 - short URL ID, + shorturl-desc: {{desc|name=Short Url|url=https://www.mediawiki.org/wiki/Extension:ShortUrl}};; +shorturl-not-found-title:Identifies Url to be not found; +shorturl-not-found-message: Used as error message in Special:ShortUrl. Parameters:\n* $1 - short URL ID, +shorturl-toolbox-title:Finds the shorturl; shorturl-toolbox-text: {{Identical|Short URL}} } -- To view, visit https://gerrit.wikimedia.org/r/230386 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I0b45f74a2035a2d26c752464c39ca862424b8e4b Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ShortUrl Gerrit-Branch: master Gerrit-Owner: Haritha28 haritha@gmail.com ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Changed interaction of hover statemnet - change (mediawiki...Flow)
Haritha28 has uploaded a new change for review. https://gerrit.wikimedia.org/r/230290 Change subject: Changed interaction of hover statemnet .. Changed interaction of hover statemnet Changed the statement which states the interaction of hover , even though hove rnot found Change-Id: I11eaff18b6179696af9be6aba9703d2242ce5794 --- M i18n/qqq.json 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow refs/changes/90/230290/1 diff --git a/i18n/qqq.json b/i18n/qqq.json index ae7eee2..a0cab4e 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -353,7 +353,7 @@ flow-revision-permalink-warning-postsummary-first: Header displayed at the top of a page when somebody is viewing a single-revision permalink of a post summary.\n\nThis message will only be shown for the first revision.\n\nNote that the \topic permalink warning\ (see {{msg-mw|Flow-topic-permalink-warning}}) will also be displayed.\n\nParameters:\n* $1 - date and timestamp, formatted as most are in Flow. That is, a human-readable timestamp that changes into an RFC2822 timestamp when hovered over.\n* $2 - title of the Flow Board that the post appears on. Example: User talk:Andrew\n* $3 - title of the topic that this post appears in\n* $4 - URL to the history page\nSee also:\n* {{msg-mw|Flow-revision-permalink-warning-post}}\n* {{msg-mw|Flow-revision-permalink-warning-header-first}}, flow-revision-permalink-warning-header: Header displayed at the top of a page when somebody is viewing a single-revision permalink of board header.\n\nThis message will not appear for the first revision, which has its own message ({{msg-mw|Flow-revision-permalink-warning-header-first}}).\n\nParameters:\n* $1 - date and timestamp, formatted as most are in Flow. That is, a human-readable timestamp that changes into an RFC2822 timestamp when hovered over.\n* $2 - URL to the history page\n* $3 - URL to the diff from the previous revision to this one\nSee also:\n* {{msg-mw|Flow-revision-permalink-warning-header-first}}\n* {{msg-mw|Flow-revision-permalink-warning-post}}, flow-revision-permalink-warning-header-first: Header displayed at the top of a page when somebody is viewing a single-revision permalink of board header.\n\nThis message will only be shown for the first revision.\n\nParameters:\n* $1 - (Unused) date and timestamp, formatted as most are in Flow. That is, a human-readable timestamp that changes into an RFC2822 timestamp when hovered over.\n* $2 - URL to the history page\nSee also:\n* {{msg-mw|Flow-revision-permalink-warning-header}}\n* {{msg-mw|Flow-revision-permalink-warning-post-first}}, - flow-compare-revisions-revision-header: Diff column header for a revision. Parameters:\n* $1 - date and timestamp, formatted as most are in Flow. That is, a human-readable timestamp that changes into an RFC-2822 timestamp when hovered over.\n* $2 - user who made this revision, + flow-compare-revisions-revision-header: Diff column header for a revision. Parameters:\n* $1 - date and timestamp, formatted as most are in Flow. That is, a human-readable timestamp that changes into an RFC-2822 timestamp.\n* $2 - user who made this revision, flow-compare-revisions-header-post: Header for a page showing a \diff\ between two revisions of a Flow post. Parameters:\n* $1 - the title of the Board on which this post sits. Example: User talk:Andrew\n* $2 - the subject of the Topic in which this post sits\n* $3 - the username of the author of the post\n* $4 - URL to the Board, with the fragment set to the post in question\n* $5 - URL to the Topic, with the fragment set to the post in question\n* $6 - URL to the history page for this post\n{{Related|Flow-compare-revisions-header}}, flow-compare-revisions-header-postsummary: Header for a page showing a \diff\ between two revisions of a Flow post summary. Parameters:\n* $1 - the title of the Board on which this post sits. Example: User talk:Andrew\n* $2 - the subject of the Topic in which this post sits\n* $3 - URL to the Board, with the fragment set to the post in question\n* $4 - URL to the Topic, with the fragment set to the post in question\n* $5 - URL to the history page for this post\n{{Related|Flow-compare-revisions-header}}, flow-compare-revisions-header-header: Header for a page showing a \diff\ between two revisions of a Flow board header. Parameters:\n* $1 - the title of the Board on which this header sits. Example: User talk:Andrew\n* $2 - the username of the author of the header\n* $3 - URL to the Board, with the fragment set to the post in question\n* $4 - URL to the history page for this post\n{{Related|Flow-compare-revisions-header}}, -- To view, visit https://gerrit.wikimedia.org/r/230290 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange