david | 1 Nov 05:08 2007
Picon

SVN: [27091] trunk/phase3/includes/EditPage.php

Revision: 27091
Author:   david
Date:     2007-11-01 04:08:42 +0000 (Thu, 01 Nov 2007)

Log Message:
-----------
Split mTitle into uiTitle and dbTitle; this is explained at the top of EditPage.php.

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

Modified: trunk/phase3/includes/EditPage.php
===================================================================
--- trunk/phase3/includes/EditPage.php	2007-10-31 21:51:56 UTC (rev 27090)
+++ trunk/phase3/includes/EditPage.php	2007-11-01 04:08:42 UTC (rev 27091)
 <at>  <at>  -8,6 +8,12  <at>  <at> 
  * The actual database and text munging is still in Article,
  * but it should get easier to call those from alternate
  * interfaces.
+ *
+ * EditPage now holds references to two distinct Titles:
+ * $uiTitle is the page that forms submit to, links point to,
+ * redirects go to, etc. $dbTitle (as well as $mArticle) is the
+ * page in the database that is actually being edited. These are
+ * usually the same, but they are now allowed to be different.
  */
 class EditPage {
 	const AS_SUCCESS_UPDATE				= 200;
 <at>  <at>  -34,7 +40,8  <at>  <at> 
(Continue reading)

nickj | 1 Nov 07:59 2007
Picon

SVN: [27092] trunk/phase3/includes/EditPage.php

Revision: 27092
Author:   nickj
Date:     2007-11-01 06:59:43 +0000 (Thu, 01 Nov 2007)

Log Message:
-----------
Prevent PHP E_STRICT notice: Only variables should be assigned by reference in includes/EditPage.php on
line 93.

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

Modified: trunk/phase3/includes/EditPage.php
===================================================================
--- trunk/phase3/includes/EditPage.php	2007-11-01 04:08:42 UTC (rev 27091)
+++ trunk/phase3/includes/EditPage.php	2007-11-01 06:59:43 UTC (rev 27092)
 <at>  <at>  -90,7 +90,7  <at>  <at> 
 		$this->mArticle =& $article;
 		global $wgTitle;
 		$this->uiTitle =& $wgTitle;
-		$this->dbTitle =& $article->getTitle();
+		$this->dbTitle = $article->getTitle();

 		# Placeholders for text injection by hooks (empty per default)
 		$this->editFormPageTop =
nickj | 1 Nov 08:02 2007
Picon

SVN: [27093] trunk/phase3

Revision: 27093
Author:   nickj
Date:     2007-11-01 07:02:02 +0000 (Thu, 01 Nov 2007)

Log Message:
-----------
Add LogLine hook as per described in the updates to docs/hooks.txt

Modified Paths:
--------------
    trunk/phase3/RELEASE-NOTES
    trunk/phase3/docs/hooks.txt
    trunk/phase3/includes/SpecialLog.php

Modified: trunk/phase3/RELEASE-NOTES
===================================================================
--- trunk/phase3/RELEASE-NOTES	2007-11-01 06:59:43 UTC (rev 27092)
+++ trunk/phase3/RELEASE-NOTES	2007-11-01 07:02:02 UTC (rev 27093)
 <at>  <at>  -47,7 +47,9  <at>  <at> 
 * Allow hiding new pages by logged-in users on Special:Newpages
 * (bug 1405) Add wgUseNPPatrol option to control patroling for new articles
   on Special:Newpages
+* LogLine hook added to allow formatting custom entries in Special:Log.

+
 === Bug fixes in 1.12 ===

 * Subpages are now indexed for searching properly when using PostgreSQL

Modified: trunk/phase3/docs/hooks.txt
(Continue reading)

huji | 1 Nov 08:03 2007
Picon

SVN: [27094] trunk/phase3/languages/messages/MessagesFa.php

Revision: 27094
Author:   huji
Date:     2007-11-01 07:03:30 +0000 (Thu, 01 Nov 2007)

Log Message:
-----------
* Added new trnaslations.
* Changed some Arabic style pluaral words to the Persian style equivallent.
* Broke some long lines to few shorter lines to make editing easier.

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

Modified: trunk/phase3/languages/messages/MessagesFa.php
===================================================================
--- trunk/phase3/languages/messages/MessagesFa.php	2007-11-01 07:02:02 UTC (rev 27093)
+++ trunk/phase3/languages/messages/MessagesFa.php	2007-11-01 07:03:30 UTC (rev 27094)
 <at>  <at>  -1,4 +1,4  <at>  <at> 
-<?php
+<?php
 /** Persian (فارسی)
   *
   *  <at> addtogroup Language
 <at>  <at>  -201,7 +201,7  <at>  <at> 
 'tog-editondblclick'          => 'ویرایش صفحه‌ها با دوکلیک (جاوااسکریپت)',
 'tog-editsection'             => 'به کار انداختن ویرایش قسمت‌ها از طریق پیوندهای [ویرایش]',
 'tog-editsectiononrightclick' => 'به کار انداختن ویرایش قسمت‌ها با کلیک راست<br />روی عناوین قسمت‌ها (جاوااسکریپت)',
-'tog-showtoc'                 => 'نمایش فهرست مندرجات<br />(برای مقالات با بیش از ۳ سرفصل)',
+'tog-showtoc'                 => 'نمایش فهرست مندرجات<br />(برای مقاله‌های با بیش از ۳ سرفصل)',
(Continue reading)

nickj | 1 Nov 08:05 2007
Picon

SVN: [27095] trunk/extensions

Revision: 27095
Author:   nickj
Date:     2007-11-01 07:05:57 +0000 (Thu, 01 Nov 2007)

Log Message:
-----------
I am starting to get kinda pissed off with the comment spam on my wiki. It's time to fight back!

At the moment we have confirmEdit, which is great for stopping links being automatically inserted, and
stopping spammers from automatically creating accounts, but turning it on for every edit it bit too high a
barrier. And we have $wgEnableSorbs, which is great for stopping open proxies.

But there is a new category of wiki comment spam emerging, one that adds random gibberish to your wiki,
without any web links, and that is often not a known open proxy. It adds words like "laletoalca" and
"rolerr" and "notac4tc" and "virochiorboa" and "oloreldell" and "c4teltlir". (What the fuck does that
even mean, and why would anyone bother writing a bot to add it?!) Maybe the idea is to then add links later - I
don't know, but it is annoying, and from my perspective the incidence of this seems to be steadily escalating.

So this extension takes it one level further, whilst still allowing anon edits, as it asks the Project
HoneyPot DNSBL whether an IP address corresponds to a known "comment spammer" (which is a new category
they seem to have added recently). The reason I selected honeypot rather than another black list is that
for the last batch of spam comments that got through on my wiki, they were all listed as "comment spammers"
on honeypot, and usually within the first 10 Google hits for those IP addresses. (i.e. based purely on past performance).

Extension considered totally experimental. Use at own risk. Requires a honeypot key to use. Steps to get this:
* Create an account - http://www.projecthoneypot.org/create_account.php
* Verify your account by visiting the emailed URL.
* Create a key - I think the URL is: http://www.projecthoneypot.org/httpbl_configure.php
* Then add to your LocalSettings.php, add:
<code>
(Continue reading)

huji | 1 Nov 08:15 2007
Picon

SVN: [27097] trunk/phase3/languages/messages/MessagesFa.php

Revision: 27097
Author:   huji
Date:     2007-11-01 07:15:45 +0000 (Thu, 01 Nov 2007)

Log Message:
-----------
Removing the Big Endian mark from the begining of the file (known Notepad bug).

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

Modified: trunk/phase3/languages/messages/MessagesFa.php
===================================================================
--- trunk/phase3/languages/messages/MessagesFa.php	2007-11-01 07:08:03 UTC (rev 27096)
+++ trunk/phase3/languages/messages/MessagesFa.php	2007-11-01 07:15:45 UTC (rev 27097)
 <at>  <at>  -1,4 +1,4  <at>  <at> 
-<?php
+<?php
 /** Persian (فارسی)
   *
   *  <at> addtogroup Language

_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS <at> lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
huji | 1 Nov 08:28 2007
Picon

SVN: [27098] trunk/phase3/languages/messages/MessagesFa.php

Revision: 27098
Author:   huji
Date:     2007-11-01 07:28:35 +0000 (Thu, 01 Nov 2007)

Log Message:
-----------
Fixing more dicatation mistakes or Arabic wordings.

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

Modified: trunk/phase3/languages/messages/MessagesFa.php
===================================================================
--- trunk/phase3/languages/messages/MessagesFa.php	2007-11-01 07:15:45 UTC (rev 27097)
+++ trunk/phase3/languages/messages/MessagesFa.php	2007-11-01 07:28:35 UTC (rev 27098)
 <at>  <at>  -393,8 +393,8  <at>  <at> 
 'disclaimerpage'    => '{{ns:project}}:تکذیب‌نامهٔ عمومی',
 'edithelp'          => 'راهنمای ویرایش کردن',
 'edithelppage'      => '{{ns:project}}:چگونه صفحه‌ها را ویرایش کنیم',
-'faq'               => 'سؤال‌های متداول',
-'faqpage'           => '{{ns:project}}:سؤال‌های متداول',
+'faq'               => 'سوال‌های متداول',
+'faqpage'           => '{{ns:project}}:سوال‌های متداول',
 'helppage'          => '{{ns:project}}:راهنما',
 'mainpage'          => 'صفحهٔ اصلی',
 'policy-url'        => '{{ns:project}}:سیاست‌ها',
 <at>  <at>  -598,7 +598,7  <at>  <at> 
 'passwordsent'               => 'یک گذرواژهٔ جدید به نشانی الکترونیکی ثبت
شده برای کاربر «$1» فرستاده شد.
(Continue reading)

nickj | 1 Nov 08:08 2007
Picon

SVN: [27096] trunk/extensions

Revision: 27096
Author:   nickj
Date:     2007-11-01 07:08:03 +0000 (Thu, 01 Nov 2007)

Log Message:
-----------
svn eol-style native

Modified Paths:
--------------
    trunk/extensions/ChangeAuthor/CHANGELOG
    trunk/extensions/FCKeditor/fckeditor/_documentation.html
    trunk/extensions/FCKeditor/fckeditor/_upgrade.html
    trunk/extensions/FCKeditor/fckeditor/_whatsnew.html
    trunk/extensions/FCKeditor/fckeditor/_whatsnew_history.html
    trunk/extensions/FCKeditor/fckeditor/editor/_source/classes/fckcontextmenu.js
    trunk/extensions/FCKeditor/fckeditor/editor/_source/classes/fckdataprocessor.js
    trunk/extensions/FCKeditor/fckeditor/editor/_source/classes/fckdocumentfragment_gecko.js
    trunk/extensions/FCKeditor/fckeditor/editor/_source/classes/fckdocumentfragment_ie.js
    trunk/extensions/FCKeditor/fckeditor/editor/_source/classes/fckdomrange.js
    trunk/extensions/FCKeditor/fckeditor/editor/_source/classes/fckdomrange_gecko.js
    trunk/extensions/FCKeditor/fckeditor/editor/_source/classes/fckdomrange_ie.js
    trunk/extensions/FCKeditor/fckeditor/editor/_source/classes/fckdomrangeinterator.js
    trunk/extensions/FCKeditor/fckeditor/editor/_source/classes/fckdomrangeiterator.js
    trunk/extensions/FCKeditor/fckeditor/editor/_source/classes/fckeditingarea.js
    trunk/extensions/FCKeditor/fckeditor/editor/_source/classes/fckelementpath.js
    trunk/extensions/FCKeditor/fckeditor/editor/_source/classes/fckenterkey.js
    trunk/extensions/FCKeditor/fckeditor/editor/_source/classes/fckevents.js
    trunk/extensions/FCKeditor/fckeditor/editor/_source/classes/fckicon.js
    trunk/extensions/FCKeditor/fckeditor/editor/_source/classes/fckiecleanup.js
(Continue reading)

nikerabbit | 1 Nov 10:39 2007
Picon

SVN: [27099] trunk/phase3/includes/EditPage.php

Revision: 27099
Author:   nikerabbit
Date:     2007-11-01 09:39:35 +0000 (Thu, 01 Nov 2007)

Log Message:
-----------
* Fixed E_NOTICE..

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

Modified: trunk/phase3/includes/EditPage.php
===================================================================
--- trunk/phase3/includes/EditPage.php	2007-11-01 07:28:35 UTC (rev 27098)
+++ trunk/phase3/includes/EditPage.php	2007-11-01 09:39:35 UTC (rev 27099)
 <at>  <at>  -2114,7 +2114,7  <at>  <at> 
 		$resultDetails = false;
 		$value = $this->internalAttemptSave( $resultDetails );
 		
-		if( $value == AS_SUCCESS_UPDATE || $value = AS_SUCCESS_NEW_ARTICLE ) {
+		if( $value == self::AS_SUCCESS_UPDATE || $value = self::AS_SUCCESS_NEW_ARTICLE ) {
 			$this->didSave = true;
 		}
 		
mark | 1 Nov 12:38 2007
Picon

SVN: [27100] trunk/ubuntu/autoinstall/pmtpa.cfg

Revision: 27100
Author:   mark
Date:     2007-11-01 11:38:03 +0000 (Thu, 01 Nov 2007)

Log Message:
-----------
Remove extra space

Modified Paths:
--------------
    trunk/ubuntu/autoinstall/pmtpa.cfg

Modified: trunk/ubuntu/autoinstall/pmtpa.cfg
===================================================================
--- trunk/ubuntu/autoinstall/pmtpa.cfg	2007-11-01 09:39:35 UTC (rev 27099)
+++ trunk/ubuntu/autoinstall/pmtpa.cfg	2007-11-01 11:38:03 UTC (rev 27100)
 <at>  <at>  -23,7 +23,7  <at>  <at> 
 d-i	apt-setup/security_host	string	security.ubuntu.com

 # ssmtp settings
-ssmtp   ssmtp/mailhub           string  smtp.pmtpa.wmnet 
+ssmtp   ssmtp/mailhub           string  smtp.pmtpa.wmnet
 ssmtp   ssmtp/fromoverride      boolean true

 # nis

Gmane