Index: tags/extensions/ApprovedRevs/REL_0_5_3/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_3/maintenance/approveAllPages.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 74 | + native |
Index: tags/extensions/ApprovedRevs/REL_0_5_3/ApprovedRevs_body.php |
— | — | @@ -0,0 +1,215 @@ |
| 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 | + self::deleteRevisionApproval( $title ); |
| 177 | + |
| 178 | + $parser = new Parser(); |
| 179 | + $parser->setTitle( $title ); |
| 180 | + $article = new Article( $title ); |
| 181 | + $text = $article->getContent(); |
| 182 | + $options = new ParserOptions(); |
| 183 | + $parser->parse( $text, $title, $options ); |
| 184 | + $u = new LinksUpdate( $title, $parser->getOutput() ); |
| 185 | + $u->doUpdate(); |
| 186 | + |
| 187 | + $log = new LogPage( 'approval' ); |
| 188 | + $log->addEntry( |
| 189 | + 'unapprove', |
| 190 | + $title, |
| 191 | + '' |
| 192 | + ); |
| 193 | + |
| 194 | + wfRunHooks( 'ApprovedRevsRevisionUnapproved', array( $parser, $title ) ); |
| 195 | + } |
| 196 | + |
| 197 | + public static function addCSS() { |
| 198 | + global $wgOut, $egApprovedRevsScriptPath; |
| 199 | + $link = array( |
| 200 | + 'rel' => 'stylesheet', |
| 201 | + 'type' => 'text/css', |
| 202 | + 'media' => "screen", |
| 203 | + 'href' => "$egApprovedRevsScriptPath/ApprovedRevs.css" |
| 204 | + ); |
| 205 | + $wgOut->addLink( $link ); |
| 206 | + } |
| 207 | + |
| 208 | + public static function loadMessages() { |
| 209 | + // for backwards compatibility |
| 210 | + global $wgVersion; |
| 211 | + if ( version_compare( $wgVersion, '1.16', '<' ) ) { |
| 212 | + wfLoadExtensionMessages( 'ApprovedRevs' ); |
| 213 | + } |
| 214 | + } |
| 215 | + |
| 216 | +} |
Property changes on: tags/extensions/ApprovedRevs/REL_0_5_3/ApprovedRevs_body.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 217 | + native |
Index: tags/extensions/ApprovedRevs/REL_0_5_3/ApprovedRevs.i18n.php |
— | — | @@ -0,0 +1,1303 @@ |
| 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 | +/** Luxembourgish (Lëtzebuergesch) |
| 761 | + * @author Les Meloures |
| 762 | + * @author Robby |
| 763 | + */ |
| 764 | +$messages['lb'] = array( |
| 765 | + 'approvedrevs-desc' => 'Eng eenzel Versioun vun enger Säit als nogekuckt markéieren', |
| 766 | + 'approvedrevs-logname' => 'Logbuch vun den nogekuckte Säiten déi fräigi sinn', |
| 767 | + 'approvedrevs-logdesc' => "Dëst ass d'Logbuch vun de Versiounen déi nogekuckt sinn.", |
| 768 | + 'approvedrevs-approve' => 'zoustëmmen', |
| 769 | + 'approvedrevs-unapprove' => 'Zoustëmmung zréckzéien', |
| 770 | + 'approvedrevs-approvesuccess' => 'Dës Versioun vun der Säit gouf als nogekuckte Versioun fräiginn.', |
| 771 | + 'approvedrevs-unapprovesuccess' => 'Et gëtt vun dëser Säit keng nogekuckte Versioun méi. |
| 772 | +Dofir gëtt déi rezentst Versioun gewisen.', |
| 773 | + 'approvedrevs-unapprovesuccess2' => 'Et gëtt vun dëser Säit keng nogekuckte Versioun méi. |
| 774 | +Aplaz, gëtt eng eidel Säit gewisen.', |
| 775 | + 'approvedrevs-approveaction' => '$2 als nogekuckt Versioun fir "[[$1]]" festleeën', |
| 776 | + 'approvedrevs-unapproveaction' => 'nogekuckt Versioun fir "[[$1]]" zréckzéien', |
| 777 | + 'approvedrevs-notlatest' => 'Dëst ass déi nogekuckte Versioun vun dëser Säit; et ass net déi rezentst.', |
| 778 | + 'approvedrevs-approvedandlatest' => 'Dëst ass esouwuel déi nogekuckt wéi och déi rezentst Versioun vun dëser Säit.', |
| 779 | + 'approvedrevs-viewlatest' => 'Déi rezentst Versioun weisen.', |
| 780 | + 'approvedrevs-blankpageshown' => 'Keng Versioun vun dëser Säit gouf nogekuckt.', |
| 781 | + '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.', |
| 782 | + 'approvedrevs' => 'Nogekuckte Versiounen', |
| 783 | + 'approvedrevs-approvedpages' => 'Nogekuckte Säiten', |
| 784 | + 'approvedrevs-notlatestpages' => 'Säiten deenen hir nogekuckte Versioun net déi rezentst ass', |
| 785 | + 'approvedrevs-unapprovedpages' => 'Net nogekuckte Säiten', |
| 786 | + 'approvedrevs-view' => 'Weisen:', |
| 787 | + 'approvedrevs-revisionnumber' => 'Versioun $1', |
| 788 | + 'approvedrevs-approvedby' => 'confirméiert vum $1 de(n) $2', |
| 789 | + 'approvedrevs-difffromlatest' => 'Ënnerscheed vun der rezenster', |
| 790 | + 'right-approverevisions' => 'Eng bestëmmte Versioun vun enger Säit als nogekuckt markéieren', |
| 791 | + 'right-viewlinktolatest' => 'Kuckt den Erklärungstext uewen op de Säiten déi nogekuckt Versiounen hunn', |
| 792 | +); |
| 793 | + |
| 794 | +/** Macedonian (Македонски) |
| 795 | + * @author Bjankuloski06 |
| 796 | + */ |
| 797 | +$messages['mk'] = array( |
| 798 | + 'approvedrevs-desc' => 'Поставање на една единствена ревизија на страницата како одобрена', |
| 799 | + 'approvedrevs-logname' => 'Дневник на одобрени ревизии', |
| 800 | + 'approvedrevs-logdesc' => 'Ова е дневникот на одобрени ревизии.', |
| 801 | + 'approvedrevs-approve' => 'одобри', |
| 802 | + 'approvedrevs-unapprove' => 'неодобрена', |
| 803 | + 'approvedrevs-approvesuccess' => 'Оваа ревизија на страницата е поставена како одобрена.', |
| 804 | + 'approvedrevs-unapprovesuccess' => 'Оваа страница повеќе нема одобрена верзија. |
| 805 | +Наместо тоа ќе се прикажува најновата верзија.', |
| 806 | + 'approvedrevs-unapprovesuccess2' => 'Оваа страница повеќе нема одобрена верзија. |
| 807 | +Наместо тоа ќе се прикажува празна страница.', |
| 808 | + 'approvedrevs-approveaction' => 'постави ја $2 за одобрена верзија на „[[$1]]“', |
| 809 | + 'approvedrevs-unapproveaction' => 'отстрани одобрена верзија на „[[$1]]“', |
| 810 | + 'approvedrevs-notlatest' => 'Ова е одобрената ревизија на страницава, но не е најновата.', |
| 811 | + 'approvedrevs-approvedandlatest' => 'Ова е одобрената ревизија на страницава, а воедно и најновата.', |
| 812 | + 'approvedrevs-viewlatest' => 'Види најнова ревизија.', |
| 813 | + 'approvedrevs-blankpageshown' => 'Нема одобрена ревизија за страницава.', |
| 814 | + 'approvedrevs-editwarning' => 'Имајте предвид дека сега ја уредувате најновата верзија на страницава, која не е одобрената што се прикажува по основно.', |
| 815 | + 'approvedrevs' => 'Одобрени ревизии', |
| 816 | + 'approvedrevs-approvedpages' => 'Одобрени страници', |
| 817 | + 'approvedrevs-notlatestpages' => 'Страници чиишто одобрени ревизии не се најновите', |
| 818 | + 'approvedrevs-unapprovedpages' => 'Неодобрени страници', |
| 819 | + 'approvedrevs-view' => 'Преглед:', |
| 820 | + 'approvedrevs-revisionnumber' => 'ревизија $1', |
| 821 | + 'approvedrevs-approvedby' => 'одобрено од $1 на $2', |
| 822 | + 'approvedrevs-difffromlatest' => 'разл. од послед.', |
| 823 | + 'right-approverevisions' => 'Поставете извесна ревизија на вики-страница како одобрена', |
| 824 | + 'right-viewlinktolatest' => 'Погледајте го објаснувањето на врвот од страниците што имаат одобрена верзија', |
| 825 | +); |
| 826 | + |
| 827 | +/** Malayalam (മലയാളം) |
| 828 | + * @author Praveenp |
| 829 | + */ |
| 830 | +$messages['ml'] = array( |
| 831 | + 'approvedrevs-desc' => 'ഒരു താളിന്റെ ഒരൊറ്റ നാൾപ്പതിപ്പ് അംഗീകരിച്ചതായി സജ്ജീകരിക്കുക', |
| 832 | + 'approvedrevs-logname' => 'നാൾപ്പതിപ്പ് അംഗീകരണ രേഖ', |
| 833 | + 'approvedrevs-logdesc' => 'ഇത് നാൾപ്പതിപ്പുകൾ അംഗീകരിച്ചതിന്റെ രേഖയാണ്.', |
| 834 | + 'approvedrevs-approve' => 'അംഗീകരിക്കുക', |
| 835 | + 'approvedrevs-unapprove' => 'അംഗീകാരം നീക്കുക', |
| 836 | + 'approvedrevs-approvesuccess' => 'താളിന്റെ ഈ നാൾപ്പതിപ്പ് അംഗീകരിച്ച പതിപ്പായി സജ്ജീകരിച്ചിരിക്കുന്നു.', |
| 837 | + 'approvedrevs-unapprovesuccess' => 'ഈ താളിൽ അംഗീകരിച്ച പതിപ്പ് ഇല്ല. |
| 838 | +പകരം, ഏറ്റവും പുതിയ നാൾപ്പതിപ്പ് പ്രദർശിപ്പിക്കുന്നു.', |
| 839 | + 'approvedrevs-unapprovesuccess2' => 'ഈ താളിന് അംഗീകരിച്ച പതിപ്പ് ഇല്ല. |
| 840 | +പകരം, ശൂന്യമായ താൾ പ്രദർശിപ്പിക്കുന്നു.', |
| 841 | + 'approvedrevs-approveaction' => '"[[$1]]" താളിന്റെ അംഗീകരിച്ച പതിപ്പായി $2 സജ്ജീകരിക്കുക', |
| 842 | + 'approvedrevs-unapproveaction' => '"[[$1]]" എന്നതിന്റെ അംഗീകൃത നാൾപ്പതിപ്പ് സജ്ജീകരണം നീക്കുക', |
| 843 | + 'approvedrevs-notlatest' => 'ഇത് ഈ താളിന്റെ അംഗീകരിച്ച നാൾപ്പതിപ്പ് ആണ്; ഇത് ഏറ്റവും പുതിയത് അല്ല.', |
| 844 | + 'approvedrevs-approvedandlatest' => 'ഇത് ഈ താളിന്റെ അംഗീകരിച്ച പതിപ്പ് ആണ്, അതേ പോലെ ഏറ്റവും പുതിയതുമാണ്.', |
| 845 | + 'approvedrevs-viewlatest' => 'ഏറ്റവും പുതിയ നാൾപ്പതിപ്പ് കാണുക.', |
| 846 | + 'approvedrevs-blankpageshown' => 'ഈ താളിന്റെ ഒരു നാൾപ്പതിപ്പും അംഗീകരിച്ചിട്ടില്ല.', |
| 847 | + 'approvedrevs-editwarning' => 'ഈ താളിന്റെ ഏറ്റവും പുതിയ നാൾപ്പതിപ്പ് അല്ല താങ്കൾ തിരുത്തുന്നതെന്ന് ശ്രദ്ധിക്കുക, അത് സ്വതേ പ്രദർശിപ്പിച്ചിരിക്കുന്ന പതിപ്പ് അല്ല.', |
| 848 | + 'approvedrevs' => 'അംഗീകരിച്ച നാൾപ്പതിപ്പുകൾ', |
| 849 | + 'approvedrevs-approvedpages' => 'അംഗീകരിച്ച താളുകൾ', |
| 850 | + 'approvedrevs-notlatestpages' => 'താളിന്റെ ഏറ്റവും പുതിയ നാൾപ്പതിപ്പ് അംഗീകരിച്ചതല്ലാത്ത താളുകൾ', |
| 851 | + 'approvedrevs-unapprovedpages' => 'അംഗീകരിച്ചിട്ടില്ലാത്ത താളുകൾ', |
| 852 | + 'approvedrevs-view' => 'കാണുക:', |
| 853 | + 'approvedrevs-revisionnumber' => 'നാൾപ്പതിപ്പ് $1', |
| 854 | + 'approvedrevs-approvedby' => '$2-നു $1 അംഗീകരിച്ചത്', |
| 855 | + 'approvedrevs-difffromlatest' => 'ഏറ്റവും പുതിയ പതിപ്പിൽ നിന്നുള്ള വ്യത്യാസം', |
| 856 | + 'right-approverevisions' => 'വിക്കി താളിന്റെ ഒരു പ്രത്യേക നാൾപ്പതിപ്പ് അംഗീകരിച്ചതായി സജ്ജീകരിക്കുക', |
| 857 | + 'right-viewlinktolatest' => 'അംഗീകരിച്ച നാൾപ്പതിപ്പുള്ള താളുകളുടെ മുകളിലായി ഒരു വിശദീകരണ കുറിപ്പ് പ്രദർശിപ്പിക്കുക', |
| 858 | +); |
| 859 | + |
| 860 | +/** Dutch (Nederlands) |
| 861 | + * @author Siebrand |
| 862 | + */ |
| 863 | +$messages['nl'] = array( |
| 864 | + 'approvedrevs-desc' => 'Een versie van een pagina als goedgekeurd instellen', |
| 865 | + 'approvedrevs-logname' => 'Logboek versiegoedkeuring', |
| 866 | + 'approvedrevs-logdesc' => 'Dit is het logboek met de versies die zijn goedgekeurd.', |
| 867 | + 'approvedrevs-approve' => 'goedkeuren', |
| 868 | + 'approvedrevs-unapprove' => 'afkeuren', |
| 869 | + 'approvedrevs-approvesuccess' => 'Deze versie van de pagina is ingesteld als de goedgekeurde versie.', |
| 870 | + 'approvedrevs-unapprovesuccess' => 'Deze pagina heeft niet langer een goedgekeurde versie. |
| 871 | +Daarom wordt de laatste versie weergegeven.', |
| 872 | + 'approvedrevs-unapprovesuccess2' => 'Er is niet langer een goedgekeurde versie voor deze pagina. |
| 873 | +Er wordt een lege pagina weergegeven.', |
| 874 | + 'approvedrevs-approveaction' => 'heeft $2 ingesteld als de goedgekeurde versie voor "[[$1]]"', |
| 875 | + 'approvedrevs-unapproveaction' => 'heeft de goedgekeurde versie verwijderd voor "[[$1]]"', |
| 876 | + 'approvedrevs-notlatest' => 'Dit is de goedgekeurde versie van deze pagina. |
| 877 | +Het is niet de meeste recente versie.', |
| 878 | + 'approvedrevs-approvedandlatest' => 'Dit is de goedgekeurde versie van deze pagina. Er is geen nieuwere versie.', |
| 879 | + 'approvedrevs-viewlatest' => 'Laatste versie bekijken', |
| 880 | + 'approvedrevs-blankpageshown' => 'Deze pagina heeft geen goedgekeurde versie.', |
| 881 | + 'approvedrevs-editwarning' => 'U bewerkt de meest recente versie van deze pagina die nog niet goedgekeurd is en standaard niet wordt weergegeven.', |
| 882 | + 'approvedrevs' => 'Goedgekeurde versies', |
| 883 | + 'approvedrevs-approvedpages' => "Goedgekeurde pagina's", |
| 884 | + 'approvedrevs-notlatestpages' => "Pagina's waarvan de goedgekeurde versie niet de laatste versie is", |
| 885 | + 'approvedrevs-unapprovedpages' => "Niet-goedgekeurde pagina's", |
| 886 | + 'approvedrevs-view' => 'Weergave:', |
| 887 | + 'approvedrevs-revisionnumber' => 'versie $1', |
| 888 | + 'approvedrevs-approvedby' => 'goedgekeurd door $1 op $2', |
| 889 | + 'approvedrevs-difffromlatest' => 'verschil met de meest recente versie', |
| 890 | + 'right-approverevisions' => 'Een versie van een wikipagina markeren als goedgekeurd.', |
| 891 | + 'right-viewlinktolatest' => "De verklarende tekst bovenaan pagina's zien die die een goedgekeurde versie hebben", |
| 892 | +); |
| 893 | + |
| 894 | +/** Norwegian (bokmål) (Norsk (bokmål)) |
| 895 | + * @author Nghtwlkr |
| 896 | + */ |
| 897 | +$messages['no'] = array( |
| 898 | + 'approvedrevs-desc' => 'Sett en enkelt revisjon av en side som godkjent', |
| 899 | + 'approvedrevs-logname' => 'Godkjenningslogg for revisjoner', |
| 900 | + 'approvedrevs-logdesc' => 'Dette er loggen over revisjoner som har blitt godkjent.', |
| 901 | + 'approvedrevs-approve' => 'godkjenn', |
| 902 | + 'approvedrevs-unapprove' => 'ikke godkjenn', |
| 903 | + 'approvedrevs-approvesuccess' => 'Denne revisjonen av siden har blitt satt som den godkjente versjonen.', |
| 904 | + 'approvedrevs-unapprovesuccess' => 'Det er ikke lenger en godkjent versjon av denne siden. |
| 905 | +I stedet vil den nyeste revisjonen bli vist.', |
| 906 | + 'approvedrevs-unapprovesuccess2' => 'Det er ikke lenger en godkjent versjon av denne siden. |
| 907 | +I stedet vil en blank side bli vist.', |
| 908 | + 'approvedrevs-approveaction' => 'sett $2 som den godkjente revisjonen for «[[$1]]»', |
| 909 | + 'approvedrevs-unapproveaction' => 'fjern godkjenning av revisjon for «[[$1]]»', |
| 910 | + 'approvedrevs-notlatest' => 'Dette er den godkjente revisjonen av denne siden; det er ikke den nyeste.', |
| 911 | + 'approvedrevs-approvedandlatest' => 'Dette er den godkjente revisjonen av denne siden, samt den nyeste.', |
| 912 | + 'approvedrevs-viewlatest' => 'Se den nyeste revisjonen.', |
| 913 | + 'approvedrevs-blankpageshown' => 'Ingen revisjon har blitt godkjent for denne siden.', |
| 914 | + 'approvedrevs-editwarning' => 'Merk at du nå redigerer den nyeste revisjonen av denne siden, som ikke er den godkjente siden som vises som standard.', |
| 915 | + 'approvedrevs' => 'Godkjente revisjoner', |
| 916 | + 'approvedrevs-approvedpages' => 'Godkjente sider', |
| 917 | + 'approvedrevs-notlatestpages' => 'Sider der den godkjente revisjonen ikke er deres nyeste.', |
| 918 | + 'approvedrevs-unapprovedpages' => 'Ikke-godkjente sider', |
| 919 | + 'approvedrevs-view' => 'Vis:', |
| 920 | + 'approvedrevs-revisionnumber' => 'revisjon $1', |
| 921 | + 'approvedrevs-approvedby' => 'godkjent av $1, $2', |
| 922 | + 'approvedrevs-difffromlatest' => 'diff fra siste', |
| 923 | + 'right-approverevisions' => 'Sett en viss revisjon av en wikiside som godkjent', |
| 924 | + 'right-viewlinktolatest' => 'Vis forklarende tekst på toppen av sider som har en godkjent revisjon', |
| 925 | +); |
| 926 | + |
| 927 | +/** Polish (Polski) |
| 928 | + * @author Sp5uhe |
| 929 | + */ |
| 930 | +$messages['pl'] = array( |
| 931 | + 'approvedrevs-desc' => 'Pozwala na zatwierdzenie pojedynczej wersji strony', |
| 932 | + 'approvedrevs-logname' => 'Rejestr zatwierdzonych wersji', |
| 933 | + 'approvedrevs-logdesc' => 'To jest rejestr wersji, które zostały zatwierdzone.', |
| 934 | + 'approvedrevs-approve' => 'zatwierdź', |
| 935 | + 'approvedrevs-unapprove' => 'cofnij zatwierdzenie', |
| 936 | + 'approvedrevs-approvesuccess' => 'Ta wersja strony została zatwierdzona.', |
| 937 | + 'approvedrevs-unapprovesuccess' => 'Dla tej strony brak jest wersji zatwierdzonej. |
| 938 | +W zamian prezentowana będzie ostatnia wersja.', |
| 939 | + 'approvedrevs-unapprovesuccess2' => 'Nie ma już zatwierdzonej wersji tej strony. |
| 940 | +W zamian zostanie wyświetlona pusta strona.', |
| 941 | + 'approvedrevs-approveaction' => 'zatwierdził wersję $2 strony „[[$1]]”', |
| 942 | + 'approvedrevs-unapproveaction' => 'usunął zatwierdzenie strony „[[$1]]”', |
| 943 | + 'approvedrevs-notlatest' => 'To jest zatwierdzona wersja strony. To nie jest ostatnia jej wersja.', |
| 944 | + 'approvedrevs-approvedandlatest' => 'To jest nie tylko zatwierdzona wersja strony, ale również ostatnia jej wersja.', |
| 945 | + 'approvedrevs-viewlatest' => 'Zobacz najnowsze zmiany.', |
| 946 | + 'approvedrevs-blankpageshown' => 'Żadna wersja tej strony nie została zatwierdzona.', |
| 947 | + 'approvedrevs-editwarning' => 'Zauważ, że edytujesz ostatnią wersję strony. Wersję, która nie została zatwierdzona i nie jest pokazywana domyślnie.', |
| 948 | + 'approvedrevs' => 'Zatwierdzone wersje', |
| 949 | + 'approvedrevs-approvedpages' => 'Zatwierdzone strony', |
| 950 | + 'approvedrevs-notlatestpages' => 'Strony, których zatwierdzona wersja nie jest ich ostatnią', |
| 951 | + 'approvedrevs-unapprovedpages' => 'Niezatwierdzone strony', |
| 952 | + 'approvedrevs-view' => 'Widok', |
| 953 | + 'approvedrevs-revisionnumber' => 'wersja $1', |
| 954 | + 'approvedrevs-approvedby' => 'zatwierdzone $2 przez $1', |
| 955 | + 'approvedrevs-difffromlatest' => 'porównaj z najnowszą', |
| 956 | + 'right-approverevisions' => 'Zatwierdzenie wybranych wersji stron wiki', |
| 957 | + 'right-viewlinktolatest' => 'Pokazuj tekst wyjaśniający w górnej części tych stron, które mają zatwierdzoną wersję', |
| 958 | +); |
| 959 | + |
| 960 | +/** Piedmontese (Piemontèis) |
| 961 | + * @author Borichèt |
| 962 | + * @author Dragonòt |
| 963 | + */ |
| 964 | +$messages['pms'] = array( |
| 965 | + 'approvedrevs-desc' => 'Ampòsta na sola revision ëd na pàgina com aprovà', |
| 966 | + 'approvedrevs-logname' => "Registr d'aprovassion dle revision", |
| 967 | + 'approvedrevs-logdesc' => "Sto-sì a l'é ël registr dle revision ch'a son ëstàite aprovà.", |
| 968 | + 'approvedrevs-approve' => 'apreuva', |
| 969 | + 'approvedrevs-unapprove' => 'apreuva pa', |
| 970 | + 'approvedrevs-approvesuccess' => "Costa revision-sì ëd la pàgina a l'é stàita ampostà com la version aprovà.", |
| 971 | + 'approvedrevs-unapprovesuccess' => 'A-i é pa pi na version aprovà për sta pàgina-sì. |
| 972 | +Al pòst, a sarà mostrà la revision pi recenta.', |
| 973 | + 'approvedrevs-unapprovesuccess2' => 'A-i é pa pi na version aprovà për sta pàgina-sì. |
| 974 | +Al pòst, a sarà mostrà na pàgina bianca.', |
| 975 | + 'approvedrevs-approveaction' => 'a l\'ha marcà $2 tanme revision aprovà për "[[$1]]"', |
| 976 | + 'approvedrevs-unapproveaction' => 'gava ampostassion ëd la revision aprovà për "[[$1]]"', |
| 977 | + 'approvedrevs-notlatest' => "Costa a l'é la revision aprovà ëd sa pàgina; a l'é pa la pi recenta.", |
| 978 | + 'approvedrevs-approvedandlatest' => "Costa a l'é la revision aprovà ëd sa pàgina, e a l'é ëdcò la pi recenta.", |
| 979 | + 'approvedrevs-viewlatest' => 'Varda la revision pi recenta.', |
| 980 | + 'approvedrevs-blankpageshown' => 'Gnun-e revision a son ëstàite aprovà për sta pàgina.', |
| 981 | + '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.", |
| 982 | + 'approvedrevs' => 'Revision aprovà', |
| 983 | + 'approvedrevs-approvedpages' => 'Pàgine aprovà', |
| 984 | + 'approvedrevs-notlatestpages' => "Pàgine dont la revision aprovà a l'é pa l'ùltima", |
| 985 | + 'approvedrevs-unapprovedpages' => 'Pàgine pa aprovà', |
| 986 | + 'approvedrevs-view' => 'Vardé:', |
| 987 | + 'approvedrevs-revisionnumber' => 'revision $1', |
| 988 | + 'approvedrevs-approvedby' => 'aprovà da $1 su $2', |
| 989 | + 'approvedrevs-difffromlatest' => "diferense da l'ùltima", |
| 990 | + 'right-approverevisions' => 'Ampòsta na certa revision ëd na pàgina wiki com aprovà', |
| 991 | + 'right-viewlinktolatest' => "Vëdde ël test dë spiegassion an cò dle pàgine ch'a l'han na revision aprovà", |
| 992 | +); |
| 993 | + |
| 994 | +/** Portuguese (Português) |
| 995 | + * @author Alchimista |
| 996 | + * @author GoEThe |
| 997 | + * @author Hamilton Abreu |
| 998 | + */ |
| 999 | +$messages['pt'] = array( |
| 1000 | + 'approvedrevs-desc' => 'Marcar como aprovada uma das revisões de uma página', |
| 1001 | + 'approvedrevs-logname' => 'Registo de revisões aprovadas', |
| 1002 | + 'approvedrevs-logdesc' => 'Este é o registo das revisões que foram aprovadas.', |
| 1003 | + 'approvedrevs-approve' => 'aprovar', |
| 1004 | + 'approvedrevs-unapprove' => 'reprovar', |
| 1005 | + 'approvedrevs-approvesuccess' => 'Esta revisão da página foi definida como a versão aprovada.', |
| 1006 | + 'approvedrevs-unapprovesuccess' => 'Deixou de existir uma versão aprovada para esta página. |
| 1007 | +Em vez dela, será apresentada a revisão mais recente.', |
| 1008 | + 'approvedrevs-unapprovesuccess2' => 'Deixou de existir uma versão aprovada para esta página. |
| 1009 | +Em vez dela, será apresentada uma página em branco.', |
| 1010 | + 'approvedrevs-approveaction' => 'definir $2 como a revisão aprovada de "[[$1]]"', |
| 1011 | + 'approvedrevs-unapproveaction' => 'desfazer a aprovação da revisão aprovada de "[[$1]]"', |
| 1012 | + 'approvedrevs-notlatest' => 'Esta é a revisão aprovada desta página; não é a revisão mais recente.', |
| 1013 | + 'approvedrevs-approvedandlatest' => 'Esta é a revisão aprovada desta página e também a revisão mais recente.', |
| 1014 | + 'approvedrevs-viewlatest' => 'Ver a revisão mais recente.', |
| 1015 | + 'approvedrevs-blankpageshown' => 'Esta página não tem nenhuma revisão aprovada.', |
| 1016 | + '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.', |
| 1017 | + 'approvedrevs' => 'Revisões aprovadas', |
| 1018 | + 'approvedrevs-approvedpages' => 'Páginas aprovadas', |
| 1019 | + 'approvedrevs-notlatestpages' => 'Páginas cuja revisão aprovada não é a revisão mais recente', |
| 1020 | + 'approvedrevs-unapprovedpages' => 'Páginas reprovadas', |
| 1021 | + 'approvedrevs-view' => 'Ver:', |
| 1022 | + 'approvedrevs-revisionnumber' => 'revisão $1', |
| 1023 | + 'approvedrevs-approvedby' => 'aprovada por $1 a $2', |
| 1024 | + 'approvedrevs-difffromlatest' => 'diferenças para a revisão mais recente', |
| 1025 | + 'right-approverevisions' => 'Definir como aprovada uma revisão específica de uma página da wiki', |
| 1026 | + 'right-viewlinktolatest' => 'Ver um texto explicativo no topo das páginas que têm uma revisão aprovada', |
| 1027 | +); |
| 1028 | + |
| 1029 | +/** Brazilian Portuguese (Português do Brasil) |
| 1030 | + * @author Giro720 |
| 1031 | + */ |
| 1032 | +$messages['pt-br'] = array( |
| 1033 | + 'approvedrevs-desc' => 'Marcar como aprovada uma das revisões de uma página', |
| 1034 | + 'approvedrevs-logname' => 'Registro de revisões aprovadas', |
| 1035 | + 'approvedrevs-logdesc' => 'Este é o registro das revisões que foram aprovadas.', |
| 1036 | + 'approvedrevs-approve' => 'aprovar', |
| 1037 | + 'approvedrevs-unapprove' => 'desaprovar', |
| 1038 | + 'approvedrevs-approvesuccess' => 'Esta revisão da página foi definida como a versão aprovada.', |
| 1039 | + 'approvedrevs-unapprovesuccess' => 'Não há mais uma versão aprovada para esta página. |
| 1040 | +Em vez dela, será apresentada a revisão mais recente.', |
| 1041 | + 'approvedrevs-unapprovesuccess2' => 'Não há mais uma versão aprovada para esta página. |
| 1042 | +Em vez dela, será apresentada uma página em branco.', |
| 1043 | + 'approvedrevs-approveaction' => 'definir $2 como a revisão aprovada de "[[$1]]"', |
| 1044 | + 'approvedrevs-unapproveaction' => 'desfazer a definição da revisão aprovada de "[[$1]]"', |
| 1045 | + 'approvedrevs-notlatest' => 'Esta é a revisão aprovada desta página; não é a revisão mais recente.', |
| 1046 | + 'approvedrevs-approvedandlatest' => 'Esta é a revisão aprovada desta página e também a revisão mais recente.', |
| 1047 | + 'approvedrevs-viewlatest' => 'Ver a revisão mais recente.', |
| 1048 | + 'approvedrevs-blankpageshown' => 'Esta página não tem nenhuma revisão aprovada.', |
| 1049 | + '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.', |
| 1050 | + 'approvedrevs' => 'Revisões aprovadas', |
| 1051 | + 'approvedrevs-approvedpages' => 'Páginas aprovadas', |
| 1052 | + 'approvedrevs-notlatestpages' => 'Páginas cuja revisão aprovada não é a revisão mais recente', |
| 1053 | + 'approvedrevs-unapprovedpages' => 'Páginas não aprovadas', |
| 1054 | + 'approvedrevs-view' => 'Ver:', |
| 1055 | + 'approvedrevs-revisionnumber' => 'revisão $1', |
| 1056 | + 'approvedrevs-approvedby' => 'aprovada por $1 em $2', |
| 1057 | + 'approvedrevs-difffromlatest' => 'diff da última versão', |
| 1058 | + 'right-approverevisions' => 'Definir como aprovada uma revisão específica de uma página da wiki', |
| 1059 | + 'right-viewlinktolatest' => 'Ver um texto explicativo no topo das páginas que têm uma revisão aprovada', |
| 1060 | +); |
| 1061 | + |
| 1062 | +/** Romanian (Română) |
| 1063 | + * @author Stelistcristi |
| 1064 | + */ |
| 1065 | +$messages['ro'] = array( |
| 1066 | + 'approvedrevs-approve' => 'aprobă', |
| 1067 | + 'approvedrevs-unapprove' => 'dezaprobă', |
| 1068 | + 'approvedrevs-approvesuccess' => 'Această revizie a paginii a fost stabilită ca versiunea aprobată.', |
| 1069 | + 'approvedrevs-approvedpages' => 'Pagini aprobate', |
| 1070 | + 'approvedrevs-unapprovedpages' => 'Pagini neaprobate', |
| 1071 | +); |
| 1072 | + |
| 1073 | +/** Russian (Русский) |
| 1074 | + * @author MaxSem |
| 1075 | + * @author Александр Сигачёв |
| 1076 | + */ |
| 1077 | +$messages['ru'] = array( |
| 1078 | + 'approvedrevs-desc' => 'Установка одной из версий страниц как подтверждённой', |
| 1079 | + 'approvedrevs-logname' => 'Журнал подтверждения версий', |
| 1080 | + 'approvedrevs-logdesc' => 'Это журнал версий страниц, которые были подтверждены.', |
| 1081 | + 'approvedrevs-approve' => 'подтвердить', |
| 1082 | + 'approvedrevs-unapprove' => 'снять подтверждение', |
| 1083 | + 'approvedrevs-approvesuccess' => 'Это версия страницы была отмечена как подтверждённая.', |
| 1084 | + 'approvedrevs-unapprovesuccess' => 'Не существует подтверждённой версии этой страницы. |
| 1085 | +Вместо неё будет показана последняя версия.', |
| 1086 | + 'approvedrevs-unapprovesuccess2' => 'Больше не существует подтверждённой версии этой страницы. |
| 1087 | +Вместо неё будет показана пустая страница.', |
| 1088 | + 'approvedrevs-approveaction' => 'установить $2 как подтверждённую версию «[[$1]]»', |
| 1089 | + 'approvedrevs-unapproveaction' => 'снять утверждённую версию для «[[$1]]»', |
| 1090 | + 'approvedrevs-notlatest' => 'Это утверждённая версия страницы. Существуют более свежие версии.', |
| 1091 | + 'approvedrevs-approvedandlatest' => 'Это утверждённая версия страницы. Она же является наиболее свежей версией.', |
| 1092 | + 'approvedrevs-viewlatest' => 'Просмотреть самую свежую версию.', |
| 1093 | + 'approvedrevs-blankpageshown' => 'Для этой страницы нет утверждённых версий.', |
| 1094 | + 'approvedrevs-editwarning' => 'Пожалуйста, обратите внимание, сейчас вы редактируете последнюю версию этой страницы, но она не показывается по умолчанию, так как не подтверждена.', |
| 1095 | + 'approvedrevs' => 'Подтверждённые версии', |
| 1096 | + 'approvedrevs-approvedpages' => 'Подтверждённые страницы', |
| 1097 | + 'approvedrevs-notlatestpages' => 'Страницы, чьи подтверждённые версии не являются последними', |
| 1098 | + 'approvedrevs-unapprovedpages' => 'Неутверждённые страницы', |
| 1099 | + 'approvedrevs-view' => 'Просмотр:', |
| 1100 | + 'approvedrevs-revisionnumber' => 'версия $1', |
| 1101 | + 'approvedrevs-approvedby' => 'подтверждена $1 $2', |
| 1102 | + 'approvedrevs-difffromlatest' => 'разн. с последней', |
| 1103 | + 'right-approverevisions' => 'отметка определённых версий вики-страниц как подтверждённых', |
| 1104 | + 'right-viewlinktolatest' => 'просмотр пояснительного текста в верхней части страниц, имеющих утверждённые версии', |
| 1105 | +); |
| 1106 | + |
| 1107 | +/** Slovak (Slovenčina) |
| 1108 | + * @author Helix84 |
| 1109 | + */ |
| 1110 | +$messages['sk'] = array( |
| 1111 | + 'approvedrevs-desc' => 'Stanoviť jedinú revíziu stránky ako schválenú', |
| 1112 | +); |
| 1113 | + |
| 1114 | +/** Swedish (Svenska) |
| 1115 | + * @author Ainali |
| 1116 | + * @author Cohan |
| 1117 | + */ |
| 1118 | +$messages['sv'] = array( |
| 1119 | + 'approvedrevs-desc' => 'Sätt en enskild version av en sida till godkänd', |
| 1120 | + 'approvedrevs-logname' => 'Godkänningslogg för revisioner', |
| 1121 | + 'approvedrevs-logdesc' => 'Detta är loggen över revisioner som har godkänts.', |
| 1122 | + 'approvedrevs-approve' => 'godkänn', |
| 1123 | + 'approvedrevs-approvesuccess' => 'Denna version av sidan har ställts in som den godkända versionen.', |
| 1124 | + 'approvedrevs-unapprovesuccess' => 'Det finns inte längre en godkänd version för den här sidan. |
| 1125 | + Istället kommer den senaste redigeringen att visas.', |
| 1126 | + 'approvedrevs-unapprovesuccess2' => 'Det finns inte längre en godkänd version av den här sidan. |
| 1127 | +Istället kommer en tom sida att visas.', |
| 1128 | + 'approvedrevs-approveaction' => 'sätt $2 som den godkända revisionen av "[[$1]]"', |
| 1129 | + 'approvedrevs-notlatest' => 'Detta är den godkända version av denna sida; det är inte den senaste.', |
| 1130 | + 'approvedrevs-approvedandlatest' => 'Detta är den godkända version av denna sida, samt den senaste.', |
| 1131 | + 'approvedrevs-viewlatest' => 'Visa senaste versionen.', |
| 1132 | + 'approvedrevs-blankpageshown' => 'Ingen revidering har godkänts för denna sida.', |
| 1133 | + 'approvedrevs-editwarning' => 'Observera att du nu redigerar den senaste versionen av denna sida, vilket inte är den godkända som visas som standard.', |
| 1134 | + 'approvedrevs-approvedpages' => 'Godkända sidor', |
| 1135 | + 'approvedrevs-notlatestpages' => 'Detta är den godkända version av denna sida; det är inte den senaste.', |
| 1136 | + 'approvedrevs-unapprovedpages' => 'Icke godkända sidor', |
| 1137 | + 'right-approverevisions' => 'Sätt en viss revidering av en wiki-sida som godkänd', |
| 1138 | + 'right-viewlinktolatest' => 'Se förklarande text högst upp på sidor som har en godkänd revision', |
| 1139 | +); |
| 1140 | + |
| 1141 | +/** Tamil (தமிழ்) |
| 1142 | + * @author TRYPPN |
| 1143 | + */ |
| 1144 | +$messages['ta'] = array( |
| 1145 | + 'approvedrevs-approve' => 'அனுமதிக்கவும்', |
| 1146 | + 'approvedrevs-unapprove' => 'அனுமதிக்க வேண்டாம்', |
| 1147 | + 'approvedrevs-viewlatest' => 'மிக அண்மையில் செய்யப்பட்ட திருத்தங்களை பார்க்கவும்.', |
| 1148 | + 'approvedrevs-approvedpages' => 'ஏற்றுக் கொள்ளப்பட்ட பக்கங்கள்', |
| 1149 | + 'approvedrevs-unapprovedpages' => 'ஏற்றுக் கொள்ளப்படாத பக்கங்கள்', |
| 1150 | + 'right-approverevisions' => 'விக்கி பக்கத்தில் ஒரு சில மாற்றங்களை அனுமதிக்கப்பட்டதாக குறித்துக்கொள்ளவும்', |
| 1151 | +); |
| 1152 | + |
| 1153 | +/** Telugu (తెలుగు) |
| 1154 | + * @author Veeven |
| 1155 | + */ |
| 1156 | +$messages['te'] = array( |
| 1157 | + 'approvedrevs-logname' => 'కూర్పుల అనుమతులు చిట్టా', |
| 1158 | + 'approvedrevs-approve' => 'అనుమతించు', |
| 1159 | + 'approvedrevs-approvedpages' => 'అనుమతించిన పుటలు', |
| 1160 | +); |
| 1161 | + |
| 1162 | +/** Tagalog (Tagalog) |
| 1163 | + * @author AnakngAraw |
| 1164 | + */ |
| 1165 | +$messages['tl'] = array( |
| 1166 | + 'approvedrevs-desc' => 'Itakda ang isang nagiisang rebisyon ng isang pahina bilang pinayagan', |
| 1167 | + 'approvedrevs-logname' => 'Tala ng pagpayag sa rebisyon', |
| 1168 | + 'approvedrevs-logdesc' => 'Ito ang tala ng mga rebisyon na pinayagan na.', |
| 1169 | + 'approvedrevs-approve' => 'payagan', |
| 1170 | + 'approvedrevs-unapprove' => 'huwag payagan', |
| 1171 | + 'approvedrevs-approvesuccess' => 'Ang rebisyon ng pahina ay naitakda bilang pinayagang bersyon.', |
| 1172 | + 'approvedrevs-unapprovesuccess' => 'Wala nang isang pinayagang bersyon para sa pahinang ito. |
| 1173 | +Sa halip, ang pinaka kamakailang rebisyon ang ipapakita.', |
| 1174 | + 'approvedrevs-unapprovesuccess2' => 'Wala na ngayong isang pinayagang bersyon ng pahinang ito. |
| 1175 | +Sa halip, ipapakita ang isang pahinang walang laman.', |
| 1176 | + 'approvedrevs-approveaction' => 'itakda ang $2 bilang pinayagang rebisyon para sa "[[$1]]"', |
| 1177 | + 'approvedrevs-unapproveaction' => 'huwag itakda ang rebisyon para sa "[[$1]]"', |
| 1178 | + 'approvedrevs-notlatest' => 'Ito ang pinayagang rebisyon ng pahinang ito; hindi ito ang pinaka kamakailan.', |
| 1179 | + 'approvedrevs-approvedandlatest' => 'Ito ang pinayagang rebisyon ng pahinang ito, pati na ang pagiging pinaka kamakailan.', |
| 1180 | + 'approvedrevs-viewlatest' => 'Tingan ang pinaka kamakailang rebisyon.', |
| 1181 | + 'approvedrevs-blankpageshown' => 'Wala pang rebisyong pinayagan para sa pahinang ito.', |
| 1182 | + 'approvedrevs-approvedpages' => 'Mga pahinang pinayagan', |
| 1183 | + 'approvedrevs-notlatestpages' => 'Ito ang pinayagang rebisyon ng pahinang ito; hindi ito ang pinaka kamakailan.', |
| 1184 | + 'approvedrevs-unapprovedpages' => 'Hindi pinayagang mga pahina', |
| 1185 | + 'right-approverevisions' => 'Itakda ang isang partikular na rebisyon ng isang pahina ng wiki bilang pinayagan', |
| 1186 | + 'right-viewlinktolatest' => 'Tingnan ang teksto ng paliwanag na nasa itaas ng mga pahina na may pinayagang rebisyon', |
| 1187 | +); |
| 1188 | + |
| 1189 | +/** Turkish (Türkçe) |
| 1190 | + * @author Emperyan |
| 1191 | + * @author Srhat |
| 1192 | + */ |
| 1193 | +$messages['tr'] = array( |
| 1194 | + 'approvedrevs-desc' => 'Bir sayfanın belirli bir revizyonunu onaylanmış olarak ayarla', |
| 1195 | + 'approvedrevs-logname' => 'Revizyon onay günlüğü', |
| 1196 | + 'approvedrevs-logdesc' => 'Bu liste onaylanmış revizyon günlüğüdür.', |
| 1197 | + 'approvedrevs-approve' => 'onayla', |
| 1198 | + 'approvedrevs-unapprove' => 'onayı kaldır', |
| 1199 | + 'approvedrevs-approvesuccess' => 'Sayfaya ait bu revizyon onaylanmış revizyon olarak ayarlandı.', |
| 1200 | + 'approvedrevs-unapprovesuccess' => 'Bu sayfanın artık onaylanmış sürümü yok. |
| 1201 | +Onun yerine, en son revizyon gösterilecektir.', |
| 1202 | + 'approvedrevs-approveaction' => '$2 revizyonunu "[[$1]]" sayfasının onaylanmış revizyonu olarak ayarladı', |
| 1203 | + 'approvedrevs-unapproveaction' => '"[[$1]]" sayfasının onaylanmış revizyonunun onayını kaldırdı.', |
| 1204 | + 'approvedrevs-notlatest' => 'Bu sayfanın onaylanmış revizyonudur; en son revizyon değildir.', |
| 1205 | + 'approvedrevs-approvedandlatest' => 'Bu revizyon, sayfanın hem onaylanmış hem de en son revizyonudur.', |
| 1206 | + 'approvedrevs-viewlatest' => 'En son revizyonu görüntüle', |
| 1207 | + 'approvedrevs' => 'Onaylanan düzeltmeler', |
| 1208 | + 'approvedrevs-approvedpages' => 'Onaylanmış sayfalar', |
| 1209 | + 'approvedrevs-notlatestpages' => 'Bu sayfanın onaylanmış revizyonudur; en son revizyon değildir.', |
| 1210 | + 'approvedrevs-unapprovedpages' => 'Onaylanmamış sayfalar', |
| 1211 | + 'approvedrevs-view' => 'Görüntüle:', |
| 1212 | + 'approvedrevs-revisionnumber' => 'Revizyon: $1', |
| 1213 | + 'right-approverevisions' => 'Bir viki sayfasının belirli bir revizyonunu onaylanmış olarak ayarla', |
| 1214 | + 'right-viewlinktolatest' => 'Onaylanmış revizyonu bulunan sayfaların başındaki açıklayıcı metni görüntüle', |
| 1215 | +); |
| 1216 | + |
| 1217 | +/** Ukrainian (Українська) |
| 1218 | + * @author Alex Khimich |
| 1219 | + * @author Тест |
| 1220 | + */ |
| 1221 | +$messages['uk'] = array( |
| 1222 | + 'approvedrevs-desc' => 'Встановити єдиний перегляд сторінки як затверджуючий', |
| 1223 | + 'approvedrevs-logname' => 'Журнал одобрень та переглядів', |
| 1224 | + 'approvedrevs-logdesc' => 'Це протокол переглядів, які були затверджуючими.', |
| 1225 | + 'approvedrevs-approve' => 'Затвердити', |
| 1226 | + 'approvedrevs-unapprove' => 'Відхилити', |
| 1227 | + 'approvedrevs-approvesuccess' => 'Цей перегляд сторінки був встановлений як затверджуючий.', |
| 1228 | + 'approvedrevs-unapprovesuccess' => 'Існує не затверджений варіант для цієї сторінки. |
| 1229 | +Замість цього, самий останній затверджений варіант буде показаний.', |
| 1230 | + 'approvedrevs-unapprovesuccess2' => 'Існує не затверджений варіант для цієї сторінки. |
| 1231 | +Замість цього буде показано порожню сторінку.', |
| 1232 | + 'approvedrevs-approveaction' => 'встановити $2 як затверджену версію для "[[$1]]"', |
| 1233 | + 'approvedrevs-unapproveaction' => 'відкликати стверджену версію для "[[$1]]"', |
| 1234 | + 'approvedrevs-notlatest' => 'Це затверджений перегляд цієї сторінки, це не остання версія.', |
| 1235 | + 'approvedrevs-approvedandlatest' => 'Це затверджений перегляд цієї сторінки, вын э найновішим.', |
| 1236 | + 'approvedrevs-viewlatest' => 'Відкрити найсвіжіший перегляд.', |
| 1237 | + 'approvedrevs-blankpageshown' => 'Не було знайдено схвалювальних переглядів для цієї сторінки.', |
| 1238 | + 'approvedrevs-editwarning' => 'Зверніть увагу, що в даний час ви редагуєте найновіший перегляд цієї сторінки, який не є схваленим і відображатися за замовчуванням.', |
| 1239 | + 'approvedrevs' => 'Затверджені версії', |
| 1240 | + 'approvedrevs-approvedpages' => 'Затверджені сторінки', |
| 1241 | + 'approvedrevs-notlatestpages' => 'Сторінки, чиї затверджені версії не є останніми', |
| 1242 | + 'approvedrevs-unapprovedpages' => 'Несхвалені сторінки', |
| 1243 | + 'approvedrevs-view' => 'Перегляд:', |
| 1244 | + 'approvedrevs-revisionnumber' => 'версія $1', |
| 1245 | + 'approvedrevs-approvedby' => 'затверджена $1 $2', |
| 1246 | + 'approvedrevs-difffromlatest' => 'різниця з останньою', |
| 1247 | + 'right-approverevisions' => 'Встановити єдиний перегляд сторінки як затверджуючий', |
| 1248 | + 'right-viewlinktolatest' => 'Переглянути пояснювальний текст у верхній частині сторінки яка має схвалену версію.', |
| 1249 | +); |
| 1250 | + |
| 1251 | +/** Vietnamese (Tiếng Việt) |
| 1252 | + * @author Minh Nguyen |
| 1253 | + */ |
| 1254 | +$messages['vi'] = array( |
| 1255 | + 'approvedrevs-logname' => 'Nhật trình chấp nhận phiên bản', |
| 1256 | + 'approvedrevs-approve' => 'chấp nhận', |
| 1257 | + 'approvedrevs-unapprove' => 'bỏ chấp nhận', |
| 1258 | + 'approvedrevs-approveaction' => 'đặt $2 là phiên bản chấp nhận của “[[$1]]”', |
| 1259 | + 'approvedrevs-unapproveaction' => 'bỏ phiên bản chấp nhận của “[[$1]]”', |
| 1260 | + 'approvedrevs-viewlatest' => 'Xem phiên bản gần đây nhất.', |
| 1261 | + 'approvedrevs' => 'Phiên bản được chấp nhận', |
| 1262 | + 'approvedrevs-approvedpages' => 'Các trang đã chấp nhận', |
| 1263 | + 'approvedrevs-unapprovedpages' => 'Trang chưa được chấp nhận', |
| 1264 | + 'approvedrevs-view' => 'Xem:', |
| 1265 | + 'approvedrevs-revisionnumber' => 'phiên bản $1', |
| 1266 | + 'approvedrevs-approvedby' => 'được $1 chấp nhận vào $2', |
| 1267 | + 'approvedrevs-difffromlatest' => 'so với phiên bản hiện tại', |
| 1268 | + 'right-approverevisions' => 'Đặt một phiên bản của trang wiki là phiên bản chấp nhận', |
| 1269 | + 'right-viewlinktolatest' => 'Xem văn bản giải thích ở đầu các trang có phiên bản chấp nhận', |
| 1270 | +); |
| 1271 | + |
| 1272 | +/** Simplified Chinese (中文(简体)) |
| 1273 | + * @author Hydra |
| 1274 | + */ |
| 1275 | +$messages['zh-hans'] = array( |
| 1276 | + 'approvedrevs-desc' => '设置单个页所批准的修订', |
| 1277 | + 'approvedrevs-logname' => '修订批准日志', |
| 1278 | + 'approvedrevs-logdesc' => '这是已获批准的修订的日志。', |
| 1279 | + 'approvedrevs-approve' => '批准', |
| 1280 | + 'approvedrevs-unapprove' => '不批准', |
| 1281 | + 'approvedrevs-approvesuccess' => '此版本的页面已被设为批准的版本。', |
| 1282 | + 'approvedrevs-unapprovesuccess' => '此页不再有一个批准的版本。 |
| 1283 | +相反,将显示最新的修订版。', |
| 1284 | + 'approvedrevs-unapprovesuccess2' => '此页不再是一个批准的版本。 |
| 1285 | +相反,将显示一个空白页。', |
| 1286 | + 'approvedrevs-approveaction' => '将把 $2 作为"[[$1]]"批准修订', |
| 1287 | + 'approvedrevs-unapproveaction' => '取消"[[$1]]"的设置批准的修订', |
| 1288 | + 'approvedrevs-notlatest' => '这是此页 批准的修订; 它不是最新的。', |
| 1289 | + 'approvedrevs-approvedandlatest' => '这是此页批准,以及是最近的修订。', |
| 1290 | + 'approvedrevs-viewlatest' => '查看最新版本。', |
| 1291 | + 'approvedrevs-blankpageshown' => '没有修订已获批准的此页。', |
| 1292 | + 'approvedrevs-editwarning' => '请注意现在正在编辑的此页,不是核准的最新版本默认情况下显示的其中一个。', |
| 1293 | + 'approvedrevs' => '获批准的修订', |
| 1294 | + 'approvedrevs-approvedpages' => '被批准的页面', |
| 1295 | + 'approvedrevs-notlatestpages' => '其核准的修订不是他们最新的页面', |
| 1296 | + 'approvedrevs-unapprovedpages' => '不备批准的页面', |
| 1297 | + 'approvedrevs-view' => '查看:', |
| 1298 | + 'approvedrevs-revisionnumber' => '修订 $1', |
| 1299 | + 'approvedrevs-approvedby' => '在 $2 时被 $1 批准', |
| 1300 | + 'approvedrevs-difffromlatest' => '最新的比较', |
| 1301 | + 'right-approverevisions' => '如通过设置特定版本的维基页面', |
| 1302 | + 'right-viewlinktolatest' => '视图中的解释性文本在具有一个已批准的修订页面的顶部', |
| 1303 | +); |
| 1304 | + |
Property changes on: tags/extensions/ApprovedRevs/REL_0_5_3/ApprovedRevs.i18n.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 1305 | + native |
Index: tags/extensions/ApprovedRevs/REL_0_5_3/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.3' ); |
| 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_3/ApprovedRevs.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 82 | + native |
Index: tags/extensions/ApprovedRevs/REL_0_5_3/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_3/ApprovedRevs.css |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 17 | + native |
Index: tags/extensions/ApprovedRevs/REL_0_5_3/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 | + 'page AS 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' => 'approve_revs', 'p' => 'page' ), |
| 165 | + 'fields' => array( 'p.page_id AS id' ), |
| 166 | + 'join_conds' => array( |
| 167 | + 'page AS 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 | + 'page AS 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_3/SpecialApprovedRevs.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 243 | + native |
Index: tags/extensions/ApprovedRevs/REL_0_5_3/ApprovedRevs.hooks.php |
— | — | @@ -0,0 +1,534 @@ |
| 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 | + $revisionID = ApprovedRevs::getApprovedRevID( $title ); |
| 130 | + if ( !empty( $revisionID ) ) { |
| 131 | + return true; |
| 132 | + } |
| 133 | + |
| 134 | + // This looks extreme - disable the cache for every page, |
| 135 | + // if users aren't meant to see pages with no approved |
| 136 | + // revision, and this page has no approved revision - but |
| 137 | + // there doesn't seem to be any other way to distinguish |
| 138 | + // between a user looking at the main view of page, and a |
| 139 | + // user specifically looking at the latest revision of the |
| 140 | + // page (which we don't want to show as blank.) |
| 141 | + global $wgEnableParserCache; |
| 142 | + $wgEnableParserCache = false; |
| 143 | + |
| 144 | + if ( ! ApprovedRevs::isDefaultPageRequest() ) { |
| 145 | + return true; |
| 146 | + } |
| 147 | + |
| 148 | + $content = ''; |
| 149 | + global $wgOut; |
| 150 | + if ( $wgOut->getSubtitle() != '' ) { |
| 151 | + $wgOut->appendSubtitle( "<br />" . wfMsg( 'approvedrevs-blankpageshown' ) ); |
| 152 | + } else { |
| 153 | + $wgOut->setSubtitle( wfMsg( 'approvedrevs-blankpageshown' ) ); |
| 154 | + } |
| 155 | + |
| 156 | + return true; |
| 157 | + } |
| 158 | + |
| 159 | + /** |
| 160 | + * If user is viewing the page via its main URL, and what they're |
| 161 | + * seeing is the approved revision of the page, remove the standard |
| 162 | + * subtitle shown for all non-latest revisions, and replace it with |
| 163 | + * either nothing or a message explaining the situation, depending |
| 164 | + * on the user's rights |
| 165 | + */ |
| 166 | + static function setSubtitle( &$article, &$revisionID ) { |
| 167 | + if ( ! ApprovedRevs::hasApprovedRevision( $article->getTitle() ) ) { |
| 168 | + return true; |
| 169 | + } |
| 170 | + |
| 171 | + global $wgRequest; |
| 172 | + if ( $wgRequest->getCheck( 'oldid' ) ) { |
| 173 | + // If the user is looking at the latest revision, |
| 174 | + // disable caching, to avoid the wiki getting the |
| 175 | + // contents from the cache, and thus getting the |
| 176 | + // approved contents instead (seems to be an issue |
| 177 | + // only for MW >= 1.17). |
| 178 | + if ( $revisionID == $article->getLatest() ) { |
| 179 | + global $wgEnableParserCache; |
| 180 | + $wgEnableParserCache = false; |
| 181 | + } |
| 182 | + return true; |
| 183 | + } |
| 184 | + |
| 185 | + if ( ! $article->getTitle()->userCan( 'viewlinktolatest' ) ) { |
| 186 | + return false; |
| 187 | + } |
| 188 | + |
| 189 | + ApprovedRevs::addCSS(); |
| 190 | + ApprovedRevs::loadMessages(); |
| 191 | + if ( $revisionID == $article->getLatest() ) { |
| 192 | + $text = Xml::element( |
| 193 | + 'span', |
| 194 | + array( 'class' => 'approvedAndLatestMsg' ), |
| 195 | + wfMsg( 'approvedrevs-approvedandlatest' ) |
| 196 | + ); |
| 197 | + } else { |
| 198 | + $text = wfMsg( 'approvedrevs-notlatest' ); |
| 199 | + global $wgUser; |
| 200 | + $sk = $wgUser->getSkin(); |
| 201 | + $curRevLink = $sk->link( |
| 202 | + $article->getTitle(), |
| 203 | + wfMsgHtml( 'approvedrevs-viewlatest' ), |
| 204 | + array(), |
| 205 | + array( 'oldid' => $article->getLatest() ), |
| 206 | + array( 'known', 'noclasses' ) |
| 207 | + ); |
| 208 | + $text .= ' ' . $curRevLink; |
| 209 | + $text = Xml::tags( |
| 210 | + 'span', |
| 211 | + array( 'class' => 'notLatestMsg' ), |
| 212 | + $text |
| 213 | + ); |
| 214 | + } |
| 215 | + global $wgOut; |
| 216 | + if ( $wgOut->getSubtitle() != '' ) { |
| 217 | + $wgOut->appendSubtitle( "<br />" . $text ); |
| 218 | + } else { |
| 219 | + $wgOut->setSubtitle( $text ); |
| 220 | + } |
| 221 | + return false; |
| 222 | + } |
| 223 | + |
| 224 | + /** |
| 225 | + * Add a warning to the top of the 'edit' page if the approved |
| 226 | + * revision is not the same as the latest one, so that users don't |
| 227 | + * get confused, since they'll be seeing the latest one. |
| 228 | + */ |
| 229 | + public static function addWarningToEditPage( &$editPage ) { |
| 230 | + // only show the warning if it's not an old revision |
| 231 | + global $wgRequest; |
| 232 | + if ( $wgRequest->getCheck( 'oldid' ) ) { |
| 233 | + return true; |
| 234 | + } |
| 235 | + $title = $editPage->getArticle()->getTitle(); |
| 236 | + $approvedRevID = ApprovedRevs::getApprovedRevID( $title ); |
| 237 | + $latestRevID = $title->getLatestRevID(); |
| 238 | + if ( ! empty( $approvedRevID ) && $approvedRevID != $latestRevID ) { |
| 239 | + ApprovedRevs::addCSS(); |
| 240 | + ApprovedRevs::loadMessages(); |
| 241 | + global $wgOut; |
| 242 | + $wgOut->addHTML( '<p class="approvedRevsEditWarning">' . wfMsg( 'approvedrevs-editwarning' ) . "</p>\n" ); |
| 243 | + } |
| 244 | + return true; |
| 245 | + } |
| 246 | + |
| 247 | + /** |
| 248 | + * Same as addWarningToEditPage(), but for the Semantic Foms |
| 249 | + * 'edit with form' tab |
| 250 | + */ |
| 251 | + public static function addWarningToSFForm( &$pageName, &$preFormHTML ) { |
| 252 | + // The title could be obtained via $pageName in theory - the |
| 253 | + // problem is that, pre-SF 2.0.2, that variable wasn't set |
| 254 | + // correctly. |
| 255 | + global $wgTitle; |
| 256 | + $approvedRevID = ApprovedRevs::getApprovedRevID( $wgTitle ); |
| 257 | + $latestRevID = $wgTitle->getLatestRevID(); |
| 258 | + if ( ! empty( $approvedRevID ) && $approvedRevID != $latestRevID ) { |
| 259 | + ApprovedRevs::addCSS(); |
| 260 | + ApprovedRevs::loadMessages(); |
| 261 | + $preFormHTML .= '<p><strong>' . wfMsg( 'approvedrevs-editwarning' ) . "</strong></p>\n"; |
| 262 | + } |
| 263 | + return true; |
| 264 | + } |
| 265 | + |
| 266 | + /** |
| 267 | + * If user is looking at a revision through a main 'view' URL (no |
| 268 | + * revision specified), have the 'edit' tab link to the basic |
| 269 | + * 'action=edit' URL (i.e., the latest revision), no matter which |
| 270 | + * revision they're actually on. |
| 271 | + */ |
| 272 | + static function changeEditLink( $skin, &$contentActions ) { |
| 273 | + global $wgRequest; |
| 274 | + if ( $wgRequest->getCheck( 'oldid' ) ) { |
| 275 | + return true; |
| 276 | + } |
| 277 | + // Skin::getTitle was only added in MW 1.16 |
| 278 | + if ( method_exists( $skin, 'getTitle' ) ) { |
| 279 | + $title = $skin->getTitle(); |
| 280 | + } else { |
| 281 | + global $wgTitle; |
| 282 | + $title = $wgTitle; |
| 283 | + } |
| 284 | + if ( ApprovedRevs::hasApprovedRevision( $title ) ) { |
| 285 | + // the URL is the same regardless of whether the tab |
| 286 | + // is 'edit' or 'view source', but the "action" is |
| 287 | + // different |
| 288 | + if ( array_key_exists( 'edit', $contentActions ) ) { |
| 289 | + $contentActions['edit']['href'] = $title->getLocalUrl( array( 'action' => 'edit' ) ); |
| 290 | + } |
| 291 | + if ( array_key_exists( 'viewsource', $contentActions ) ) { |
| 292 | + $contentActions['viewsource']['href'] = $title->getLocalUrl( array( 'action' => 'edit' ) ); |
| 293 | + } |
| 294 | + } |
| 295 | + return true; |
| 296 | + } |
| 297 | + |
| 298 | + /** |
| 299 | + * Same as changedEditLink(), but only for the Vector skin (and |
| 300 | + * related skins). |
| 301 | + */ |
| 302 | + static function changeEditLinkVector( &$skin, &$links ) { |
| 303 | + // the old '$content_actions' array is thankfully just a |
| 304 | + // sub-array of this one |
| 305 | + self::changeEditLink( $skin, $links['views'] ); |
| 306 | + return true; |
| 307 | + } |
| 308 | + |
| 309 | + /** |
| 310 | + * Store the approved revision ID, if any, directly in the object |
| 311 | + * for this article - this is called so that a query to the database |
| 312 | + * can be made just once for every view of a history page, instead |
| 313 | + * of for every row. |
| 314 | + */ |
| 315 | + static function storeApprovedRevisionForHistoryPage( &$article ) { |
| 316 | + // this will be null if there's no ID |
| 317 | + $approvedRevID = ApprovedRevs::getApprovedRevID( $article->getTitle() ); |
| 318 | + $article->approvedRevID = $approvedRevID; |
| 319 | + // also load extension messages, while we're at it |
| 320 | + ApprovedRevs::loadMessages(); |
| 321 | + return true; |
| 322 | + } |
| 323 | + |
| 324 | + /** |
| 325 | + * If the user is allowed to make revision approvals, add either an |
| 326 | + * 'approve' or 'unapprove' link to the end of this row in the page |
| 327 | + * history, depending on whether or not this is already the approved |
| 328 | + * revision. If it's the approved revision also add on a "star" |
| 329 | + * icon, regardless of the user. |
| 330 | + */ |
| 331 | + static function addApprovalLink( $historyPage, &$row , &$s ) { |
| 332 | + $title = $historyPage->getTitle(); |
| 333 | + if ( ! ApprovedRevs::pageIsApprovable( $title ) ) { |
| 334 | + return true; |
| 335 | + } |
| 336 | + |
| 337 | + $article = $historyPage->getArticle(); |
| 338 | + // use the rev ID field in the $article object, which was |
| 339 | + // stored earlier |
| 340 | + $approvedRevID = $article->approvedRevID; |
| 341 | + if ( $row->rev_id == $approvedRevID ) { |
| 342 | + $s .= '★ '; |
| 343 | + } |
| 344 | + if ( $title->userCan( 'approverevisions' ) ) { |
| 345 | + if ( $row->rev_id == $approvedRevID ) { |
| 346 | + $url = $title->getLocalUrl( |
| 347 | + array( 'action' => 'unapprove' ) |
| 348 | + ); |
| 349 | + $msg = wfMsg( 'approvedrevs-unapprove' ); |
| 350 | + } else { |
| 351 | + $url = $title->getLocalUrl( |
| 352 | + array( 'action' => 'approve', 'oldid' => $row->rev_id ) |
| 353 | + ); |
| 354 | + $msg = wfMsg( 'approvedrevs-approve' ); |
| 355 | + } |
| 356 | + $s .= '(' . Xml::element( |
| 357 | + 'a', |
| 358 | + array( 'href' => $url ), |
| 359 | + $msg |
| 360 | + ) . ')'; |
| 361 | + } |
| 362 | + return true; |
| 363 | + } |
| 364 | + |
| 365 | + /** |
| 366 | + * Handle the 'approve' action, defined for ApprovedRevs - |
| 367 | + * mark the revision as approved, log it, and show a message to |
| 368 | + * the user. |
| 369 | + */ |
| 370 | + static function setAsApproved( $action, $article ) { |
| 371 | + // return "true" if the call failed (meaning, pass on handling |
| 372 | + // of the hook to others), and "false" otherwise |
| 373 | + if ( $action != 'approve' ) { |
| 374 | + return true; |
| 375 | + } |
| 376 | + $title = $article->getTitle(); |
| 377 | + if ( ! ApprovedRevs::pageIsApprovable( $title ) ) { |
| 378 | + return true; |
| 379 | + } |
| 380 | + if ( ! $title->userCan( 'approverevisions' ) ) { |
| 381 | + return true; |
| 382 | + } |
| 383 | + global $wgRequest; |
| 384 | + if ( ! $wgRequest->getCheck( 'oldid' ) ) { |
| 385 | + return true; |
| 386 | + } |
| 387 | + $revision_id = $wgRequest->getVal( 'oldid' ); |
| 388 | + ApprovedRevs::setApprovedRevID( $title, $revision_id ); |
| 389 | + |
| 390 | + global $wgOut; |
| 391 | + $wgOut->addHTML( ' ' . Xml::element( |
| 392 | + 'div', |
| 393 | + array( 'class' => 'successbox' ), |
| 394 | + wfMsg( 'approvedrevs-approvesuccess' ) |
| 395 | + ) . "\n" ); |
| 396 | + $wgOut->addHTML( ' ' . Xml::element( |
| 397 | + 'p', |
| 398 | + array( 'style' => 'clear: both' ) |
| 399 | + ) . "\n" ); |
| 400 | + |
| 401 | + // show the revision, instead of the history page |
| 402 | + $article->doPurge(); |
| 403 | + $article->view(); |
| 404 | + return false; |
| 405 | + } |
| 406 | + |
| 407 | + /** |
| 408 | + * Handle the 'unapprove' action, defined for ApprovedRevs - |
| 409 | + * unset the previously-approved revision, log the change, and show |
| 410 | + * a message to the user. |
| 411 | + */ |
| 412 | + static function unsetAsApproved( $action, $article ) { |
| 413 | + // return "true" if the call failed (meaning, pass on handling |
| 414 | + // of the hook to others), and "false" otherwise |
| 415 | + if ( $action != 'unapprove' ) { |
| 416 | + return true; |
| 417 | + } |
| 418 | + $title = $article->getTitle(); |
| 419 | + if ( ! $title->userCan( 'approverevisions' ) ) { |
| 420 | + return true; |
| 421 | + } |
| 422 | + |
| 423 | + ApprovedRevs::unsetApproval( $title ); |
| 424 | + |
| 425 | + // the message depends on whether the page should display |
| 426 | + // a blank right now or not |
| 427 | + global $egApprovedRevsBlankIfUnapproved; |
| 428 | + if ( $egApprovedRevsBlankIfUnapproved ) { |
| 429 | + $successMsg = wfMsg( 'approvedrevs-unapprovesuccess2' ); |
| 430 | + } else { |
| 431 | + $successMsg = wfMsg( 'approvedrevs-unapprovesuccess' ); |
| 432 | + } |
| 433 | + |
| 434 | + global $wgOut; |
| 435 | + $wgOut->addHTML( ' ' . Xml::element( |
| 436 | + 'div', |
| 437 | + array( 'class' => 'successbox' ), |
| 438 | + $successMsg |
| 439 | + ) . "\n" ); |
| 440 | + $wgOut->addHTML( ' ' . Xml::element( |
| 441 | + 'p', |
| 442 | + array( 'style' => 'clear: both' ) |
| 443 | + ) . "\n" ); |
| 444 | + |
| 445 | + // show the revision, instead of the history page |
| 446 | + $article->doPurge(); |
| 447 | + $article->view(); |
| 448 | + return false; |
| 449 | + } |
| 450 | + |
| 451 | + /** |
| 452 | + * Use the approved revision, if it exists, for templates and other |
| 453 | + * transcluded pages. |
| 454 | + */ |
| 455 | + static function setTranscludedPageRev( $parser, &$title, &$skip, &$id ) { |
| 456 | + $revision_id = ApprovedRevs::getApprovedRevID( $title ); |
| 457 | + if ( ! empty( $revision_id ) ) { |
| 458 | + $id = $revision_id; |
| 459 | + } |
| 460 | + return true; |
| 461 | + } |
| 462 | + |
| 463 | + /** |
| 464 | + * Delete the approval record in the database if the page itself is |
| 465 | + * deleted. |
| 466 | + */ |
| 467 | + static function deleteRevisionApproval( &$article, &$user, $reason, $id ) { |
| 468 | + ApprovedRevs::deleteRevisionApproval( $article->getTitle() ); |
| 469 | + return true; |
| 470 | + } |
| 471 | + |
| 472 | + /** |
| 473 | + * Register magic-word variable IDs |
| 474 | + */ |
| 475 | + static function addMagicWordVariableIDs( &$magicWordVariableIDs ) { |
| 476 | + $magicWordVariableIDs[] = 'MAG_APPROVEDREVS'; |
| 477 | + return true; |
| 478 | + } |
| 479 | + |
| 480 | + /** |
| 481 | + * Set the actual value of the magic words |
| 482 | + */ |
| 483 | + static function addMagicWordLanguage( &$magicWords, $langCode ) { |
| 484 | + switch( $langCode ) { |
| 485 | + default: |
| 486 | + $magicWords['MAG_APPROVEDREVS'] = array( 0, '__APPROVEDREVS__' ); |
| 487 | + } |
| 488 | + return true; |
| 489 | + } |
| 490 | + |
| 491 | + /** |
| 492 | + * Set values in the page_props table based on the presence of the |
| 493 | + * 'APPROVEDREVS' magic word in a page |
| 494 | + */ |
| 495 | + static function handleMagicWords( &$parser, &$text ) { |
| 496 | + $mw_hide = MagicWord::get( 'MAG_APPROVEDREVS' ); |
| 497 | + if ( $mw_hide->matchAndRemove( $text ) ) { |
| 498 | + $parser->mOutput->setProperty( 'approvedrevs', 'y' ); |
| 499 | + } |
| 500 | + return true; |
| 501 | + } |
| 502 | + |
| 503 | + /** |
| 504 | + * Add a link to 'Special:ApprovedPages' to the the page |
| 505 | + * 'Special:AdminLinks', defined by the Admin Links extension. |
| 506 | + */ |
| 507 | + function addToAdminLinks( &$admin_links_tree ) { |
| 508 | + $general_section = $admin_links_tree->getSection( wfMsg( 'adminlinks_general' ) ); |
| 509 | + $extensions_row = $general_section->getRow( 'extensions' ); |
| 510 | + if ( is_null( $extensions_row ) ) { |
| 511 | + $extensions_row = new ALRow( 'extensions' ); |
| 512 | + $general_section->addRow( $extensions_row ); |
| 513 | + } |
| 514 | + $extensions_row->addItem( ALItem::newFromSpecialPage( 'ApprovedRevs' ) ); |
| 515 | + return true; |
| 516 | + } |
| 517 | + |
| 518 | + public static function describeDBSchema( $updater = null ) { |
| 519 | + $dir = dirname( __FILE__ ); |
| 520 | + |
| 521 | + // DB updates |
| 522 | + // For now, there's just a single SQL file for all DB types. |
| 523 | + if ( $updater === null ) { |
| 524 | + global $wgExtNewTables, $wgDBtype; |
| 525 | + //if ( $wgDBtype == 'mysql' ) { |
| 526 | + $wgExtNewTables[] = array( 'approved_revs', "$dir/ApprovedRevs.sql" ); |
| 527 | + //} |
| 528 | + } else { |
| 529 | + //if ( $updater->getDB()->getType() == 'mysql' ) { |
| 530 | + $updater->addExtensionUpdate( array( 'addTable', 'approved_revs', "$dir/ApprovedRevs.sql", true ) ); |
| 531 | + //} |
| 532 | + } |
| 533 | + return true; |
| 534 | + } |
| 535 | +} |
Property changes on: tags/extensions/ApprovedRevs/REL_0_5_3/ApprovedRevs.hooks.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 536 | + native |
Index: tags/extensions/ApprovedRevs/REL_0_5_3/README |
— | — | @@ -0,0 +1,36 @@ |
| 2 | +Approved Revs Extension |
| 3 | + |
| 4 | + Version 0.5.3 |
| 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_3/README |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 38 | + native |
Index: tags/extensions/ApprovedRevs/REL_0_5_3/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_3/ApprovedRevs.alias.php |
___________________________________________________________________ |
Added: svn:keywords |
1 | 34 | + Id |
Added: svn:eol-style |
2 | 35 | + native |
Index: tags/extensions/ApprovedRevs/REL_0_5_3/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_3/ApprovedRevs.sql |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 8 | + native |