{"id":16007,"date":"2011-12-12T14:50:09","date_gmt":"2011-12-12T14:50:09","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-core-contributions-widget\/"},"modified":"2012-05-08T03:47:03","modified_gmt":"2012-05-08T03:47:03","slug":"wp-core-contributions-widget","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wp-core-contributions-widget\/","author":295019,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2.2","stable_tag":"1.2.2","tested":"3.4.2","requires":"3.2.1","requires_php":"","requires_plugins":"","header_name":"WP Core Contributions Widget","header_author":"Eric Mann","header_description":"","assets_banners_color":"e4d9d7","last_updated":"2012-05-08 03:47:03","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/jumping-duck.com\/wordpress","header_plugin_uri":"http:\/\/jumping-duck.com\/wordpress","header_author_uri":"http:\/\/eamann.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3521,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"0.1":"<p>First release<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"479671","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.2","0.3","1.0","1.1","1.2","1.2.1","1.2.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1573784","resolution":"1","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1573784","resolution":"2","location":"plugin"}},"screenshots":{"1":"Example widget showing the default markup on the Twenty Eleven theme and contributions by <a href=\"http:\/\/profiles.wordpress.org\/users\/ericmann\/\">ericmann<\/a>.","2":"Example widget showing the default Codex contributions widget on the Twenty Eleven theme (contributions by <a href=\"http:\/\/profiles.wordpress.org\/users\/ericmann\/\">ericmann<\/a>."}},"plugin_section":[],"plugin_tags":[13295,3003,162],"plugin_category":[43],"plugin_contributors":[79892,78637,93668,80177,78847],"plugin_business_model":[],"class_list":["post-16007","plugin","type-plugin","status-closed","hentry","plugin_tags-contributions","plugin_tags-core","plugin_tags-widget","plugin_category-customization","plugin_contributors-ericmann","plugin_contributors-johnpbloch","plugin_contributors-kobenland","plugin_contributors-mbijon","plugin_contributors-mfields","plugin_committers-ericmann"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-core-contributions-widget_e4d9d7.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-core-contributions-widget\/trunk\/screenshot-1.png?rev=1573784","caption":"Example widget showing the default markup on the Twenty Eleven theme and contributions by <a href=\"http:\/\/profiles.wordpress.org\/users\/ericmann\/\">ericmann<\/a>."},{"src":"https:\/\/ps.w.org\/wp-core-contributions-widget\/trunk\/screenshot-2.png?rev=1573784","caption":"Example widget showing the default Codex contributions widget on the Twenty Eleven theme (contributions by <a href=\"http:\/\/profiles.wordpress.org\/users\/ericmann\/\">ericmann<\/a>."}],"raw_content":"<!--section=description-->\n<p>A lot of people write code.  A lot of people write WordPress plugins.  A lot of people write WordPress themes.<\/p>\n\n<p>Only a handful of people contribute code back to the core WordPress project.  Even fewer contribute documentation to the WordPress Codex.<\/p>\n\n<p>Take a second to show off the patches that you've submitted that have made it into core and the updates you've submitted to the Codex.  It's a great way to highlight your coding credentials and back up your resume.<\/p>\n\n<!--section=installation-->\n<h4>Manual Installation<\/h4>\n\n<ol>\n<li>Upload the entire <code>wp-core-contributions-widget<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Add the WP Core Contributions Widget to your sidebar (be sure to enter your Trac username!)<\/li>\n<li>Add the WP Codex Contributions Widget to your sidebar (be sure to enter your Codex username!)<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Not all of my Trac patches show up, what's wrong?<\/dt>\n<dd><p>The system currently only parses the first page of search results.  So your latest 10 patches will always be displayed.<\/p><\/dd>\n<dt>How can I customize the templates?<\/dt>\n<dd><p>Take a look at the default templates in the `\/inc\/1 directory that the widgets display by default:<\/p>\n\n<ul>\n<li><code>wp-core-contributions-widget-template.php<\/code><\/li>\n<li><code>wp-codex-contributions-widget-template.php<\/code><\/li>\n<\/ul>\n\n<p>However, you can place a custom template in your theme directory to override this.  Just place a <code>wp-core-contributions-widget-template.php<\/code> file in your theme directory to override the defaults.<\/p>\n\n<p>Remember, all of the parsed Trac tickets are contained in the <code>$items<\/code> array.  The total count of the user's contributions is contained in the <code>$total<\/code> variable.  Aside from that, use any variables you like.<\/p>\n\n<p>The Trac <code>$items<\/code> array is a collection of associative arrays each containing:<\/p>\n\n<ul>\n<li><code>link<\/code> -&gt; A link to the actual Trac changeset.<\/li>\n<li><code>changeset<\/code> -&gt; The ID of the changeset.<\/li>\n<li><code>description<\/code> -&gt; The commit message for the changeset.<\/li>\n<li><code>ticket<\/code> -&gt; The ID of the ticket fixed by the patch.<\/li>\n<\/ul>\n\n<p>The parsed Codex pages are also contained in an <code>$items<\/code> array.  The total count of the user's contributions is contained in the <code>$total<\/code> variable.<\/p>\n\n<p>The Codex <code>$items<\/code> array is a collection of associative arrays, each containing:<\/p>\n\n<ul>\n<li><code>title<\/code> -&gt; Title of the page being changed.<\/li>\n<li><code>description<\/code> -&gt; Description of the change made.<\/li>\n<li><code>revision<\/code> -&gt; Revision number according to the Codex wiki (used to create a link).<\/li>\n<li><code>function_ref<\/code> -&gt; Boolean flag regarding whether or not the change was to a function reference. Removes \"Function Reference\/\" from the page title.<\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Clean up query string generation with Trac API<\/li>\n<li>Add German translation<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Switch to PHP return for Codex data<\/li>\n<li>Shorten page names when returned from Codex<\/li>\n<li>Add title tags to Codex links for context<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Add Codex contributions widget<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Update regex to support matching \"see #{ticket}\"<\/li>\n<li>Fix undefined index warnings on first activation<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Update translations<\/li>\n<li>Allow users to change the display count of the widget.<\/li>\n<\/ul>\n\n<h4>0.4<\/h4>\n\n<ul>\n<li>Add a link to the full Trac results with a total result count listed.<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>Better formatting for widget template<\/li>\n<li>Handle changesets not bound to tickets<\/li>\n<li>Better i18n support<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Added text domain<\/li>\n<li>Improved RegEx parsing<\/li>\n<li>Customizable output templates<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>First release<\/li>\n<\/ul>","raw_excerpt":"Add a list of your accepted contributions to WordPress Core as a sidebar widget.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/16007","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=16007"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ericmann"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=16007"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=16007"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=16007"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=16007"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=16007"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=16007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}