diff --git a/portal-impl/src/com/liferay/portlet/wiki/lar/WikiPortletDataHandler.java b/portal-impl/src/com/liferay/portlet/wiki/lar/WikiPortletDataHandler.java
index 9e891adcdce094c98c8b59677bc00ecd4bf35c72..47c405361ee4aa976ef45b5df8f027c1ce8f60bf 100644
--- a/portal-impl/src/com/liferay/portlet/wiki/lar/WikiPortletDataHandler.java
+++ b/portal-impl/src/com/liferay/portlet/wiki/lar/WikiPortletDataHandler.java
@@ -16,14 +16,19 @@ package com.liferay.portlet.wiki.lar;
 
 import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery;
 import com.liferay.portal.kernel.lar.BasePortletDataHandler;
+import com.liferay.portal.kernel.lar.ExportImportThreadLocal;
 import com.liferay.portal.kernel.lar.PortletDataContext;
 import com.liferay.portal.kernel.lar.PortletDataException;
 import com.liferay.portal.kernel.lar.PortletDataHandlerBoolean;
 import com.liferay.portal.kernel.lar.PortletDataHandlerControl;
 import com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil;
 import com.liferay.portal.kernel.lar.StagedModelType;
+import com.liferay.portal.kernel.log.Log;
+import com.liferay.portal.kernel.log.LogFactoryUtil;
 import com.liferay.portal.kernel.util.StringUtil;
 import com.liferay.portal.kernel.xml.Element;
+import com.liferay.portal.model.Group;
+import com.liferay.portal.service.GroupLocalServiceUtil;
 import com.liferay.portlet.wiki.model.WikiNode;
 import com.liferay.portlet.wiki.model.WikiPage;
 import com.liferay.portlet.wiki.service.WikiNodeLocalServiceUtil;
@@ -198,28 +203,21 @@ public class WikiPortletDataHandler extends BasePortletDataHandler {
 			PortletPreferences portletPreferences)
 		throws Exception {
 
+		Group group = GroupLocalServiceUtil.fetchGroup(
+			portletDataContext.getGroupId());
+
 		String hiddenNodeNames = portletPreferences.getValue(
 			"hiddenNodes", null);
 
 		for (String hiddenNodeName : StringUtil.split(hiddenNodeNames)) {
-			WikiNode wikiNode =
-				WikiNodeLocalServiceUtil.getNode(
-					portletDataContext.getScopeGroupId(), hiddenNodeName);
-
-			StagedModelDataHandlerUtil.exportReferenceStagedModel(
-				portletDataContext, portletId, wikiNode);
+			exportNode(portletDataContext, portletId, group, hiddenNodeName);
 		}
 
 		String visibleNodeNames = portletPreferences.getValue(
 			"visibleNodes", null);
 
 		for (String visibleNodeName : StringUtil.split(visibleNodeNames)) {
-			WikiNode wikiNode =
-				WikiNodeLocalServiceUtil.getNode(
-					portletDataContext.getScopeGroupId(), visibleNodeName);
-
-			StagedModelDataHandlerUtil.exportReferenceStagedModel(
-				portletDataContext, portletId, wikiNode);
+			exportNode(portletDataContext, portletId, group, visibleNodeName);
 		}
 
 		return portletPreferences;
@@ -237,4 +235,33 @@ public class WikiPortletDataHandler extends BasePortletDataHandler {
 		return portletPreferences;
 	}
 
+	protected void exportNode(
+			PortletDataContext portletDataContext, String portletId,
+			Group group, String nodeName)
+		throws Exception {
+
+		if (ExportImportThreadLocal.isStagingInProcess() &&
+			!group.isStagedPortlet(portletId)) {
+
+			return;
+		}
+
+		WikiNode node = WikiNodeLocalServiceUtil.fetchNode(
+			portletDataContext.getScopeGroupId(), nodeName);
+
+		if (node == null) {
+			if (_log.isWarnEnabled()) {
+				_log.warn("Unable to export referenced wiki node " + nodeName);
+			}
+
+			return;
+		}
+
+		StagedModelDataHandlerUtil.exportReferenceStagedModel(
+			portletDataContext, portletId, node);
+	}
+
+	private static Log _log = LogFactoryUtil.getLog(
+		WikiPortletDataHandler.class);
+
 }
\ No newline at end of file
