Last modified: 2006-09-06 17:10:53 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 7244 - undefined constant DPL2_WARN_WRONGCOUNT
undefined constant DPL2_WARN_WRONGCOUNT
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
DynamicPageList2 (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-09-06 11:11 UTC by Heinz-Josef Lücking
Modified: 2006-09-06 17:10 UTC (History)
0 users

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


Attachments

Description Heinz-Josef Lücking 2006-09-06 11:11:45 UTC
Apache Log:

PHP Notice:  Use of undefined constant DPL2_WARN_WRONGCOUNT - assumed
'DPL2_WARN_WRONGCOUNT' in
/srv/www/htdocs/mediawiki_shared/extensions/DynamicPageList2.i18n.php on line 192
Comment 1 Cyril Dangerville 2006-09-06 15:26:24 UTC
Yes, I replaced DPL2_WARN_WRONGCOUNT with DPL2_WARN_WRONGPARAM_INT in the code.
Except for English (en), I did not make the changes for all languages
accordingly. (I speak neither hebrew (he) or dutch (nl).) See the logs on SVN
for all the last changes made to the extension messages:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/DynamicPageList2/DynamicPageList2.i18n.php?view=log

So, to fix it, at line 192 or so, you need to replace DPL2_WARN_WRONGCOUNT with
DPL2_WARN_WRONGPARAM_INT and provide the appropriate translation for the
language. Use the English ('en' key) message as a reference. You can also wait
for some other dutch-speaking user to do it. It seems rotem (Rotem Liss?) is
quite on top of this, by seeing the logs.

When this is done, you are welcome to make the changes to the source on the SVN
 repository, or give the translation (a patch would be better) and we will make
the changes to the source. Thanks.
Comment 2 Rotem Liss 2006-09-06 17:10:53 UTC
I speak Hebrew and update this translation when I get the message about your
updates, but I don't speak Dutch and cannot update this translation if I someone
else doesn't translate it – I added the Dutch translation form Bug 7063, however
it was not updated since then. There are three possible ways:
1. You can comment the lines which use a removed constant when you change it,
then I will update Hebrew and won't touch Dutch.
2. I can comment the lines which use a removed constant when I update the Hebrew
translation.
3. You can convert the messages to use normal names, with constants, like all
the other messages. It may be the best solution.
Anyway, I commented the message of Dutch in r16427, therefore this error is not
shown anymore.

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


Navigation
Links