X-Git-Url: http://git.cyclocoop.org/%28?a=blobdiff_plain;f=includes%2Fspecials%2Fpagers%2FContribsPager.php;h=626fc48c00876fbe0c102d852d8a47061ab22edb;hb=b10d412c3a7c5b47bb160185488745a1c49f6b01;hp=382ba2fd2b50258f88f5e25a9cbbe637c1c34f36;hpb=06825cbeaeed8fdee45260bf268d2e4744fbb2e1;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/pagers/ContribsPager.php b/includes/specials/pagers/ContribsPager.php index 382ba2fd2b..626fc48c00 100644 --- a/includes/specials/pagers/ContribsPager.php +++ b/includes/specials/pagers/ContribsPager.php @@ -154,6 +154,19 @@ class ContribsPager extends RangeChronologicalPager { return $query; } + /** + * Wrap the navigation bar in a p element with identifying class. + * In future we may want to change the `p` tag to a `div` and upstream + * this to the parent class. + * + * @return string HTML + */ + function getNavigationBar() { + return Html::rawElement( 'p', [ 'class' => 'mw-pager-navigation-bar' ], + parent::getNavigationBar() + ); + } + /** * This method basically executes the exact same code as the parent class, though with * a hook added, to allow extensions to add additional queries.