Last modified: 2011-06-10 14:15:05 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 T31335, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29335 - SF_SP_PAGE_HAS_DEFAULT_FORM broken in SF_LanguageDe.php
SF_SP_PAGE_HAS_DEFAULT_FORM broken in SF_LanguageDe.php
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Unprioritized blocker (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-10 11:07 UTC by Thomas Rudin
Modified: 2011-06-10 14:15 UTC (History)
1 user (show)

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


Attachments

Description Thomas Rudin 2011-06-10 11:07:30 UTC
In "SF_LanguageDe.php" the constant "SF_SP_PAGE_HAS_DEFAULT_FORM" is written as "SF_SP_HAS_DEFAULT_FORM".
Which results in a Stack-Trace from the MW.

Here my Patch (Tested with trunk 89795):

Index: SF_LanguageDe.php
===================================================================
--- SF_LanguageDe.php   (revision 89819)
+++ SF_LanguageDe.php   (working copy)
@@ -12,7 +12,7 @@

        /* private */ var $m_SpecialProperties = array(
                // always start upper-case
-               SF_SP_HAS_DEFAULT_FORM    => 'Hat Standardformular',
+               SF_SP_PAGE_HAS_DEFAULT_FORM    => 'Hat Standardformular',
                SF_SP_HAS_ALTERNATE_FORM  => 'Hat Alternativformular'
        );
Comment 1 Thomas Rudin 2011-06-10 11:14:16 UTC
Just realized that i had to ADD an Entry... Sorry..
Here my new patch:

Index: SF_LanguageDe.php
===================================================================
--- SF_LanguageDe.php   (revision 89819)
+++ SF_LanguageDe.php   (working copy)
@@ -13,6 +13,7 @@
        /* private */ var $m_SpecialProperties = array(
                // always start upper-case
                SF_SP_HAS_DEFAULT_FORM    => 'Hat Standardformular',
+               SF_SP_PAGE_HAS_DEFAULT_FORM    => 'Seite Hat Standardformular',
                SF_SP_HAS_ALTERNATE_FORM  => 'Hat Alternativformular'
        );
Comment 2 Yaron Koren 2011-06-10 14:15:05 UTC
Thanks - I just checked this in to SVN.

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


Navigation
Links