ivanlanin | 1 Oct 2007 06:44
Picon
Favicon

SVN: [26264] trunk/phase3/languages/messages/MessagesId.php

Revision: 26264
Author:   ivanlanin
Date:     2007-10-01 04:44:28 +0000 (Mon, 01 Oct 2007)

Log Message:
-----------
Indonesian (id) localisation updates.

Modified Paths:
--------------
    trunk/phase3/languages/messages/MessagesId.php

Modified: trunk/phase3/languages/messages/MessagesId.php
===================================================================
--- trunk/phase3/languages/messages/MessagesId.php	2007-09-30 22:42:22 UTC (rev 26263)
+++ trunk/phase3/languages/messages/MessagesId.php	2007-10-01 04:44:28 UTC (rev 26264)
 <at>  <at>  -1110,6 +1110,10  <at>  <at> 
 'destfilename'                => 'Nama berkas tujuan',
 'watchthisupload'             => 'Pantau halaman ini',
 'filewasdeleted'              => 'Suatu berkas dengan nama ini pernah dimuat dan selanjutnya dihapus. Harap cek $1
sebelum memuat lagi berkas tersebut.',
+'upload-wasdeleted'           => "'''Peringatan: Anda memuat suatu berkas yang telah pernah dihapus.'''
+
+Anda harus mempertimbangkan apakah perlu untuk melanjutkan pemuatan berkas ini.
+Log penghapusan berkas adalah sebagai berikut:",
 'filename-bad-prefix'         => 'Nama berkas yang Anda muat diawali dengan <strong>"$1"</strong>, yang
merupakan nama non-deskriptif yang biasanya diberikan secara otomatis oleh kamera digital. Harap
pilih nama lain yang lebih deskriptif untuk berkas Anda.',

 'upload-proto-error'      => 'Protokol tak tepat',
(Continue reading)

aaron | 1 Oct 2007 06:58
Picon
Favicon

SVN: [26265] trunk/extensions/Nuke/SpecialNuke.i18n.php

Revision: 26265
Author:   aaron
Date:     2007-10-01 04:58:47 +0000 (Mon, 01 Oct 2007)

Log Message:
-----------
*Add language file

Added Paths:
-----------
    trunk/extensions/Nuke/SpecialNuke.i18n.php

Added: trunk/extensions/Nuke/SpecialNuke.i18n.php
===================================================================
--- trunk/extensions/Nuke/SpecialNuke.i18n.php	                        (rev 0)
+++ trunk/extensions/Nuke/SpecialNuke.i18n.php	2007-10-01 04:58:47 UTC (rev 26265)
 <at>  <at>  -0,0 +1,27  <at>  <at> 
+<?php
+#Internationalisation de l'extension mediawiki Nuke
+
+function SpecialNukeMessages () {
+	$messages = array(
+
+# English messages by Brion Vibber
+	'en' => array(
+		'nuke' => 'Mass delete',
+		'nuke-nopages' => "No new pages by [[Special:Contributions/$1|$1]] in recent changes.",
+		'nuke-list' => "The following pages were recently created by [[Special:Contributions/$1|$1]]; put
in a comment and hit the button to delete them.",
+		'nuke-defaultreason' => "Mass removal of pages added by $1",
(Continue reading)

raymond | 1 Oct 2007 10:33
Picon
Favicon

SVN: [26266] trunk/extensions/Oversight/HideRevision.i18n.php

Revision: 26266
Author:   raymond
Date:     2007-10-01 08:33:57 +0000 (Mon, 01 Oct 2007)

Log Message:
-----------
* (bug 11514) Update French translations
  Patch by  Bertrand GRONDIN

Modified Paths:
--------------
    trunk/extensions/Oversight/HideRevision.i18n.php

Modified: trunk/extensions/Oversight/HideRevision.i18n.php
===================================================================
--- trunk/extensions/Oversight/HideRevision.i18n.php	2007-10-01 04:58:47 UTC (rev 26265)
+++ trunk/extensions/Oversight/HideRevision.i18n.php	2007-10-01 08:33:57 UTC (rev 26266)
 <at>  <at>  -152,7 +152,7  <at>  <at> 
 * Information personnelle inappropriée,
 *: ''Adresse personnelle et numéro de téléphone, numéro de sécurité sociale, etc...''

-''' L'abus de cette fonctionnalité impliquera la perte de ces privilèges.
+''' L'abus de cette fonctionnalité impliquera la perte de ces privilèges.'''

 Les articles effacés ne sont plus visibles dans ce système, mais ces suppressions sont journalisées et
peuvent être restaurées manuellement par un administrateur ayant l'accès direct sur la base de
données si vous avez fait une erreur.",
 'hiderevision-reason' => 'Motif (sera enregistré séparément) :',
 <at>  <at>  -179,7 +179,7  <at>  <at> 
 'oversight-difference' => '(Différence par rapport à la révision précédente)',
(Continue reading)

raymond | 1 Oct 2007 11:12
Picon
Favicon

SVN: [26267] trunk

Revision: 26267
Author:   raymond
Date:     2007-10-01 09:12:43 +0000 (Mon, 01 Oct 2007)

Log Message:
-----------
* (bugs 11517, 11518, 11519, 11520) Update French translations
  Patch by  Bertrand GRONDIN

Modified Paths:
--------------
    trunk/extensions/Cite/Cite.i18n.php
    trunk/extensions/NewestPages/NewestPages.i18n.php
    trunk/extensions/Nuke/SpecialNuke.i18n.php
    trunk/phase3/languages/messages/MessagesFr.php

Property Changed:
----------------
    trunk/extensions/Nuke/SpecialNuke.i18n.php

Modified: trunk/extensions/Cite/Cite.i18n.php
===================================================================
--- trunk/extensions/Cite/Cite.i18n.php	2007-10-01 08:33:57 UTC (rev 26266)
+++ trunk/extensions/Cite/Cite.i18n.php	2007-10-01 09:12:43 UTC (rev 26267)
 <at>  <at>  -125,6 +125,7  <at>  <at> 
 	'cite_error_' . CITE_ERROR_REFERENCES_INVALID_INPUT      => 'Entrée invalide ; entrée attendue',
 	'cite_error_' . CITE_ERROR_REFERENCES_INVALID_PARAMETERS => 'Arguments invalides ; argument attendu',
 	'cite_error_' . CITE_ERROR_REFERENCES_NO_BACKLINK_LABEL  => "Exécution hors des étiquettes
personnalisées, définissez plus dans le message «
cite_references_link_many_format_backlink_labels »",
(Continue reading)

raymond | 1 Oct 2007 14:03
Picon
Favicon

SVN: [26268] trunk

Revision: 26268
Author:   raymond
Date:     2007-10-01 12:03:23 +0000 (Mon, 01 Oct 2007)

Log Message:
-----------
* Update German

Modified Paths:
--------------
    trunk/extensions/Nuke/SpecialNuke.i18n.php
    trunk/phase3/languages/messages/MessagesDe.php

Modified: trunk/extensions/Nuke/SpecialNuke.i18n.php
===================================================================
--- trunk/extensions/Nuke/SpecialNuke.i18n.php	2007-10-01 09:12:43 UTC (rev 26267)
+++ trunk/extensions/Nuke/SpecialNuke.i18n.php	2007-10-01 12:03:23 UTC (rev 26268)
 <at>  <at>  -1,5 +1,10  <at>  <at> 
 <?php
-#Internationalisation de l'extension mediawiki Nuke
+/**
+ * Internationalisation file for the Nuke extension
+ *
+ *  <at> addtogroup Extensions
+ *  <at> author Brion Vibber
+ */

 function SpecialNukeMessages () {
 	$messages = array(
 <at>  <at>  -13,6 +18,15  <at>  <at> 
(Continue reading)

brion | 1 Oct 2007 15:05
Picon
Favicon

SVN: [26269] trunk/phase3

Revision: 26269
Author:   brion
Date:     2007-10-01 13:05:26 +0000 (Mon, 01 Oct 2007)

Log Message:
-----------
* (bug 278) Search results no longer highlight incorrect partial word matches

Modified Paths:
--------------
    trunk/phase3/RELEASE-NOTES
    trunk/phase3/includes/SearchMySQL4.php

Modified: trunk/phase3/RELEASE-NOTES
===================================================================
--- trunk/phase3/RELEASE-NOTES	2007-10-01 12:03:23 UTC (rev 26268)
+++ trunk/phase3/RELEASE-NOTES	2007-10-01 13:05:26 UTC (rev 26269)
 <at>  <at>  -79,7 +79,9  <at>  <at> 
 * (bug 11462) Fix typo in LanguageGetSpecialPageAliases hook name
 * (bug 11474) Fix unintentional fall-through in math error handling
 * (bug 11478) Fix undefined method call in file deletion interface
+* (bug 278) Search results no longer highlight incorrect partial word matches

+
 === API changes in 1.12 ===

 Full API documentation is available at http://www.mediawiki.org/wiki/API

Modified: trunk/phase3/includes/SearchMySQL4.php
===================================================================
(Continue reading)

aaron | 1 Oct 2007 15:06
Picon
Favicon

SVN: [26270] trunk/extensions/FlaggedRevs/FlaggedRevsPage_body.php

Revision: 26270
Author:   aaron
Date:     2007-10-01 13:06:20 +0000 (Mon, 01 Oct 2007)

Log Message:
-----------
*Remove var cruft

Modified Paths:
--------------
    trunk/extensions/FlaggedRevs/FlaggedRevsPage_body.php

Modified: trunk/extensions/FlaggedRevs/FlaggedRevsPage_body.php
===================================================================
--- trunk/extensions/FlaggedRevs/FlaggedRevsPage_body.php	2007-10-01 13:05:26 UTC (rev 26269)
+++ trunk/extensions/FlaggedRevs/FlaggedRevsPage_body.php	2007-10-01 13:06:20 UTC (rev 26270)
 <at>  <at>  -875,7 +875,7  <at>  <at> 
 		$this->override = intval( $wgRequest->getBool( 'override' ) );
 		$this->comment = $wgRequest->getVal( 'wpReason' );
 		
-		$this->showForm( $wgRequest );
+		$this->showForm();
 		# Only 0 or 1
 		if( $this->select && ($this->select !==0 && $this->select !==1) ) {
 			return;
 <at>  <at>  -898,11 +898,11  <at>  <at> 
 		if( $confirm ) {
 			$this->submit();
 		} else {
-			$this->showSettings( $wgRequest );
(Continue reading)

brion | 1 Oct 2007 15:10
Picon
Favicon

SVN: [26271] trunk/extensions/LuceneSearch/LuceneSearch_body.php

Revision: 26271
Author:   brion
Date:     2007-10-01 13:10:57 +0000 (Mon, 01 Oct 2007)

Log Message:
-----------
* (bug 278) Search results no longer highlight incorrect partial word matches
for lucene search too...

Modified Paths:
--------------
    trunk/extensions/LuceneSearch/LuceneSearch_body.php

Modified: trunk/extensions/LuceneSearch/LuceneSearch_body.php
===================================================================
--- trunk/extensions/LuceneSearch/LuceneSearch_body.php	2007-10-01 13:06:20 UTC (rev 26270)
+++ trunk/extensions/LuceneSearch/LuceneSearch_body.php	2007-10-01 13:10:57 UTC (rev 26271)
 <at>  <at>  -404,7 +404,7  <at>  <at> 
 	 *  <at> access private
 	 */
 	function regexQuote( $term ) {
-		return preg_quote( $term, '/' );
+		return '\b' . preg_quote( $term, '/' ) . '\b';
 	}

 	/**
raymond | 1 Oct 2007 16:10
Picon
Favicon

SVN: [26272] trunk/phase3/includes/SpecialUpload.php

Revision: 26272
Author:   raymond
Date:     2007-10-01 14:10:02 +0000 (Mon, 01 Oct 2007)

Log Message:
-----------
* Do, what the comment already says: 
Don't bother the user with a warning about a previously deleted file if the file exists now, however.

Modified Paths:
--------------
    trunk/phase3/includes/SpecialUpload.php

Modified: trunk/phase3/includes/SpecialUpload.php
===================================================================
--- trunk/phase3/includes/SpecialUpload.php	2007-10-01 13:10:57 UTC (rev 26271)
+++ trunk/phase3/includes/SpecialUpload.php	2007-10-01 14:10:02 UTC (rev 26272)
 <at>  <at>  -639,9 +639,9  <at>  <at> 
 			}
 		}

-		if ( $file->wasDeleted() ) {
+		if ( $file->wasDeleted() && !$file->exists() ) {
 			# If the file existed before and was deleted, warn the user of this
-			# Don't bother doing so if the image exists now, however
+			# Don't bother doing so if the file exists now, however
 			$ltitle = SpecialPage::getTitleFor( 'Log' );
 			$llink = $sk->makeKnownLinkObj( $ltitle, wfMsgHtml( 'deletionlog' ), 
 				'type=delete&page=' . $file->getTitle()->getPrefixedUrl() );
(Continue reading)

mkroetzsch | 1 Oct 2007 16:30
Picon
Favicon

SVN: [26273] trunk/extensions/SemanticMediaWiki/includes/SMW_DV_Types.php

Revision: 26273
Author:   mkroetzsch
Date:     2007-10-01 14:30:30 +0000 (Mon, 01 Oct 2007)

Log Message:
-----------
check for invalid titles given as types

Modified Paths:
--------------
    trunk/extensions/SemanticMediaWiki/includes/SMW_DV_Types.php

Modified: trunk/extensions/SemanticMediaWiki/includes/SMW_DV_Types.php
===================================================================
--- trunk/extensions/SemanticMediaWiki/includes/SMW_DV_Types.php	2007-10-01 14:10:02 UTC (rev 26272)
+++ trunk/extensions/SemanticMediaWiki/includes/SMW_DV_Types.php	2007-10-01 14:30:30 UTC (rev 26273)
 <at>  <at>  -21,15 +21,16  <at>  <at> 
 	protected function parseUserValue($value) {
 		// no use for being lazy here: plain user values are never useful
 		$this->m_typelabels = array();
+		$this->m_typecaptions = array();
 		$types = explode(';', $value);
 		foreach ($types as $type) {
 			$type = ltrim($type, ' [');
 			$type = rtrim($type, ' ]');
 			$ttype = Title::newFromText($type,SMW_NS_TYPE);
-			if ($ttype->getNamespace() == SMW_NS_TYPE) {
+			if ( ($ttype !== NULL) && ($ttype->getNamespace() == SMW_NS_TYPE) ) {
 				$this->m_typecaptions[] = $type;
 				$this->m_typelabels[] = SMWDataValueFactory::findTypeLabel(SMWDataValueFactory::findTypeID($ttype->getText()));
(Continue reading)


Gmane