r56096 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56095‎ | r56096 | r56097 >
Date:15:36, 9 September 2009
Author:yaron
Status:deferred
Tags:
Comment:
Fixed page-name checking to work for all languages
Modified paths:
  • /trunk/extensions/SemanticForms/libs/SF_ajax_form_preview.js (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/libs/SF_ajax_form_preview.js
@@ -239,6 +239,5 @@
240240 }
241241 }
242242
243 -
244 -if (wgAction=='formedit' || wgPageName == 'Special:AddData' || wgPageName == 'Special:EditData')
 243+if (wgAction=='formedit' || wgCanonicalSpecialPageName == 'AddData' || wgCanonicalSpecialPageName == 'EditData')
245244 addOnloadHook(ajaxFormPreviewInit);

Status & tagging log