Index: tags/extensions/ApprovedRevs/REL_0_5_5/maintenance/approveAllPages.php |
— | — | @@ -0,0 +1,72 @@ |
| 2 | +<?php |
| 3 | + |
| 4 | +/** |
| 5 | + * This script approves the current revision of all pages that are in an |
| 6 | + * approvable namespace, and do not already have an approved revision. |
| 7 | + * |
| 8 | + * Usage: |
| 9 | + * no parameters |
| 10 | + * |
| 11 | + * This program is free software; you can redistribute it and/or modify |
| 12 | + * it under the terms of the GNU General Public License as published by |
| 13 | + * the Free Software Foundation; either version 2 of the License, or |
| 14 | + * (at your option) any later version. |
| 15 | + * |
| 16 | + * This program is distributed in the hope that it will be useful, |
| 17 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 18 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 19 | + * GNU General Public License for more details. |
| 20 | + * |
| 21 | + * You should have received a copy of the GNU General Public License along |
| 22 | + * with this program; if not, write to the Free Software Foundation, Inc., |
| 23 | + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 24 | + * http://www.gnu.org/copyleft/gpl.html |
| 25 | + * |
| 26 | + * @author Jeroen De Dauw |
| 27 | + * @author Yaron Koren |
| 28 | + * @ingroup Maintenance |
| 29 | + */ |
| 30 | + |
| 31 | +require_once( dirname( __FILE__ ) . '/../../../maintenance/Maintenance.php' ); |
| 32 | + |
| 33 | +class ApproveAllPages extends Maintenance { |
| 34 | + |
| 35 | + public function __construct() { |
| 36 | + parent::__construct(); |
| 37 | + |
| 38 | + $this->mDescription = "Approve the current revision of all pages that do not yet have an approved revision."; |
| 39 | + } |
| 40 | + |
| 41 | + public function execute() { |
| 42 | + global $wgTitle; |
| 43 | + |
| 44 | + $dbr = wfGetDB( DB_SLAVE ); |
| 45 | + |
| 46 | + $pages = $dbr->select( |
| 47 | + 'page', |
| 48 | + array( |
| 49 | + 'page_id', |
| 50 | + 'page_latest' |
| 51 | + ) |
| 52 | + ); |
| 53 | + |
| 54 | + while ( $page = $pages->fetchObject() ) { |
| 55 | + $title = Title::newFromID( $page->page_id ); |
| 56 | + // some extensions, like Semantic Forms, need $wgTitle |
| 57 | + // set as well |
| 58 | + $wgTitle = $title; |
| 59 | + if ( ApprovedRevs::pageIsApprovable( $title ) && |
| 60 | + ! ApprovedRevs::hasApprovedRevision( $title ) ) { |
| 61 | + ApprovedRevs::setApprovedRevID( $title, $page->page_latest, true ); |
| 62 | + $this->output( wfTimestamp( TS_DB ) . ' Approved the last revision of page "' . $title->getFullText() . '".' ); |
| 63 | + } |
| 64 | + } |
| 65 | + |
| 66 | + |
| 67 | + $this->output( "\n Finished setting all current revisions to approved. \n" ); |
| 68 | + } |
| 69 | + |
| 70 | +} |
| 71 | + |
| 72 | +$maintClass = "ApproveAllPages"; |
| 73 | +require_once( DO_MAINTENANCE ); |
Property changes on: tags/extensions/ApprovedRevs/REL_0_5_5/maintenance/approveAllPages.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 74 | + native |
Index: tags/extensions/ApprovedRevs/REL_0_5_5/ApprovedRevs_body.php |
— | — | @@ -0,0 +1,221 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Main class for the Approved Revs extension. |
| 5 | + * |
| 6 | + * @file |
| 7 | + * @ingroup Extensions |
| 8 | + * |
| 9 | + * @author Yaron Koren |
| 10 | + */ |
| 11 | + |
| 12 | +class ApprovedRevs { |
| 13 | + /** |
| 14 | + * Gets the approved revision ID for this page, or null if there isn't |
| 15 | + * one. |
| 16 | + */ |
| 17 | + public static function getApprovedRevID( $title ) { |
| 18 | + if ( ! self::pageIsApprovable( $title ) ) { |
| 19 | + return null; |
| 20 | + } |
| 21 | + $dbr = wfGetDB( DB_SLAVE ); |
| 22 | + $page_id = $title->getArticleId(); |
| 23 | + $rev_id = $dbr->selectField( 'approved_revs', 'rev_id', array( 'page_id' => $page_id ) ); |
| 24 | + return $rev_id; |
| 25 | + } |
| 26 | + |
| 27 | + /** |
| 28 | + * Returns whether or not this page has a revision ID. |
| 29 | + */ |
| 30 | + public static function hasApprovedRevision( $title ) { |
| 31 | + $revision_id = self::getApprovedRevID( $title ); |
| 32 | + return ( ! empty( $revision_id ) ); |
| 33 | + } |
| 34 | + |
| 35 | + /** |
| 36 | + * Returns the content of the approved revision of this page, or null |
| 37 | + * if there isn't one. |
| 38 | + */ |
| 39 | + public static function getApprovedContent( $title ) { |
| 40 | + $revision_id = ApprovedRevs::getApprovedRevID( $title ); |
| 41 | + if ( empty( $revision_id ) ) { |
| 42 | + return null; |
| 43 | + } |
| 44 | + $article = new Article( $title, $revision_id ); |
| 45 | + return( $article->getContent() ); |
| 46 | + } |
| 47 | + |
| 48 | + /** |
| 49 | + * Helper function - returns whether the user is currently requesting |
| 50 | + * a page via the simple URL for it - not specfying a version number, |
| 51 | + * not editing the page, etc. |
| 52 | + */ |
| 53 | + public static function isDefaultPageRequest() { |
| 54 | + // this first test seems to no longer work with MW 1.16 |
| 55 | + /* |
| 56 | + if ( $title->mArticleID > -1 ) { |
| 57 | + return true; |
| 58 | + } |
| 59 | + */ |
| 60 | + global $wgRequest; |
| 61 | + if ( $wgRequest->getCheck( 'oldid' ) ) { |
| 62 | + return false; |
| 63 | + } |
| 64 | + // check if it's an action other than viewing |
| 65 | + global $wgRequest; |
| 66 | + if ( $wgRequest->getCheck( 'action' ) && |
| 67 | + $wgRequest->getVal( 'action' ) != 'view' && |
| 68 | + $wgRequest->getVal( 'action' ) != 'purge' && |
| 69 | + $wgRequest->getVal( 'action' ) != 'render' ) { |
| 70 | + return false; |
| 71 | + } |
| 72 | + return true; |
| 73 | + } |
| 74 | + |
| 75 | + /** |
| 76 | + * Returns whether this page can be approved - either because it's in |
| 77 | + * a supported namespace, or because it's been specially marked as |
| 78 | + * approvable. Also stores the boolean answer as a field in the page |
| 79 | + * object, to speed up processing if it's called more than once. |
| 80 | + */ |
| 81 | + public static function pageIsApprovable( $title ) { |
| 82 | + // if this function was already called for this page, the |
| 83 | + // value should have been stored as a field in the $title object |
| 84 | + if ( isset( $title->isApprovable ) ) { |
| 85 | + return $title->isApprovable; |
| 86 | + } |
| 87 | + |
| 88 | + // check the namespace |
| 89 | + global $egApprovedRevsNamespaces; |
| 90 | + if ( in_array( $title->getNamespace(), $egApprovedRevsNamespaces ) ) { |
| 91 | + $title->isApprovable = true; |
| 92 | + return true; |
| 93 | + } |
| 94 | + |
| 95 | + // it's not in an included namespace, so check for the page |
| 96 | + // property - for some reason, calling the standard |
| 97 | + // getProperty() function doesn't work, so we just do a DB |
| 98 | + // query on the page_props table |
| 99 | + $dbr = wfGetDB( DB_SLAVE ); |
| 100 | + $res = $dbr->select( 'page_props', 'COUNT(*)', |
| 101 | + array( |
| 102 | + 'pp_page' => $title->getArticleID(), |
| 103 | + 'pp_propname' => 'approvedrevs', |
| 104 | + 'pp_value' => 'y' |
| 105 | + ) |
| 106 | + ); |
| 107 | + $row = $dbr->fetchRow( $res ); |
| 108 | + $isApprovable = ( $row[0] == '1' ); |
| 109 | + $title->isApprovable = $isApprovable; |
| 110 | + return $isApprovable; |
| 111 | + } |
| 112 | + |
| 113 | + public static function saveApprovedRevIDInDB( $title, $rev_id ) { |
| 114 | + $dbr = wfGetDB( DB_MASTER ); |
| 115 | + $page_id = $title->getArticleId(); |
| 116 | + $old_rev_id = $dbr->selectField( 'approved_revs', 'rev_id', array( 'page_id' => $page_id ) ); |
| 117 | + if ( $old_rev_id ) { |
| 118 | + $dbr->update( 'approved_revs', array( 'rev_id' => $rev_id ), array( 'page_id' => $page_id ) ); |
| 119 | + } else { |
| 120 | + $dbr->insert( 'approved_revs', array( 'page_id' => $page_id, 'rev_id' => $rev_id ) ); |
| 121 | + } |
| 122 | + } |
| 123 | + |
| 124 | + /** |
| 125 | + * Sets a certain revision as the approved one for this page in the |
| 126 | + * approved_revs DB table; calls a "links update" on this revision |
| 127 | + * so that category information can be stored correctly, as well as |
| 128 | + * info for extensions such as Semantic MediaWiki; and logs the action. |
| 129 | + */ |
| 130 | + public static function setApprovedRevID( $title, $rev_id, $is_latest = false ) { |
| 131 | + self::saveApprovedRevIDInDB( $title, $rev_id ); |
| 132 | + // if the revision being approved is definitely the latest |
| 133 | + // one, there's no need to call the parser on it |
| 134 | + if ( !$is_latest ) { |
| 135 | + $parser = new Parser(); |
| 136 | + $parser->setTitle( $title ); |
| 137 | + $article = new Article( $title, $rev_id ); |
| 138 | + $text = $article->getContent(); |
| 139 | + $options = new ParserOptions(); |
| 140 | + $parser->parse( $text, $title, $options, true, true, $rev_id ); |
| 141 | + $u = new LinksUpdate( $title, $parser->getOutput() ); |
| 142 | + $u->doUpdate(); |
| 143 | + } |
| 144 | + |
| 145 | + $log = new LogPage( 'approval' ); |
| 146 | + $rev_url = $title->getFullURL( array( 'old_id' => $rev_id ) ); |
| 147 | + $rev_link = Xml::element( |
| 148 | + 'a', |
| 149 | + array( 'href' => $rev_url ), |
| 150 | + $rev_id |
| 151 | + ); |
| 152 | + $logParams = array( $rev_link ); |
| 153 | + $log->addEntry( |
| 154 | + 'approve', |
| 155 | + $title, |
| 156 | + '', |
| 157 | + $logParams |
| 158 | + ); |
| 159 | + |
| 160 | + wfRunHooks( 'ApprovedRevsRevisionApproved', array( $parser, $title, $rev_id ) ); |
| 161 | + } |
| 162 | + |
| 163 | + public static function deleteRevisionApproval( $title ) { |
| 164 | + $dbr = wfGetDB( DB_MASTER ); |
| 165 | + $page_id = $title->getArticleId(); |
| 166 | + $dbr->delete( 'approved_revs', array( 'page_id' => $page_id ) ); |
| 167 | + } |
| 168 | + |
| 169 | + /** |
| 170 | + * Unsets the approved revision for this page in the approved_revs DB |
| 171 | + * table; calls a "links update" on this page so that category |
| 172 | + * information can be stored correctly, as well as info for |
| 173 | + * extensions such as Semantic MediaWiki; and logs the action. |
| 174 | + */ |
| 175 | + public static function unsetApproval( $title ) { |
| 176 | + global $egApprovedRevsBlankIfUnapproved; |
| 177 | + |
| 178 | + self::deleteRevisionApproval( $title ); |
| 179 | + |
| 180 | + $parser = new Parser(); |
| 181 | + $parser->setTitle( $title ); |
| 182 | + if ( $egApprovedRevsBlankIfUnapproved ) { |
| 183 | + $text = ''; |
| 184 | + } else { |
| 185 | + $article = new Article( $title ); |
| 186 | + $text = $article->getContent(); |
| 187 | + } |
| 188 | + $options = new ParserOptions(); |
| 189 | + $parser->parse( $text, $title, $options ); |
| 190 | + $u = new LinksUpdate( $title, $parser->getOutput() ); |
| 191 | + $u->doUpdate(); |
| 192 | + |
| 193 | + $log = new LogPage( 'approval' ); |
| 194 | + $log->addEntry( |
| 195 | + 'unapprove', |
| 196 | + $title, |
| 197 | + '' |
| 198 | + ); |
| 199 | + |
| 200 | + wfRunHooks( 'ApprovedRevsRevisionUnapproved', array( $parser, $title ) ); |
| 201 | + } |
| 202 | + |
| 203 | + public static function addCSS() { |
| 204 | + global $wgOut, $egApprovedRevsScriptPath; |
| 205 | + $link = array( |
| 206 | + 'rel' => 'stylesheet', |
| 207 | + 'type' => 'text/css', |
| 208 | + 'media' => "screen", |
| 209 | + 'href' => "$egApprovedRevsScriptPath/ApprovedRevs.css" |
| 210 | + ); |
| 211 | + $wgOut->addLink( $link ); |
| 212 | + } |
| 213 | + |
| 214 | + public static function loadMessages() { |
| 215 | + // for backwards compatibility |
| 216 | + global $wgVersion; |
| 217 | + if ( version_compare( $wgVersion, '1.16', '<' ) ) { |
| 218 | + wfLoadExtensionMessages( 'ApprovedRevs' ); |
| 219 | + } |
| 220 | + } |
| 221 | + |
| 222 | +} |
Property changes on: tags/extensions/ApprovedRevs/REL_0_5_5/ApprovedRevs_body.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 223 | + native |
Index: tags/extensions/ApprovedRevs/REL_0_5_5/ApprovedRevs.i18n.php |
— | — | @@ -0,0 +1,1315 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Internationalization file for the Approved Revs extension. |
| 5 | + * |
| 6 | + * @file |
| 7 | + * @ingroup Extensions |
| 8 | +*/ |
| 9 | + |
| 10 | +$messages = array(); |
| 11 | + |
| 12 | +/** English |
| 13 | + * @author Yaron Koren |
| 14 | + */ |
| 15 | +$messages['en'] = array( |
| 16 | + // user messages |
| 17 | + 'approvedrevs-desc' => 'Set a single revision of a page as approved', |
| 18 | + 'approvedrevs-logname' => 'Revision approval log', |
| 19 | + 'approvedrevs-logdesc' => 'This is the log of revisions that have been approved.', |
| 20 | + 'approvedrevs-approve' => 'approve', |
| 21 | + 'approvedrevs-unapprove' => 'unapprove', |
| 22 | + 'approvedrevs-approvesuccess' => 'This revision of the page has been set as the approved version.', |
| 23 | + 'approvedrevs-unapprovesuccess' => 'There is no longer an approved version for this page. |
| 24 | +Instead, the most recent revision will be shown.', |
| 25 | + 'approvedrevs-unapprovesuccess2' => 'There is no longer an approved version for this page. |
| 26 | +Instead, a blank page will be shown.', |
| 27 | + 'approvedrevs-approveaction' => 'set $2 as the approved revision for "[[$1]]"', |
| 28 | + 'approvedrevs-unapproveaction' => 'unset approved revision for "[[$1]]"', |
| 29 | + 'approvedrevs-notlatest' => 'This is the approved revision of this page; it is not the most recent.', |
| 30 | + 'approvedrevs-approvedandlatest' => 'This is the approved revision of this page, as well as being the most recent.', |
| 31 | + 'approvedrevs-viewlatest' => 'View most recent revision.', |
| 32 | + 'approvedrevs-blankpageshown' => 'No revision has been approved for this page.', |
| 33 | + 'approvedrevs-editwarning' => 'Please note that you are now editing the latest revision of this page, which is not the approved one shown by default.', |
| 34 | + 'approvedrevs' => 'Approved revisions', |
| 35 | + 'approvedrevs-approvedpages' => 'All pages with an approved revision', |
| 36 | + 'approvedrevs-notlatestpages' => 'Pages whose approved revision is not their latest', |
| 37 | + 'approvedrevs-unapprovedpages' => 'Unapproved pages', |
| 38 | + 'approvedrevs-view' => 'View:', |
| 39 | + 'approvedrevs-revisionnumber' => 'revision $1', |
| 40 | + 'approvedrevs-approvedby' => 'approved by $1 on $2', |
| 41 | + 'approvedrevs-difffromlatest' => 'diff from latest', |
| 42 | + 'right-approverevisions' => 'Set a certain revision of a wiki page as approved', |
| 43 | + 'right-viewlinktolatest' => 'View explanatory text at the top of pages that have an approved revision', |
| 44 | +); |
| 45 | + |
| 46 | +/** Message documentation (Message documentation) |
| 47 | + * @author EugeneZelenko |
| 48 | + * @author Umherirrender |
| 49 | + */ |
| 50 | +$messages['qqq'] = array( |
| 51 | + 'approvedrevs-approve' => '{{Identical|Approve}}', |
| 52 | + 'approvedrevs-view' => '{{Identical|View}}', |
| 53 | + 'approvedrevs-revisionnumber' => '{{Identical|Revision}}', |
| 54 | + 'right-approverevisions' => '{{doc-right|approverevisions}}', |
| 55 | + 'right-viewlinktolatest' => '{{doc-right|viewlinktolatest}}', |
| 56 | +); |
| 57 | + |
| 58 | +/** Afrikaans (Afrikaans) |
| 59 | + * @author Naudefj |
| 60 | + */ |
| 61 | +$messages['af'] = array( |
| 62 | + 'approvedrevs-approve' => 'keur goed', |
| 63 | + 'approvedrevs-viewlatest' => 'Wys mees onlangse hersiening.', |
| 64 | + 'approvedrevs-approvedpages' => 'Goedgekeurde bladsye', |
| 65 | + 'approvedrevs-view' => 'Weergawe:', |
| 66 | + 'approvedrevs-revisionnumber' => 'weergawe $1', |
| 67 | +); |
| 68 | + |
| 69 | +/** Arabic (العربية) |
| 70 | + * @author Moemin05 |
| 71 | + */ |
| 72 | +$messages['ar'] = array( |
| 73 | + 'approvedrevs-approve' => 'موافقة', |
| 74 | + 'approvedrevs-unapprove' => 'إزالة موافقة', |
| 75 | + 'approvedrevs-approvedpages' => 'صفحات تمّت الموافقة عليها', |
| 76 | +); |
| 77 | + |
| 78 | +/** Aramaic (ܐܪܡܝܐ) |
| 79 | + * @author Basharh |
| 80 | + */ |
| 81 | +$messages['arc'] = array( |
| 82 | + 'approvedrevs-approve' => 'ܩܘܒܠܐ', |
| 83 | + 'approvedrevs-unapprove' => 'ܠܐ ܩܘܒܠܐ', |
| 84 | + 'approvedrevs-approvedpages' => 'ܕܦ̈ܐ ܩܒܝܠ̈ܐ', |
| 85 | + 'approvedrevs-unapprovedpages' => 'ܕܦ̈ܐ ܠܐ ܩܒܝܠ̈ܐ', |
| 86 | +); |
| 87 | + |
| 88 | +/** Bashkir (Башҡортса) |
| 89 | + * @author Assele |
| 90 | + */ |
| 91 | +$messages['ba'] = array( |
| 92 | + 'approvedrevs-desc' => 'Биттең бер өлгөһөн раҫланған тип билдәләү', |
| 93 | + 'approvedrevs-logname' => 'Өлгөләрҙе раҫлау яҙмалары журналы', |
| 94 | + 'approvedrevs-logdesc' => 'Был — биттәрҙең раҫланған өлгөләре журналы.', |
| 95 | + 'approvedrevs-approve' => 'раҫларға', |
| 96 | + 'approvedrevs-unapprove' => 'раҫлауҙы алырға', |
| 97 | + 'approvedrevs-approvesuccess' => 'Биттең был өлгөһө раҫланған тип билдәләнде.', |
| 98 | + 'approvedrevs-unapprovesuccess' => 'Был биттең раҫланған өлгөһө юҡ. |
| 99 | +Уның урынына һуңғы өлгө күрһәтеләсәк.', |
| 100 | + 'approvedrevs-unapprovesuccess2' => 'Был биттең башҡа раҫланған өлгөһө юҡ. |
| 101 | +Уның урынына буш бит күрһәтеләсәк.', |
| 102 | + 'approvedrevs-approveaction' => '$2 өлгөһөн "[[$1]]" битенең раҫланған өлгөһө тип билдәләргә', |
| 103 | + 'approvedrevs-unapproveaction' => '"[[$1]]" битенең раҫланған өлгөһөнөң раҫланыуын алырға', |
| 104 | + 'approvedrevs-notlatest' => 'Был — биттең раҫланған өлгөһө. Яңыраҡ өлгөләр бар.', |
| 105 | + 'approvedrevs-approvedandlatest' => 'Был — биттең раҫланған өлгөһө, ул — шулай уҡ биттең яңы өлгөһө.', |
| 106 | + 'approvedrevs-viewlatest' => 'Һуңғы өлгөнө ҡарарға.', |
| 107 | + 'approvedrevs-blankpageshown' => 'Был бит өсөн раҫланған өлгөләр юҡ.', |
| 108 | + 'approvedrevs-editwarning' => 'Зинһар, иғтибар итегеҙ, һеҙ хәҙер был биттең һуңғы өлгөһөн мөхәррирләйһегеҙ, әммә ул күрһәтелмәй, сөнки ул раҫланмаған.', |
| 109 | + 'approvedrevs' => 'Раҫланған өлгөләр', |
| 110 | + 'approvedrevs-approvedpages' => 'Раҫланған биттәр', |
| 111 | + 'approvedrevs-notlatestpages' => 'Был — биттең раҫланған өлгөһө. Яңыраҡ өлгөләр бар.', |
| 112 | + 'approvedrevs-unapprovedpages' => 'Раҫланмаған биттәр', |
| 113 | + 'approvedrevs-view' => 'Ҡарап сығыу:', |
| 114 | + 'approvedrevs-revisionnumber' => '$1 өлгө', |
| 115 | + 'approvedrevs-approvedby' => '$2 $1 тарафынан раҫланған', |
| 116 | + 'approvedrevs-difffromlatest' => 'һуңғы менән айырма', |
| 117 | + 'right-approverevisions' => 'Вики-биттәрҙең ҡайһы бер өлгөләрен раҫланған тип билдәләү', |
| 118 | + 'right-viewlinktolatest' => 'Раҫланған өлгөләре булған биттәрҙең өҫкө өлөшөндә аңлатманы ҡарау', |
| 119 | +); |
| 120 | + |
| 121 | +/** Belarusian (Taraškievica orthography) (Беларуская (тарашкевіца)) |
| 122 | + * @author EugeneZelenko |
| 123 | + * @author Jim-by |
| 124 | + * @author Wizardist |
| 125 | + */ |
| 126 | +$messages['be-tarask'] = array( |
| 127 | + 'approvedrevs-desc' => 'Зацьвердзіць адну вэрсію старонкі', |
| 128 | + 'approvedrevs-logname' => 'Журнал зацьверджаньня вэрсіяў', |
| 129 | + 'approvedrevs-logdesc' => 'Гэта журнал зацьверджаных вэрсіяў.', |
| 130 | + 'approvedrevs-approve' => 'зацьвердзіць', |
| 131 | + 'approvedrevs-unapprove' => 'адхіліць', |
| 132 | + 'approvedrevs-approvesuccess' => 'Гэтая вэрсія старонкі была зацьверджаная.', |
| 133 | + 'approvedrevs-unapprovesuccess' => 'Болей не існуе зацьверджанай вэрсіі гэтай старонкі. |
| 134 | +Замест яе будзе паказаная апошняя вэрсія.', |
| 135 | + 'approvedrevs-unapprovesuccess2' => 'Болей не існуе зацьверджанай вэрсіі гэтай старонкі. |
| 136 | +Замест яе будзе паказаная пустая старонка.', |
| 137 | + 'approvedrevs-approveaction' => 'зацьвердзіць $2 як зацьверджаную вэрсію старонкі «[[$1]]»', |
| 138 | + 'approvedrevs-unapproveaction' => 'зьняць зацьверджаньне з вэрсіі старонкі «[[$1]]»', |
| 139 | + 'approvedrevs-notlatest' => 'Гэта зацьверджаная вэрсія гэтай старонкі; гэта не апошняя вэрсія.', |
| 140 | + 'approvedrevs-approvedandlatest' => 'Гэта зацьверджаная вэрсія гэтай старонкі, адначасова яна зьяўляецца апошняй вэрсіяй.', |
| 141 | + 'approvedrevs-viewlatest' => 'Паказаць апошнюю вэрсію.', |
| 142 | + 'approvedrevs-blankpageshown' => 'Для гэтай старонкі няма зацьверджанай вэрсіі.', |
| 143 | + 'approvedrevs-editwarning' => 'Калі ласка, памятайце, што зараз Вы рэдагуеце апошнюю вэрсію гэтай старонкі, якая яшчэ не зьяўляецца зацьверджанай і не паказваецца па змоўчваньні.', |
| 144 | + 'approvedrevs' => 'Зацьверджаныя вэрсіі', |
| 145 | + 'approvedrevs-approvedpages' => 'Зацьверджаныя старонкі', |
| 146 | + 'approvedrevs-notlatestpages' => 'Старонкі, зацьверджаныя вэрсіі якіх не зьяўляюцца апошнімі', |
| 147 | + 'approvedrevs-unapprovedpages' => 'Незацьверджаныя старонкі', |
| 148 | + 'approvedrevs-view' => 'Прагляд:', |
| 149 | + 'approvedrevs-revisionnumber' => 'вэрсія $1', |
| 150 | + 'approvedrevs-approvedby' => 'зацьверджаная $1 $2', |
| 151 | + 'approvedrevs-difffromlatest' => 'адрозьненьне з апошняй', |
| 152 | + 'right-approverevisions' => 'зацьверджаньне вызначаных вэрсіяў вікі-старонак', |
| 153 | + 'right-viewlinktolatest' => 'прагляд тлумачальнага тэксту ў версе старонак, якія маюць зацьверджаныя вэрсіі', |
| 154 | +); |
| 155 | + |
| 156 | +/** Bulgarian (Български) |
| 157 | + * @author DCLXVI |
| 158 | + */ |
| 159 | +$messages['bg'] = array( |
| 160 | + 'approvedrevs-viewlatest' => 'Преглед на най-скорошната редакция.', |
| 161 | + 'approvedrevs' => 'Одобрени редакции', |
| 162 | +); |
| 163 | + |
| 164 | +/** Breton (Brezhoneg) |
| 165 | + * @author Fulup |
| 166 | + * @author Y-M D |
| 167 | + */ |
| 168 | +$messages['br'] = array( |
| 169 | + 'approvedrevs-desc' => 'Na verkañ nemet un adweladenn eus ur bajenn evel aprouet', |
| 170 | + 'approvedrevs-logname' => 'Marilh aprouadennoù an adweladennoù', |
| 171 | + 'approvedrevs-logdesc' => 'Hemañ eo Marilh an adweladennoù bet aprouet.', |
| 172 | + 'approvedrevs-approve' => 'aprouiñ', |
| 173 | + 'approvedrevs-unapprove' => 'dizaprouiñ', |
| 174 | + 'approvedrevs-approvesuccess' => 'An adweladenn-mañ eus ar bajenn eo zo bet merket evel ar stumm aprouet.', |
| 175 | + 'approvedrevs-unapprovesuccess' => "N'eus stumm aprouet ebet ken eus ar bajenn-mañ. |
| 176 | +En e lec'h e vo lakaet an adweladenn nevesañ.", |
| 177 | + 'approvedrevs-unapprovesuccess2' => "N'eus stumm aprouet ebet ken eus ar bajenn-mañ. |
| 178 | +En e lec'h e vo lakaet ur bajenn wenn.", |
| 179 | + 'approvedrevs-approveaction' => 'en deus merket $2 evel adweladenn aprouet "[[$1]]"', |
| 180 | + 'approvedrevs-unapproveaction' => 'en deus nullet merkadur un adweladenn aprouet evit "[[$1]]"', |
| 181 | + 'approvedrevs-notlatest' => "Homañ eo an adweladenn aprouet evit ar bajenn-mañ; n'eo ket ar stumm nevesañ.", |
| 182 | + 'approvedrevs-approvedandlatest' => "Homañ eo an adweladenn aprouet evit ar bajenn-mañ; bez' eo ivez ar stumm nevesañ.", |
| 183 | + 'approvedrevs-viewlatest' => 'Gwelet an adweladenn diwezhañ.', |
| 184 | + 'approvedrevs-blankpageshown' => "N'eus bet aprouet adweladenn ebet evit ar bajenn-mañ.", |
| 185 | + 'approvedrevs-editwarning' => "Taolit evezh emaoc'h o tegas kemmoù e stumm diwezhañ ar bajenn-mañ; n'eo ket hemañ ar stumm aprouet zo lakaet war wel dre ziouer.", |
| 186 | + 'approvedrevs' => 'Adweladennoù degemeret', |
| 187 | + 'approvedrevs-approvedpages' => 'Pajennoù aprouet', |
| 188 | + 'approvedrevs-notlatestpages' => "Pajennoù n'eo ket an adweladennoù aprouet evito ar stumm nevesañ anezho.", |
| 189 | + 'approvedrevs-unapprovedpages' => "Pajennoù n'int ket bet aprouet", |
| 190 | + 'approvedrevs-view' => 'Gwelet :', |
| 191 | + 'approvedrevs-revisionnumber' => 'Adweladenn $1', |
| 192 | + 'approvedrevs-approvedby' => "aprouet gant $1 d'an $2", |
| 193 | + 'approvedrevs-difffromlatest' => "diforc'h e-keñver ar stumm a-vremañ", |
| 194 | + 'right-approverevisions' => 'Merkañ un adweladenn bennak eus ur bajenn wiki evel aprouet', |
| 195 | + 'right-viewlinktolatest' => 'Gwelet an destenn displegañ e penn uhelañ ar pajennoù zo bet aprouet un adweladenn anezho', |
| 196 | +); |
| 197 | + |
| 198 | +/** Bosnian (Bosanski) |
| 199 | + * @author CERminator |
| 200 | + * @author Palapa |
| 201 | + */ |
| 202 | +$messages['bs'] = array( |
| 203 | + 'approvedrevs-desc' => 'Postavljanje jedne revizije stranice kao odobrene', |
| 204 | + 'approvedrevs-logname' => 'Zapisnik odobravanje revizija', |
| 205 | + 'approvedrevs-logdesc' => 'Ovo je zapis revizija koje su odobrene.', |
| 206 | + 'approvedrevs-approve' => 'odobri', |
| 207 | + 'approvedrevs-unapprove' => 'neodobreno', |
| 208 | + 'approvedrevs-approvesuccess' => 'Ova revizija stranice je postavljena kao odobrena verzija.', |
| 209 | + 'approvedrevs-unapprovesuccess' => 'Više ne postoji odobrena verzija ove stranice. |
| 210 | +Umjesto toga, zadnja revizija će biti prikazana.', |
| 211 | + 'approvedrevs-unapprovesuccess2' => 'Više ne postoji odobrena verzija ove stranice. |
| 212 | +Umjesto toga, bit će prikazana prazna stranica.', |
| 213 | + 'approvedrevs-approveaction' => 'postavi $2 kao odobrenu reviziju za "[[$1]]"', |
| 214 | + 'approvedrevs-unapproveaction' => 'ukloni odobrenu reviziju za "[[$1]]"', |
| 215 | + 'approvedrevs-notlatest' => 'Ovo je odobrena verzija ove stranice; to nije najnovija verzija.', |
| 216 | + 'approvedrevs-approvedandlatest' => 'Ovo je odobrena verzija ove stranice, a ujedno i najnovija.', |
| 217 | + 'approvedrevs-viewlatest' => 'Pogledaj zadnju reviziju.', |
| 218 | + 'approvedrevs-blankpageshown' => 'Nijedna revizija nije odobrena za ovu stranicu.', |
| 219 | + 'approvedrevs-editwarning' => 'Molimo vas da imate u vidu da sada uređujete posljednju reviziju ove stranice, koja nije odobrena što je prikazano po postavkama.', |
| 220 | + 'approvedrevs' => 'Odobrene revizije', |
| 221 | + 'approvedrevs-approvedpages' => 'Odobrene stranice', |
| 222 | + 'approvedrevs-notlatestpages' => 'Stranice čija odobrena revizija nije njihova najnovija', |
| 223 | + 'approvedrevs-unapprovedpages' => 'Neodobrene stranice', |
| 224 | + 'approvedrevs-view' => 'Pregled:', |
| 225 | + 'approvedrevs-revisionnumber' => 'revizija $1', |
| 226 | + 'approvedrevs-approvedby' => 'odobreno od strane $1 dana $2', |
| 227 | + 'approvedrevs-difffromlatest' => 'razl od posljednje', |
| 228 | + 'right-approverevisions' => 'Postavi određenu reviziju wiki stranice kao odobrenu', |
| 229 | + 'right-viewlinktolatest' => 'Vidi tekst objašnjenja na vrhu stranica koje imaju odobrenu reviziju', |
| 230 | +); |
| 231 | + |
| 232 | +/** Catalan (Català) |
| 233 | + * @author El libre |
| 234 | + */ |
| 235 | +$messages['ca'] = array( |
| 236 | + 'approvedrevs-desc' => "Estableix una única revisió d'una pàgina com a aprovada", |
| 237 | + 'approvedrevs-logname' => 'Registre de revisions aprovades', |
| 238 | + 'approvedrevs-logdesc' => 'Aquest és el registre de les revisions que han estat aprovades.', |
| 239 | + 'approvedrevs-approve' => 'aprova', |
| 240 | + 'approvedrevs-unapprove' => 'desaprova', |
| 241 | + 'approvedrevs-approvesuccess' => 'Aquesta revisió de la pàgina ha estat establerta com la versió aprovada.', |
| 242 | + 'approvedrevs-approveaction' => 'estableix $2 com la revisió aprovada per a "[[$1]]"', |
| 243 | + 'approvedrevs-unapproveaction' => 'deixa d\'establir la revisió aprovada per a "[[$1]]"', |
| 244 | + 'approvedrevs-notlatest' => "Aquesta és la revisió aprovada d'aquesta pàgina, no la més recent.", |
| 245 | + 'approvedrevs-approvedandlatest' => "Aquesta és la revisió aprovada d'aquesta pàgina, així com la més recent.", |
| 246 | + 'approvedrevs-viewlatest' => 'Veure revisió més recent.', |
| 247 | + 'approvedrevs-blankpageshown' => 'Cap revisió ha estat aprovat per aquesta pàgina.', |
| 248 | + 'approvedrevs' => 'Revisions aprovades', |
| 249 | + 'approvedrevs-approvedpages' => 'Totes les pàgines amb una revisió aprovada', |
| 250 | + 'approvedrevs-notlatestpages' => 'Pàgines les quals la seva versió aprovada no és la més recent', |
| 251 | + 'approvedrevs-unapprovedpages' => 'Pàgines no aprovades', |
| 252 | + 'approvedrevs-view' => 'Veure:', |
| 253 | + 'approvedrevs-revisionnumber' => 'revisió $1', |
| 254 | + 'approvedrevs-approvedby' => 'aprovat per $1 el $2', |
| 255 | + 'approvedrevs-difffromlatest' => 'difereix del darrer', |
| 256 | + 'right-approverevisions' => "Estableix una certa revisió d'una pàgina wiki com aprovada", |
| 257 | + 'right-viewlinktolatest' => 'Veure un text explicatiu en la part superior per a les pàgines que han aprovat una revisió', |
| 258 | +); |
| 259 | + |
| 260 | +/** Chechen (Нохчийн) |
| 261 | + * @author Sasan700 |
| 262 | + */ |
| 263 | +$messages['ce'] = array( |
| 264 | + 'approvedrevs-view' => 'Хьажа:', |
| 265 | +); |
| 266 | + |
| 267 | +/** Czech (Česky) */ |
| 268 | +$messages['cs'] = array( |
| 269 | + 'approvedrevs-approve' => 'schválit', |
| 270 | +); |
| 271 | + |
| 272 | +/** German (Deutsch) |
| 273 | + * @author Kghbln |
| 274 | + */ |
| 275 | +$messages['de'] = array( |
| 276 | + 'approvedrevs-desc' => 'Ermöglicht es, stets eine bestimmte Version einer Seite als bestätigte Version anzuzeigen', |
| 277 | + 'approvedrevs-logname' => 'Versionsbestätigungs-Logbuch', |
| 278 | + 'approvedrevs-logdesc' => 'In diesem Logbuch werden die Versionsbestätigungen von Seiten protokolliert.', |
| 279 | + 'approvedrevs-approve' => 'bestätigen', |
| 280 | + 'approvedrevs-unapprove' => 'ablehnen', |
| 281 | + 'approvedrevs-approvesuccess' => 'Diese Version der Seite wurde als bestätigte Version festgelegt.', |
| 282 | + 'approvedrevs-unapprovesuccess' => 'Nunmehr gibt es keine bestätigte Version dieser Seite. |
| 283 | +Stattdessen wird die neueste Version angezeigt.', |
| 284 | + 'approvedrevs-unapprovesuccess2' => 'Nunmehr gibt es keine bestätigte Version dieser Seite. |
| 285 | +Stattdessen wird eine leere Seite angezeigt.', |
| 286 | + 'approvedrevs-approveaction' => '$2 als bestätigte Version für „[[$1]]“ festlegen', |
| 287 | + 'approvedrevs-unapproveaction' => 'bestätigte Version für „[[$1]]“ zurücknehmen', |
| 288 | + 'approvedrevs-notlatest' => 'Dies ist die bestätigte Version dieser Seite, allerdings nicht die neueste Version.', |
| 289 | + 'approvedrevs-approvedandlatest' => 'Dies ist die bestätigte sowie die neueste Version dieser Seite.', |
| 290 | + 'approvedrevs-viewlatest' => 'Die neueste Version ansehen.', |
| 291 | + 'approvedrevs-blankpageshown' => 'Keine Version dieser Seite wurde bislang bestätigt.', |
| 292 | + 'approvedrevs-editwarning' => 'Beachte bitte, dass du gerade die neueste Version dieser Seite bearbeitest. Sie entspricht nicht der bestätigten Version, die standardmäßig angezeigt wird.', |
| 293 | + 'approvedrevs' => 'Bestätigte Versionen', |
| 294 | + 'approvedrevs-approvedpages' => 'Bestätigte Seiten', |
| 295 | + 'approvedrevs-notlatestpages' => 'Seiten, deren bestätigte Version nicht die Neueste ist', |
| 296 | + 'approvedrevs-unapprovedpages' => 'Nicht bestätigte Seiten', |
| 297 | + 'approvedrevs-view' => 'Ansehen:', |
| 298 | + 'approvedrevs-revisionnumber' => 'Version $1', |
| 299 | + 'approvedrevs-approvedby' => 'von $1 am $2 bestätigt', |
| 300 | + 'approvedrevs-difffromlatest' => 'Unterschied zur neuesten Version', |
| 301 | + 'right-approverevisions' => 'Eine bestimmte Version einer Wikiseite als bestätigt festlegen', |
| 302 | + 'right-viewlinktolatest' => 'Erläuternde Hinweise im Kopf der Seiten anzeigen, die eine bestätigte Version haben.', |
| 303 | +); |
| 304 | + |
| 305 | +/** German (formal address) (Deutsch (Sie-Form)) |
| 306 | + * @author Kghbln |
| 307 | + */ |
| 308 | +$messages['de-formal'] = array( |
| 309 | + 'approvedrevs-editwarning' => 'Beachten Sie bitte, dass Sie gerade die neueste Version dieser Seite bearbeiten. Sie entspricht nicht der bestätigten Version, die standardmäßig angezeigt wird.', |
| 310 | +); |
| 311 | + |
| 312 | +/** Lower Sorbian (Dolnoserbski) |
| 313 | + * @author Michawiki |
| 314 | + */ |
| 315 | +$messages['dsb'] = array( |
| 316 | + 'approvedrevs-desc' => 'Wěstu wersiju boka ako pśizwólonu nastajiś', |
| 317 | + 'approvedrevs-logname' => 'Protokol pśizwólonych wersijow', |
| 318 | + 'approvedrevs-logdesc' => 'To jo protokol wersijow, kótarež su se pśizwólili.', |
| 319 | + 'approvedrevs-approve' => 'pśizwóliś', |
| 320 | + 'approvedrevs-unapprove' => 'zakazaś', |
| 321 | + 'approvedrevs-approvesuccess' => 'Toś ta wersija boka jo se ako pśizwólona wersija nastajiła.', |
| 322 | + 'approvedrevs-unapprovesuccess' => 'Njejo wěcej pśizwólona wersija za toś ten bok. |
| 323 | +Město togo nejnowša wersija se pokažo.', |
| 324 | + 'approvedrevs-unapprovesuccess2' => 'Njejo wěcej wobkšuśona wersija za toś ten bok. |
| 325 | +Město togo prozna wersija se pokažo.', |
| 326 | + 'approvedrevs-approveaction' => '$2 ako pśizwólonu wersiju za "[[$1]]" nastajiś', |
| 327 | + 'approvedrevs-unapproveaction' => 'Pśizwólonu wersiju za "[[$1]]" anulěrowaś', |
| 328 | + 'approvedrevs-notlatest' => 'To jo pśizwólona wersija toś togo boka; njejo nejnowša.', |
| 329 | + 'approvedrevs-approvedandlatest' => 'To jo pśizwólona wersija toś togo boka a teke nejnowša.', |
| 330 | + 'approvedrevs-viewlatest' => 'Nejnowšu wersiju pokazaś', |
| 331 | + 'approvedrevs-blankpageshown' => 'Za toś ten bok njejo se žedna wersija wobkšuśiła.', |
| 332 | + 'approvedrevs-editwarning' => 'Pšosym źiwaj na to, až wobźěłujoš něnto nejnowšu wersiju toś togo boka, kótaraž njejo wobkšuśona, kotraž so pó standarźe pokazujo.', |
| 333 | + 'approvedrevs' => 'Wobkšuśone wersije', |
| 334 | + 'approvedrevs-approvedpages' => 'Pśizwólone boki', |
| 335 | + 'approvedrevs-notlatestpages' => 'Boki, kótarychž pśizwólona wersija jo nejnowša', |
| 336 | + 'approvedrevs-unapprovedpages' => 'Njewobkšuśone boki', |
| 337 | + 'approvedrevs-view' => 'Naglěd:', |
| 338 | + 'approvedrevs-revisionnumber' => 'wersija $1', |
| 339 | + 'approvedrevs-approvedby' => 'wót $1 dnja $2 wobkšuśona', |
| 340 | + 'approvedrevs-difffromlatest' => 'Rozdźěl k nejnowšej wersiji', |
| 341 | + 'right-approverevisions' => 'Wěstu wersiju wikiboka ako pśizwólonu nastajiś', |
| 342 | + 'right-viewlinktolatest' => 'Tekst wujasnjenja górjejce na bokach pokazaś, kótarež maju pśizwólonu wersiju', |
| 343 | +); |
| 344 | + |
| 345 | +/** Greek (Ελληνικά) |
| 346 | + * @author Περίεργος |
| 347 | + */ |
| 348 | +$messages['el'] = array( |
| 349 | + 'approvedrevs-desc' => 'Καθορίζει μια ενιαία αναθεώρηση μιας σελίδας όπως έχει εγκριθεί', |
| 350 | + 'approvedrevs-logname' => 'Ημερολόγιο καταγραφής της αποδοχής των αναθεωρήσεων', |
| 351 | + 'approvedrevs-logdesc' => 'Αυτό είναι το ημερολόγιο των αναθεωρήσεων που έχουν εγκριθεί.', |
| 352 | + 'approvedrevs-approve' => 'έγκριση', |
| 353 | + 'approvedrevs-unapprove' => 'μη έγκριση', |
| 354 | + 'approvedrevs-approvesuccess' => 'Αυτή η αναθεώρηση της σελίδας έχει οριστεί ως η εγκεκριμένη έκδοση.', |
| 355 | + 'approvedrevs-unapprovesuccess' => 'Δεν υπάρχει πλέον μια εγκεκριμένη έκδοση για αυτή τη σελίδα. |
| 356 | +Σε αντικατάσταση, θα εμφανιστεί η πιο πρόσφατη αναθεώρηση.', |
| 357 | + 'approvedrevs-notlatest' => 'Αυτή είναι η εγκεκριμένη αναθεώρηση αυτής της σελίδας· δεν είναι η πιο πρόσφατη.', |
| 358 | + 'approvedrevs-approvedandlatest' => 'Αυτή είναι η εγκεκριμένη αναθεώρηση αυτής της σελίδας, καθώς και η πιο πρόσφατη.', |
| 359 | + 'approvedrevs-viewlatest' => 'Δείτε την πιο πρόσφατη αναθεώρηση.', |
| 360 | + 'approvedrevs-approvedpages' => 'Εγκεκριμένες σελίδες', |
| 361 | + 'approvedrevs-notlatestpages' => 'Αυτή είναι η εγκεκριμένη αναθεώρηση αυτής της σελίδας· δεν είναι η πιο πρόσφατη.', |
| 362 | + 'right-viewlinktolatest' => 'Προβολή επεξηγηματικού κειμένου στο επάνω μέρος των σελίδων που έχουν εγκεκριμένη αναθεώρηση', |
| 363 | +); |
| 364 | + |
| 365 | +/** Esperanto (Esperanto) |
| 366 | + * @author Yekrats |
| 367 | + */ |
| 368 | +$messages['eo'] = array( |
| 369 | + 'approvedrevs-desc' => 'Marki solan revizion de paĝo kiel aprobita', |
| 370 | + 'approvedrevs-logname' => 'Protokolo pri aprobado de revizioj', |
| 371 | + 'approvedrevs-logdesc' => 'Jen protokolo de revizioj aprobitaj.', |
| 372 | + 'approvedrevs-approve' => 'aprobi', |
| 373 | + 'approvedrevs-unapprove' => 'malaprobi', |
| 374 | + 'approvedrevs-approvesuccess' => 'Ĉi tiu revizio de la paĝo estis aprobita kiel la aprobita versio.', |
| 375 | + 'approvedrevs-unapprovesuccess' => 'Ne plu estas aprobita versio por ĉi tiu paĝo. |
| 376 | +Anstataŭe, la plej lasta revizio estos montrita.', |
| 377 | + 'approvedrevs-unapprovesuccess2' => 'Ne plu estas aprobita verzio de ĉi tiu paĝo. |
| 378 | +Anstataŭe, nula paĝo estos montrita.', |
| 379 | + 'approvedrevs-approveaction' => 'Establi $2 kiel la aprobita revizio por "[[$1]]"', |
| 380 | + 'approvedrevs-unapproveaction' => 'malestabli apbrobitan revizion por "[[$1]]"', |
| 381 | + 'approvedrevs-notlatest' => 'Jen la aprobita revizio de ĉi tiu paĝo; ĝi ne estas la plej lastatempa.', |
| 382 | + 'approvedrevs-approvedandlatest' => 'Jen la aprobita revizio de ĉi tiu paĝo, kaj ankaŭ estis la plej lastatempa.', |
| 383 | + 'approvedrevs-viewlatest' => 'Vidi plej lastan revizion.', |
| 384 | + 'approvedrevs-blankpageshown' => 'Neniu revizio estis aprobita por ĉi tiu paĝo.', |
| 385 | + 'approvedrevs' => 'Aprobitaj revizioj', |
| 386 | + 'approvedrevs-approvedpages' => 'Aprobitaj paĝoj', |
| 387 | + 'approvedrevs-notlatestpages' => 'Paĝoj kies aprobita revizio ne estas la plej lasta.', |
| 388 | + 'approvedrevs-unapprovedpages' => 'Malaprobitaj paĝoj', |
| 389 | + 'approvedrevs-view' => 'Vidi:', |
| 390 | + 'approvedrevs-revisionnumber' => 'revizio $1', |
| 391 | + 'approvedrevs-approvedby' => 'aprobita de $1 je $2', |
| 392 | + 'approvedrevs-difffromlatest' => 'Diferenco de la lasta revizio', |
| 393 | +); |
| 394 | + |
| 395 | +/** Spanish (Español) |
| 396 | + * @author Crazymadlover |
| 397 | + * @author Dferg |
| 398 | + * @author Jurock |
| 399 | + * @author Locos epraix |
| 400 | + * @author Translationista |
| 401 | + */ |
| 402 | +$messages['es'] = array( |
| 403 | + 'approvedrevs-desc' => 'Establecer una revisión única de una página como aprovada', |
| 404 | + 'approvedrevs-logname' => 'Registro de revisiones aprobadas', |
| 405 | + 'approvedrevs-logdesc' => 'Este es el registro de las revisiones que han sido aprobadas.', |
| 406 | + 'approvedrevs-approve' => 'aprobar', |
| 407 | + 'approvedrevs-unapprove' => 'desaprobar', |
| 408 | + 'approvedrevs-approvesuccess' => 'Esta revisión de la página ha sido establecida como la versión aprobada.', |
| 409 | + 'approvedrevs-unapprovesuccess' => 'Ya no hay una versión aprobada para esta página. |
| 410 | +En su lugar, se muestra la revisión más reciente.', |
| 411 | + 'approvedrevs-unapprovesuccess2' => 'Ya no hay una versión aprobada para esta página. |
| 412 | +En su lugar, se mostrará una página en blanco.', |
| 413 | + 'approvedrevs-approveaction' => 'establecer $2 como la revisión aprobada para para "[[$1]]"', |
| 414 | + 'approvedrevs-unapproveaction' => 'desestablecer la revisión aprobada para "[[$1]]"', |
| 415 | + 'approvedrevs-notlatest' => 'Esta es la revisión aprobada de esta página, no es la más reciente.', |
| 416 | + 'approvedrevs-approvedandlatest' => 'Esta es la revisión aprobada de esta página, siendo también la más reciente.', |
| 417 | + 'approvedrevs-viewlatest' => 'Ver revisión más reciente.', |
| 418 | + 'approvedrevs-blankpageshown' => 'No se ha aprobado una revisión de esta página.', |
| 419 | + 'approvedrevs-editwarning' => 'Tenga en cuenta que ahora está editando la última revisión de esta página, que no es la aprobada, que es la que se muestra de forma predeterminada.', |
| 420 | + 'approvedrevs' => 'Revisiones aprobadas', |
| 421 | + 'approvedrevs-approvedpages' => 'Páginas aprobadas', |
| 422 | + 'approvedrevs-notlatestpages' => 'Páginas cuya revisión aprobada no es la más reciente', |
| 423 | + 'approvedrevs-unapprovedpages' => 'Páginas reprobadas', |
| 424 | + 'approvedrevs-view' => 'Ver:', |
| 425 | + 'approvedrevs-revisionnumber' => 'revisión $1', |
| 426 | + 'approvedrevs-approvedby' => 'autorizada por $1 a las $2', |
| 427 | + 'approvedrevs-difffromlatest' => 'diff con la última revisión', |
| 428 | + 'right-approverevisions' => 'Establecer una cierta revisión de una página wiki como aprobada', |
| 429 | + 'right-viewlinktolatest' => 'Ver texto explicativo en la parte superior de las páginas que tienen una revisión aprobada', |
| 430 | +); |
| 431 | + |
| 432 | +/** Persian (فارسی) |
| 433 | + * @author Mjbmr |
| 434 | + */ |
| 435 | +$messages['fa'] = array( |
| 436 | + 'approvedrevs-view' => 'مشاهده:', |
| 437 | +); |
| 438 | + |
| 439 | +/** Finnish (Suomi) |
| 440 | + * @author Centerlink |
| 441 | + * @author Crt |
| 442 | + * @author Nike |
| 443 | + */ |
| 444 | +$messages['fi'] = array( |
| 445 | + 'approvedrevs-desc' => 'Aseta yksittäinen sivuversio hyväksytyksi', |
| 446 | + 'approvedrevs-logname' => 'Versiohyväksynnän loki', |
| 447 | + 'approvedrevs-logdesc' => 'Tämä on hyväksyttyjen versioiden loki.', |
| 448 | + 'approvedrevs-approve' => 'hyväksy', |
| 449 | + 'approvedrevs-unapprove' => 'älä hyväksy', |
| 450 | + 'approvedrevs-approvesuccess' => 'Tämä sivuversio on asetettu hyväksytyksi versioksi.', |
| 451 | + 'approvedrevs-unapprovesuccess' => 'Tästä sivusta ei ole enää hyväksyttyä versiota. |
| 452 | +Sen sijaan, viimeisin versio näytetään.', |
| 453 | + 'approvedrevs-notlatest' => 'Tämä on tämän sivun hyväksytty versio; se ei ole viimeisin.', |
| 454 | + 'approvedrevs-approvedandlatest' => 'Tämä on tämän sivun hyväksytty ja samalla viimeisin versio.', |
| 455 | + 'approvedrevs-viewlatest' => 'Näytä viimeisin versio.', |
| 456 | + 'approvedrevs-approvedpages' => 'Hyväksytyt sivut', |
| 457 | + 'approvedrevs-notlatestpages' => 'Sivut, joiden hyväksytty versio ei ole viimeisin', |
| 458 | + 'right-approverevisions' => 'Asettaa wikisivun tietty versio hyväksytyksi', |
| 459 | + 'right-viewlinktolatest' => 'Nähdä selittävä teksti niiden sivujen yläosassa, joilla on hyväksytty versio', |
| 460 | +); |
| 461 | + |
| 462 | +/** French (Français) |
| 463 | + * @author Peter17 |
| 464 | + */ |
| 465 | +$messages['fr'] = array( |
| 466 | + 'approvedrevs-desc' => 'Marquer une seule révision d’une page comme approuvée', |
| 467 | + 'approvedrevs-logname' => 'Journal des approbations de révisions', |
| 468 | + 'approvedrevs-logdesc' => 'Ceci est le journal des révisions qui ont été marquées comme approuvées.', |
| 469 | + 'approvedrevs-approve' => 'approuver', |
| 470 | + 'approvedrevs-unapprove' => 'désapprouver', |
| 471 | + 'approvedrevs-approvesuccess' => 'Cette révision de la page a été marquée comme étant la version approuvée.', |
| 472 | + 'approvedrevs-unapprovesuccess' => 'Il n’y a plus de version approuvée de cette page. |
| 473 | +À la place, la révision la plus récente sera affichée.', |
| 474 | + 'approvedrevs-unapprovesuccess2' => 'Il n’y a plus de version approuvée de cette page. |
| 475 | +À la place, une page vide sera affichée.', |
| 476 | + 'approvedrevs-approveaction' => 'a marqué $2 comme la révision approuvée de « [[$1]] »', |
| 477 | + 'approvedrevs-unapproveaction' => 'a annulé le marquage d’une révision approuvée pour « [[$1]] »', |
| 478 | + 'approvedrevs-notlatest' => 'Ceci est la révision approuvée de cette page. Ce n’est pas la plus récente.', |
| 479 | + 'approvedrevs-approvedandlatest' => 'Ceci est la révision approuvée de la page, et aussi la plus récente.', |
| 480 | + 'approvedrevs-viewlatest' => 'Voir la révision la plus récente.', |
| 481 | + 'approvedrevs-blankpageshown' => 'Aucune version n’a été approuvée pour cette page.', |
| 482 | + 'approvedrevs-editwarning' => "Veuillez noter que vous modifiez actuellement la dernière version de cette page, qui n'est pas celle approuvée affichée par défaut.", |
| 483 | + 'approvedrevs' => 'Révisions approuvées', |
| 484 | + 'approvedrevs-approvedpages' => 'Pages approuvées', |
| 485 | + 'approvedrevs-notlatestpages' => 'Pages dont la révision approuvée n’est pas la plus récente', |
| 486 | + 'approvedrevs-unapprovedpages' => 'Pages non approuvées', |
| 487 | + 'approvedrevs-view' => 'Voir :', |
| 488 | + 'approvedrevs-revisionnumber' => 'modification $1', |
| 489 | + 'approvedrevs-approvedby' => 'approuvé par $1 le $2', |
| 490 | + 'approvedrevs-difffromlatest' => 'diff par rapport à actuel', |
| 491 | + 'right-approverevisions' => 'Marquer une révision précise d’une page comme approuvée', |
| 492 | + 'right-viewlinktolatest' => 'Voir le texte explicatif en haut des pages qui ont une révision approuvée', |
| 493 | +); |
| 494 | + |
| 495 | +/** Franco-Provençal (Arpetan) |
| 496 | + * @author ChrisPtDe |
| 497 | + */ |
| 498 | +$messages['frp'] = array( |
| 499 | + 'approvedrevs-logname' => 'Jornal de les aprobacions de vèrsions', |
| 500 | + 'approvedrevs-approve' => 'aprovar', |
| 501 | + 'approvedrevs-unapprove' => 'dèsaprovar', |
| 502 | + 'approvedrevs-approveaction' => 'at marcâ $2 coment la vèrsion aprovâ de « [[$1]] »', |
| 503 | + 'approvedrevs-unapproveaction' => 'at anulâ lo marcâjo d’una vèrsion aprovâ por « [[$1]] »', |
| 504 | + 'approvedrevs-viewlatest' => 'Vêre la vèrsion la ples novèla.', |
| 505 | + 'approvedrevs-approvedpages' => 'Pâges aprovâs', |
| 506 | + 'approvedrevs-unapprovedpages' => 'Pâges pas aprovâs', |
| 507 | +); |
| 508 | + |
| 509 | +/** Galician (Galego) |
| 510 | + * @author Toliño |
| 511 | + */ |
| 512 | +$messages['gl'] = array( |
| 513 | + 'approvedrevs-desc' => 'Marcar como aprobada unha única revisión dunha páxina', |
| 514 | + 'approvedrevs-logname' => 'Rexistro de aprobación de revisións', |
| 515 | + 'approvedrevs-logdesc' => 'Este é o rexistro das revisións aprobadas.', |
| 516 | + 'approvedrevs-approve' => 'aprobar', |
| 517 | + 'approvedrevs-unapprove' => 'desaprobar', |
| 518 | + 'approvedrevs-approvesuccess' => 'Esta é a revisión aprobada da páxina.', |
| 519 | + 'approvedrevs-unapprovesuccess' => 'Esta páxina xa non ten ningunha versión aprobada. |
| 520 | +No canto dela, móstrase a revisión máis recente.', |
| 521 | + 'approvedrevs-unapprovesuccess2' => 'Esta páxina xa non ten ningunha versión aprobada. |
| 522 | +No canto dela, móstrase unha páxina en branco.', |
| 523 | + 'approvedrevs-approveaction' => 'marcou $2 como a revisión aprobada de "[[$1]]"', |
| 524 | + 'approvedrevs-unapproveaction' => 'anulou unha revisión aprobada de "[[$1]]"', |
| 525 | + 'approvedrevs-notlatest' => 'Esta é a revisión aprobada da páxina, pero non é a máis recente.', |
| 526 | + 'approvedrevs-approvedandlatest' => 'Esta é a revisión aprobada da páxina, e tamén a máis recente.', |
| 527 | + 'approvedrevs-viewlatest' => 'Ollar a revisión máis recente.', |
| 528 | + 'approvedrevs-blankpageshown' => 'Esta páxina non ten ningunha revisión aprobada.', |
| 529 | + 'approvedrevs-editwarning' => 'Teña en conta que está a editar a última revisión desta páxina, e non a aprobada que se mostra por defecto.', |
| 530 | + 'approvedrevs' => 'Revisións aprobadas', |
| 531 | + 'approvedrevs-approvedpages' => 'Todas as páxinas cunha revisión aprobada', |
| 532 | + 'approvedrevs-notlatestpages' => 'Páxinas cuxa revisión aprobada non é a máis recente', |
| 533 | + 'approvedrevs-unapprovedpages' => 'Páxinas suspendidas', |
| 534 | + 'approvedrevs-view' => 'Ver:', |
| 535 | + 'approvedrevs-revisionnumber' => 'revisión $1', |
| 536 | + 'approvedrevs-approvedby' => 'aprobada por $1 o $2', |
| 537 | + 'approvedrevs-difffromlatest' => 'diferenzas coa última', |
| 538 | + 'right-approverevisions' => 'Marcar como aprobada unha revisión específica dunha páxina do wiki', |
| 539 | + 'right-viewlinktolatest' => 'Ollar o texto explicativo ao comezo das páxinas que posúen unha revisión aprobada', |
| 540 | +); |
| 541 | + |
| 542 | +/** Swiss German (Alemannisch) |
| 543 | + * @author Als-Holder |
| 544 | + */ |
| 545 | +$messages['gsw'] = array( |
| 546 | + 'approvedrevs-desc' => 'E Version vun eree Syte as „aagluegt“ markiere', |
| 547 | + 'approvedrevs-logname' => 'Versions-Markierigs-Logbuech', |
| 548 | + 'approvedrevs-logdesc' => 'Des isch s Logbuech vu dr aagluegte Version', |
| 549 | + 'approvedrevs-approve' => "As ''aagluegt'' markiere", |
| 550 | + 'approvedrevs-unapprove' => 'nit frejgee', |
| 551 | + 'approvedrevs-approvesuccess' => 'Die Version vu dr Syte isch as „aagluegti Version“ gsetzt wore.', |
| 552 | + 'approvedrevs-unapprovesuccess' => 'S git kei bstetigti Version me vu däre Syte. |
| 553 | +Statt däm wird di nejscht Version aazeigt.', |
| 554 | + 'approvedrevs-unapprovesuccess2' => 'S git kei bstetigti Version me vu däre Syte. |
| 555 | +Statt däm wird e lääri Syte aazeigt.', |
| 556 | + 'approvedrevs-approveaction' => '$2 as aaglugti Version fir „[[$1]]“ setze', |
| 557 | + 'approvedrevs-unapproveaction' => 'd Markierig as aagluegti Version fir „[[$1]]“ uuseneh', |
| 558 | + 'approvedrevs-notlatest' => 'Des isch di aagluegt Version vu däre Syte; s isch nit di nejscht Version.', |
| 559 | + 'approvedrevs-approvedandlatest' => 'Des isch di aagluegt Version vu däre Syte un au di nejscht.', |
| 560 | + 'approvedrevs-viewlatest' => 'Di nejscht Version aaluege.', |
| 561 | + 'approvedrevs-blankpageshown' => 'Kei Version vu däre Syte isch bishär bstetigt wore.', |
| 562 | + 'approvedrevs-editwarning' => 'Bitte gib Acht, ass Du grad an dr nejschte Version vu däre Syte schaffsch. Des isch nit di bstetigt Version, wu standardmäßig aazeigt wird.', |
| 563 | + 'approvedrevs' => 'Aagluegti Versione', |
| 564 | + 'approvedrevs-approvedpages' => 'Aagluegti Syte', |
| 565 | + 'approvedrevs-notlatestpages' => 'Syte, wu di aagluegt Version nit di nejscht isch', |
| 566 | + 'approvedrevs-unapprovedpages' => 'Nit bstetigti Syte', |
| 567 | + 'approvedrevs-view' => 'Aaluege:', |
| 568 | + 'approvedrevs-revisionnumber' => 'Version $1', |
| 569 | + 'approvedrevs-approvedby' => 'vu $1 am $2 bstetigt', |
| 570 | + 'approvedrevs-difffromlatest' => 'Unterschid zue dr nejschte Version', |
| 571 | + 'right-approverevisions' => 'E sicheri Version vun ere Wikisyte as aagluegt markiere', |
| 572 | + 'right-viewlinktolatest' => 'Dr Erklerigstext aaluege obe uf Syte, wu s e aagluegti Version git', |
| 573 | +); |
| 574 | + |
| 575 | +/** Hebrew (עברית) |
| 576 | + * @author Amire80 |
| 577 | + */ |
| 578 | +$messages['he'] = array( |
| 579 | + 'approvedrevs-desc' => 'הגדרת גרסה אחת של דף כגרסה מאושרת', |
| 580 | + 'approvedrevs-logname' => 'יומן אישור גרסאות', |
| 581 | + 'approvedrevs-logdesc' => 'זהו יומן של גרסאות שאושרו.', |
| 582 | + 'approvedrevs-approve' => 'לאשר', |
| 583 | + 'approvedrevs-unapprove' => 'לבטל אישור', |
| 584 | + 'approvedrevs-approvesuccess' => 'הגרסה הזאת של הדף הוגדרה כגרסה מאושרת.', |
| 585 | + 'approvedrevs-unapprovesuccess' => 'אין עוד גרסה מאושרת לדף זה. |
| 586 | +במקום זאת תוצג הגרסה העדכנית ביותר.', |
| 587 | + 'approvedrevs-unapprovesuccess2' => 'אין עוד גרסה מאושרת לדף זה. |
| 588 | +במקום זאת יוצג דף ריק.', |
| 589 | + 'approvedrevs-approveaction' => 'להגדיר את $2 בתור הגרסה המאושרת עבור "[[$1]]"', |
| 590 | + 'approvedrevs-unapproveaction' => 'לבטל אישור גרסה עבור "[[$1]]"', |
| 591 | + 'approvedrevs-notlatest' => 'זוהי הגרסה המאושרת של הדף הזה; היא לא העדכנית ביותר.', |
| 592 | + 'approvedrevs-approvedandlatest' => 'זוהי הגרסה המאושרת של הדף הזה, והיא גם העדכנית ביותר.', |
| 593 | + 'approvedrevs-viewlatest' => 'להציג את הגרסה העדכנית ביותר.', |
| 594 | + 'approvedrevs-blankpageshown' => 'שום גרסה של דף זה לא אושרה.', |
| 595 | + 'approvedrevs-editwarning' => 'יש לשים לב לכך שעכשיו נערכת הגרסה העדכנית ביותר של הדף הזה, ולא המאושרת שמוצגת כבררת מחדל.', |
| 596 | + 'approvedrevs' => 'גרסאות מאושרות', |
| 597 | + 'approvedrevs-approvedpages' => 'כל הדפים עם גרסה מאושרת', |
| 598 | + 'approvedrevs-notlatestpages' => 'דפים שהגרסה המאושרת שלהם אינה הגרסה העדכנית ביותר', |
| 599 | + 'approvedrevs-unapprovedpages' => 'דפים לא מאושרים', |
| 600 | + 'approvedrevs-view' => 'תצוגה:', |
| 601 | + 'approvedrevs-revisionnumber' => 'גרסה $1', |
| 602 | + 'approvedrevs-approvedby' => 'אושר על־ידי $1 ב־$2', |
| 603 | + 'approvedrevs-difffromlatest' => 'השוואה עם הגרסה האחרונה', |
| 604 | + 'right-approverevisions' => 'הגדר גרסה מסוימת של דף הוויקי כמאושרת', |
| 605 | + 'right-viewlinktolatest' => 'הצגת הסבר בחלק העליון של העמודים שיש להם גרסה מאושרת', |
| 606 | +); |
| 607 | + |
| 608 | +/** Upper Sorbian (Hornjoserbsce) |
| 609 | + * @author Michawiki |
| 610 | + */ |
| 611 | +$messages['hsb'] = array( |
| 612 | + 'approvedrevs-desc' => 'Jednotliwu wersiju strony jako schwalenu stajić', |
| 613 | + 'approvedrevs-logname' => 'Protokol schwalenja wersijow', |
| 614 | + 'approvedrevs-logdesc' => 'To je protokol wersije, kotrež buchu schwalene.', |
| 615 | + 'approvedrevs-approve' => 'schwalić', |
| 616 | + 'approvedrevs-unapprove' => 'zakazać', |
| 617 | + 'approvedrevs-approvesuccess' => 'Tuta wersija strony je so jako schwalena wersija stajiła.', |
| 618 | + 'approvedrevs-unapprovesuccess' => 'Schwalena wersija za tutu stronu wjace njeje. |
| 619 | +Město toho so najnowša wersija pokaza.', |
| 620 | + 'approvedrevs-unapprovesuccess2' => 'Schwalena wersija za tutu stronu wjace njeje. |
| 621 | +Město toho so prózdna strona pokaza.', |
| 622 | + 'approvedrevs-approveaction' => 'je $2 jako schwalenu wersiju za "[[$1]]" nastajił', |
| 623 | + 'approvedrevs-unapproveaction' => 'je status schwalena wersija za "[[$1]]" wotstronił', |
| 624 | + 'approvedrevs-notlatest' => 'To je schwalena wersija tuteje strony; njeje najnowša.', |
| 625 | + 'approvedrevs-approvedandlatest' => 'To je schwalena wersija tuteje strony, kotraž je tež najnowša.', |
| 626 | + 'approvedrevs-viewlatest' => 'Najnowšu wersiju pokazać', |
| 627 | + 'approvedrevs-blankpageshown' => 'Za tutu stronu njeje so žana wersija schwaliła.', |
| 628 | + 'approvedrevs-editwarning' => 'Prošu dźiwaj na to, zo nětko wobdźěłuješ najnowšu wersiju strony, kotraž schwalenej, kotraž so jako standard pokazuje, njewotpowěduje.', |
| 629 | + 'approvedrevs' => 'Schwalene wersije', |
| 630 | + 'approvedrevs-approvedpages' => 'Schwalene wersije', |
| 631 | + 'approvedrevs-notlatestpages' => 'Strony, kotrychž wersija njeje jich najnowša', |
| 632 | + 'approvedrevs-unapprovedpages' => 'Njeschwalene strony', |
| 633 | + 'approvedrevs-view' => 'Wobhladać sej', |
| 634 | + 'approvedrevs-revisionnumber' => 'wersija $1', |
| 635 | + 'approvedrevs-approvedby' => 'wot $1 dnja $2 schwalena', |
| 636 | + 'approvedrevs-difffromlatest' => 'rozdźěl k najnowšej wersiji', |
| 637 | + 'right-approverevisions' => 'Wěstu wersiju wikistrony jako schwalenu nastajić', |
| 638 | + 'right-viewlinktolatest' => 'Rozłožowacy tekst horjeka na stronach pokazać, kotrež maja schwalenu wersiju.', |
| 639 | +); |
| 640 | + |
| 641 | +/** Hungarian (Magyar) |
| 642 | + * @author Misibacsi |
| 643 | + */ |
| 644 | +$messages['hu'] = array( |
| 645 | + 'approvedrevs-approve' => 'elfogadás', |
| 646 | + 'approvedrevs-approvedpages' => 'Ellenőrzött lapok', |
| 647 | +); |
| 648 | + |
| 649 | +/** Interlingua (Interlingua) |
| 650 | + * @author McDutchie |
| 651 | + */ |
| 652 | +$messages['ia'] = array( |
| 653 | + 'approvedrevs-desc' => 'Marcar un sol version de un pagina como approbate', |
| 654 | + 'approvedrevs-logname' => 'Registro de approbation de versiones', |
| 655 | + 'approvedrevs-logdesc' => 'Isto es le registro del versiones que ha essite approbate.', |
| 656 | + 'approvedrevs-approve' => 'approbar', |
| 657 | + 'approvedrevs-unapprove' => 'disapprobar', |
| 658 | + 'approvedrevs-approvesuccess' => 'Iste version del pagina ha essite marcate como le version approbate.', |
| 659 | + 'approvedrevs-unapprovesuccess' => 'Il non ha plus un version approbate de iste pagina. |
| 660 | +In loco de illo, le version le plus recente essera monstrate.', |
| 661 | + 'approvedrevs-unapprovesuccess2' => 'Il non ha plus un version approbate de iste pagina. |
| 662 | +In loco de illo, un pagina vacue essera monstrate.', |
| 663 | + 'approvedrevs-approveaction' => 'marcava $2 como le version approbate de "[[$1]]"', |
| 664 | + 'approvedrevs-unapproveaction' => 'dismarcava le version approbate de "[[$1]]"', |
| 665 | + 'approvedrevs-notlatest' => 'Isto es le version approbate de iste pagina; non es le plus recente.', |
| 666 | + 'approvedrevs-approvedandlatest' => 'Isto es le version approbate de iste pagina, e tamben le plus recente.', |
| 667 | + 'approvedrevs-viewlatest' => 'Vider le version le plus recente.', |
| 668 | + 'approvedrevs-blankpageshown' => 'Nulle version de iste pagina ha essite approbate.', |
| 669 | + 'approvedrevs-editwarning' => 'Nota ben que tu modifica ora le ultime version de iste pagina, le qual non es le version approbate que es monstrate normalmente.', |
| 670 | + 'approvedrevs' => 'Versiones approbate', |
| 671 | + 'approvedrevs-approvedpages' => 'Paginas approbate', |
| 672 | + 'approvedrevs-notlatestpages' => 'Paginas del quales le version approbate non es lor ultime', |
| 673 | + 'approvedrevs-unapprovedpages' => 'Paginas non approbate', |
| 674 | + 'approvedrevs-view' => 'Vider:', |
| 675 | + 'approvedrevs-revisionnumber' => 'version $1', |
| 676 | + 'approvedrevs-approvedby' => 'approbate per $1 le $2', |
| 677 | + 'approvedrevs-difffromlatest' => 'differentias del ultime version', |
| 678 | + 'right-approverevisions' => 'Marcar un certe version de un pagina wiki como approbate', |
| 679 | + 'right-viewlinktolatest' => 'Vider le texto explicative in alto del paginas que ha un version approbate', |
| 680 | +); |
| 681 | + |
| 682 | +/** Indonesian (Bahasa Indonesia) |
| 683 | + * @author Farras |
| 684 | + * @author IvanLanin |
| 685 | + */ |
| 686 | +$messages['id'] = array( |
| 687 | + 'approvedrevs-desc' => 'Tetapkan revisi tunggal halaman ini sebagai disetujui', |
| 688 | + 'approvedrevs-logname' => 'Log penyetujuan revisi', |
| 689 | + 'approvedrevs-logdesc' => 'Ini adalah log revisi yang telah disetujui.', |
| 690 | + 'approvedrevs-approve' => 'setujui', |
| 691 | + 'approvedrevs-unapprove' => 'tidak setujui', |
| 692 | + 'approvedrevs-approvesuccess' => 'Revisi halaman ini telah ditetapkan sebagai revisi disetujui.', |
| 693 | + 'approvedrevs-unapprovesuccess' => 'Tidak ada lagi versi disetujui untuk halaman ini. |
| 694 | +Revisi terkini akan ditampilkan.', |
| 695 | + 'approvedrevs-unapprovesuccess2' => 'Tidak ada lagi versi disetujui untuk halaman ini. |
| 696 | +Halaman kosong akan ditampilkan.', |
| 697 | + 'approvedrevs-approveaction' => 'tetapkan $2 sebagai revisi disetujui untuk "[[$1]]"', |
| 698 | + 'approvedrevs-unapproveaction' => 'jangan tetapkan revisi disetujui untuk "[[$1]]"', |
| 699 | + 'approvedrevs-notlatest' => 'Ini adalah revisi disetujui dari halaman ini; bukan revisi terkini.', |
| 700 | + 'approvedrevs-approvedandlatest' => 'Ini adalah revisi disetujui dari halaman ini, juga revisi terkini.', |
| 701 | + 'approvedrevs-viewlatest' => 'Lihat revisi terkini.', |
| 702 | + 'approvedrevs-blankpageshown' => 'Tidak ada revisi yang disetujui untuk halaman ini.', |
| 703 | + 'approvedrevs-editwarning' => 'Harap perhatikan bahwa Anda sekarang menyunting revisi terbaru halaman ini, yang secara bawaan bukan merupakan revisi yang disetujui.', |
| 704 | + 'approvedrevs' => 'Revisi yang disetujui', |
| 705 | + 'approvedrevs-approvedpages' => 'Halaman yang disetujui', |
| 706 | + 'approvedrevs-notlatestpages' => 'Halaman yang revisi disetujuinya bukanlah revisi terakhir', |
| 707 | + 'approvedrevs-unapprovedpages' => 'Halaman tidak disetujui', |
| 708 | + 'approvedrevs-view' => 'Lihat:', |
| 709 | + 'approvedrevs-revisionnumber' => 'revisi $1', |
| 710 | + 'approvedrevs-approvedby' => 'disetujui oleh $1 pada $2', |
| 711 | + 'approvedrevs-difffromlatest' => 'perbedaan dengan yang terbaru', |
| 712 | + 'right-approverevisions' => 'Tetapkan revisi tertentu dari halaman wiki sebagai disetujui', |
| 713 | + 'right-viewlinktolatest' => 'Lihat penjelasan di atas halaman yang memiliki revisi disetujui', |
| 714 | +); |
| 715 | + |
| 716 | +/** Igbo (Igbo) |
| 717 | + * @author Ukabia |
| 718 | + */ |
| 719 | +$messages['ig'] = array( |
| 720 | + 'approvedrevs-approve' => 'kwé', |
| 721 | + 'approvedrevs-unapprove' => 'ékwèkwàlà', |
| 722 | + 'approvedrevs-approvedpages' => 'Ihü hé kwèrè', |
| 723 | +); |
| 724 | + |
| 725 | +/** Japanese (日本語) |
| 726 | + * @author Iwai.masaharu |
| 727 | + * @author W.CC |
| 728 | + * @author 青子守歌 |
| 729 | + */ |
| 730 | +$messages['ja'] = array( |
| 731 | + 'approvedrevs-desc' => 'ページから版を1つだけ選んで、承認済みに設定する', |
| 732 | + 'approvedrevs-logname' => '版承認の記録', |
| 733 | + 'approvedrevs-logdesc' => '以下は、承認された版の記録です。', |
| 734 | + 'approvedrevs-approve' => '承認', |
| 735 | + 'approvedrevs-unapprove' => '非承認', |
| 736 | + 'approvedrevs-approvesuccess' => 'この版は承認済みの版として設定されました。', |
| 737 | + 'approvedrevs-unapprovesuccess' => 'このページには承認済みの版がなくなりました。 |
| 738 | +代わりに、最新版が表示されます。', |
| 739 | + 'approvedrevs-unapprovesuccess2' => 'このページには承認済みの版がなくなりました。 |
| 740 | +代わりに、空白のページが表示されます。', |
| 741 | + 'approvedrevs-approveaction' => '$2を「[[$1]]」の承認済み版として設定', |
| 742 | + 'approvedrevs-unapproveaction' => '「[[$1]]」の承認版を取り消し', |
| 743 | + 'approvedrevs-notlatest' => 'これは、このページの承認済み版です。最新版ではありません。', |
| 744 | + 'approvedrevs-approvedandlatest' => 'これは、このページの承認済み版で、また、最新版です。', |
| 745 | + 'approvedrevs-viewlatest' => '最新版を閲覧する。', |
| 746 | + 'approvedrevs-blankpageshown' => 'このページには、承認済みの版がありません。', |
| 747 | + 'approvedrevs-editwarning' => '現在編集中のものは、このページの最新版であり、既定で表示されている承認済みの版ではありません。', |
| 748 | + 'approvedrevs' => '承認済み版', |
| 749 | + 'approvedrevs-approvedpages' => '承認されたページ', |
| 750 | + 'approvedrevs-notlatestpages' => '承認済み版が、最新版でないページ', |
| 751 | + 'approvedrevs-unapprovedpages' => '未承認ページ', |
| 752 | + 'approvedrevs-view' => '表示:', |
| 753 | + 'approvedrevs-revisionnumber' => '版$1', |
| 754 | + 'approvedrevs-approvedby' => '$2 の $1 によって承認されています', |
| 755 | + 'approvedrevs-difffromlatest' => '最新版との差分', |
| 756 | + 'right-approverevisions' => 'ウィキページの特定の版を承認済みに設定', |
| 757 | + 'right-viewlinktolatest' => '承認済みの版があるページの冒頭に説明文を表示', |
| 758 | +); |
| 759 | + |
| 760 | +/** Khmer (ភាសាខ្មែរ) |
| 761 | + * @author គីមស៊្រុន |
| 762 | + */ |
| 763 | +$messages['km'] = array( |
| 764 | + 'approvedrevs-approve' => 'អនុម័ត', |
| 765 | + 'approvedrevs-unapprove' => 'មិនអនុម័ត', |
| 766 | +); |
| 767 | + |
| 768 | +/** Luxembourgish (Lëtzebuergesch) |
| 769 | + * @author Les Meloures |
| 770 | + * @author Robby |
| 771 | + */ |
| 772 | +$messages['lb'] = array( |
| 773 | + 'approvedrevs-desc' => 'Eng eenzel Versioun vun enger Säit als nogekuckt markéieren', |
| 774 | + 'approvedrevs-logname' => 'Logbuch vun den nogekuckte Säiten déi fräigi sinn', |
| 775 | + 'approvedrevs-logdesc' => "Dëst ass d'Logbuch vun de Versiounen déi nogekuckt sinn.", |
| 776 | + 'approvedrevs-approve' => 'zoustëmmen', |
| 777 | + 'approvedrevs-unapprove' => 'Zoustëmmung zréckzéien', |
| 778 | + 'approvedrevs-approvesuccess' => 'Dës Versioun vun der Säit gouf als nogekuckte Versioun fräiginn.', |
| 779 | + 'approvedrevs-unapprovesuccess' => 'Et gëtt vun dëser Säit keng nogekuckte Versioun méi. |
| 780 | +Dofir gëtt déi rezentst Versioun gewisen.', |
| 781 | + 'approvedrevs-unapprovesuccess2' => 'Et gëtt vun dëser Säit keng nogekuckte Versioun méi. |
| 782 | +Aplaz, gëtt eng eidel Säit gewisen.', |
| 783 | + 'approvedrevs-approveaction' => '$2 als nogekuckt Versioun fir "[[$1]]" festleeën', |
| 784 | + 'approvedrevs-unapproveaction' => 'nogekuckt Versioun fir "[[$1]]" zréckzéien', |
| 785 | + 'approvedrevs-notlatest' => 'Dëst ass déi nogekuckte Versioun vun dëser Säit; et ass net déi rezentst.', |
| 786 | + 'approvedrevs-approvedandlatest' => 'Dëst ass esouwuel déi nogekuckt wéi och déi rezentst Versioun vun dëser Säit.', |
| 787 | + 'approvedrevs-viewlatest' => 'Déi rezentst Versioun weisen.', |
| 788 | + 'approvedrevs-blankpageshown' => 'Keng Versioun vun dëser Säit gouf nogekuckt.', |
| 789 | + 'approvedrevs-editwarning' => 'Informatioun: Dir ännert déi lescht Versioun vun dëser Säit, déi net déi nogekuckten ass déi standardméisseg gewise gëtt.', |
| 790 | + 'approvedrevs' => 'Nogekuckte Versiounen', |
| 791 | + 'approvedrevs-approvedpages' => 'Nogekuckte Säiten', |
| 792 | + 'approvedrevs-notlatestpages' => 'Säiten deenen hir nogekuckte Versioun net déi rezentst ass', |
| 793 | + 'approvedrevs-unapprovedpages' => 'Net nogekuckte Säiten', |
| 794 | + 'approvedrevs-view' => 'Weisen:', |
| 795 | + 'approvedrevs-revisionnumber' => 'Versioun $1', |
| 796 | + 'approvedrevs-approvedby' => 'confirméiert vum $1 de(n) $2', |
| 797 | + 'approvedrevs-difffromlatest' => 'Ënnerscheed vun der rezenster', |
| 798 | + 'right-approverevisions' => 'Eng bestëmmte Versioun vun enger Säit als nogekuckt markéieren', |
| 799 | + 'right-viewlinktolatest' => 'Kuckt den Erklärungstext uewen op de Säiten déi nogekuckt Versiounen hunn', |
| 800 | +); |
| 801 | + |
| 802 | +/** Macedonian (Македонски) |
| 803 | + * @author Bjankuloski06 |
| 804 | + */ |
| 805 | +$messages['mk'] = array( |
| 806 | + 'approvedrevs-desc' => 'Поставање на една единствена ревизија на страницата како одобрена', |
| 807 | + 'approvedrevs-logname' => 'Дневник на одобрени ревизии', |
| 808 | + 'approvedrevs-logdesc' => 'Ова е дневникот на одобрени ревизии.', |
| 809 | + 'approvedrevs-approve' => 'одобри', |
| 810 | + 'approvedrevs-unapprove' => 'неодобрена', |
| 811 | + 'approvedrevs-approvesuccess' => 'Оваа ревизија на страницата е поставена како одобрена.', |
| 812 | + 'approvedrevs-unapprovesuccess' => 'Оваа страница повеќе нема одобрена верзија. |
| 813 | +Наместо тоа ќе се прикажува најновата верзија.', |
| 814 | + 'approvedrevs-unapprovesuccess2' => 'Оваа страница повеќе нема одобрена верзија. |
| 815 | +Наместо тоа ќе се прикажува празна страница.', |
| 816 | + 'approvedrevs-approveaction' => 'постави ја $2 за одобрена верзија на „[[$1]]“', |
| 817 | + 'approvedrevs-unapproveaction' => 'отстрани одобрена верзија на „[[$1]]“', |
| 818 | + 'approvedrevs-notlatest' => 'Ова е одобрената ревизија на страницава, но не е најновата.', |
| 819 | + 'approvedrevs-approvedandlatest' => 'Ова е одобрената ревизија на страницава, а воедно и најновата.', |
| 820 | + 'approvedrevs-viewlatest' => 'Види најнова ревизија.', |
| 821 | + 'approvedrevs-blankpageshown' => 'Нема одобрена ревизија за страницава.', |
| 822 | + 'approvedrevs-editwarning' => 'Имајте предвид дека сега ја уредувате најновата верзија на страницава, која не е одобрената што се прикажува по основно.', |
| 823 | + 'approvedrevs' => 'Одобрени ревизии', |
| 824 | + 'approvedrevs-approvedpages' => 'Одобрени страници', |
| 825 | + 'approvedrevs-notlatestpages' => 'Страници чиишто одобрени ревизии не се најновите', |
| 826 | + 'approvedrevs-unapprovedpages' => 'Неодобрени страници', |
| 827 | + 'approvedrevs-view' => 'Преглед:', |
| 828 | + 'approvedrevs-revisionnumber' => 'ревизија $1', |
| 829 | + 'approvedrevs-approvedby' => 'одобрено од $1 на $2', |
| 830 | + 'approvedrevs-difffromlatest' => 'разл. од послед.', |
| 831 | + 'right-approverevisions' => 'Поставете извесна ревизија на вики-страница како одобрена', |
| 832 | + 'right-viewlinktolatest' => 'Погледајте го образложението на врвот од страниците што имаат одобрена верзија', |
| 833 | +); |
| 834 | + |
| 835 | +/** Malayalam (മലയാളം) |
| 836 | + * @author Praveenp |
| 837 | + */ |
| 838 | +$messages['ml'] = array( |
| 839 | + 'approvedrevs-desc' => 'ഒരു താളിന്റെ ഒരൊറ്റ നാൾപ്പതിപ്പ് അംഗീകരിച്ചതായി സജ്ജീകരിക്കുക', |
| 840 | + 'approvedrevs-logname' => 'നാൾപ്പതിപ്പ് അംഗീകരണ രേഖ', |
| 841 | + 'approvedrevs-logdesc' => 'ഇത് നാൾപ്പതിപ്പുകൾ അംഗീകരിച്ചതിന്റെ രേഖയാണ്.', |
| 842 | + 'approvedrevs-approve' => 'അംഗീകരിക്കുക', |
| 843 | + 'approvedrevs-unapprove' => 'അംഗീകാരം നീക്കുക', |
| 844 | + 'approvedrevs-approvesuccess' => 'താളിന്റെ ഈ നാൾപ്പതിപ്പ് അംഗീകരിച്ച പതിപ്പായി സജ്ജീകരിച്ചിരിക്കുന്നു.', |
| 845 | + 'approvedrevs-unapprovesuccess' => 'ഈ താളിൽ അംഗീകരിച്ച പതിപ്പ് ഇല്ല. |
| 846 | +പകരം, ഏറ്റവും പുതിയ നാൾപ്പതിപ്പ് പ്രദർശിപ്പിക്കുന്നു.', |
| 847 | + 'approvedrevs-unapprovesuccess2' => 'ഈ താളിന് അംഗീകരിച്ച പതിപ്പ് ഇല്ല. |
| 848 | +പകരം, ശൂന്യമായ താൾ പ്രദർശിപ്പിക്കുന്നു.', |
| 849 | + 'approvedrevs-approveaction' => '"[[$1]]" താളിന്റെ അംഗീകരിച്ച പതിപ്പായി $2 സജ്ജീകരിക്കുക', |
| 850 | + 'approvedrevs-unapproveaction' => '"[[$1]]" എന്നതിന്റെ അംഗീകൃത നാൾപ്പതിപ്പ് സജ്ജീകരണം നീക്കുക', |
| 851 | + 'approvedrevs-notlatest' => 'ഇത് ഈ താളിന്റെ അംഗീകരിച്ച നാൾപ്പതിപ്പ് ആണ്; ഇത് ഏറ്റവും പുതിയത് അല്ല.', |
| 852 | + 'approvedrevs-approvedandlatest' => 'ഇത് ഈ താളിന്റെ അംഗീകരിച്ച പതിപ്പ് ആണ്, അതേ പോലെ ഏറ്റവും പുതിയതുമാണ്.', |
| 853 | + 'approvedrevs-viewlatest' => 'ഏറ്റവും പുതിയ നാൾപ്പതിപ്പ് കാണുക.', |
| 854 | + 'approvedrevs-blankpageshown' => 'ഈ താളിന്റെ ഒരു നാൾപ്പതിപ്പും അംഗീകരിച്ചിട്ടില്ല.', |
| 855 | + 'approvedrevs-editwarning' => 'ഈ താളിന്റെ ഏറ്റവും പുതിയ നാൾപ്പതിപ്പ് അല്ല താങ്കൾ തിരുത്തുന്നതെന്ന് ശ്രദ്ധിക്കുക, അത് സ്വതേ പ്രദർശിപ്പിച്ചിരിക്കുന്ന പതിപ്പ് അല്ല.', |
| 856 | + 'approvedrevs' => 'അംഗീകരിച്ച നാൾപ്പതിപ്പുകൾ', |
| 857 | + 'approvedrevs-approvedpages' => 'അംഗീകരിച്ച താളുകൾ', |
| 858 | + 'approvedrevs-notlatestpages' => 'താളിന്റെ ഏറ്റവും പുതിയ നാൾപ്പതിപ്പ് അംഗീകരിച്ചതല്ലാത്ത താളുകൾ', |
| 859 | + 'approvedrevs-unapprovedpages' => 'അംഗീകരിച്ചിട്ടില്ലാത്ത താളുകൾ', |
| 860 | + 'approvedrevs-view' => 'കാണുക:', |
| 861 | + 'approvedrevs-revisionnumber' => 'നാൾപ്പതിപ്പ് $1', |
| 862 | + 'approvedrevs-approvedby' => '$2-നു $1 അംഗീകരിച്ചത്', |
| 863 | + 'approvedrevs-difffromlatest' => 'ഏറ്റവും പുതിയ പതിപ്പിൽ നിന്നുള്ള വ്യത്യാസം', |
| 864 | + 'right-approverevisions' => 'വിക്കി താളിന്റെ ഒരു പ്രത്യേക നാൾപ്പതിപ്പ് അംഗീകരിച്ചതായി സജ്ജീകരിക്കുക', |
| 865 | + 'right-viewlinktolatest' => 'അംഗീകരിച്ച നാൾപ്പതിപ്പുള്ള താളുകളുടെ മുകളിലായി ഒരു വിശദീകരണ കുറിപ്പ് പ്രദർശിപ്പിക്കുക', |
| 866 | +); |
| 867 | + |
| 868 | +/** Dutch (Nederlands) |
| 869 | + * @author Siebrand |
| 870 | + */ |
| 871 | +$messages['nl'] = array( |
| 872 | + 'approvedrevs-desc' => 'Een versie van een pagina als goedgekeurd instellen', |
| 873 | + 'approvedrevs-logname' => 'Logboek versiegoedkeuring', |
| 874 | + 'approvedrevs-logdesc' => 'Dit is het logboek met de versies die zijn goedgekeurd.', |
| 875 | + 'approvedrevs-approve' => 'goedkeuren', |
| 876 | + 'approvedrevs-unapprove' => 'afkeuren', |
| 877 | + 'approvedrevs-approvesuccess' => 'Deze versie van de pagina is ingesteld als de goedgekeurde versie.', |
| 878 | + 'approvedrevs-unapprovesuccess' => 'Deze pagina heeft niet langer een goedgekeurde versie. |
| 879 | +Daarom wordt de laatste versie weergegeven.', |
| 880 | + 'approvedrevs-unapprovesuccess2' => 'Er is niet langer een goedgekeurde versie voor deze pagina. |
| 881 | +Er wordt een lege pagina weergegeven.', |
| 882 | + 'approvedrevs-approveaction' => 'heeft $2 ingesteld als de goedgekeurde versie voor "[[$1]]"', |
| 883 | + 'approvedrevs-unapproveaction' => 'heeft de goedgekeurde versie verwijderd voor "[[$1]]"', |
| 884 | + 'approvedrevs-notlatest' => 'Dit is de goedgekeurde versie van deze pagina. |
| 885 | +Het is niet de meeste recente versie.', |
| 886 | + 'approvedrevs-approvedandlatest' => 'Dit is de goedgekeurde versie van deze pagina. Er is geen nieuwere versie.', |
| 887 | + 'approvedrevs-viewlatest' => 'Laatste versie bekijken', |
| 888 | + 'approvedrevs-blankpageshown' => 'Deze pagina heeft geen goedgekeurde versie.', |
| 889 | + 'approvedrevs-editwarning' => 'U bewerkt de meest recente versie van deze pagina die nog niet goedgekeurd is en standaard niet wordt weergegeven.', |
| 890 | + 'approvedrevs' => 'Goedgekeurde versies', |
| 891 | + 'approvedrevs-approvedpages' => "Goedgekeurde pagina's", |
| 892 | + 'approvedrevs-notlatestpages' => "Pagina's waarvan de goedgekeurde versie niet de laatste versie is", |
| 893 | + 'approvedrevs-unapprovedpages' => "Niet-goedgekeurde pagina's", |
| 894 | + 'approvedrevs-view' => 'Weergave:', |
| 895 | + 'approvedrevs-revisionnumber' => 'versie $1', |
| 896 | + 'approvedrevs-approvedby' => 'goedgekeurd door $1 op $2', |
| 897 | + 'approvedrevs-difffromlatest' => 'verschil met de meest recente versie', |
| 898 | + 'right-approverevisions' => 'Een versie van een wikipagina markeren als goedgekeurd.', |
| 899 | + 'right-viewlinktolatest' => "De verklarende tekst bovenaan pagina's zien die die een goedgekeurde versie hebben", |
| 900 | +); |
| 901 | + |
| 902 | +/** Norwegian (bokmål) (Norsk (bokmål)) |
| 903 | + * @author Nghtwlkr |
| 904 | + */ |
| 905 | +$messages['no'] = array( |
| 906 | + 'approvedrevs-desc' => 'Sett en enkelt revisjon av en side som godkjent', |
| 907 | + 'approvedrevs-logname' => 'Godkjenningslogg for revisjoner', |
| 908 | + 'approvedrevs-logdesc' => 'Dette er loggen over revisjoner som har blitt godkjent.', |
| 909 | + 'approvedrevs-approve' => 'godkjenn', |
| 910 | + 'approvedrevs-unapprove' => 'ikke godkjenn', |
| 911 | + 'approvedrevs-approvesuccess' => 'Denne revisjonen av siden har blitt satt som den godkjente versjonen.', |
| 912 | + 'approvedrevs-unapprovesuccess' => 'Det er ikke lenger en godkjent versjon av denne siden. |
| 913 | +I stedet vil den nyeste revisjonen bli vist.', |
| 914 | + 'approvedrevs-unapprovesuccess2' => 'Det er ikke lenger en godkjent versjon av denne siden. |
| 915 | +I stedet vil en blank side bli vist.', |
| 916 | + 'approvedrevs-approveaction' => 'sett $2 som den godkjente revisjonen for «[[$1]]»', |
| 917 | + 'approvedrevs-unapproveaction' => 'fjern godkjenning av revisjon for «[[$1]]»', |
| 918 | + 'approvedrevs-notlatest' => 'Dette er den godkjente revisjonen av denne siden; det er ikke den nyeste.', |
| 919 | + 'approvedrevs-approvedandlatest' => 'Dette er den godkjente revisjonen av denne siden, samt den nyeste.', |
| 920 | + 'approvedrevs-viewlatest' => 'Se den nyeste revisjonen.', |
| 921 | + 'approvedrevs-blankpageshown' => 'Ingen revisjon har blitt godkjent for denne siden.', |
| 922 | + 'approvedrevs-editwarning' => 'Merk at du nå redigerer den nyeste revisjonen av denne siden, som ikke er den godkjente siden som vises som standard.', |
| 923 | + 'approvedrevs' => 'Godkjente revisjoner', |
| 924 | + 'approvedrevs-approvedpages' => 'Godkjente sider', |
| 925 | + 'approvedrevs-notlatestpages' => 'Sider der den godkjente revisjonen ikke er deres nyeste.', |
| 926 | + 'approvedrevs-unapprovedpages' => 'Ikke-godkjente sider', |
| 927 | + 'approvedrevs-view' => 'Vis:', |
| 928 | + 'approvedrevs-revisionnumber' => 'revisjon $1', |
| 929 | + 'approvedrevs-approvedby' => 'godkjent av $1, $2', |
| 930 | + 'approvedrevs-difffromlatest' => 'diff fra siste', |
| 931 | + 'right-approverevisions' => 'Sett en viss revisjon av en wikiside som godkjent', |
| 932 | + 'right-viewlinktolatest' => 'Vis forklarende tekst på toppen av sider som har en godkjent revisjon', |
| 933 | +); |
| 934 | + |
| 935 | +/** Polish (Polski) |
| 936 | + * @author Sp5uhe |
| 937 | + */ |
| 938 | +$messages['pl'] = array( |
| 939 | + 'approvedrevs-desc' => 'Pozwala na zatwierdzenie pojedynczej wersji strony', |
| 940 | + 'approvedrevs-logname' => 'Rejestr zatwierdzonych wersji', |
| 941 | + 'approvedrevs-logdesc' => 'To jest rejestr wersji, które zostały zatwierdzone.', |
| 942 | + 'approvedrevs-approve' => 'zatwierdź', |
| 943 | + 'approvedrevs-unapprove' => 'cofnij zatwierdzenie', |
| 944 | + 'approvedrevs-approvesuccess' => 'Ta wersja strony została zatwierdzona.', |
| 945 | + 'approvedrevs-unapprovesuccess' => 'Dla tej strony brak jest wersji zatwierdzonej. |
| 946 | +W zamian prezentowana będzie ostatnia wersja.', |
| 947 | + 'approvedrevs-unapprovesuccess2' => 'Nie ma już zatwierdzonej wersji tej strony. |
| 948 | +W zamian zostanie wyświetlona pusta strona.', |
| 949 | + 'approvedrevs-approveaction' => 'zatwierdził wersję $2 strony „[[$1]]”', |
| 950 | + 'approvedrevs-unapproveaction' => 'usunął zatwierdzenie strony „[[$1]]”', |
| 951 | + 'approvedrevs-notlatest' => 'To jest zatwierdzona wersja strony. To nie jest ostatnia jej wersja.', |
| 952 | + 'approvedrevs-approvedandlatest' => 'To jest nie tylko zatwierdzona wersja strony, ale również ostatnia jej wersja.', |
| 953 | + 'approvedrevs-viewlatest' => 'Zobacz najnowsze zmiany.', |
| 954 | + 'approvedrevs-blankpageshown' => 'Żadna wersja tej strony nie została zatwierdzona.', |
| 955 | + 'approvedrevs-editwarning' => 'Zauważ, że edytujesz ostatnią wersję strony. Wersję, która nie została zatwierdzona i nie jest pokazywana domyślnie.', |
| 956 | + 'approvedrevs' => 'Zatwierdzone wersje', |
| 957 | + 'approvedrevs-approvedpages' => 'Zatwierdzone strony', |
| 958 | + 'approvedrevs-notlatestpages' => 'Strony, których zatwierdzona wersja nie jest ich ostatnią', |
| 959 | + 'approvedrevs-unapprovedpages' => 'Niezatwierdzone strony', |
| 960 | + 'approvedrevs-view' => 'Widok', |
| 961 | + 'approvedrevs-revisionnumber' => 'wersja $1', |
| 962 | + 'approvedrevs-approvedby' => 'zatwierdzone $2 przez $1', |
| 963 | + 'approvedrevs-difffromlatest' => 'porównaj z najnowszą', |
| 964 | + 'right-approverevisions' => 'Zatwierdzenie wybranych wersji stron wiki', |
| 965 | + 'right-viewlinktolatest' => 'Pokazuj tekst wyjaśniający w górnej części tych stron, które mają zatwierdzoną wersję', |
| 966 | +); |
| 967 | + |
| 968 | +/** Piedmontese (Piemontèis) |
| 969 | + * @author Borichèt |
| 970 | + * @author Dragonòt |
| 971 | + */ |
| 972 | +$messages['pms'] = array( |
| 973 | + 'approvedrevs-desc' => 'Ampòsta na sola revision ëd na pàgina com aprovà', |
| 974 | + 'approvedrevs-logname' => "Registr d'aprovassion dle revision", |
| 975 | + 'approvedrevs-logdesc' => "Sto-sì a l'é ël registr dle revision ch'a son ëstàite aprovà.", |
| 976 | + 'approvedrevs-approve' => 'apreuva', |
| 977 | + 'approvedrevs-unapprove' => 'apreuva pa', |
| 978 | + 'approvedrevs-approvesuccess' => "Costa revision-sì ëd la pàgina a l'é stàita ampostà com la version aprovà.", |
| 979 | + 'approvedrevs-unapprovesuccess' => 'A-i é pa pi na version aprovà për sta pàgina-sì. |
| 980 | +Al pòst, a sarà mostrà la revision pi recenta.', |
| 981 | + 'approvedrevs-unapprovesuccess2' => 'A-i é pa pi na version aprovà për sta pàgina-sì. |
| 982 | +Al pòst, a sarà mostrà na pàgina bianca.', |
| 983 | + 'approvedrevs-approveaction' => 'a l\'ha marcà $2 tanme revision aprovà për "[[$1]]"', |
| 984 | + 'approvedrevs-unapproveaction' => 'gava ampostassion ëd la revision aprovà për "[[$1]]"', |
| 985 | + 'approvedrevs-notlatest' => "Costa a l'é la revision aprovà ëd sa pàgina; a l'é pa la pi recenta.", |
| 986 | + 'approvedrevs-approvedandlatest' => "Costa a l'é la revision aprovà ëd sa pàgina, e a l'é ëdcò la pi recenta.", |
| 987 | + 'approvedrevs-viewlatest' => 'Varda la revision pi recenta.', |
| 988 | + 'approvedrevs-blankpageshown' => 'Gnun-e revision a son ëstàite aprovà për sta pàgina.', |
| 989 | + 'approvedrevs-editwarning' => "Për piasì, ch'a nòta ch'a l'é an camin ch'a modìfica l'ùltima revision ëd la pàgina, ch'a l'é pa cola aprovà smonùa për stàndard.", |
| 990 | + 'approvedrevs' => 'Revision aprovà', |
| 991 | + 'approvedrevs-approvedpages' => 'Pàgine aprovà', |
| 992 | + 'approvedrevs-notlatestpages' => "Pàgine dont la revision aprovà a l'é pa l'ùltima", |
| 993 | + 'approvedrevs-unapprovedpages' => 'Pàgine pa aprovà', |
| 994 | + 'approvedrevs-view' => 'Vardé:', |
| 995 | + 'approvedrevs-revisionnumber' => 'revision $1', |
| 996 | + 'approvedrevs-approvedby' => 'aprovà da $1 su $2', |
| 997 | + 'approvedrevs-difffromlatest' => "diferense da l'ùltima", |
| 998 | + 'right-approverevisions' => 'Ampòsta na certa revision ëd na pàgina wiki com aprovà', |
| 999 | + 'right-viewlinktolatest' => "Vëdde ël test dë spiegassion an cò dle pàgine ch'a l'han na revision aprovà", |
| 1000 | +); |
| 1001 | + |
| 1002 | +/** Portuguese (Português) |
| 1003 | + * @author Alchimista |
| 1004 | + * @author GoEThe |
| 1005 | + * @author Hamilton Abreu |
| 1006 | + */ |
| 1007 | +$messages['pt'] = array( |
| 1008 | + 'approvedrevs-desc' => 'Marcar como aprovada uma das revisões de uma página', |
| 1009 | + 'approvedrevs-logname' => 'Registo de revisões aprovadas', |
| 1010 | + 'approvedrevs-logdesc' => 'Este é o registo das revisões que foram aprovadas.', |
| 1011 | + 'approvedrevs-approve' => 'aprovar', |
| 1012 | + 'approvedrevs-unapprove' => 'reprovar', |
| 1013 | + 'approvedrevs-approvesuccess' => 'Esta revisão da página foi definida como a versão aprovada.', |
| 1014 | + 'approvedrevs-unapprovesuccess' => 'Deixou de existir uma versão aprovada para esta página. |
| 1015 | +Em vez dela, será apresentada a revisão mais recente.', |
| 1016 | + 'approvedrevs-unapprovesuccess2' => 'Deixou de existir uma versão aprovada para esta página. |
| 1017 | +Em vez dela, será apresentada uma página em branco.', |
| 1018 | + 'approvedrevs-approveaction' => 'definir $2 como a revisão aprovada de "[[$1]]"', |
| 1019 | + 'approvedrevs-unapproveaction' => 'desfazer a aprovação da revisão aprovada de "[[$1]]"', |
| 1020 | + 'approvedrevs-notlatest' => 'Esta é a revisão aprovada desta página; não é a revisão mais recente.', |
| 1021 | + 'approvedrevs-approvedandlatest' => 'Esta é a revisão aprovada desta página e também a revisão mais recente.', |
| 1022 | + 'approvedrevs-viewlatest' => 'Ver a revisão mais recente.', |
| 1023 | + 'approvedrevs-blankpageshown' => 'Esta página não tem nenhuma revisão aprovada.', |
| 1024 | + 'approvedrevs-editwarning' => 'Note, por favor, que está agora a editar a revisão mais recente desta página e não a versão aprovada que é mostrada por omissão.', |
| 1025 | + 'approvedrevs' => 'Revisões aprovadas', |
| 1026 | + 'approvedrevs-approvedpages' => 'Páginas aprovadas', |
| 1027 | + 'approvedrevs-notlatestpages' => 'Páginas cuja revisão aprovada não é a revisão mais recente', |
| 1028 | + 'approvedrevs-unapprovedpages' => 'Páginas reprovadas', |
| 1029 | + 'approvedrevs-view' => 'Ver:', |
| 1030 | + 'approvedrevs-revisionnumber' => 'revisão $1', |
| 1031 | + 'approvedrevs-approvedby' => 'aprovada por $1 a $2', |
| 1032 | + 'approvedrevs-difffromlatest' => 'diferenças para a revisão mais recente', |
| 1033 | + 'right-approverevisions' => 'Definir como aprovada uma revisão específica de uma página da wiki', |
| 1034 | + 'right-viewlinktolatest' => 'Ver um texto explicativo no topo das páginas que têm uma revisão aprovada', |
| 1035 | +); |
| 1036 | + |
| 1037 | +/** Brazilian Portuguese (Português do Brasil) |
| 1038 | + * @author Giro720 |
| 1039 | + */ |
| 1040 | +$messages['pt-br'] = array( |
| 1041 | + 'approvedrevs-desc' => 'Marcar como aprovada uma das revisões de uma página', |
| 1042 | + 'approvedrevs-logname' => 'Registro de revisões aprovadas', |
| 1043 | + 'approvedrevs-logdesc' => 'Este é o registro das revisões que foram aprovadas.', |
| 1044 | + 'approvedrevs-approve' => 'aprovar', |
| 1045 | + 'approvedrevs-unapprove' => 'desaprovar', |
| 1046 | + 'approvedrevs-approvesuccess' => 'Esta revisão da página foi definida como a versão aprovada.', |
| 1047 | + 'approvedrevs-unapprovesuccess' => 'Não há mais uma versão aprovada para esta página. |
| 1048 | +Em vez dela, será apresentada a revisão mais recente.', |
| 1049 | + 'approvedrevs-unapprovesuccess2' => 'Não há mais uma versão aprovada para esta página. |
| 1050 | +Em vez dela, será apresentada uma página em branco.', |
| 1051 | + 'approvedrevs-approveaction' => 'definir $2 como a revisão aprovada de "[[$1]]"', |
| 1052 | + 'approvedrevs-unapproveaction' => 'desfazer a definição da revisão aprovada de "[[$1]]"', |
| 1053 | + 'approvedrevs-notlatest' => 'Esta é a revisão aprovada desta página; não é a revisão mais recente.', |
| 1054 | + 'approvedrevs-approvedandlatest' => 'Esta é a revisão aprovada desta página e também a revisão mais recente.', |
| 1055 | + 'approvedrevs-viewlatest' => 'Ver a revisão mais recente.', |
| 1056 | + 'approvedrevs-blankpageshown' => 'Esta página não tem nenhuma revisão aprovada.', |
| 1057 | + 'approvedrevs-editwarning' => 'Note, por favor, que agora você está editando a revisão mais recente desta página e não a versão aprovada que é mostrada por padrão.', |
| 1058 | + 'approvedrevs' => 'Revisões aprovadas', |
| 1059 | + 'approvedrevs-approvedpages' => 'Páginas aprovadas', |
| 1060 | + 'approvedrevs-notlatestpages' => 'Páginas cuja revisão aprovada não é a revisão mais recente', |
| 1061 | + 'approvedrevs-unapprovedpages' => 'Páginas não aprovadas', |
| 1062 | + 'approvedrevs-view' => 'Ver:', |
| 1063 | + 'approvedrevs-revisionnumber' => 'revisão $1', |
| 1064 | + 'approvedrevs-approvedby' => 'aprovada por $1 em $2', |
| 1065 | + 'approvedrevs-difffromlatest' => 'diff da última versão', |
| 1066 | + 'right-approverevisions' => 'Definir como aprovada uma revisão específica de uma página da wiki', |
| 1067 | + 'right-viewlinktolatest' => 'Ver um texto explicativo no topo das páginas que têm uma revisão aprovada', |
| 1068 | +); |
| 1069 | + |
| 1070 | +/** Romanian (Română) |
| 1071 | + * @author Stelistcristi |
| 1072 | + */ |
| 1073 | +$messages['ro'] = array( |
| 1074 | + 'approvedrevs-approve' => 'aprobă', |
| 1075 | + 'approvedrevs-unapprove' => 'dezaprobă', |
| 1076 | + 'approvedrevs-approvesuccess' => 'Această revizie a paginii a fost stabilită ca versiunea aprobată.', |
| 1077 | + 'approvedrevs-approvedpages' => 'Pagini aprobate', |
| 1078 | + 'approvedrevs-unapprovedpages' => 'Pagini neaprobate', |
| 1079 | +); |
| 1080 | + |
| 1081 | +/** Russian (Русский) |
| 1082 | + * @author MaxSem |
| 1083 | + * @author Александр Сигачёв |
| 1084 | + */ |
| 1085 | +$messages['ru'] = array( |
| 1086 | + 'approvedrevs-desc' => 'Установка одной из версий страниц как подтверждённой', |
| 1087 | + 'approvedrevs-logname' => 'Журнал подтверждения версий', |
| 1088 | + 'approvedrevs-logdesc' => 'Это журнал версий страниц, которые были подтверждены.', |
| 1089 | + 'approvedrevs-approve' => 'подтвердить', |
| 1090 | + 'approvedrevs-unapprove' => 'снять подтверждение', |
| 1091 | + 'approvedrevs-approvesuccess' => 'Это версия страницы была отмечена как подтверждённая.', |
| 1092 | + 'approvedrevs-unapprovesuccess' => 'Не существует подтверждённой версии этой страницы. |
| 1093 | +Вместо неё будет показана последняя версия.', |
| 1094 | + 'approvedrevs-unapprovesuccess2' => 'Больше не существует подтверждённой версии этой страницы. |
| 1095 | +Вместо неё будет показана пустая страница.', |
| 1096 | + 'approvedrevs-approveaction' => 'установить $2 как подтверждённую версию «[[$1]]»', |
| 1097 | + 'approvedrevs-unapproveaction' => 'снять утверждённую версию для «[[$1]]»', |
| 1098 | + 'approvedrevs-notlatest' => 'Это утверждённая версия страницы. Существуют более свежие версии.', |
| 1099 | + 'approvedrevs-approvedandlatest' => 'Это утверждённая версия страницы. Она же является наиболее свежей версией.', |
| 1100 | + 'approvedrevs-viewlatest' => 'Просмотреть самую свежую версию.', |
| 1101 | + 'approvedrevs-blankpageshown' => 'Для этой страницы нет утверждённых версий.', |
| 1102 | + 'approvedrevs-editwarning' => 'Пожалуйста, обратите внимание, сейчас вы редактируете последнюю версию этой страницы, но она не показывается по умолчанию, так как не подтверждена.', |
| 1103 | + 'approvedrevs' => 'Подтверждённые версии', |
| 1104 | + 'approvedrevs-approvedpages' => 'Подтверждённые страницы', |
| 1105 | + 'approvedrevs-notlatestpages' => 'Страницы, чьи подтверждённые версии не являются последними', |
| 1106 | + 'approvedrevs-unapprovedpages' => 'Неутверждённые страницы', |
| 1107 | + 'approvedrevs-view' => 'Просмотр:', |
| 1108 | + 'approvedrevs-revisionnumber' => 'версия $1', |
| 1109 | + 'approvedrevs-approvedby' => 'подтверждена $1 $2', |
| 1110 | + 'approvedrevs-difffromlatest' => 'разн. с последней', |
| 1111 | + 'right-approverevisions' => 'отметка определённых версий вики-страниц как подтверждённых', |
| 1112 | + 'right-viewlinktolatest' => 'просмотр пояснительного текста в верхней части страниц, имеющих утверждённые версии', |
| 1113 | +); |
| 1114 | + |
| 1115 | +/** Slovak (Slovenčina) |
| 1116 | + * @author Helix84 |
| 1117 | + */ |
| 1118 | +$messages['sk'] = array( |
| 1119 | + 'approvedrevs-desc' => 'Stanoviť jedinú revíziu stránky ako schválenú', |
| 1120 | +); |
| 1121 | + |
| 1122 | +/** Swedish (Svenska) |
| 1123 | + * @author Ainali |
| 1124 | + * @author Cohan |
| 1125 | + * @author Tobulos1 |
| 1126 | + */ |
| 1127 | +$messages['sv'] = array( |
| 1128 | + 'approvedrevs-desc' => 'Sätt en enskild version av en sida till godkänd', |
| 1129 | + 'approvedrevs-logname' => 'Godkänningslogg för revisioner', |
| 1130 | + 'approvedrevs-logdesc' => 'Detta är loggen över revisioner som har godkänts.', |
| 1131 | + 'approvedrevs-approve' => 'godkänn', |
| 1132 | + 'approvedrevs-unapprove' => 'godkänn ej', |
| 1133 | + 'approvedrevs-approvesuccess' => 'Denna version av sidan har ställts in som den godkända versionen.', |
| 1134 | + 'approvedrevs-unapprovesuccess' => 'Det finns inte längre en godkänd version för den här sidan. |
| 1135 | + Istället kommer den senaste redigeringen att visas.', |
| 1136 | + 'approvedrevs-unapprovesuccess2' => 'Det finns inte längre en godkänd version av den här sidan. |
| 1137 | +Istället kommer en tom sida att visas.', |
| 1138 | + 'approvedrevs-approveaction' => 'sätt $2 som den godkända revisionen av "[[$1]]"', |
| 1139 | + 'approvedrevs-notlatest' => 'Detta är den godkända version av denna sida; det är inte den senaste.', |
| 1140 | + 'approvedrevs-approvedandlatest' => 'Detta är den godkända version av denna sida, samt den senaste.', |
| 1141 | + 'approvedrevs-viewlatest' => 'Visa senaste versionen.', |
| 1142 | + 'approvedrevs-blankpageshown' => 'Ingen revidering har godkänts för denna sida.', |
| 1143 | + 'approvedrevs-editwarning' => 'Observera att du nu redigerar den senaste versionen av denna sida, vilket inte är den godkända som visas som standard.', |
| 1144 | + 'approvedrevs' => 'Godkänd revideringar', |
| 1145 | + 'approvedrevs-approvedpages' => 'Godkända sidor', |
| 1146 | + 'approvedrevs-notlatestpages' => 'Detta är den godkända version av denna sida; det är inte den senaste.', |
| 1147 | + 'approvedrevs-unapprovedpages' => 'Icke godkända sidor', |
| 1148 | + 'approvedrevs-view' => 'Visa:', |
| 1149 | + 'right-approverevisions' => 'Sätt en viss revidering av en wiki-sida som godkänd', |
| 1150 | + 'right-viewlinktolatest' => 'Se förklarande text högst upp på sidor som har en godkänd revision', |
| 1151 | +); |
| 1152 | + |
| 1153 | +/** Tamil (தமிழ்) |
| 1154 | + * @author TRYPPN |
| 1155 | + */ |
| 1156 | +$messages['ta'] = array( |
| 1157 | + 'approvedrevs-approve' => 'அனுமதிக்கவும்', |
| 1158 | + 'approvedrevs-unapprove' => 'அனுமதிக்க வேண்டாம்', |
| 1159 | + 'approvedrevs-viewlatest' => 'மிக அண்மையில் செய்யப்பட்ட திருத்தங்களை பார்க்கவும்.', |
| 1160 | + 'approvedrevs-approvedpages' => 'ஏற்றுக் கொள்ளப்பட்ட பக்கங்கள்', |
| 1161 | + 'approvedrevs-unapprovedpages' => 'ஏற்றுக் கொள்ளப்படாத பக்கங்கள்', |
| 1162 | + 'right-approverevisions' => 'விக்கி பக்கத்தில் ஒரு சில மாற்றங்களை அனுமதிக்கப்பட்டதாக குறித்துக்கொள்ளவும்', |
| 1163 | +); |
| 1164 | + |
| 1165 | +/** Telugu (తెలుగు) |
| 1166 | + * @author Veeven |
| 1167 | + */ |
| 1168 | +$messages['te'] = array( |
| 1169 | + 'approvedrevs-logname' => 'కూర్పుల అనుమతులు చిట్టా', |
| 1170 | + 'approvedrevs-approve' => 'అనుమతించు', |
| 1171 | + 'approvedrevs-approvedpages' => 'అనుమతించిన పుటలు', |
| 1172 | +); |
| 1173 | + |
| 1174 | +/** Tagalog (Tagalog) |
| 1175 | + * @author AnakngAraw |
| 1176 | + */ |
| 1177 | +$messages['tl'] = array( |
| 1178 | + 'approvedrevs-desc' => 'Itakda ang isang nagiisang rebisyon ng isang pahina bilang pinayagan', |
| 1179 | + 'approvedrevs-logname' => 'Tala ng pagpayag sa rebisyon', |
| 1180 | + 'approvedrevs-logdesc' => 'Ito ang tala ng mga rebisyon na pinayagan na.', |
| 1181 | + 'approvedrevs-approve' => 'payagan', |
| 1182 | + 'approvedrevs-unapprove' => 'huwag payagan', |
| 1183 | + 'approvedrevs-approvesuccess' => 'Ang rebisyon ng pahina ay naitakda bilang pinayagang bersyon.', |
| 1184 | + 'approvedrevs-unapprovesuccess' => 'Wala nang isang pinayagang bersyon para sa pahinang ito. |
| 1185 | +Sa halip, ang pinaka kamakailang rebisyon ang ipapakita.', |
| 1186 | + 'approvedrevs-unapprovesuccess2' => 'Wala na ngayong isang pinayagang bersyon ng pahinang ito. |
| 1187 | +Sa halip, ipapakita ang isang pahinang walang laman.', |
| 1188 | + 'approvedrevs-approveaction' => 'itakda ang $2 bilang pinayagang rebisyon para sa "[[$1]]"', |
| 1189 | + 'approvedrevs-unapproveaction' => 'huwag itakda ang rebisyon para sa "[[$1]]"', |
| 1190 | + 'approvedrevs-notlatest' => 'Ito ang pinayagang rebisyon ng pahinang ito; hindi ito ang pinaka kamakailan.', |
| 1191 | + 'approvedrevs-approvedandlatest' => 'Ito ang pinayagang rebisyon ng pahinang ito, pati na ang pagiging pinaka kamakailan.', |
| 1192 | + 'approvedrevs-viewlatest' => 'Tingan ang pinaka kamakailang rebisyon.', |
| 1193 | + 'approvedrevs-blankpageshown' => 'Wala pang rebisyong pinayagan para sa pahinang ito.', |
| 1194 | + 'approvedrevs-approvedpages' => 'Mga pahinang pinayagan', |
| 1195 | + 'approvedrevs-notlatestpages' => 'Ito ang pinayagang rebisyon ng pahinang ito; hindi ito ang pinaka kamakailan.', |
| 1196 | + 'approvedrevs-unapprovedpages' => 'Hindi pinayagang mga pahina', |
| 1197 | + 'right-approverevisions' => 'Itakda ang isang partikular na rebisyon ng isang pahina ng wiki bilang pinayagan', |
| 1198 | + 'right-viewlinktolatest' => 'Tingnan ang teksto ng paliwanag na nasa itaas ng mga pahina na may pinayagang rebisyon', |
| 1199 | +); |
| 1200 | + |
| 1201 | +/** Turkish (Türkçe) |
| 1202 | + * @author Emperyan |
| 1203 | + * @author Srhat |
| 1204 | + */ |
| 1205 | +$messages['tr'] = array( |
| 1206 | + 'approvedrevs-desc' => 'Bir sayfanın belirli bir revizyonunu onaylanmış olarak ayarla', |
| 1207 | + 'approvedrevs-logname' => 'Revizyon onay günlüğü', |
| 1208 | + 'approvedrevs-logdesc' => 'Bu liste onaylanmış revizyon günlüğüdür.', |
| 1209 | + 'approvedrevs-approve' => 'onayla', |
| 1210 | + 'approvedrevs-unapprove' => 'onayı kaldır', |
| 1211 | + 'approvedrevs-approvesuccess' => 'Sayfaya ait bu revizyon onaylanmış revizyon olarak ayarlandı.', |
| 1212 | + 'approvedrevs-unapprovesuccess' => 'Bu sayfanın artık onaylanmış sürümü yok. |
| 1213 | +Onun yerine, en son revizyon gösterilecektir.', |
| 1214 | + 'approvedrevs-approveaction' => '$2 revizyonunu "[[$1]]" sayfasının onaylanmış revizyonu olarak ayarladı', |
| 1215 | + 'approvedrevs-unapproveaction' => '"[[$1]]" sayfasının onaylanmış revizyonunun onayını kaldırdı.', |
| 1216 | + 'approvedrevs-notlatest' => 'Bu sayfanın onaylanmış revizyonudur; en son revizyon değildir.', |
| 1217 | + 'approvedrevs-approvedandlatest' => 'Bu revizyon, sayfanın hem onaylanmış hem de en son revizyonudur.', |
| 1218 | + 'approvedrevs-viewlatest' => 'En son revizyonu görüntüle', |
| 1219 | + 'approvedrevs' => 'Onaylanan düzeltmeler', |
| 1220 | + 'approvedrevs-approvedpages' => 'Onaylanmış sayfalar', |
| 1221 | + 'approvedrevs-notlatestpages' => 'Bu sayfanın onaylanmış revizyonudur; en son revizyon değildir.', |
| 1222 | + 'approvedrevs-unapprovedpages' => 'Onaylanmamış sayfalar', |
| 1223 | + 'approvedrevs-view' => 'Görüntüle:', |
| 1224 | + 'approvedrevs-revisionnumber' => 'Revizyon: $1', |
| 1225 | + 'right-approverevisions' => 'Bir viki sayfasının belirli bir revizyonunu onaylanmış olarak ayarla', |
| 1226 | + 'right-viewlinktolatest' => 'Onaylanmış revizyonu bulunan sayfaların başındaki açıklayıcı metni görüntüle', |
| 1227 | +); |
| 1228 | + |
| 1229 | +/** Ukrainian (Українська) |
| 1230 | + * @author Alex Khimich |
| 1231 | + * @author Тест |
| 1232 | + */ |
| 1233 | +$messages['uk'] = array( |
| 1234 | + 'approvedrevs-desc' => 'Встановити єдиний перегляд сторінки як затверджуючий', |
| 1235 | + 'approvedrevs-logname' => 'Журнал одобрень та переглядів', |
| 1236 | + 'approvedrevs-logdesc' => 'Це протокол переглядів, які були затверджуючими.', |
| 1237 | + 'approvedrevs-approve' => 'Затвердити', |
| 1238 | + 'approvedrevs-unapprove' => 'Відхилити', |
| 1239 | + 'approvedrevs-approvesuccess' => 'Цей перегляд сторінки був встановлений як затверджуючий.', |
| 1240 | + 'approvedrevs-unapprovesuccess' => 'Існує не затверджений варіант для цієї сторінки. |
| 1241 | +Замість цього, самий останній затверджений варіант буде показаний.', |
| 1242 | + 'approvedrevs-unapprovesuccess2' => 'Існує не затверджений варіант для цієї сторінки. |
| 1243 | +Замість цього буде показано порожню сторінку.', |
| 1244 | + 'approvedrevs-approveaction' => 'встановити $2 як затверджену версію для "[[$1]]"', |
| 1245 | + 'approvedrevs-unapproveaction' => 'відкликати стверджену версію для "[[$1]]"', |
| 1246 | + 'approvedrevs-notlatest' => 'Це затверджений перегляд цієї сторінки, це не остання версія.', |
| 1247 | + 'approvedrevs-approvedandlatest' => 'Це затверджений перегляд цієї сторінки, вын э найновішим.', |
| 1248 | + 'approvedrevs-viewlatest' => 'Відкрити найсвіжіший перегляд.', |
| 1249 | + 'approvedrevs-blankpageshown' => 'Не було знайдено схвалювальних переглядів для цієї сторінки.', |
| 1250 | + 'approvedrevs-editwarning' => 'Зверніть увагу, що в даний час ви редагуєте найновіший перегляд цієї сторінки, який не є схваленим і відображатися за замовчуванням.', |
| 1251 | + 'approvedrevs' => 'Затверджені версії', |
| 1252 | + 'approvedrevs-approvedpages' => 'Затверджені сторінки', |
| 1253 | + 'approvedrevs-notlatestpages' => 'Сторінки, чиї затверджені версії не є останніми', |
| 1254 | + 'approvedrevs-unapprovedpages' => 'Несхвалені сторінки', |
| 1255 | + 'approvedrevs-view' => 'Перегляд:', |
| 1256 | + 'approvedrevs-revisionnumber' => 'версія $1', |
| 1257 | + 'approvedrevs-approvedby' => 'затверджена $1 $2', |
| 1258 | + 'approvedrevs-difffromlatest' => 'різниця з останньою', |
| 1259 | + 'right-approverevisions' => 'Встановити єдиний перегляд сторінки як затверджуючий', |
| 1260 | + 'right-viewlinktolatest' => 'Переглянути пояснювальний текст у верхній частині сторінки яка має схвалену версію.', |
| 1261 | +); |
| 1262 | + |
| 1263 | +/** Vietnamese (Tiếng Việt) |
| 1264 | + * @author Minh Nguyen |
| 1265 | + */ |
| 1266 | +$messages['vi'] = array( |
| 1267 | + 'approvedrevs-logname' => 'Nhật trình chấp nhận phiên bản', |
| 1268 | + 'approvedrevs-approve' => 'chấp nhận', |
| 1269 | + 'approvedrevs-unapprove' => 'bỏ chấp nhận', |
| 1270 | + 'approvedrevs-approveaction' => 'đặt $2 là phiên bản chấp nhận của “[[$1]]”', |
| 1271 | + 'approvedrevs-unapproveaction' => 'bỏ phiên bản chấp nhận của “[[$1]]”', |
| 1272 | + 'approvedrevs-viewlatest' => 'Xem phiên bản gần đây nhất.', |
| 1273 | + 'approvedrevs' => 'Phiên bản được chấp nhận', |
| 1274 | + 'approvedrevs-approvedpages' => 'Các trang đã chấp nhận', |
| 1275 | + 'approvedrevs-unapprovedpages' => 'Trang chưa được chấp nhận', |
| 1276 | + 'approvedrevs-view' => 'Xem:', |
| 1277 | + 'approvedrevs-revisionnumber' => 'phiên bản $1', |
| 1278 | + 'approvedrevs-approvedby' => 'được $1 chấp nhận vào $2', |
| 1279 | + 'approvedrevs-difffromlatest' => 'so với phiên bản hiện tại', |
| 1280 | + 'right-approverevisions' => 'Đặt một phiên bản của trang wiki là phiên bản chấp nhận', |
| 1281 | + 'right-viewlinktolatest' => 'Xem văn bản giải thích ở đầu các trang có phiên bản chấp nhận', |
| 1282 | +); |
| 1283 | + |
| 1284 | +/** Simplified Chinese (中文(简体)) |
| 1285 | + * @author Hydra |
| 1286 | + */ |
| 1287 | +$messages['zh-hans'] = array( |
| 1288 | + 'approvedrevs-desc' => '设置单个页所批准的修订', |
| 1289 | + 'approvedrevs-logname' => '修订批准日志', |
| 1290 | + 'approvedrevs-logdesc' => '这是已获批准的修订的日志。', |
| 1291 | + 'approvedrevs-approve' => '批准', |
| 1292 | + 'approvedrevs-unapprove' => '不批准', |
| 1293 | + 'approvedrevs-approvesuccess' => '此版本的页面已被设为批准的版本。', |
| 1294 | + 'approvedrevs-unapprovesuccess' => '此页不再有一个批准的版本。 |
| 1295 | +相反,将显示最新的修订版。', |
| 1296 | + 'approvedrevs-unapprovesuccess2' => '此页不再是一个批准的版本。 |
| 1297 | +相反,将显示一个空白页。', |
| 1298 | + 'approvedrevs-approveaction' => '将把 $2 作为"[[$1]]"批准修订', |
| 1299 | + 'approvedrevs-unapproveaction' => '取消"[[$1]]"的设置批准的修订', |
| 1300 | + 'approvedrevs-notlatest' => '这是此页 批准的修订; 它不是最新的。', |
| 1301 | + 'approvedrevs-approvedandlatest' => '这是此页批准,以及是最近的修订。', |
| 1302 | + 'approvedrevs-viewlatest' => '查看最新版本。', |
| 1303 | + 'approvedrevs-blankpageshown' => '没有修订已获批准的此页。', |
| 1304 | + 'approvedrevs-editwarning' => '请注意现在正在编辑的此页,不是核准的最新版本默认情况下显示的其中一个。', |
| 1305 | + 'approvedrevs' => '获批准的修订', |
| 1306 | + 'approvedrevs-approvedpages' => '被批准的页面', |
| 1307 | + 'approvedrevs-notlatestpages' => '其核准的修订不是他们最新的页面', |
| 1308 | + 'approvedrevs-unapprovedpages' => '不备批准的页面', |
| 1309 | + 'approvedrevs-view' => '查看:', |
| 1310 | + 'approvedrevs-revisionnumber' => '修订 $1', |
| 1311 | + 'approvedrevs-approvedby' => '在 $2 时被 $1 批准', |
| 1312 | + 'approvedrevs-difffromlatest' => '最新的比较', |
| 1313 | + 'right-approverevisions' => '如通过设置特定版本的维基页面', |
| 1314 | + 'right-viewlinktolatest' => '视图中的解释性文本在具有一个已批准的修订页面的顶部', |
| 1315 | +); |
| 1316 | + |
Property changes on: tags/extensions/ApprovedRevs/REL_0_5_5/ApprovedRevs.i18n.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 1317 | + native |
Index: tags/extensions/ApprovedRevs/REL_0_5_5/ApprovedRevs.php |
— | — | @@ -0,0 +1,80 @@ |
| 2 | +<?php |
| 3 | + |
| 4 | +if ( !defined( 'MEDIAWIKI' ) ) die(); |
| 5 | + |
| 6 | +/** |
| 7 | + * @file |
| 8 | + * @ingroup Extensions |
| 9 | + * |
| 10 | + * @author Yaron Koren |
| 11 | + */ |
| 12 | + |
| 13 | +define( 'APPROVED_REVS_VERSION', '0.5.5' ); |
| 14 | + |
| 15 | +// credits |
| 16 | +$wgExtensionCredits['other'][] = array( |
| 17 | + 'path' => __FILE__, |
| 18 | + 'name' => 'Approved Revs', |
| 19 | + 'version' => APPROVED_REVS_VERSION, |
| 20 | + 'author' => 'Yaron Koren', |
| 21 | + 'url' => 'http://www.mediawiki.org/wiki/Extension:Approved_Revs', |
| 22 | + 'descriptionmsg' => 'approvedrevs-desc' |
| 23 | +); |
| 24 | + |
| 25 | +// global variables |
| 26 | +$egApprovedRevsIP = dirname( __FILE__ ) . '/'; |
| 27 | +$egApprovedRevsScriptPath = $wgScriptPath . '/extensions/ApprovedRevs'; |
| 28 | +$egApprovedRevsNamespaces = array( NS_MAIN, NS_TEMPLATE, NS_HELP, NS_PROJECT ); |
| 29 | +$egApprovedRevsBlankIfUnapproved = false; |
| 30 | +$egApprovedRevsAutomaticApprovals = true; |
| 31 | + |
| 32 | +// internationalization |
| 33 | +$wgExtensionMessagesFiles['ApprovedRevs'] = $egApprovedRevsIP . 'ApprovedRevs.i18n.php'; |
| 34 | +$wgExtensionAliasesFiles['ApprovedRevs'] = $egApprovedRevsIP . 'ApprovedRevs.alias.php'; |
| 35 | + |
| 36 | +// register all classes |
| 37 | +$wgAutoloadClasses['ApprovedRevs'] = $egApprovedRevsIP . 'ApprovedRevs_body.php'; |
| 38 | +$wgAutoloadClasses['ApprovedRevsHooks'] = $egApprovedRevsIP . 'ApprovedRevs.hooks.php'; |
| 39 | +$wgSpecialPages['ApprovedRevs'] = 'SpecialApprovedRevs'; |
| 40 | +$wgAutoloadClasses['SpecialApprovedRevs'] = $egApprovedRevsIP . 'SpecialApprovedRevs.php'; |
| 41 | +$wgSpecialPageGroups['ApprovedRevs'] = 'pages'; |
| 42 | + |
| 43 | +// hooks |
| 44 | +$wgHooks['ParserBeforeInternalParse'][] = 'ApprovedRevsHooks::setApprovedRevForParsing'; |
| 45 | +$wgHooks['ArticleSaveComplete'][] = 'ApprovedRevsHooks::setLatestAsApproved'; |
| 46 | +$wgHooks['ArticleFromTitle'][] = 'ApprovedRevsHooks::showApprovedRevision'; |
| 47 | +$wgHooks['ArticleAfterFetchContent'][] = 'ApprovedRevsHooks::showBlankIfUnapproved'; |
| 48 | +$wgHooks['DisplayOldSubtitle'][] = 'ApprovedRevsHooks::setSubtitle'; |
| 49 | +// it's 'SkinTemplateNavigation' for the Vector skin, 'SkinTemplateTabs' for |
| 50 | +// most other skins |
| 51 | +$wgHooks['SkinTemplateTabs'][] = 'ApprovedRevsHooks::changeEditLink'; |
| 52 | +$wgHooks['SkinTemplateNavigation'][] = 'ApprovedRevsHooks::changeEditLinkVector'; |
| 53 | +$wgHooks['PageHistoryBeforeList'][] = 'ApprovedRevsHooks::storeApprovedRevisionForHistoryPage'; |
| 54 | +$wgHooks['PageHistoryLineEnding'][] = 'ApprovedRevsHooks::addApprovalLink'; |
| 55 | +$wgHooks['UnknownAction'][] = 'ApprovedRevsHooks::setAsApproved'; |
| 56 | +$wgHooks['UnknownAction'][] = 'ApprovedRevsHooks::unsetAsApproved'; |
| 57 | +$wgHooks['BeforeParserFetchTemplateAndtitle'][] = 'ApprovedRevsHooks::setTranscludedPageRev'; |
| 58 | +$wgHooks['ArticleDeleteComplete'][] = 'ApprovedRevsHooks::deleteRevisionApproval'; |
| 59 | +$wgHooks['MagicWordwgVariableIDs'][] = 'ApprovedRevsHooks::addMagicWordVariableIDs'; |
| 60 | +$wgHooks['LanguageGetMagic'][] = 'ApprovedRevsHooks::addMagicWordLanguage'; |
| 61 | +$wgHooks['ParserBeforeTidy'][] = 'ApprovedRevsHooks::handleMagicWords'; |
| 62 | +$wgHooks['AdminLinks'][] = 'ApprovedRevsHooks::addToAdminLinks'; |
| 63 | +$wgHooks['LoadExtensionSchemaUpdates'][] = 'ApprovedRevsHooks::describeDBSchema'; |
| 64 | +$wgHooks['EditPage::showEditForm:initial'][] = 'ApprovedRevsHooks::addWarningToEditPage'; |
| 65 | +$wgHooks['sfHTMLBeforeForm'][] = 'ApprovedRevsHooks::addWarningToSFForm'; |
| 66 | + |
| 67 | +// logging |
| 68 | +$wgLogTypes['approval'] = 'approval'; |
| 69 | +$wgLogNames['approval'] = 'approvedrevs-logname'; |
| 70 | +$wgLogHeaders['approval'] = 'approvedrevs-logdesc'; |
| 71 | +$wgLogActions['approval/approve'] = 'approvedrevs-approveaction'; |
| 72 | +$wgLogActions['approval/unapprove'] = 'approvedrevs-unapproveaction'; |
| 73 | + |
| 74 | +// user rights |
| 75 | +$wgAvailableRights[] = 'approverevisions'; |
| 76 | +$wgGroupPermissions['sysop']['approverevisions'] = true; |
| 77 | +$wgAvailableRights[] = 'viewlinktolatest'; |
| 78 | +$wgGroupPermissions['*']['viewlinktolatest'] = true; |
| 79 | + |
| 80 | +// page properties |
| 81 | +$wgPageProps['approvedrevs'] = 'Whether or not the page is approvable'; |
Property changes on: tags/extensions/ApprovedRevs/REL_0_5_5/ApprovedRevs.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 82 | + native |
Index: tags/extensions/ApprovedRevs/REL_0_5_5/ApprovedRevs.css |
— | — | @@ -0,0 +1,15 @@ |
| 2 | +/** |
| 3 | + * CSS definitions for the Approved Revs extension |
| 4 | + */ |
| 5 | +p.approvedRevsEditWarning { |
| 6 | + font-weight: bold; |
| 7 | +} |
| 8 | +span.approvedAndLatestMsg { |
| 9 | +} |
| 10 | +span.notLatestMsg { |
| 11 | +} |
| 12 | +span.approvedRevIsLatest { |
| 13 | +} |
| 14 | +span.approvedRevNotLatest { |
| 15 | + font-style: italic; |
| 16 | +} |
Property changes on: tags/extensions/ApprovedRevs/REL_0_5_5/ApprovedRevs.css |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 17 | + native |
Index: tags/extensions/ApprovedRevs/REL_0_5_5/SpecialApprovedRevs.php |
— | — | @@ -0,0 +1,241 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Special page that displays various lists of pages that either do or do |
| 5 | + * not have an approved revision. |
| 6 | + * |
| 7 | + * @author Yaron Koren |
| 8 | + */ |
| 9 | + |
| 10 | +if ( !defined( 'MEDIAWIKI' ) ) die(); |
| 11 | + |
| 12 | +class SpecialApprovedRevs extends SpecialPage { |
| 13 | + |
| 14 | + /** |
| 15 | + * Constructor |
| 16 | + */ |
| 17 | + function __construct() { |
| 18 | + parent::__construct( 'ApprovedRevs' ); |
| 19 | + ApprovedRevs::loadMessages(); |
| 20 | + } |
| 21 | + |
| 22 | + function execute( $query ) { |
| 23 | + global $wgRequest; |
| 24 | + |
| 25 | + ApprovedRevs::addCSS(); |
| 26 | + $this->setHeaders(); |
| 27 | + list( $limit, $offset ) = wfCheckLimits(); |
| 28 | + $mode = $wgRequest->getVal( 'show' ); |
| 29 | + $rep = new SpecialApprovedRevsPage( $mode ); |
| 30 | + if ( method_exists( $rep, 'execute' ) ) { |
| 31 | + return $rep->execute( $query ); |
| 32 | + } else { |
| 33 | + return $rep->doQuery( $offset, $limit ); |
| 34 | + } |
| 35 | + } |
| 36 | +} |
| 37 | + |
| 38 | +class SpecialApprovedRevsPage extends QueryPage { |
| 39 | + private $mMode; |
| 40 | + |
| 41 | + public function __construct( $mode ) { |
| 42 | + if ( $this instanceof SpecialPage ) { |
| 43 | + parent::__construct( 'ApprovedRevs' ); |
| 44 | + } |
| 45 | + $this->mMode = $mode; |
| 46 | + } |
| 47 | + |
| 48 | + function getName() { |
| 49 | + return "ApprovedRevs"; |
| 50 | + } |
| 51 | + |
| 52 | + function isExpensive() { return false; } |
| 53 | + |
| 54 | + function isSyndicated() { return false; } |
| 55 | + |
| 56 | + function getPageHeader() { |
| 57 | + // show the names of the three lists of pages, with the one |
| 58 | + // corresponding to the current "mode" not being linked |
| 59 | + $approvedPagesPage = SpecialPage::getPage( 'ApprovedRevs' ); |
| 60 | + $approvedPagesTitle = SpecialPage::getPage( 'ApprovedRevs' )->getTitle(); |
| 61 | + $navLine = wfMsg( 'approvedrevs-view' ) . ' '; |
| 62 | + if ( $this->mMode == '' ) { |
| 63 | + $navLine .= Xml::element( 'strong', |
| 64 | + null, |
| 65 | + wfMsg( 'approvedrevs-approvedpages' ) |
| 66 | + ); |
| 67 | + } else { |
| 68 | + $navLine .= Xml::element( 'a', |
| 69 | + array( 'href' => $approvedPagesTitle->getLocalURL() ), |
| 70 | + wfMsg( 'approvedrevs-approvedpages' ) |
| 71 | + ); |
| 72 | + } |
| 73 | + $navLine .= " | "; |
| 74 | + if ( $this->mMode == 'notlatest' ) { |
| 75 | + $navLine .= Xml::element( 'strong', |
| 76 | + null, |
| 77 | + wfMsg( 'approvedrevs-notlatestpages' ) |
| 78 | + ); |
| 79 | + } else { |
| 80 | + $navLine .= Xml::element( 'a', |
| 81 | + array( 'href' => $approvedPagesTitle->getLocalURL( array( 'show' => 'notlatest' ) ) ), |
| 82 | + wfMsg( 'approvedrevs-notlatestpages' ) |
| 83 | + ); |
| 84 | + } |
| 85 | + $navLine .= " | "; |
| 86 | + if ( $this->mMode == 'unapproved' ) { |
| 87 | + $navLine .= Xml::element( 'strong', |
| 88 | + null, |
| 89 | + wfMsg( 'approvedrevs-unapprovedpages' ) |
| 90 | + ); |
| 91 | + } else { |
| 92 | + $navLine .= Xml::element( 'a', |
| 93 | + array( 'href' => $approvedPagesTitle->getLocalURL( array( 'show' => 'unapproved' ) ) ), |
| 94 | + wfMsg( 'approvedrevs-unapprovedpages' ) |
| 95 | + ); |
| 96 | + } |
| 97 | + $header = Xml::tags( 'p', null, $navLine ) . "\n"; |
| 98 | + return $header; |
| 99 | + } |
| 100 | + |
| 101 | + /** |
| 102 | + * Set parameters for standard navigation links. |
| 103 | + */ |
| 104 | + function linkParameters() { |
| 105 | + $params = array(); |
| 106 | + if ( $this->mMode == 'notlatest' ) { |
| 107 | + $params['show'] = 'notlatest'; |
| 108 | + } elseif ( $this->mMode == 'unapproved' ) { |
| 109 | + $params['show'] = 'unapproved'; |
| 110 | + } else { // all approved pages |
| 111 | + } |
| 112 | + return $params; |
| 113 | + } |
| 114 | + |
| 115 | + function getPageFooter() { |
| 116 | + } |
| 117 | + |
| 118 | + function getSQL() { |
| 119 | + $dbr = wfGetDB( DB_SLAVE ); |
| 120 | + $approved_revs = $dbr->tableName( 'approved_revs' ); |
| 121 | + $page = $dbr->tableName( 'page' ); |
| 122 | + if ( $this->mMode == 'notlatest' ) { |
| 123 | + return "SELECT 'Page' AS type, |
| 124 | + p.page_id AS id, |
| 125 | + ar.rev_id AS rev_id, |
| 126 | + p.page_latest AS latest_id |
| 127 | + FROM $approved_revs ar JOIN $page p |
| 128 | + ON ar.page_id = p.page_id |
| 129 | + WHERE p.page_latest != ar.rev_id"; |
| 130 | + } elseif ( $this->mMode == 'unapproved' ) { |
| 131 | + return "SELECT 'Page' AS type, |
| 132 | + p.page_id AS id |
| 133 | + FROM $approved_revs ar RIGHT OUTER JOIN $page p |
| 134 | + ON ar.page_id = p.page_id |
| 135 | + WHERE ar.page_id IS NULL"; |
| 136 | + } else { // all approved pages |
| 137 | + return "SELECT 'Page' AS type, |
| 138 | + p.page_id AS id, |
| 139 | + ar.rev_id AS rev_id, |
| 140 | + p.page_latest AS latest_id |
| 141 | + FROM $approved_revs ar JOIN $page p |
| 142 | + ON ar.page_id = p.page_id"; |
| 143 | + } |
| 144 | + } |
| 145 | + |
| 146 | + function getQueryInfo() { |
| 147 | + if ( $this->mMode == 'notlatest' ) { |
| 148 | + return array( |
| 149 | + 'tables' => array( 'ar' => 'approved_revs', 'p' => 'page' ), |
| 150 | + 'fields' => array( |
| 151 | + 'p.page_id AS id', |
| 152 | + 'ar.rev_id AS rev_id', |
| 153 | + 'p.page_latest AS latest_id', |
| 154 | + ), |
| 155 | + 'join_conds' => array( |
| 156 | + 'p' => array( |
| 157 | + 'JOIN', 'ar.page_id=p.page_id' |
| 158 | + ) |
| 159 | + ), |
| 160 | + 'conds' => array( 'p.page_latest != ar.rev_id') |
| 161 | + ); |
| 162 | + } elseif ( $this->mMode == 'unapproved' ) { |
| 163 | + return array( |
| 164 | + 'tables' => array( 'ar' => 'approved_revs', 'p' => 'page' ), |
| 165 | + 'fields' => array( 'p.page_id AS id' ), |
| 166 | + 'join_conds' => array( |
| 167 | + 'p' => array( |
| 168 | + 'RIGHT OUTER JOIN', 'ar.page_id=p.page_id' |
| 169 | + ) |
| 170 | + ), |
| 171 | + 'conds' => array( "ar.page_id IS NULL" ) |
| 172 | + ); |
| 173 | + } else { // all approved pages |
| 174 | + return array( |
| 175 | + 'tables' => array( 'ar' => 'approved_revs', 'p' => 'page' ), |
| 176 | + 'fields' => array( |
| 177 | + 'p.page_id AS id', |
| 178 | + 'ar.rev_id AS rev_id', |
| 179 | + 'p.page_latest AS latest_id', |
| 180 | + ), |
| 181 | + 'join_conds' => array( |
| 182 | + 'p' => array( |
| 183 | + 'JOIN', 'ar.page_id=p.page_id' |
| 184 | + ) |
| 185 | + ), |
| 186 | + ); |
| 187 | + } |
| 188 | + } |
| 189 | + |
| 190 | + function getOrder() { |
| 191 | + return ' ORDER BY p.page_namespace, p.page_title ASC'; |
| 192 | + } |
| 193 | + |
| 194 | + function getOrderFields() { |
| 195 | + return array( 'p.page_namespace', 'p.page_title' ); |
| 196 | + } |
| 197 | + |
| 198 | + function formatResult( $skin, $result ) { |
| 199 | + $title = Title::newFromId( $result->id ); |
| 200 | + $pageLink = $skin->makeLinkObj( $title ); |
| 201 | + if ( $this->mMode == 'unapproved' ) { |
| 202 | + return $pageLink; |
| 203 | + } elseif ( $this->mMode == 'notlatest' ) { |
| 204 | + $diffLink = Xml::element( 'a', |
| 205 | + array( 'href' => $title->getLocalUrl( |
| 206 | + array( |
| 207 | + 'diff' => $result->latest_id, |
| 208 | + 'oldid' => $result->rev_id |
| 209 | + ) |
| 210 | + ) ), |
| 211 | + wfMsg( 'approvedrevs-difffromlatest' ) |
| 212 | + ); |
| 213 | + return "$pageLink ($diffLink)"; |
| 214 | + } else { |
| 215 | + global $wgUser, $wgOut, $wgLang; |
| 216 | + if ( $result->rev_id == $result->latest_id ) { |
| 217 | + $class = "approvedRevIsLatest"; |
| 218 | + } else { |
| 219 | + $class = "approvedRevNotLatest"; |
| 220 | + } |
| 221 | + $additionalInfo = Xml::element( 'span', |
| 222 | + array ( 'class' => $class ), |
| 223 | + wfMsg( 'approvedrevs-revisionnumber', $result->rev_id ) |
| 224 | + ); |
| 225 | + |
| 226 | + // Get data on the most recent approval from the |
| 227 | + // 'approval' log, and display it if it's there. |
| 228 | + $sk = $wgUser->getSkin(); |
| 229 | + $loglist = new LogEventsList( $sk, $wgOut ); |
| 230 | + $pager = new LogPager( $loglist, 'approval', '', $title->getText() ); |
| 231 | + $pager->mLimit = 1; |
| 232 | + $pager->doQuery(); |
| 233 | + $row = $pager->mResult->fetchObject(); |
| 234 | + if ( !empty( $row ) ) { |
| 235 | + $time = $wgLang->timeanddate( wfTimestamp( TS_MW, $row->log_timestamp ), true ); |
| 236 | + $userLink = $sk->userLink( $row->log_user, $row->user_name ); |
| 237 | + $additionalInfo .= ', ' . wfMsg( 'approvedrevs-approvedby', $userLink, $time ); |
| 238 | + } |
| 239 | + return "$pageLink ($additionalInfo)"; |
| 240 | + } |
| 241 | + } |
| 242 | +} |
Property changes on: tags/extensions/ApprovedRevs/REL_0_5_5/SpecialApprovedRevs.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 243 | + native |
Index: tags/extensions/ApprovedRevs/REL_0_5_5/ApprovedRevs.hooks.php |
— | — | @@ -0,0 +1,541 @@ |
| 2 | +<?php |
| 3 | + |
| 4 | +/** |
| 5 | + * Functions for the Approved Revs extension called by hooks in the MediaWiki |
| 6 | + * code. |
| 7 | + * |
| 8 | + * @file |
| 9 | + * @ingroup Extensions |
| 10 | + * |
| 11 | + * @author Yaron Koren |
| 12 | + */ |
| 13 | + |
| 14 | +class ApprovedRevsHooks { |
| 15 | + |
| 16 | + /** |
| 17 | + * If the page is being saved, set the text of the approved revision |
| 18 | + * as the text to be parsed, for correct saving of categories, |
| 19 | + * Semantic MediaWiki properties, etc. |
| 20 | + */ |
| 21 | + static public function setApprovedRevForParsing( &$parser, &$text, &$stripState ) { |
| 22 | + global $wgRequest; |
| 23 | + if ( $wgRequest->getCheck( 'wpSave' ) ) { |
| 24 | + // @HACK !! If the Semantic Forms extension is being |
| 25 | + // used, the form will be parsed right before the page |
| 26 | + // is parsed, and there doesn't seem to be any way |
| 27 | + // to determine, from within this hook function, |
| 28 | + // which one is being parsed at the moment - we only |
| 29 | + // want to modify the parsing of the main page, not |
| 30 | + // of the form page. So look for a string that should |
| 31 | + // appear in every form page, but should really never |
| 32 | + // appear in non-form pages - '{{{for template'. |
| 33 | + if ( strpos( $text, '{{{for template' ) !== false ) { |
| 34 | + return true; |
| 35 | + } |
| 36 | + $title = $parser->getTitle(); |
| 37 | + if ( ! ApprovedRevs::pageIsApprovable( $title ) ) { |
| 38 | + return true; |
| 39 | + } |
| 40 | + // if this is someone with approval power editing the |
| 41 | + // page, exit now, because this will become the |
| 42 | + // approved revision anyway |
| 43 | + if ( $title->userCan( 'approverevisions' ) ) { |
| 44 | + return true; |
| 45 | + } |
| 46 | + $approvedText = ApprovedRevs::getApprovedContent( $title ); |
| 47 | + if ( !is_null( $approvedText ) ) { |
| 48 | + $text = $approvedText; |
| 49 | + } |
| 50 | + // if there's no approved revision, and 'blank if |
| 51 | + // unapproved' is set to true, set the text to blank |
| 52 | + if ( is_null( $approvedText ) ) { |
| 53 | + global $egApprovedRevsBlankIfUnapproved; |
| 54 | + if ( $egApprovedRevsBlankIfUnapproved ) { |
| 55 | + $text = ''; |
| 56 | + } |
| 57 | + } |
| 58 | + } |
| 59 | + return true; |
| 60 | + } |
| 61 | + |
| 62 | + /** |
| 63 | + * If the user saving this page has approval power, and automatic |
| 64 | + * approvals are enabled, and the page is approvable, and either |
| 65 | + * (a) this page already has an approved revision, or (b) unapproved |
| 66 | + * pages are shown as blank on this wiki, automatically set this |
| 67 | + * latest revision to be the approved one - don't bother logging |
| 68 | + * the approval, though; the log is reserved for manual approvals. |
| 69 | + */ |
| 70 | + static public function setLatestAsApproved( &$article , &$user, $text, |
| 71 | + $summary, $flags, $unused1, $unused2, &$flags, $revision, |
| 72 | + &$status, $baseRevId ) { |
| 73 | + |
| 74 | + if ( is_null( $revision ) ) { |
| 75 | + return true; |
| 76 | + } |
| 77 | + |
| 78 | + $title = $article->getTitle(); |
| 79 | + if ( ! $title->userCan( 'approverevisions' ) ) { |
| 80 | + return true; |
| 81 | + } |
| 82 | + |
| 83 | + global $egApprovedRevsAutomaticApprovals; |
| 84 | + if ( ! $egApprovedRevsAutomaticApprovals ) { |
| 85 | + return true; |
| 86 | + } |
| 87 | + |
| 88 | + if ( !ApprovedRevs::pageIsApprovable( $title ) ) { |
| 89 | + return true; |
| 90 | + } |
| 91 | + |
| 92 | + global $egApprovedRevsBlankIfUnapproved; |
| 93 | + if ( !$egApprovedRevsBlankIfUnapproved ) { |
| 94 | + $approvedRevID = ApprovedRevs::getApprovedRevID( $title ); |
| 95 | + if ( empty( $approvedRevID ) ) { |
| 96 | + return true; |
| 97 | + } |
| 98 | + } |
| 99 | + |
| 100 | + // save approval without logging |
| 101 | + ApprovedRevs::saveApprovedRevIDInDB( $title, $revision->getID() ); |
| 102 | + return true; |
| 103 | + } |
| 104 | + |
| 105 | + /** |
| 106 | + * Return the approved revision of the page, if there is one, and if |
| 107 | + * the page is simply being viewed, and if no specific revision has |
| 108 | + * been requested. |
| 109 | + */ |
| 110 | + static function showApprovedRevision( &$title, &$article ) { |
| 111 | + if ( ! ApprovedRevs::isDefaultPageRequest() ) { |
| 112 | + return true; |
| 113 | + } |
| 114 | + |
| 115 | + $revisionID = ApprovedRevs::getApprovedRevID( $title ); |
| 116 | + if ( ! empty( $revisionID ) ) { |
| 117 | + $article = new Article( $title, $revisionID ); |
| 118 | + } |
| 119 | + return true; |
| 120 | + } |
| 121 | + |
| 122 | + public static function showBlankIfUnapproved( &$article, &$content ) { |
| 123 | + global $egApprovedRevsBlankIfUnapproved; |
| 124 | + if ( ! $egApprovedRevsBlankIfUnapproved ) { |
| 125 | + return true; |
| 126 | + } |
| 127 | + |
| 128 | + $title = $article->getTitle(); |
| 129 | + if ( ! ApprovedRevs::pageIsApprovable( $title ) ) { |
| 130 | + return true; |
| 131 | + } |
| 132 | + |
| 133 | + $revisionID = ApprovedRevs::getApprovedRevID( $title ); |
| 134 | + if ( !empty( $revisionID ) ) { |
| 135 | + return true; |
| 136 | + } |
| 137 | + |
| 138 | + // This looks extreme - disable the cache for every page, |
| 139 | + // if users aren't meant to see pages with no approved |
| 140 | + // revision, and this page has no approved revision - but |
| 141 | + // there doesn't seem to be any other way to distinguish |
| 142 | + // between a user looking at the main view of page, and a |
| 143 | + // user specifically looking at the latest revision of the |
| 144 | + // page (which we don't want to show as blank.) |
| 145 | + global $wgEnableParserCache; |
| 146 | + $wgEnableParserCache = false; |
| 147 | + |
| 148 | + if ( ! ApprovedRevs::isDefaultPageRequest() ) { |
| 149 | + return true; |
| 150 | + } |
| 151 | + |
| 152 | + ApprovedRevs::addCSS(); |
| 153 | + ApprovedRevs::loadMessages(); |
| 154 | + |
| 155 | + $content = ''; |
| 156 | + global $wgOut; |
| 157 | + if ( $wgOut->getSubtitle() != '' ) { |
| 158 | + $wgOut->appendSubtitle( "<br />" . wfMsg( 'approvedrevs-blankpageshown' ) ); |
| 159 | + } else { |
| 160 | + $wgOut->setSubtitle( wfMsg( 'approvedrevs-blankpageshown' ) ); |
| 161 | + } |
| 162 | + |
| 163 | + return true; |
| 164 | + } |
| 165 | + |
| 166 | + /** |
| 167 | + * If user is viewing the page via its main URL, and what they're |
| 168 | + * seeing is the approved revision of the page, remove the standard |
| 169 | + * subtitle shown for all non-latest revisions, and replace it with |
| 170 | + * either nothing or a message explaining the situation, depending |
| 171 | + * on the user's rights |
| 172 | + */ |
| 173 | + static function setSubtitle( &$article, &$revisionID ) { |
| 174 | + if ( ! ApprovedRevs::hasApprovedRevision( $article->getTitle() ) ) { |
| 175 | + return true; |
| 176 | + } |
| 177 | + |
| 178 | + global $wgRequest; |
| 179 | + if ( $wgRequest->getCheck( 'oldid' ) ) { |
| 180 | + // If the user is looking at the latest revision, |
| 181 | + // disable caching, to avoid the wiki getting the |
| 182 | + // contents from the cache, and thus getting the |
| 183 | + // approved contents instead (seems to be an issue |
| 184 | + // only for MW >= 1.17). |
| 185 | + if ( $revisionID == $article->getLatest() ) { |
| 186 | + global $wgEnableParserCache; |
| 187 | + $wgEnableParserCache = false; |
| 188 | + } |
| 189 | + return true; |
| 190 | + } |
| 191 | + |
| 192 | + if ( ! $article->getTitle()->userCan( 'viewlinktolatest' ) ) { |
| 193 | + return false; |
| 194 | + } |
| 195 | + |
| 196 | + ApprovedRevs::addCSS(); |
| 197 | + ApprovedRevs::loadMessages(); |
| 198 | + if ( $revisionID == $article->getLatest() ) { |
| 199 | + $text = Xml::element( |
| 200 | + 'span', |
| 201 | + array( 'class' => 'approvedAndLatestMsg' ), |
| 202 | + wfMsg( 'approvedrevs-approvedandlatest' ) |
| 203 | + ); |
| 204 | + } else { |
| 205 | + $text = wfMsg( 'approvedrevs-notlatest' ); |
| 206 | + global $wgUser; |
| 207 | + $sk = $wgUser->getSkin(); |
| 208 | + $curRevLink = $sk->link( |
| 209 | + $article->getTitle(), |
| 210 | + wfMsgHtml( 'approvedrevs-viewlatest' ), |
| 211 | + array(), |
| 212 | + array( 'oldid' => $article->getLatest() ), |
| 213 | + array( 'known', 'noclasses' ) |
| 214 | + ); |
| 215 | + $text .= ' ' . $curRevLink; |
| 216 | + $text = Xml::tags( |
| 217 | + 'span', |
| 218 | + array( 'class' => 'notLatestMsg' ), |
| 219 | + $text |
| 220 | + ); |
| 221 | + } |
| 222 | + global $wgOut; |
| 223 | + if ( $wgOut->getSubtitle() != '' ) { |
| 224 | + $wgOut->appendSubtitle( "<br />" . $text ); |
| 225 | + } else { |
| 226 | + $wgOut->setSubtitle( $text ); |
| 227 | + } |
| 228 | + return false; |
| 229 | + } |
| 230 | + |
| 231 | + /** |
| 232 | + * Add a warning to the top of the 'edit' page if the approved |
| 233 | + * revision is not the same as the latest one, so that users don't |
| 234 | + * get confused, since they'll be seeing the latest one. |
| 235 | + */ |
| 236 | + public static function addWarningToEditPage( &$editPage ) { |
| 237 | + // only show the warning if it's not an old revision |
| 238 | + global $wgRequest; |
| 239 | + if ( $wgRequest->getCheck( 'oldid' ) ) { |
| 240 | + return true; |
| 241 | + } |
| 242 | + $title = $editPage->getArticle()->getTitle(); |
| 243 | + $approvedRevID = ApprovedRevs::getApprovedRevID( $title ); |
| 244 | + $latestRevID = $title->getLatestRevID(); |
| 245 | + if ( ! empty( $approvedRevID ) && $approvedRevID != $latestRevID ) { |
| 246 | + ApprovedRevs::addCSS(); |
| 247 | + ApprovedRevs::loadMessages(); |
| 248 | + global $wgOut; |
| 249 | + $wgOut->addHTML( '<p class="approvedRevsEditWarning">' . wfMsg( 'approvedrevs-editwarning' ) . "</p>\n" ); |
| 250 | + } |
| 251 | + return true; |
| 252 | + } |
| 253 | + |
| 254 | + /** |
| 255 | + * Same as addWarningToEditPage(), but for the Semantic Foms |
| 256 | + * 'edit with form' tab |
| 257 | + */ |
| 258 | + public static function addWarningToSFForm( &$pageName, &$preFormHTML ) { |
| 259 | + // The title could be obtained via $pageName in theory - the |
| 260 | + // problem is that, pre-SF 2.0.2, that variable wasn't set |
| 261 | + // correctly. |
| 262 | + global $wgTitle; |
| 263 | + $approvedRevID = ApprovedRevs::getApprovedRevID( $wgTitle ); |
| 264 | + $latestRevID = $wgTitle->getLatestRevID(); |
| 265 | + if ( ! empty( $approvedRevID ) && $approvedRevID != $latestRevID ) { |
| 266 | + ApprovedRevs::addCSS(); |
| 267 | + ApprovedRevs::loadMessages(); |
| 268 | + $preFormHTML .= '<p><strong>' . wfMsg( 'approvedrevs-editwarning' ) . "</strong></p>\n"; |
| 269 | + } |
| 270 | + return true; |
| 271 | + } |
| 272 | + |
| 273 | + /** |
| 274 | + * If user is looking at a revision through a main 'view' URL (no |
| 275 | + * revision specified), have the 'edit' tab link to the basic |
| 276 | + * 'action=edit' URL (i.e., the latest revision), no matter which |
| 277 | + * revision they're actually on. |
| 278 | + */ |
| 279 | + static function changeEditLink( $skin, &$contentActions ) { |
| 280 | + global $wgRequest; |
| 281 | + if ( $wgRequest->getCheck( 'oldid' ) ) { |
| 282 | + return true; |
| 283 | + } |
| 284 | + // Skin::getTitle was only added in MW 1.16 |
| 285 | + if ( method_exists( $skin, 'getTitle' ) ) { |
| 286 | + $title = $skin->getTitle(); |
| 287 | + } else { |
| 288 | + global $wgTitle; |
| 289 | + $title = $wgTitle; |
| 290 | + } |
| 291 | + if ( ApprovedRevs::hasApprovedRevision( $title ) ) { |
| 292 | + // the URL is the same regardless of whether the tab |
| 293 | + // is 'edit' or 'view source', but the "action" is |
| 294 | + // different |
| 295 | + if ( array_key_exists( 'edit', $contentActions ) ) { |
| 296 | + $contentActions['edit']['href'] = $title->getLocalUrl( array( 'action' => 'edit' ) ); |
| 297 | + } |
| 298 | + if ( array_key_exists( 'viewsource', $contentActions ) ) { |
| 299 | + $contentActions['viewsource']['href'] = $title->getLocalUrl( array( 'action' => 'edit' ) ); |
| 300 | + } |
| 301 | + } |
| 302 | + return true; |
| 303 | + } |
| 304 | + |
| 305 | + /** |
| 306 | + * Same as changedEditLink(), but only for the Vector skin (and |
| 307 | + * related skins). |
| 308 | + */ |
| 309 | + static function changeEditLinkVector( &$skin, &$links ) { |
| 310 | + // the old '$content_actions' array is thankfully just a |
| 311 | + // sub-array of this one |
| 312 | + self::changeEditLink( $skin, $links['views'] ); |
| 313 | + return true; |
| 314 | + } |
| 315 | + |
| 316 | + /** |
| 317 | + * Store the approved revision ID, if any, directly in the object |
| 318 | + * for this article - this is called so that a query to the database |
| 319 | + * can be made just once for every view of a history page, instead |
| 320 | + * of for every row. |
| 321 | + */ |
| 322 | + static function storeApprovedRevisionForHistoryPage( &$article ) { |
| 323 | + // this will be null if there's no ID |
| 324 | + $approvedRevID = ApprovedRevs::getApprovedRevID( $article->getTitle() ); |
| 325 | + $article->approvedRevID = $approvedRevID; |
| 326 | + // also load extension messages, while we're at it |
| 327 | + ApprovedRevs::loadMessages(); |
| 328 | + return true; |
| 329 | + } |
| 330 | + |
| 331 | + /** |
| 332 | + * If the user is allowed to make revision approvals, add either an |
| 333 | + * 'approve' or 'unapprove' link to the end of this row in the page |
| 334 | + * history, depending on whether or not this is already the approved |
| 335 | + * revision. If it's the approved revision also add on a "star" |
| 336 | + * icon, regardless of the user. |
| 337 | + */ |
| 338 | + static function addApprovalLink( $historyPage, &$row , &$s ) { |
| 339 | + $title = $historyPage->getTitle(); |
| 340 | + if ( ! ApprovedRevs::pageIsApprovable( $title ) ) { |
| 341 | + return true; |
| 342 | + } |
| 343 | + |
| 344 | + $article = $historyPage->getArticle(); |
| 345 | + // use the rev ID field in the $article object, which was |
| 346 | + // stored earlier |
| 347 | + $approvedRevID = $article->approvedRevID; |
| 348 | + if ( $row->rev_id == $approvedRevID ) { |
| 349 | + $s .= '★ '; |
| 350 | + } |
| 351 | + if ( $title->userCan( 'approverevisions' ) ) { |
| 352 | + if ( $row->rev_id == $approvedRevID ) { |
| 353 | + $url = $title->getLocalUrl( |
| 354 | + array( 'action' => 'unapprove' ) |
| 355 | + ); |
| 356 | + $msg = wfMsg( 'approvedrevs-unapprove' ); |
| 357 | + } else { |
| 358 | + $url = $title->getLocalUrl( |
| 359 | + array( 'action' => 'approve', 'oldid' => $row->rev_id ) |
| 360 | + ); |
| 361 | + $msg = wfMsg( 'approvedrevs-approve' ); |
| 362 | + } |
| 363 | + $s .= '(' . Xml::element( |
| 364 | + 'a', |
| 365 | + array( 'href' => $url ), |
| 366 | + $msg |
| 367 | + ) . ')'; |
| 368 | + } |
| 369 | + return true; |
| 370 | + } |
| 371 | + |
| 372 | + /** |
| 373 | + * Handle the 'approve' action, defined for ApprovedRevs - |
| 374 | + * mark the revision as approved, log it, and show a message to |
| 375 | + * the user. |
| 376 | + */ |
| 377 | + static function setAsApproved( $action, $article ) { |
| 378 | + // return "true" if the call failed (meaning, pass on handling |
| 379 | + // of the hook to others), and "false" otherwise |
| 380 | + if ( $action != 'approve' ) { |
| 381 | + return true; |
| 382 | + } |
| 383 | + $title = $article->getTitle(); |
| 384 | + if ( ! ApprovedRevs::pageIsApprovable( $title ) ) { |
| 385 | + return true; |
| 386 | + } |
| 387 | + if ( ! $title->userCan( 'approverevisions' ) ) { |
| 388 | + return true; |
| 389 | + } |
| 390 | + global $wgRequest; |
| 391 | + if ( ! $wgRequest->getCheck( 'oldid' ) ) { |
| 392 | + return true; |
| 393 | + } |
| 394 | + $revision_id = $wgRequest->getVal( 'oldid' ); |
| 395 | + ApprovedRevs::setApprovedRevID( $title, $revision_id ); |
| 396 | + |
| 397 | + global $wgOut; |
| 398 | + $wgOut->addHTML( ' ' . Xml::element( |
| 399 | + 'div', |
| 400 | + array( 'class' => 'successbox' ), |
| 401 | + wfMsg( 'approvedrevs-approvesuccess' ) |
| 402 | + ) . "\n" ); |
| 403 | + $wgOut->addHTML( ' ' . Xml::element( |
| 404 | + 'p', |
| 405 | + array( 'style' => 'clear: both' ) |
| 406 | + ) . "\n" ); |
| 407 | + |
| 408 | + // show the revision, instead of the history page |
| 409 | + $article->doPurge(); |
| 410 | + $article->view(); |
| 411 | + return false; |
| 412 | + } |
| 413 | + |
| 414 | + /** |
| 415 | + * Handle the 'unapprove' action, defined for ApprovedRevs - |
| 416 | + * unset the previously-approved revision, log the change, and show |
| 417 | + * a message to the user. |
| 418 | + */ |
| 419 | + static function unsetAsApproved( $action, $article ) { |
| 420 | + // return "true" if the call failed (meaning, pass on handling |
| 421 | + // of the hook to others), and "false" otherwise |
| 422 | + if ( $action != 'unapprove' ) { |
| 423 | + return true; |
| 424 | + } |
| 425 | + $title = $article->getTitle(); |
| 426 | + if ( ! $title->userCan( 'approverevisions' ) ) { |
| 427 | + return true; |
| 428 | + } |
| 429 | + |
| 430 | + ApprovedRevs::unsetApproval( $title ); |
| 431 | + |
| 432 | + // the message depends on whether the page should display |
| 433 | + // a blank right now or not |
| 434 | + global $egApprovedRevsBlankIfUnapproved; |
| 435 | + if ( $egApprovedRevsBlankIfUnapproved ) { |
| 436 | + $successMsg = wfMsg( 'approvedrevs-unapprovesuccess2' ); |
| 437 | + } else { |
| 438 | + $successMsg = wfMsg( 'approvedrevs-unapprovesuccess' ); |
| 439 | + } |
| 440 | + |
| 441 | + global $wgOut; |
| 442 | + $wgOut->addHTML( ' ' . Xml::element( |
| 443 | + 'div', |
| 444 | + array( 'class' => 'successbox' ), |
| 445 | + $successMsg |
| 446 | + ) . "\n" ); |
| 447 | + $wgOut->addHTML( ' ' . Xml::element( |
| 448 | + 'p', |
| 449 | + array( 'style' => 'clear: both' ) |
| 450 | + ) . "\n" ); |
| 451 | + |
| 452 | + // show the revision, instead of the history page |
| 453 | + $article->doPurge(); |
| 454 | + $article->view(); |
| 455 | + return false; |
| 456 | + } |
| 457 | + |
| 458 | + /** |
| 459 | + * Use the approved revision, if it exists, for templates and other |
| 460 | + * transcluded pages. |
| 461 | + */ |
| 462 | + static function setTranscludedPageRev( $parser, &$title, &$skip, &$id ) { |
| 463 | + $revision_id = ApprovedRevs::getApprovedRevID( $title ); |
| 464 | + if ( ! empty( $revision_id ) ) { |
| 465 | + $id = $revision_id; |
| 466 | + } |
| 467 | + return true; |
| 468 | + } |
| 469 | + |
| 470 | + /** |
| 471 | + * Delete the approval record in the database if the page itself is |
| 472 | + * deleted. |
| 473 | + */ |
| 474 | + static function deleteRevisionApproval( &$article, &$user, $reason, $id ) { |
| 475 | + ApprovedRevs::deleteRevisionApproval( $article->getTitle() ); |
| 476 | + return true; |
| 477 | + } |
| 478 | + |
| 479 | + /** |
| 480 | + * Register magic-word variable IDs |
| 481 | + */ |
| 482 | + static function addMagicWordVariableIDs( &$magicWordVariableIDs ) { |
| 483 | + $magicWordVariableIDs[] = 'MAG_APPROVEDREVS'; |
| 484 | + return true; |
| 485 | + } |
| 486 | + |
| 487 | + /** |
| 488 | + * Set the actual value of the magic words |
| 489 | + */ |
| 490 | + static function addMagicWordLanguage( &$magicWords, $langCode ) { |
| 491 | + switch( $langCode ) { |
| 492 | + default: |
| 493 | + $magicWords['MAG_APPROVEDREVS'] = array( 0, '__APPROVEDREVS__' ); |
| 494 | + } |
| 495 | + return true; |
| 496 | + } |
| 497 | + |
| 498 | + /** |
| 499 | + * Set values in the page_props table based on the presence of the |
| 500 | + * 'APPROVEDREVS' magic word in a page |
| 501 | + */ |
| 502 | + static function handleMagicWords( &$parser, &$text ) { |
| 503 | + $mw_hide = MagicWord::get( 'MAG_APPROVEDREVS' ); |
| 504 | + if ( $mw_hide->matchAndRemove( $text ) ) { |
| 505 | + $parser->mOutput->setProperty( 'approvedrevs', 'y' ); |
| 506 | + } |
| 507 | + return true; |
| 508 | + } |
| 509 | + |
| 510 | + /** |
| 511 | + * Add a link to 'Special:ApprovedPages' to the the page |
| 512 | + * 'Special:AdminLinks', defined by the Admin Links extension. |
| 513 | + */ |
| 514 | + function addToAdminLinks( &$admin_links_tree ) { |
| 515 | + $general_section = $admin_links_tree->getSection( wfMsg( 'adminlinks_general' ) ); |
| 516 | + $extensions_row = $general_section->getRow( 'extensions' ); |
| 517 | + if ( is_null( $extensions_row ) ) { |
| 518 | + $extensions_row = new ALRow( 'extensions' ); |
| 519 | + $general_section->addRow( $extensions_row ); |
| 520 | + } |
| 521 | + $extensions_row->addItem( ALItem::newFromSpecialPage( 'ApprovedRevs' ) ); |
| 522 | + return true; |
| 523 | + } |
| 524 | + |
| 525 | + public static function describeDBSchema( $updater = null ) { |
| 526 | + $dir = dirname( __FILE__ ); |
| 527 | + |
| 528 | + // DB updates |
| 529 | + // For now, there's just a single SQL file for all DB types. |
| 530 | + if ( $updater === null ) { |
| 531 | + global $wgExtNewTables, $wgDBtype; |
| 532 | + //if ( $wgDBtype == 'mysql' ) { |
| 533 | + $wgExtNewTables[] = array( 'approved_revs', "$dir/ApprovedRevs.sql" ); |
| 534 | + //} |
| 535 | + } else { |
| 536 | + //if ( $updater->getDB()->getType() == 'mysql' ) { |
| 537 | + $updater->addExtensionUpdate( array( 'addTable', 'approved_revs', "$dir/ApprovedRevs.sql", true ) ); |
| 538 | + //} |
| 539 | + } |
| 540 | + return true; |
| 541 | + } |
| 542 | +} |
Property changes on: tags/extensions/ApprovedRevs/REL_0_5_5/ApprovedRevs.hooks.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 543 | + native |
Index: tags/extensions/ApprovedRevs/REL_0_5_5/README |
— | — | @@ -0,0 +1,36 @@ |
| 2 | +Approved Revs Extension |
| 3 | + |
| 4 | + Version 0.5.5 |
| 5 | + Yaron Koren |
| 6 | + |
| 7 | +This is free software licensed under the GNU General Public License. Please |
| 8 | +see http://www.gnu.org/copyleft/gpl.html for further details, including the |
| 9 | +full text and terms of the license. |
| 10 | + |
| 11 | +== Overview == |
| 12 | + |
| 13 | +Approved Revs is an extension to MediaWiki that lets administrators mark a |
| 14 | +certain revision of a page as "approved". The approved revision is the one |
| 15 | +displayed when users view the page at its main URL. |
| 16 | + |
| 17 | +For more information, see the extension homepage at: |
| 18 | +http://www.mediawiki.org/wiki/Extension:Approved_Revs |
| 19 | + |
| 20 | +== Requirements == |
| 21 | + |
| 22 | +This version of the Approved Revs extension requires MediaWiki 1.11 or |
| 23 | +higher, except for the approveAllPages.php script, which requires |
| 24 | +MediaWiki 1.16 or higher. |
| 25 | + |
| 26 | +== Installation == |
| 27 | + |
| 28 | +To install the extension, place the entire 'ApprovedRevs' directory |
| 29 | +within your MediaWiki 'extensions' directory, then add the following |
| 30 | +line to your 'LocalSettings.php' file: |
| 31 | + |
| 32 | + require_once( "$IP/extensions/ApprovedRevs/ApprovedRevs.php" ); |
| 33 | + |
| 34 | +== Contact == |
| 35 | + |
| 36 | +Comments, questions, suggestions and bug reports should be sent to Yaron |
| 37 | +Koren, at yaron57@gmail.com. |
Property changes on: tags/extensions/ApprovedRevs/REL_0_5_5/README |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 38 | + native |
Index: tags/extensions/ApprovedRevs/REL_0_5_5/ApprovedRevs.alias.php |
— | — | @@ -0,0 +1,32 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Aliases for special pages of Approved Revs extension. |
| 5 | + * |
| 6 | + */ |
| 7 | + |
| 8 | +$specialPageAliases = array(); |
| 9 | + |
| 10 | +/** English (English) */ |
| 11 | +$specialPageAliases['en'] = array( |
| 12 | + 'ApprovedRevs' => array( 'ApprovedRevs', 'ApprovedPages', 'UnapprovedPages' ), |
| 13 | +); |
| 14 | + |
| 15 | +/** Malayalam (മലയാളം) */ |
| 16 | +$specialPageAliases['ml'] = array( |
| 17 | + 'ApprovedRevs' => array( 'അംഗീകൃതതാളുകൾ', 'അംഗീകൃതമല്ലാത്തതാളുകൾ' ), |
| 18 | +); |
| 19 | + |
| 20 | +/** Dutch (Nederlands) */ |
| 21 | +$specialPageAliases['nl'] = array( |
| 22 | + 'ApprovedRevs' => array( 'GoedgekeurdePaginas', 'GoedgekeurdePagina\'s' ), |
| 23 | +); |
| 24 | + |
| 25 | +/** Sanskrit (संस्कृत) */ |
| 26 | +$specialPageAliases['sa'] = array( |
| 27 | + 'ApprovedRevs' => array( 'अंगीकृत_पृष्टानि' ), |
| 28 | +); |
| 29 | + |
| 30 | +/** |
| 31 | + * For backwards compatibility with MediaWiki 1.15 and earlier. |
| 32 | + */ |
| 33 | +$aliases =& $specialPageAliases; |
Property changes on: tags/extensions/ApprovedRevs/REL_0_5_5/ApprovedRevs.alias.php |
___________________________________________________________________ |
Added: svn:keywords |
1 | 34 | + Id |
Added: svn:eol-style |
2 | 35 | + native |
Index: tags/extensions/ApprovedRevs/REL_0_5_5/ApprovedRevs.sql |
— | — | @@ -0,0 +1,6 @@ |
| 2 | +CREATE TABLE /*_*/approved_revs ( |
| 3 | + page_id int(8) default NULL, |
| 4 | + rev_id int(8) default NULL |
| 5 | +) /*$wgDBTableOptions*/; |
| 6 | + |
| 7 | +CREATE UNIQUE INDEX approved_revs_page_id ON /*_*/approved_revs (page_id); |
Property changes on: tags/extensions/ApprovedRevs/REL_0_5_5/ApprovedRevs.sql |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 8 | + native |