1 Nov 2007 05:08
SVN: [27091] trunk/phase3/includes/EditPage.php
<david <at> svn.wikimedia.org>
2007-11-01 04:08:43 GMT
2007-11-01 04:08:43 GMT
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)
RSS Feed