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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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.