Last modified: 2006-12-02 08:32:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T10118, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8118 - PHP parse error in Makesysop
PHP parse error in Makesysop
Product: MediaWiki extensions
Classification: Unclassified
Makesysop (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-12-02 03:24 UTC by William Scales
Modified: 2006-12-02 08:32 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description William Scales 2006-12-02 03:24:55 UTC
Single quotes instead of double quotes in SpecialMakesysop.i18n.php cause
maintenance/update.php to fail with the following message:
Parse error: syntax error, unexpected T_STRING, expecting ')' in
/var/www/w/extensions/Makesysop/SpecialMakesysop.i18n.php on line 373

This patch should fix it:
Index: extensions/Makesysop/SpecialMakesysop.i18n.php
--- extensions/Makesysop/SpecialMakesysop.i18n.php      (revision 18109)
+++ extensions/Makesysop/SpecialMakesysop.i18n.php      (working copy)
@@ -370,7 +370,7 @@
        'set_rights_fail'      => "<b>Ij drit dl'utent \"$1\" a son pa podusse
buté. (Ha-lo butà ël nòm giust?)</b>",
        'makesysop'            => "Deje a n'utent la qualìfica da aministrator",
        'already_sysop'        => "St'Utent-sì a l'é già n'aministrator
-       'already_bureaucrat'   => 'St'Utent-sì a l'é già un Mangiapapé
+       'already_bureaucrat'   => "St'Utent-sì a l'é già un Mangiapapé
        'makesysop-nodatabase' => 'Stranòm interwiki che a va pa bin: $1',
        'group-steward'        => 'Controlor',
        'group-steward-member' => 'Controlor',
Comment 1 Rotem Liss 2006-12-02 08:32:49 UTC
Fixed in r18116. Thanks for the report, and please attach patches as attachments.

Note You need to log in before you can comment on or make changes to this bug.