dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f5914c
)
Wrap message querypage-no-updates into a class
author
umherirrender
<umherirrender_de.wp@web.de>
Sat, 19 May 2012 17:48:13 +0000
(19:48 +0200)
committer
umherirrender
<umherirrender_de.wp@web.de>
Sat, 19 May 2012 17:48:13 +0000
(19:48 +0200)
this allows easy styling of that message
Change-Id: Ief78cb598613e705dace65e4b8e36dcb544c6f4b
includes/QueryPage.php
patch
|
blob
|
history
diff --git
a/includes/QueryPage.php
b/includes/QueryPage.php
index
1c42b1c
..
44e9953
100644
(file)
--- a/
includes/QueryPage.php
+++ b/
includes/QueryPage.php
@@
-508,7
+508,7
@@
abstract class QueryPage extends SpecialPage {
# If updates on this page have been disabled, let the user know
# that the data set won't be refreshed for now
if ( is_array( $wgDisableQueryPageUpdate ) && in_array( $this->getName(), $wgDisableQueryPageUpdate ) ) {
- $out->
addWikiMsg(
'querypage-no-updates' );
+ $out->
wrapWikiMsg( "<div class=\"mw-querypage-no-updates\">\n$1\n</div>",
'querypage-no-updates' );
}
}
}