Commit graph

8 commits

Author SHA1 Message Date
Alexandre Emsenhuber
a3c1afdb5f Fix call to deprecated to fix test since it was throwing errors 2012-02-05 15:26:41 +00:00
Brian Wolff
ed394c764b (follow-up r108145) Mark test as needing a database, and fix bug number in comment. 2012-01-07 15:43:21 +00:00
Brian Wolff
3cc7feefd1 (bug 33321. Sort of) Adding a line to MediaWiki:Sidebar that contains a pipe, but doesn't
have any pipes after being transformed by MessageCache, causes exception on
all pages.

This can happen with lines like:
**{{#if:yes|Something}}

Thank you to liangent for figuring out how to escape a | without {{!}} existing and | not working.
2012-01-05 15:34:26 +00:00
Krinkle
be12ebf1ab [Core JS] More fixing of global config variable usage
* mw.config is the new way, and global config variable lookups are deprecated

* Based on two phase3-wide quick searches:
-- of " wg": http://toolserver.org/~krinkle/wikimedia-svn-search/view.php?id=321&hash=81700bf7486e4fee3b7bc1f83eb9eba6
-- of "!wg": http://toolserver.org/~krinkle/wikimedia-svn-search/view.php?id=327&hash=47c9d54a7a1d5d58a724dd834585f40d

Related changes:
* Changed some php comments mentioning "wg" variables to include the dollar sign, and a typo when the wf function prefix was meant.
* Removed TODO comment in wikibits.js and made it use the JS equivalent of wfUrlencode, which we have now, mw.util.wikiUrlencode 
* SpecialUpload.php: use OutputPage::addJsConfigVars instead of creating a new script tag through OutputPage::addScript(Skin::makeVariablesScript(..))
* Renamed wgUploadSetup in upload.js and made it local. Not used anywhere in ./trunk/phase3 and ./trunk/extensions
* Fix OutputPage::addJsConfigVars so that it can actually be called with an array instead of two arguments for key/value
* Some minor whitespace/convention stuff around the same line
2011-12-31 21:25:00 +00:00
Alexandre Emsenhuber
b4a0314342 Per Platonides, fix for r100445: make sure user's language is English so that it doesn't break test 2011-12-11 13:54:44 +00:00
Max Semenik
437c059be4 Fixed sidebar tests on Windows. Can't use PHP_EOL here because \r\n is used only in SVN checkouts and not in tarballs 2011-08-07 08:08:36 +00:00
Platonides
ad9dcbd517 Make SideBarTest work with a Language other than English set.
Follow up r93050
2011-07-25 17:17:21 +00:00
Antoine Musso
fbc6ec7cbd Test for external links in the sidebar
follow up r90949
Note: this does NOT test the parser external links only externals
links inside the sidebar.  This might help rewrite r90949.
2011-07-25 15:42:50 +00:00