[MediaWiki-commits] [Gerrit] Change EditEntity status failure from session-failure to ses... - change (mediawiki...Wikibase)

2013-05-22 Thread Aude (Code Review)
Aude has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/64930


Change subject: Change EditEntity status failure from session-failure to 
sessionfailure
..

Change EditEntity status failure from session-failure to sessionfailure

There is no message for session-failure; instead it is sessionfailure.

If wrong, it displays session-failure in the error bubble in the UI.

Change-Id: I18c9e54ffb48f841461c76b4ec4bc845b9c2dc33
---
M repo/includes/EditEntity.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/30/64930/1

diff --git a/repo/includes/EditEntity.php b/repo/includes/EditEntity.php
index 4a2e31c..73457ee 100644
--- a/repo/includes/EditEntity.php
+++ b/repo/includes/EditEntity.php
@@ -631,7 +631,7 @@
//   We should figure out which error codes the 
callers expect,
//   and only set the correct error code, in one 
place, probably here.
$this-errorType |= self::TOKEN_ERROR;
-   $this-status-fatal( 'session-failure' );
+   $this-status-fatal( 'sessionfailure' );
$this-status-setResult( false, array( 'errorFlags' = 
$this-errorType ) );
 
wfProfileOut( __METHOD__ );

-- 
To view, visit https://gerrit.wikimedia.org/r/64930
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I18c9e54ffb48f841461c76b4ec4bc845b9c2dc33
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Aude aude.w...@gmail.com

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Change EditEntity status failure from session-failure to ses... - change (mediawiki...Wikibase)

2013-05-22 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: Change EditEntity status failure from session-failure to 
sessionfailure
..


Change EditEntity status failure from session-failure to sessionfailure

There is no message for session-failure; instead it is sessionfailure.

If wrong, it displays session-failure in the error bubble in the UI.

Change-Id: I18c9e54ffb48f841461c76b4ec4bc845b9c2dc33
---
M repo/includes/EditEntity.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Tobias Gritschacher: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/repo/includes/EditEntity.php b/repo/includes/EditEntity.php
index 4a2e31c..73457ee 100644
--- a/repo/includes/EditEntity.php
+++ b/repo/includes/EditEntity.php
@@ -631,7 +631,7 @@
//   We should figure out which error codes the 
callers expect,
//   and only set the correct error code, in one 
place, probably here.
$this-errorType |= self::TOKEN_ERROR;
-   $this-status-fatal( 'session-failure' );
+   $this-status-fatal( 'sessionfailure' );
$this-status-setResult( false, array( 'errorFlags' = 
$this-errorType ) );
 
wfProfileOut( __METHOD__ );

-- 
To view, visit https://gerrit.wikimedia.org/r/64930
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I18c9e54ffb48f841461c76b4ec4bc845b9c2dc33
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Aude aude.w...@gmail.com
Gerrit-Reviewer: Tobias Gritschacher tobias.gritschac...@wikimedia.de
Gerrit-Reviewer: jenkins-bot

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits