r87586 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87585‎ | r87586 | r87587 >
Date:21:55, 6 May 2011
Author:krinkle
Status:ok
Tags:
Comment:
mw.util.isMainPage(); Was never released, removing before release since it's deprecated: Use wgIsMainPage in mw.config instead.
Modified paths:
  • /trunk/phase3/resources/mediawiki.util/mediawiki.util.js (modified) (history)

Diff [purge]

Index: trunk/phase3/resources/mediawiki.util/mediawiki.util.js
@@ -271,17 +271,6 @@
272272 '$content' : null,
273273
274274 /**
275 - * Checks wether the current page is the wiki's main page.
276 - *
277 - * @return Boolean
278 - * @deprecated to be removed in 1.18: Use wgIsMainPage in mw.config instead.
279 - */
280 - 'isMainPage' : function() {
281 - return mw.config.get( 'wgIsMainPage' );
282 - },
283 -
284 -
285 - /**
286275 * Add a link to a portlet menu on the page, such as:
287276 *
288277 * p-cactions (Content actions), p-personal (Personal tools),

Follow-up revisions

RevisionCommit summaryAuthorDate
r87684mw.util.test update...krinkle13:22, 8 May 2011
r90258MFT r87586, r87840, r88085, r88118, r88124, r88492, r88498tstarling04:46, 17 June 2011

Status & tagging log