Umherirrender has uploaded a new change for review. https://gerrit.wikimedia.org/r/82886
Change subject: Style the flag 'D' on watchlist and recentchanges ...................................................................... Style the flag 'D' on watchlist and recentchanges Added a new module 'wikibase.client.changeslist' and add it, when ever a line is generated for wikidata. Change-Id: Ia6e9cc6eba9704e6ca7f0600881edaef045bb4da --- M client/WikibaseClient.hooks.php M client/resources/Resources.php A client/resources/wikibase.client.changeslist.css 3 files changed, 11 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/86/82886/1 diff --git a/client/WikibaseClient.hooks.php b/client/WikibaseClient.hooks.php index cb42463..f8144f3 100644 --- a/client/WikibaseClient.hooks.php +++ b/client/WikibaseClient.hooks.php @@ -281,6 +281,9 @@ } } + // OutputPage will ignore multiply calls + $changesList->getOutput()->addModuleStyles( 'wikibase.client.changeslist.css' ); + wfProfileOut( __METHOD__ ); return true; } diff --git a/client/resources/Resources.php b/client/resources/Resources.php index 9a50dcc..d3d3e52 100644 --- a/client/resources/Resources.php +++ b/client/resources/Resources.php @@ -22,9 +22,8 @@ 'wikibase.client.page-move' => $moduleTemplate + array( 'styles' => 'wikibase.client.page-move.css' ), - 'wbclient.watchlist.css' => $moduleTemplate + array( - 'styles' => 'wbclient.watchlist.css', - 'position' => 'top', + 'wikibase.client.changeslist.css' => $moduleTemplate + array( + 'styles' => 'wikibase.client.changeslist.css' ), 'wikibase.client.linkitem.init' => $moduleTemplate + array( 'scripts' => array( diff --git a/client/resources/wikibase.client.changeslist.css b/client/resources/wikibase.client.changeslist.css new file mode 100644 index 0000000..357e25e --- /dev/null +++ b/client/resources/wikibase.client.changeslist.css @@ -0,0 +1,6 @@ +/** + * Styling for Special:Watchlist and Special:RecentChanges + */ +abbr.wikibase-edit { + font-weight: bold; +} -- To view, visit https://gerrit.wikimedia.org/r/82886 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia6e9cc6eba9704e6ca7f0600881edaef045bb4da Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Umherirrender <umherirrender_de...@web.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits