Last modified: 2014-01-07 18:34:41 UTC
Created attachment 14238 [details] Imported stuff The revision in URL produces a "blank" page with the following text: Unexpected non-MediaWiki exception encountered, of type "Exception" Steps to reproduce the error in summary: 1) Export the page with history and templates (attached) 2) Import I) Observed: no button to mark the page appears, only "This page contains changes which are not marked for translation." 3) Visit Special:PageTranslation II) Observed: Unexpected non-MediaWiki exception encountered, of type "Exception" [6af6d99e] /wiki/Special:PageTranslation Exception from line 1020 of /data/project/apache/common-local/php-master/includes/objectcache/MemcachedClient.php: Serialization of 'Closure' is not allowed Backtrace: #0 /data/project/apache/common-local/php-master/includes/objectcache/MemcachedClient.php(1020): serialize(DependencyWrapper) #1 /data/project/apache/common-local/php-master/includes/objectcache/MemcachedClient.php(617): MWMemcached->_set(string, string, DependencyWrapper, integer) #2 /data/project/apache/common-local/php-master/includes/objectcache/MemcachedBagOStuff.php(75): MWMemcached->set(string, DependencyWrapper, integer) #3 /data/project/apache/common-local/php-master/includes/cache/CacheDependency.php(93): MemcachedBagOStuff->set(string, DependencyWrapper, integer) #4 /data/project/apache/common-local/php-master/extensions/Translate/MessageGroups.php(158): DependencyWrapper->storeToCache(MemcachedPhpBagOStuff, string, integer) #5 /data/project/apache/common-local/php-master/extensions/Translate/MessageGroups.php(41): MessageGroups::loadGroupDefinitions() #6 /data/project/apache/common-local/php-master/extensions/Translate/MessageGroups.php(178): MessageGroups::init() #7 /data/project/apache/common-local/php-master/extensions/Translate/tag/SpecialPageTranslation.php(261): MessageGroups::getGroup(string) #8 /data/project/apache/common-local/php-master/extensions/Translate/tag/SpecialPageTranslation.php(281): SpecialPageTranslation->classifyPages(array) #9 /data/project/apache/common-local/php-master/extensions/Translate/tag/SpecialPageTranslation.php(48): SpecialPageTranslation->listPages() #10 /data/project/apache/common-local/php-master/includes/specialpage/SpecialPage.php(374): SpecialPageTranslation->execute(NULL) #11 /data/project/apache/common-local/php-master/includes/SpecialPageFactory.php(487): SpecialPage->run(NULL) #12 /data/project/apache/common-local/php-master/includes/Wiki.php(298): SpecialPageFactory::executePath(Title, RequestContext) #13 /data/project/apache/common-local/php-master/includes/Wiki.php(599): MediaWiki->performRequest() #14 /data/project/apache/common-local/php-master/includes/Wiki.php(460): MediaWiki->main() #15 /data/project/apache/common-local/php-master/index.php(49): MediaWiki->run() #16 /data/project/apache/common-local/w/index.php(3): require(string) #17 {main}
Forgot: 2-bis) Revert to the revision in question That was at http://commons.wikimedia.beta.wmflabs.org/wiki/Commons:Photo_challenge http://commons.wikimedia.beta.wmflabs.org/wiki/Special:PageTranslation Now tried: 4) Revert to preceding revision 5) Mark for translation: impossible because the "mark" link doesn't appear, but for some reason "This page contains changes which are not marked for translation." is now centred at the top. O_o P.s.: The page takes a very long time to import or save, 8 seconds to render; no idea why. P.p.s.: The pages didn't import on dev.twn, with Fatal error: Call to a member function getPrefixedText() on a non-object in /www/dev.translatewiki.net/w/extensions/LiquidThreads/classes/Hooks.php on line 671
rray(2) { ["cc"]=> array(4) { ["wiki-translatable"]=> object(Closure)#23 (1) { ["parameter"]=> array(1) { ["$id"]=> string(10) "" } } ["page-Commons:Wiki Loves Monuments/Philosophy"]=> object(WikiPageMessageGroup)#182 (12) { ["title":protected]=> object(Title)#181 (28) { ["mTextform"]=> string(31) "Wiki Loves Monuments/Philosophy" ["mUrlform"]=> string(31) "Wiki_Loves_Monuments/Philosophy" ["mDbkeyform"]=> string(31) "Wiki_Loves_Monuments/Philosophy" ["mUserCaseDBKey"]=> NULL ["mNamespace"]=> int(4) ["mInterwiki"]=> string(0) "" ["mFragment"]=> string(0) "" ["mArticleID"]=> int(21962) ["mLatestID"]=> bool(false) ["mContentModel"]=> bool(false) ["mEstimateRevisions":"Title":private]=> NULL ["mRestrictions"]=> array(0) { } ["mOldRestrictions"]=> bool(false) ["mCascadeRestriction"]=> NULL ["mCascadingRestrictions"]=> NULL ["mRestrictionsExpiry"]=> array(0) { } ["mHasCascadingRestrictions"]=> NULL ["mCascadeSources"]=> NULL ["mRestrictionsLoaded"]=> bool(false) ["mPrefixedText"]=> string(39) "Commons:Wiki Loves Monuments/Philosophy" ["mTitleProtection"]=> NULL ["mDefaultNamespace"]=> int(0) ["mWatched"]=> NULL ["mLength"]=> int(-1) ["mRedirect"]=> NULL ["mNotificationTimestamp"]=> array(0) { } ["mHasSubpage"]=> NULL ["mPageLanguage":"Title":private]=> bool(false) } ["definitions":protected]=> NULL ["source":protected]=> NULL ["label":protected]=> string(39) "Commons:Wiki Loves Monuments/Philosophy" ["id":protected]=> string(44) "page-Commons:Wiki Loves Monuments/Philosophy" ["namespace":protected]=> int(1198) ["optional":protected]=> array(0) { } ["ignored":protected]=> array(0) { } ["description":protected]=> NULL ["meta":protected]=> bool(false) ["mangler":protected]=> NULL ["messages":protected]=> array(0) { } } ["translate-workflow-states"]=> object(WorkflowStatesMessageGroup)#179 (10) { ["source":protected]=> NULL ["label":protected]=> string(4) "none" ["id":protected]=> string(4) "none" ["namespace":protected]=> int(8) ["optional":protected]=> array(0) { } ["ignored":protected]=> array(0) { } ["description":protected]=> NULL ["meta":protected]=> bool(false) ["mangler":protected]=> NULL ["messages":protected]=> array(0) { } } ["agg-WLM"]=> object(AggregateMessageGroup)#191 (4) { ["conf":protected]=> array(2) { ["BASIC"]=> array(6) { ["id"]=> string(7) "agg-WLM" ["label"]=> string(3) "WLM" ["description"]=> string(0) "" ["meta"]=> int(1) ["class"]=> string(21) "AggregateMessageGroup" ["namespace"]=> int(1198) } ["GROUPS"]=> array(1) { [0]=> string(44) "page-Commons:Wiki Loves Monuments/Philosophy" } } ["namespace":protected]=> int(1198) ["groups":protected]=> NULL ["mangler":protected]=> NULL } } ["autoload"]=> array(0) { } } array(5) { [0]=> object(GlobalDependency)#174 (2) { ["name":"GlobalDependency":private]=> string(23) "wgEnablePageTranslation" ["value":"GlobalDependency":private]=> bool(true) } [1]=> object(GlobalDependency)#169 (2) { ["name":"GlobalDependency":private]=> string(21) "wgTranslateGroupFiles" ["value":"GlobalDependency":private]=> array(0) { } } [2]=> object(GlobalDependency)#173 (2) { ["name":"GlobalDependency":private]=> string(13) "wgTranslateCC" ["value":"GlobalDependency":private]=> array(1) { ["wiki-translatable"]=> object(Closure)#23 (1) { ["parameter"]=> array(1) { ["$id"]=> string(10) "" } } } } [3]=> object(GlobalDependency)#175 (2) { ["name":"GlobalDependency":private]=> string(29) "wgTranslateExtensionDirectory" ["value":"GlobalDependency":private]=> string(53) "/usr/local/apache/common-local/php-master/extensions/" } [4]=> object(GlobalDependency)#176 (2) { ["name":"GlobalDependency":private]=> string(25) "wgTranslateWorkflowStates" ["value":"GlobalDependency":private]=> array(4) { ["progress"]=> array(1) { ["color"]=> string(3) "E00" } ["proofreading"]=> array(1) { ["color"]=> string(6) "FFBF00" } ["ready"]=> array(1) { ["color"]=> string(3) "FF0" } ["state conditions"]=> array(3) { [0]=> array(2) { [0]=> string(5) "ready" [1]=> array(1) { ["PROOFREAD"]=> string(3) "MAX" } } [1]=> array(2) { [0]=> string(12) "proofreading" [1]=> array(1) { ["TRANSLATED"]=> string(3) "MAX" } } [2]=> array(2) { [0]=> string(8) "progress" [1]=> array(1) { ["UNTRANSLATED"]=> string(7) "NONZERO" } } } } } }
After Reedy's https://gerrit.wikimedia.org/r/105839 with Nikerabbit's assistance, no more fatals are seen and I managed to mark, re-revert and re-mark, perfectly reproducing what done on Commons (ahem, I had forgotten I wasn't translation admin, Kaldari fixed). What's left to do in Translate if anything?
(In reply to comment #3) > After Reedy's https://gerrit.wikimedia.org/r/105839 with Nikerabbit's > assistance, no more fatals are seen and I managed to mark, re-revert and > re-mark, perfectly reproducing what done on Commons (ahem, I had forgotten I > wasn't translation admin, Kaldari fixed). > > What's left to do in Translate if anything? Nothing... And this isn't really a Translate bug either now
*** Bug 59740 has been marked as a duplicate of this bug. ***