Page MenuHomePhabricator

SpecialCite's i18n is still being loaded which is breaking CiteThisPage in BetaLabs
Closed, ResolvedPublic

Description

Ideally we'd need a way to not load it from production's extension-list…


Version: unspecified
Severity: normal

Details

Reference
bz71112

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:44 AM
bzimport set Reference to bz71112.

http://en.wikipedia.beta.wmflabs.org/wiki/Special:Cite

Page not found

Should redirect to CiteThisPage (as configured by CiteThisPage.alias.php).

http://en.wikipedia.beta.wmflabs.org/wiki/Special:CiteThisPage

Works

http://de.wikipedia.beta.wmflabs.org/wiki/Special:Cite

Redirects to Spezial:Zitierhilfe
Page not found

Should display page.

http://de.wikipedia.beta.wmflabs.org/wiki/Special:CiteThisPage

Redirects to Spezial:Zitierhilfe
Page not found

Should display page.

I can instantiate SpecialCiteThisPage from mwscript eval.php for both enwiki and dewiki on deployment-beta.

The mediawiki-config is set correctly (it loads SpecialCiteThisPage when $wmgUseCiteThisPage is true, and otherwise it loads SpecalCite). Beta loads CiteThisPage, prod loads Cite.

The only thing I could find that might cause this problem is the fact that extension-list contains the old SpecialCite, and thus localisation update -> $wgExtensionEntryPointListFiles -> mergeMessageFileList.php -> wgExtensionMessagesFiles contains conflicting information.

There is a way to add extensions for -labs only, but there doesn't seem to be way to add an extension for prod only without it also loading in labs and at this point the two extensions are mutually exclusive. We should:

  1. Not deploy to beta (remove) and switch both later at the same time.
  1. or; Fix the old and new extensions to somehow to co-exist.
  1. or; Implement a way to add extensions in prod only, and give up that beta is always production + modifications.

(In reply to Krinkle from comment #1)

We should:

  1. Not deploy to beta (remove) and switch both later at the same time.

After talking it through with Greg, we're probably going to deploy it all at once at some point in mid-October. We'll work out and communicate this to the wikis so they have a heads-up.

Change 158121 had a related patch set uploaded by Greg Grossmeier:
Switch from SpecialCite to CiteThisPage on all wikis

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

Planned for Tuesday Oct 28th (this coming Tuesday)

Change 158121 merged by jenkins-bot:
Switch from SpecialCite to CiteThisPage on all wikis

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