Merge "Remove uses of deprecated TestUser properties"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 22 Jun 2016 15:48:46 +0000 (15:48 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 22 Jun 2016 15:48:46 +0000 (15:48 +0000)
includes/specials/pagers/AllMessagesTablePager.php
languages/messages/MessagesGom_deva.php
languages/messages/MessagesLt.php
resources/src/mediawiki.special/mediawiki.special.search.styles.css

index 8e4fbaa..60f642d 100644 (file)
@@ -306,9 +306,8 @@ class AllMessagesTablePager extends TablePager {
                                                'title' => 'Special:SearchTranslations',
                                                'group' => 'mediawiki',
                                                'grouppath' => 'mediawiki',
-                                               'query' => 'language:' . $this->getLanguage()->getCode() . '^25 ' .
-                                                       'messageid:"MediaWiki:' . $value . '"^10 "' .
-                                                       $this->msg( $value )->inLanguage( 'en' )->plain() . '"'
+                                               'language' => $this->getLanguage()->getCode(),
+                                               'query' => $value . ' ' . $this->msg( $value )->plain()
                                        ] ),
                                        $this->msg( 'allmessages-filter-translate' )->text()
                                );
index fc65e58..1cf80ce 100644 (file)
@@ -7,16 +7,17 @@
  * @file
  *
  * @author Darshan kandolkar
+ * @author The Discoverer
  */
 
 $fallback = 'hi';
 
 $namespaceNames = [
-       NS_MEDIA            => 'मिडिया',
+       NS_MEDIA            => 'माधà¥\8dयम',
        NS_SPECIAL          => 'विशेश',
        NS_TALK             => 'चर्चा',
-       NS_USER             => 'à¤\89पà¥\87à¤\97à¤\95रà¥\8dतà¥\8b',
-       NS_USER_TALK        => 'à¤\89पà¥\87à¤\97à¤\95रà¥\8dतà¥\8b_चर्चा',
+       NS_USER             => 'वापरपà¥\80',
+       NS_USER_TALK        => 'वापरपà¥\80_चर्चा',
        NS_PROJECT_TALK     => '$1_चर्चा',
        NS_FILE             => 'फायल',
        NS_FILE_TALK        => 'फायल_चर्चा',
@@ -24,8 +25,18 @@ $namespaceNames = [
        NS_MEDIAWIKI_TALK   => 'मिडियाविकी_चर्चा',
        NS_TEMPLATE         => 'प्रारूप',
        NS_TEMPLATE_TALK    => 'प्रारूप_चर्चा',
-       NS_HELP             => 'मजत',
-       NS_HELP_TALK        => 'मजत_चर्चा',
-       NS_CATEGORY         => 'श्रेणी',
-       NS_CATEGORY_TALK    => 'श्रेणी_चर्चा',
+       NS_HELP             => 'आदार',
+       NS_HELP_TALK        => 'आदार_चर्चा',
+       NS_CATEGORY         => 'वर्ग',
+       NS_CATEGORY_TALK    => 'वर्ग_चर्चा',
+];
+
+$namespaceAliases = [
+       'मजत' => NS_HELP,
+       'मजत_चर्चा' => NS_HELP_TALK,
+       'श्रेणी' => NS_CATEGORY,
+       'श्रेणी_चर्चा' => NS_CATEGORY_TALK,
+       'मिडिया' => NS_MEDIA,
+       'उपेगकर्तो' => NS_USER,
+       'उपेगकर्तो चर्चा' => NS_USER_TALK
 ];
index a8e6c77..b79f9d8 100644 (file)
@@ -183,3 +183,4 @@ $dateFormats = [
        'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns',
 ];
 
+$linkTrail = '/^([a-ząčęėįšųūž]+)(.*)$/sDu';
index ae3c01b..e7a5865 100644 (file)
        margin: 1em 0 1em .4em;
 }
 /* needs extra specificity to override `.mw-body p` selector */
-.mw-body p.mw-search-nonefound {
+.mw-body .mw-search-nonefound {
        margin: 0;
 }
-.mw-search-interwiki-header {
+.mw-search-interwiki-header,
+.searchdidyoumean em,
+.searchmatch {
        font-weight: bold;
 }
 .mw-search-nonefound + .mw-search-interwiki-header {
        margin-top: 0;
 }
-div.searchresult {
+.searchresult {
        font-size: 95%;
        width: 38em;
 }
@@ -55,32 +57,32 @@ div.searchresult {
        margin-top: 1em;
        border: 1px solid #c0c0c0;
 }
-.mw-search-profile-tabs div.search-types {
+.search-types {
        float: left;
        padding-left: 0.25em;
 }
-.mw-search-profile-tabs div.search-types ul {
+.search-types ul {
        margin: 0;
        padding: 0;
        list-style: none;
 }
-.mw-search-profile-tabs div.search-types ul li {
+.search-types li {
        float: left;
        margin: 0;
        padding: 0;
 }
-.mw-search-profile-tabs div.search-types ul li a {
+.search-types a {
        display: block;
        padding: 0.5em;
 }
-.mw-search-profile-tabs div.search-types ul li.current a {
+.search-types .current a {
        color: #333;
        cursor: default;
 }
-.mw-search-profile-tabs div.search-types ul li.current a:hover {
+.search-types .current a:hover {
        text-decoration: none;
 }
-#mw-search-top-table div.results-info {
+.results-info {
        float: right;
        padding: 0.5em;
        padding-right: 0.75em;
@@ -91,55 +93,55 @@ div.searchresult {
        float: left;
        width: 100%;
 }
-fieldset#mw-searchoptions {
+#mw-searchoptions {
        margin: 0;
        padding: 0.5em 0.75em 0.75em 0.75em;
-       border: none;
        background-color: #f9f9f9;
        border: 1px solid #c0c0c0;
        border-top-width: 0;
 }
-fieldset#mw-searchoptions legend {
+#mw-searchoptions legend {
        display: none;
 }
-fieldset#mw-searchoptions h4 {
+#mw-searchoptions h4 {
        padding: 0;
        margin: 0;
        float: left;
 }
-fieldset#mw-searchoptions table {
+#mw-searchoptions table {
        float: left;
        margin-right: 3em;
        border-collapse: collapse;
 }
-fieldset#mw-searchoptions table td {
+#mw-searchoptions table td {
        padding: 0 1em 0 0;
        white-space: nowrap;
 }
-fieldset#mw-searchoptions div.divider {
+#mw-searchoptions .divider {
        clear: both;
        border-bottom: 1px solid #ddd;
        padding-top: 0.5em;
        margin-bottom: 0.5em;
 }
-td#mw-search-menu {
+#mw-search-menu {
        padding-left: 6em;
        font-size: 85%;
 }
-div#mw-search-interwiki {
+#mw-search-interwiki {
        float: right;
        width: 18em;
        border: 1px solid #aaa;
        margin-top: 2ex;
 }
-div#mw-search-interwiki li {
+.searchalttitle,
+#mw-search-interwiki li {
        font-size: 95%;
 }
 .mw-search-interwiki-more {
        float: right;
        font-size: 90%;
 }
-div#mw-search-interwiki-caption {
+#mw-search-interwiki-caption {
        text-align: center;
        font-weight: bold;
        font-size: 95%;
@@ -151,18 +153,9 @@ div#mw-search-interwiki-caption {
        background-color: #ececec;
        border-top: 1px solid #bbb;
 }
-span.searchalttitle {
-       font-size: 95%;
-}
-div.searchdidyoumean {
+.searchdidyoumean {
        font-size: 127%;
        margin-top: 0.8em;
        /* Note that this color won't affect the link, as desired. */
        color: #c00;
 }
-div.searchdidyoumean em {
-       font-weight: bold;
-}
-.searchmatch {
-       font-weight: bold;
-}