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

            Bug ID: 63457
           Summary: $wgMFEnableSiteNotice always gets empty siteNotice
           Product: MobileFrontend
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: stable
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: jida...@jidanni.org
                CC: aricha...@wikimedia.org, jgon...@wikimedia.org,
                    jrob...@wikimedia.org, kw...@wikimedia.org,
                    maxsem.w...@gmail.com, rkald...@wikimedia.org,
                    tf...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

In SkinMinerva.php,
     if ( $wgMFEnableSiteNotice ) {
    $banners[] = '<div id="siteNotice"></div>';
     }
forgets to put in the sitenotice there in the middle!!

$wgMFEnableSiteNotice = true;
$ GET -P '.../index.php?title=Raucously_Calling_for_War&useformat=desktop'|grep
-i sitenotice
    <div id="siteNotice"><div id="localNotice" lang="en" dir="ltr"><p>(server:
jidanni2)
$ GET -P '.../index.php?title=Raucously_Calling_for_War&useformat=mobile' |grep
-i sitenotice
    <div id="siteNotice"></div>                             <div
class="header">
$wgMFEnableSiteNotice = false;
$ GET -P '.../index.php?title=Raucously_Calling_for_War&useformat=mobile' |grep
-i sitenotice
$ GET -P '.../index.php?title=Raucously_Calling_for_War&useformat=desktop'|grep
-i sitenotice
    <div id="siteNotice"><div id="localNotice" lang="en" dir="ltr"><p>(server:
jidanni2)

-- 
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