Last modified: 2012-07-06 19:29:42 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 T40219, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38219 - Cite.i18n.php is not loading
Cite.i18n.php is not loading
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
Cite (Other open bugs)
REL1_19-branch
PC Windows 7
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-06 17:18 UTC by Carlos Jesús Huchim Ahumada
Modified: 2012-07-06 19:29 UTC (History)
0 users

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


Attachments

Description Carlos Jesús Huchim Ahumada 2012-07-06 17:18:43 UTC
Cite messages are not working, file cite.i18n.php is not loaded (include a die() in the top of file and scripts continue working)...

This is the original code..

$wgExtensionCredits['parserhook'][] = array(
	'path' => __FILE__,
	'name' => 'Cite',
	'author' => 'Ævar Arnfjörð Bjarmason',
	'descriptionmsg' => 'cite-desc',
	'url' => 'https://www.mediawiki.org/wiki/Extension:Cite/Cite.php'
);


I changed this line with ... "...edits['parserhook']['Cite'] = array(..." and cites messages works ok...




Using Cite-MW1.19-110961.tar
Comment 1 Sam Reed (reedy) 2012-07-06 18:06:50 UTC
We don't explicitly key anything like that for Extension Credits.

And it's known working fine on trunk...
Comment 2 Carlos Jesús Huchim Ahumada 2012-07-06 18:48:52 UTC
I don't understand well how extension works, but it was not working for me.

SyntaxHighlight_GeSHi set a key for that array, so I wrote "Cite" in Cite array and works fine!...

Cites messages didn't appear listed in Special::AllMessages (before add array key) after all messages appear listed...

Now I removed the array key and still works fine... very confused but it's working and that matter

Thank you so much, you can close this bug :D

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


Navigation
Links