Last modified: 2013-09-17 17:12:07 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 T52971, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50971 - Missing messages at Special:Preferences#mw-prefsection-rendering
Missing messages at Special:Preferences#mw-prefsection-rendering
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
unspecified
All All
: High normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 53916 54220 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-08 19:43 UTC by Technical 13
Modified: 2013-09-17 17:12 UTC (History)
11 users (show)

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


Attachments

Description Technical 13 2013-07-08 19:43:00 UTC
http://www.mediawiki.org/wiki/Special:Preferences#mw-prefsection-rendering
https://test.wikipedia.org/wiki/Special:Preferences#mw-prefsection-rendering
running wmf9 Show:

<prefs-math>
  <mw_math_png>
  <mw_math_source>
  <mw_math_mathjax>

and wikis running wmf8 show it correctly.
Comment 1 Andre Klapper 2013-07-08 19:57:11 UTC
Confirming.
Comment 2 Derk-Jan Hartman 2013-07-08 19:59:17 UTC
Other languages show fine on test.wp, it's just english Math messages

And I don't see the problem on my local master
Comment 3 physikerwelt 2013-07-08 21:07:12 UTC
Is there a way to figure out which version of the math extension wmf9 uses... in the math extension there is no tag for that
If it's not an error in the .i18 file the error must be somewhere in the Math.hooks.php 

	/**
	 * List of message keys for the various math output settings.
	 *
	 * @return array of strings
	 */
	private static function getMathNames() {
		global $wgUseMathJax, $wgUseLaTeXML;
		$names = array(
			MW_MATH_PNG => wfMessage( 'mw_math_png' )->escaped(),
			MW_MATH_SOURCE => wfMessage( 'mw_math_source' )->escaped(),
		);
		if ( $wgUseMathJax ) {
			$names[MW_MATH_MATHJAX] = wfMessage( 'mw_math_mathjax' )->escaped();
		}
		if ( $wgUseLaTeXML ) {
			$names[MW_MATH_LATEXML] = wfMessage( 'mw_math_latexml' )->escaped();
		}
		return $names;
	}

The only thing that changed is that I added $wgUseLaTeXML
but this is defined in Math.php as well
Comment 4 Matthew Flaschen 2013-07-08 21:28:05 UTC
Which version is live is tracked with submodules.  You can check this at https://git.wikimedia.org/tree/mediawiki%2Fcore.git/wmf%2F1.22wmf9/extensions .  Currently, it's at 233d285.

Actually, no Math i18n messages seem to be loaded.  Even Special:Version displays wrong; see https://www.mediawiki.org/wiki/Special:Version .  See also https://www.mediawiki.org/wiki/Special:AllMessages?prefix=math , showing no Math messages are in AllMessages.
Comment 5 physikerwelt 2013-07-09 06:33:35 UTC
I could not reproduce that error.

What I did is the following...
I used a brand new instance at wikitech there I fetched the latest version from git and checked out remotes/origin/wmf/1.22wmf9 and initialized the sub-modules and enabled the Math extension. That's it.
Here the version information are displayed correctly.
http://math-test2.instance-proxy.wmflabs.org/wiki/Special:Version
and the messages as well
http://math-test2.instance-proxy.wmflabs.org/wiki/Special:AllMessages?prefix=math

That's all I can do at the moment.
Do you have further suggestions how to reproduce the error?
Comment 6 physikerwelt 2013-07-09 06:49:42 UTC
by the way... this
http://www.mediawiki.org/wiki/Special:Preferences#mw-prefsection-rendering
and this
https://www.mediawiki.org/wiki/Special:AllMessages?prefix=math
work for me as well now.
Has someone fixed that?
Comment 7 Matthew Flaschen 2013-07-09 09:25:49 UTC
Yes, it looks to be fixed.  It was probably a deployment issue on the WMF cluster.
Comment 8 Technical 13 2013-08-27 14:26:05 UTC
This has re-emerged in 1.22wmf14 (310c4ba) on [[wikt:Special:Preferences#mw-prefsection-rendering]]
Comment 9 Matthew Flaschen 2013-08-27 20:01:47 UTC
When I tested just now, it was working.  It could be a problem with one of the deployment scripts, but I'm not sure why it would only affect Math.
Comment 10 Matthew Flaschen 2013-09-08 20:41:10 UTC
*** Bug 53916 has been marked as a duplicate of this bug. ***
Comment 11 Matthew Flaschen 2013-09-08 20:51:28 UTC
Reproduced just now (on MediaWiki.org, as in the latest report).  This is obviously a recurring issue, so we shouldn't mark it FIXED or WORKSFORME until we understand and have fixed the underlying problem.
Comment 12 Greg Grossmeier 2013-09-09 16:23:10 UTC
CC'ing Reedy to take a look at this, since Matthew seems to think it is an issue in the deploy scripts.
Comment 13 Matthew Flaschen 2013-09-09 19:37:03 UTC
(In reply to comment #12)
> CC'ing Reedy to take a look at this, since Matthew seems to think it is an
> issue in the deploy scripts.

Possibly, though as noted, I'm not sure why it's specific to Math (or if not, just reported for Math?).
Comment 14 Sam Reed (reedy) 2013-09-09 20:22:27 UTC
scap vs l10nupdate?
Comment 15 Bartosz Dziewoński 2013-09-17 16:28:45 UTC
*** Bug 54220 has been marked as a duplicate of this bug. ***
Comment 16 Sam Reed (reedy) 2013-09-17 17:12:07 UTC
Change 84536 had a related patch set uploaded by Reedy:
Add Math to extension-list

https://gerrit.wikimedia.org/r/84536


^ Fixed

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


Navigation
Links