https://bugzilla.wikimedia.org/show_bug.cgi?id=28949

       Web browser: ---
             Bug #: 28949
           Summary: \n not escaped in /includes/OutputPage.php
           Product: MediaWiki
           Version: 1.16.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: Unprioritized
         Component: Special pages
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: mita...@gmail.com
    Classification: Unclassified


Created attachment 8532
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=8532
patch to swap double and single quotes in /includes/OutputPage.php

There is an unescaped \n because of single quotes on line 1958 in
/includes/OutputPage.php.

It is shown when you lock the database with $wgReadonly (in LocalSettings.php)
and then visit the preferences page - Special:Preferences.

This is what was changed because of bug 19226:
http://svn.wikimedia.org/viewvc/mediawiki/tags/REL1_16_0beta1/phase3/includes/OutputPage.php?r1=61054&r2=61055&;

bug 19226: https://bugzilla.wikimedia.org/show_bug.cgi?id=19226

To fix it '<div class="mw-readonly-error">\n$1</div>' should be "<div
class='mw-readonly-error'>\n$1</div>"

OutputPage.php is different in MediaWiki version 1.17.0beta1 and when I
installed it the bug wasn't there. 

There is a possible solution as patch.

Cheers.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to