https://bugzilla.wikimedia.org/show_bug.cgi?id=38566

Roan Kattouw <roan.katt...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |niklas.laxst...@gmail.com,
                   |                            |roan.katt...@gmail.com

--- Comment #6 from Roan Kattouw <roan.katt...@gmail.com> 2012-07-23 22:56:23 
UTC ---
I dug up the error plus backtrace in the logs, see below. The bad change seems
to be rcid 2369742 (also dumped below), but I don't understand why. The
backtrace implies something is wrong with the $this->params member of the
Message object, but since it's just doing
wfMessage('parentheses')->rawParams($formatted)->escaped(); where $formatted is
the result of Linker::formatComment(), I don't see how it would get messed up.

CC Niklas because the exception occurs deep in the bowels of Message.php

<rc type="new" ns="10" title="Templat:IPAc-cmn" rcid="2369742" pageid="341526"
revid="2277275" old_revid="0" timestamp="2012-07-21T14:42:08Z" />

mysql> select * from recentchanges where rc_id=2369742 \G
*************************** 1. row ***************************
            rc_id: 2369742
     rc_timestamp: 20120721144208
      rc_cur_time: 20120721144208
          rc_user: 72824
     rc_user_text: 26 Ramadan
     rc_namespace: 10
         rc_title: IPAc-cmn
       rc_comment: Mencipta laman baru dengan kandungan '<includeonly><span
class="IPA" style="white-space:nowrap">[[Wikipedia:IPA untuk
Mandarin|{{#switch:{{{1}}}|[-|[]|[]AUD=[|/-|//|//AUD=/|--|-]|-/|-]AUD|-/AUD=...'
         rc_minor: 0
           rc_bot: 0
           rc_new: 1
        rc_cur_id: 341526
    rc_this_oldid: 2277275
    rc_last_oldid: 0
          rc_type: 1
   rc_moved_to_ns: 0
rc_moved_to_title:
     rc_patrolled: 0
            rc_ip: CENSORED
       rc_old_len: 0
       rc_new_len: 5510
       rc_deleted: 0
         rc_logid: 0
      rc_log_type: NULL
    rc_log_action:
        rc_params:
1 row in set (0.00 sec)


2012-07-23 22:36:31 srv234 mswiki: [7ce45821]
/w/index.php?title=Khas:Perubahan_terkini&limit=686   Exception from line 571
of /usr/local/apache/common-local/php-1.20wmf7/includes/Message.php: Invalid
message parameter
#0 /usr/local/apache/common-local/php-1.20wmf7/includes/Message.php(546):
Message->extractParam(Array)
#1 /usr/local/apache/common-local/php-1.20wmf7/includes/Message.php(414):
Message->replaceParameters('($1)', 'before')
#2 /usr/local/apache/common-local/php-1.20wmf7/includes/Message.php(491):
Message->toString()
#3 /usr/local/apache/common-local/php-1.20wmf7/includes/Linker.php(1456):
Message->escaped()
#4 /usr/local/apache/common-local/php-1.20wmf7/includes/ChangesList.php(435):
Linker::commentBlock('Mencipta laman ...', Object(Title))
#5 /usr/local/apache/common-local/php-1.20wmf7/includes/ChangesList.php(640):
ChangesList->insertComment(Object(RecentChange))
#6
/usr/local/apache/common-local/php-1.20wmf7/includes/specials/SpecialRecentchanges.php(527):
OldChangesList->recentChangesLine(Object(RecentChange), false, 687)
#7
/usr/local/apache/common-local/php-1.20wmf7/includes/specials/SpecialRecentchanges.php(179):
SpecialRecentChanges->webOutput(Object(ResultWrapper), Object(FormOptions))
#8 /usr/local/apache/common-local/php-1.20wmf7/includes/SpecialPage.php(611):
SpecialRecentChanges->execute(NULL)
#9
/usr/local/apache/common-local/php-1.20wmf7/includes/SpecialPageFactory.php(493):
SpecialPage->run(NULL)
#10 /usr/local/apache/common-local/php-1.20wmf7/includes/Wiki.php(263):
SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#11 /usr/local/apache/common-local/php-1.20wmf7/includes/Wiki.php(601):
MediaWiki->performRequest()
#12 /usr/local/apache/common-local/php-1.20wmf7/includes/Wiki.php(511):
MediaWiki->main()
#13 /usr/local/apache/common-local/php-1.20wmf7/index.php(58): MediaWiki->run()
#14 /usr/local/apache/common-local/live-1.5/index.php(3):
require('/usr/local/apac...')
#15 {main}

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to