CAZypedia needs your help!
We have many unassigned pages in need of Authors and Responsible Curators. See a page that's out-of-date and just needs a touch-up? - You are also welcome to become a CAZypedian. Here's how.
Scientists at all career stages, including students, are welcome to contribute.
Learn more about CAZypedia's misson here and in this article.
Totally new to the CAZy classification? Read this first.
Difference between revisions of "User talk:Harry Brumer"
Harry Brumer (talk | contribs) |
Harry Brumer (talk | contribs) |
||
(47 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== To-do list == | == To-do list == | ||
+ | * Contribution credits? | ||
+ | ** http://www.mediawiki.org/wiki/Extension:ContributionCredits | ||
+ | |||
* Write a history/timeline page | * Write a history/timeline page | ||
+ | |||
+ | * NewUserMessage could be good | ||
+ | ** http://www.mediawiki.org/wiki/Extension:NewUserMessage | ||
* Static pages? | * Static pages? | ||
Line 28: | Line 34: | ||
** http://www.mediawiki.org/wiki/Extension:WhoIsWatchingTabbed | ** http://www.mediawiki.org/wiki/Extension:WhoIsWatchingTabbed | ||
** see also also related extensions on that page. | ** see also also related extensions on that page. | ||
+ | |||
+ | === Substrate specificity test === | ||
+ | <gallery widths=150px heights=100px perrow=5 caption="Substrate specificites in GHxx (click images for large versions)"> | ||
+ | File:Glcase.png|beta-glucosidase | ||
+ | File:Galase.png|beta-galactosidase | ||
+ | </gallery> | ||
+ | |||
+ | |||
+ | |||
+ | <gallery widths=300px heights=100px perrow=5 caption="Substrate specificites in GHxx (click images for large versions)"> | ||
+ | File:EGase.png|endo-beta(1,4)-glucanase | ||
+ | File:CBH.png|cellobiohydrolase | ||
+ | </gallery> | ||
== User admin == | == User admin == | ||
Line 70: | Line 89: | ||
http://www.mediawiki.org/wiki/Extension:Preloader | http://www.mediawiki.org/wiki/Extension:Preloader | ||
− | == | + | == Referencing extensions == |
+ | |||
+ | http://www.mediawiki.org/wiki/Category:Referencing_extensions | ||
+ | |||
+ | === Biblio === | ||
+ | http://www.mediawiki.org/wiki/Extension:Biblio | ||
http://openwetware.org/wiki/Wikiomics:Biblio | http://openwetware.org/wiki/Wikiomics:Biblio | ||
+ | |||
+ | === Extension:Pubmed === | ||
+ | http://www.mediawiki.org/wiki/Extension:Pubmed | ||
+ | |||
+ | === Extension:PubmedParser === | ||
+ | http://www.mediawiki.org/wiki/Extension:PubmedParser | ||
+ | === BiblioPlus === | ||
+ | |||
+ | * https://www.mediawiki.org/wiki/Extension:BiblioPlus | ||
+ | * PubMed API: https://www.ncbi.nlm.nih.gov/books/NBK25497/ | ||
+ | * Open Library Books API: https://openlibrary.org/dev/docs/api/books | ||
== some templates from wikipedia == | == some templates from wikipedia == | ||
Line 77: | Line 112: | ||
one thing that is semi ugly is that your login name appears at the top of your page or in the list of contributors (for instance User:HBrumer3 or User:Bernie); wouldn't it be nicer if the full real name of people would appear just like on the Board of Curators' page with Harry Brumer or Bernard Henrissat ? | one thing that is semi ugly is that your login name appears at the top of your page or in the list of contributors (for instance User:HBrumer3 or User:Bernie); wouldn't it be nicer if the full real name of people would appear just like on the Board of Curators' page with Harry Brumer or Bernard Henrissat ? | ||
+ | |||
+ | == Useful icons gallery == | ||
+ | http://commons.wikimedia.org/wiki/User:Ipatrol/Galleries/Icons | ||
+ | |||
+ | http://commons.wikimedia.org/wiki/User:Rocket000/Useful_icon_gallery | ||
== Log == | == Log == | ||
− | This section is a little Mediawiki maintenance log, which might become it's own page | + | This section is a little Mediawiki maintenance log, which might become it's own page some day. |
Started 02 September 2009. | Started 02 September 2009. | ||
Line 107: | Line 147: | ||
[[User:Harry Brumer|Harry Brumer]] 15:43, 2 September 2009 (UTC) | [[User:Harry Brumer|Harry Brumer]] 15:43, 2 September 2009 (UTC) | ||
+ | |||
+ | === Playing around with image thumbnail settings === | ||
+ | * see http://www.mediawiki.org/wiki/Image_thumbnailing | ||
+ | * $wgUseImageMagick turned off in LocalSettings.php | ||
+ | ** Was generating errors on [[Special:NewFiles]] (ImageMagick not installed...) | ||
+ | * Not clear if $wgUseImageResize should be used or not in MW 1.15 | ||
+ | ** Unclear info at http://www.mediawiki.org/wiki/Manual:$wgUseImageResize | ||
+ | ** Now uncommented in LocalSettings.php, maybe some effect with .gif (see [[GH11]]). | ||
+ | |||
+ | [[User:Harry Brumer|Harry Brumer]] 14:12, 7 September 2009 (UTC) | ||
+ | |||
+ | === Implemented Extension:Cite/Special:Cite.php === | ||
+ | * Generates full citation information for each page via a toolbox link | ||
+ | * see http://www.mediawiki.org/wiki/Extension:Cite/Special:Cite.php | ||
+ | ** [[Mediawiki:Cite text]] created from cite_text file in extension directory (contains citation formats & layout) | ||
+ | |||
+ | [[User:Harry Brumer|Harry Brumer]] 13:12, 5 November 2009 (UTC) | ||
+ | |||
+ | * "Date retrieved" code doesn't seem to be working right. Tried to implement a solution Wikipedia is running using the ParserFunction extension and the time function, but ParserFunction seems to break the wiki. Also, had to disable MassEmailer due to some weird conflict that generated an error trail when saving [[Mediawiki:Cite text]]. | ||
+ | |||
+ | [[User:Harry Brumer|Harry Brumer]] 15:13, 5 November 2009 (UTC) | ||
+ | |||
+ | ==== New version (r50579) of Extension:ParserFunctions added ==== | ||
+ | * Fixed earlier problem with ParserFunctions breaking the wiki | ||
+ | * Allow use of '''time''' function in [[Mediawiki:Cite text]] to give the current time in the "Date retrieved" line. | ||
+ | |||
+ | [[User:Harry Brumer|Harry Brumer]] 09:39, 6 November 2009 (UTC) | ||
+ | |||
+ | === Pages in Category test === | ||
+ | * Might be something for MainPage, although claimed to be "expensive": http://www.mediawiki.org/wiki/Help:Magic_words | ||
+ | * See also http://www.mediawiki.org/wiki/Manual:$wgExpensiveParserFunctionLimit | ||
+ | ** Now containing [[:Category:Glycoside Hydrolase Families|{{PAGESINCATEGORY:Glycoside Hydrolase Families}} GH family pages]] and [[:Category:Definitions and explanations|{{PAGESINCATEGORY:Definitions and explanations}} lexicon pages]]. | ||
+ | |||
+ | [[User:Harry Brumer|Harry Brumer]] 10:35, 8 November 2009 (UTC) | ||
+ | |||
+ | === Stopped implementing Extension:EditUser === | ||
+ | * http://www.mediawiki.org/wiki/Extension:EditUser | ||
+ | ** On ice for the moment. | ||
+ | ** ChangePassword mainentance script will probably do what I need for now. http://www.mediawiki.org/wiki/Manual:ChangePassword.php | ||
+ | |||
+ | [[User:Harry Brumer|Harry Brumer]] 13:29, 8 November 2009 (UTC) | ||
+ | |||
+ | === Implemented Extension:LookupUser === | ||
+ | * http://www.mediawiki.org/wiki/Extension:LookupUser | ||
+ | * Gives SpecialPage [[Special:LookupUser]] showing user prefs., including email address. | ||
+ | * Currently accessible only to Bureaucrat group only (LocalSettings) | ||
+ | |||
+ | [[User:Harry Brumer|Harry Brumer]] 13:48, 8 November 2009 (UTC) | ||
+ | |||
+ | === Implemented [[:Template:Smallcaps]] === | ||
+ | * Wraps some markup for simple implementation of {{Smallcaps|small caps}}, e.g. for use in {{Smallcaps|d}}/{{Smallcaps|l}} sugar nomenclature. | ||
+ | * '''NOTE''' ''(from the [http://en.wikipedia.org/wiki/Template:Smallcaps/doc Smallcaps template doc page)'': | ||
+ | <blockquote> | ||
+ | Your source text is not altered in the output, only the way it is displayed on the screen: a copy-paste of the text will give the small caps sections in their original form; similarly, an older or non-CSS browser will only display the original text on screen. This can be seen as a problem, solved with (the sc template). | ||
+ | |||
+ | ; Code : <code><nowiki>{{Smallcaps|Your Text in 4004 bc}}</nowiki></code> | ||
+ | ; Displayed: {{Smallcaps|Your Text in 4004 bc}} | ||
+ | ; Pasted : Your Text in 4004 bc | ||
+ | </blockquote> | ||
+ | * So, the code needs to look like this: <code><nowiki>{{Smallcaps|d}}</nowiki></code>, to get {{Smallcaps|d}}. <code><nowiki>{{Smallcaps|D}}</nowiki></code> gives {{Smallcaps|D}}. | ||
+ | |||
+ | [[User:Harry Brumer|Harry Brumer]] 16:27, 6 January 2010 (UTC) | ||
+ | |||
+ | === Tested Extension:DynamicPageList (a.k.a. Intersection) === | ||
+ | * Allows showing intersections of Categories | ||
+ | * http://en.wikinews.org/wiki/Wikinews:DynamicPageList | ||
+ | ** Worked OK but could only give simple linear lists. | ||
+ | ** Was difficult to figure out how to sort alphabetically given limited documentation, had to read the code to find the "categorysortkey" option. | ||
+ | ** e.g., this sort of worked: | ||
+ | <pre> | ||
+ | <DynamicPageList> | ||
+ | category=Glycoside Hydrolase Families | ||
+ | category=Curator approved | ||
+ | ordermethod=categorysortkey | ||
+ | order=ascending | ||
+ | mode=none | ||
+ | </DynamicPageList> | ||
+ | </pre> | ||
+ | * However, not really pretty. '''Extension disabled.''' | ||
+ | * Might use '''DynamicPageList2''': http://www.mediawiki.org/wiki/Extension:DynamicPageList_(third-party) | ||
+ | |||
+ | [[User:Harry Brumer|Harry Brumer]] 12:00, 23 January 2010 (UTC) | ||
+ | |||
+ | === Implementing Extension:DynamicPageList2 === | ||
+ | * Allows showing intersections of Categories, plus many page analysis features. | ||
+ | * Essentially supercedes Extension:DynamicPageList | ||
+ | * http://www.mediawiki.org/wiki/Extension:DynamicPageList_(third-party) | ||
+ | * http://semeb.com/dpldemo/index.php?title=Extension_DPL | ||
+ | |||
+ | ==== Examples ==== | ||
+ | ---- | ||
+ | * Pages in categories ''Glycoside Hydrolase Families'' and ''Curator approved'', sorted by title, formatted as a normal category page. | ||
+ | |||
+ | <pre> | ||
+ | {{#dpl: | ||
+ | |category=Glycoside Hydrolase Families | ||
+ | |category=Curator approved | ||
+ | |mode=category | ||
+ | |ordermethod=sortkey | ||
+ | |allowcachedresults=true | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | ''Had to deleted live code after testing here, output was messing up table of contents above: Each "G" in the list was getting it's own subheading TOC entry.'' | ||
+ | |||
+ | ---- | ||
+ | * Pages in categories ''Glycoside Hydrolase Families'' and ''Curator approved'', sorted by title, formatted "inline." | ||
+ | |||
+ | <pre> | ||
+ | {{#dpl: | ||
+ | |category=Glycoside Hydrolase Families | ||
+ | |category=Curator approved | ||
+ | |resultsheader=\nThere are %TOTALPAGES% Curator Approved GH pages.\n | ||
+ | |mode=inline | ||
+ | |ordermethod=sortkey | ||
+ | |order=descending | ||
+ | |allowcachedresults=yes+warn | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | {{#dpl: | ||
+ | |category=Glycoside Hydrolase Families | ||
+ | |category=Curator approved | ||
+ | |resultsheader=\nThere are %TOTALPAGES% Curator Approved GH pages.\n | ||
+ | |mode=inline | ||
+ | |ordermethod=sortkey | ||
+ | |order=descending | ||
+ | |allowcachedresults=yes+warn | ||
+ | }} | ||
+ | |||
+ | ---- | ||
+ | * Pages in categories ''Glycoside Hydrolase Families'' and ''Curator approved'', in a sortable table. ''Note!: Needs the dummy '''include''' line, or no output is produced.'' | ||
+ | |||
+ | <pre> | ||
+ | {{#dpl: | ||
+ | |category=Glycoside Hydrolase Families | ||
+ | |category=Curator approved | ||
+ | |resultsheader=\nThere are %TOTALPAGES% Curator Approved GH pages.\n | ||
+ | |ordermethod=sortkey | ||
+ | |include=- | ||
+ | |table=class=sortable,GH Families | ||
+ | |allowcachedresults=true | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | {{#dpl: | ||
+ | |category=Glycoside Hydrolase Families | ||
+ | |category=Curator approved | ||
+ | |resultsheader=\nThere are %TOTALPAGES% Curator Approved GH pages.\n | ||
+ | |ordermethod=sortkey | ||
+ | |include=- | ||
+ | |table=class=sortable,GH Families | ||
+ | |allowcachedresults=true | ||
+ | }} | ||
+ | |||
+ | [[User:Harry Brumer|Harry Brumer]] 19:57, 23 January 2010 (UTC) | ||
+ | |||
+ | ---- | ||
+ | * Just display number of pages in two categories without a page list. | ||
+ | |||
+ | <pre> | ||
+ | {{#dpl: | ||
+ | |category=Glycoside Hydrolase Families | ||
+ | |category=Curator approved | ||
+ | |resultsheader=\nThere are %TOTALPAGES% [[:Category:Curator approved]] GH pages.\n | ||
+ | |mode=userformat | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | {{#dpl: | ||
+ | |category=Glycoside Hydrolase Families | ||
+ | |category=Curator approved | ||
+ | |resultsheader=\nThere are %TOTALPAGES% [[:Category:Curator approved|Curator Approved]] GH pages.\n | ||
+ | |mode=userformat | ||
+ | }} | ||
+ | |||
+ | [[User:Harry Brumer|Harry Brumer]] 14:01, 12 February 2010 (UTC) | ||
+ | |||
+ | |||
+ | === Biblio character encoding problem === | ||
+ | A couple of PMIDs seem to not work with the current Biblio.php script hack to switch the character encoding into UTF-8: | ||
+ | * pmid=16533067 on the [[GH84]] page (see History, June 30, 2010) | ||
+ | * Markovic-Housley2000 pmid=11080624 on the [[Syn/anti lateral protonation]] page (see History, June 30, 2010) | ||
+ | |||
+ | [[User:Harry Brumer|Harry Brumer]] 12:24, 29 July 2010 (UTC) | ||
+ | |||
+ | |||
+ | === Upgraded to MW1.16.0 === | ||
+ | * Most everything works fine | ||
+ | * Upgraded Extension:ParserFunctions | ||
+ | ** Extension:StringFunctions now folded into Extension:ParserFunctions, so required changes made in LocalSettings | ||
+ | |||
+ | ==== Broken ==== | ||
+ | ===== Extension:WhoIsWatchingTabbed ===== | ||
+ | Extension:WhoIsWatchingTabbed does not render the tab with the Vector skin | ||
+ | * ...but can still be called via the URL using "action=watching" | ||
+ | * e.g. http://www.cazypedia.org/index.php?title=Glycoside_Hydrolase_Families&action=watching | ||
+ | |||
+ | ===== Extension:DynamicPageList2 ===== | ||
+ | Extension:DynamicPageList2 does not seem to work properly... | ||
+ | * Renders HTML tags in page lists from Categories | ||
+ | ** See http://www.mediawiki.org/wiki/Extension_talk:DynamicPageList_%28third-party%29#MediaWiki_1.17alpha_and_bug_22675 | ||
+ | ** also http://www.mediawiki.org/wiki/Special:Code/MediaWiki/68812 | ||
+ | * Use of $wgRawHtml = true with the current trunk version, DynamicPageList-trunk-r70760.tar.gz, fixes problem, '''but breaks Biblio''' due to $wgRawHtml = true (if not set to true, DPL2 is still broken) | ||
+ | * Counting total pages in a union of two categories seems not to work quite right. | ||
+ | |||
+ | [[User:Harry Brumer|Harry Brumer]] 11:54, 11 August 2010 (CEST) | ||
+ | |||
+ | Testing [http://www.mediawiki.org/wiki/Extension:Intersection Extension:Intersection] again... | ||
+ | |||
+ | These both worked, but layout not quite as nice: | ||
+ | |||
+ | * Simple bulleted linear list | ||
+ | <pre> | ||
+ | <DynamicPageList> | ||
+ | category=Glycoside Hydrolase Families | ||
+ | category=Curator approved | ||
+ | ordermethod=categorysortkey | ||
+ | order=ascending | ||
+ | mode=unordered | ||
+ | </DynamicPageList> | ||
+ | </pre> | ||
+ | |||
+ | * Forcing 3 columns for 60 pages | ||
+ | |||
+ | <pre> | ||
+ | <table> | ||
+ | <tr><th colspan="3"> recent articles </th></tr> | ||
+ | <tr><td> | ||
+ | |||
+ | <DynamicPageList> | ||
+ | category=Glycoside Hydrolase Families | ||
+ | category=Curator approved | ||
+ | ordermethod=categorysortkey | ||
+ | order=ascending | ||
+ | count=20 | ||
+ | </DynamicPageList> | ||
+ | </td> | ||
+ | <td> | ||
+ | <DynamicPageList> | ||
+ | category=Glycoside Hydrolase Families | ||
+ | category=Curator approved | ||
+ | ordermethod=categorysortkey | ||
+ | order=ascending | ||
+ | offset=20 | ||
+ | count=20 | ||
+ | </DynamicPageList> | ||
+ | </td> | ||
+ | <td> | ||
+ | |||
+ | <DynamicPageList> | ||
+ | category=Glycoside Hydrolase Families | ||
+ | category=Curator approved | ||
+ | ordermethod=categorysortkey | ||
+ | order=ascending | ||
+ | offset=40 | ||
+ | count=20 | ||
+ | </DynamicPageList> | ||
+ | </td></tr></table> | ||
+ | |||
+ | </pre> | ||
+ | |||
+ | DPL2 and Intersection can't be run at the same time; DPL2 recognizes <nowiki><DynamicPageList></nowiki> tags and tries to work on the code, with syntax errors. | ||
+ | |||
+ | [[User:Harry Brumer|Harry Brumer]] 12:31, 11 August 2010 (CEST) |
Latest revision as of 16:33, 21 January 2022
To-do list
- Contribution credits?
- Write a history/timeline page
- NewUserMessage could be good
- Static pages?
- RSS feeds for all pages?
- Should use MultiBoilerplate at some point!
- Add LookupUser extension, maybe UserSnoop
- Add ContactPage extension (consider captch implementation)
- Performance tuning
- User Contact Links looks slick.
- Who Is Watching pages?
- http://www.mediawiki.org/wiki/Extension:WhoIsWatchingTabbed
- see also also related extensions on that page.
Substrate specificity test
User admin
Direct link to account creation page
http://www.cazypedia.org/index.php?title=Special:UserLogin&type=signup
Extensions which are installed
See also: Special:Version and Special:Specialpages
- Note: The list of users, blocking users, renaming users, and user rights management can all be accessed at Special:Specialpages.
- Rename user
- http://www.mediawiki.org/wiki/Extension:Renameuser
- reCAPTCHA - anti spam
- http://www.mediawiki.org/wiki/Extension:ReCAPTCHA
- New user log
- Accessible at Special:Log/newusers http://www.mediawiki.org/wiki/Newuserlog
- Mass emailer
- Special:MassEmail
Other useful user admin stuff
- Prevent access, especially ACCOUNT CREATION BY SYSOPS ONLY
- http://www.mediawiki.org/wiki/Manual:Preventing_access
- Add confirm account extension instead?
- http://www.mediawiki.org/wiki/Extension:ConfirmAccount
Optional admin stuff, maybe for future implementation
- Page-level access control?
- http://www.mediawiki.org/wiki/Category:Page_Access_Control_Extensions
- New user email notification
- http://www.mediawiki.org/wiki/Extension:New_User_Email_Notification
- Password reset extension
- http://www.mediawiki.org/wiki/Extension:Password_Reset
Where do I find...
- The navigation sidebar settings
- MediaWiki:Sidebar
- The boilerplate text automatically inserted by Preloader.php upon new page creation in the main namespace
- Template:Boilerplate
- MediaWiki sysadmin Hub
- http://www.mediawiki.org/wiki/Sysadmin_hub
- Redirect code
- #redirect [[Glycoside Hydrolase Family 16]]
Some useful configuration pages
Sitenotice - for adding info to every page
Sitesubtitle - Edited, not sure of the effect...
Some useful extensions
Boilerplate extension - might be useful for creating new page templates
http://www.mediawiki.org/wiki/Extension:Boilerplate http://www.mediawiki.org/wiki/Extension:Preloader
Referencing extensions
http://www.mediawiki.org/wiki/Category:Referencing_extensions
Biblio
http://www.mediawiki.org/wiki/Extension:Biblio http://openwetware.org/wiki/Wikiomics:Biblio
Extension:Pubmed
http://www.mediawiki.org/wiki/Extension:Pubmed
Extension:PubmedParser
http://www.mediawiki.org/wiki/Extension:PubmedParser
BiblioPlus
- https://www.mediawiki.org/wiki/Extension:BiblioPlus
- PubMed API: https://www.ncbi.nlm.nih.gov/books/NBK25497/
- Open Library Books API: https://openlibrary.org/dev/docs/api/books
some templates from wikipedia
http://en.wikipedia.org/wiki/Wikipedia:Template_messages
one thing that is semi ugly is that your login name appears at the top of your page or in the list of contributors (for instance User:HBrumer3 or User:Bernie); wouldn't it be nicer if the full real name of people would appear just like on the Board of Curators' page with Harry Brumer or Bernard Henrissat ?
Useful icons gallery
http://commons.wikimedia.org/wiki/User:Ipatrol/Galleries/Icons
http://commons.wikimedia.org/wiki/User:Rocket000/Useful_icon_gallery
Log
This section is a little Mediawiki maintenance log, which might become it's own page some day.
Started 02 September 2009.
UserContactLinks extended syntax extension
- http://www.mediawiki.org/wiki/Extension:User_Contact_Links
- Allows replacement of "[[:User:username|full name]]" with "(3 tildes)User Name(3 tildes)", where User Name can be:
- wiki username
- user full name (first space last)
- last name of the user
- partial match of any part of user full name
- Had to slightly edit both PHP files to break-up (3 tildes)User Name(3 tildes) to "^^^user^^ ^" in description; this was resulting in "incorrect user" being shown on Special:Version.
Harry Brumer 07:59, 2 September 2009 (UTC)
Implemented ContactPage extension
- http://www.mediawiki.org/wiki/Extension:ContactPage
- Gives world-accessible contact form: Special:Contact
- Took some tweaking to get it to work:
- Line 125 in SpecialContact.php ($captcha = ConfirmEditHooks::getInstance();) broke Mediawiki
- Upgrading to ConfirmEdit-MW1.15-r50221 broke reCaptcha, e.g. on user signup page.
- Fixed by commenting out offending Line 125
- All seems OK
- reCaptcha works on all pages, including Special:Contact (must not be logged in as sysop to see it) and user signup page
- Also hacked ConfirmEdit.php to put "contactpage" captcha trigger there, instead of in LocalSettings.php (left a comment in the latter to that effect).
Harry Brumer 15:43, 2 September 2009 (UTC)
Playing around with image thumbnail settings
- see http://www.mediawiki.org/wiki/Image_thumbnailing
- $wgUseImageMagick turned off in LocalSettings.php
- Was generating errors on Special:NewFiles (ImageMagick not installed...)
- Not clear if $wgUseImageResize should be used or not in MW 1.15
- Unclear info at http://www.mediawiki.org/wiki/Manual:$wgUseImageResize
- Now uncommented in LocalSettings.php, maybe some effect with .gif (see GH11).
Harry Brumer 14:12, 7 September 2009 (UTC)
Implemented Extension:Cite/Special:Cite.php
- Generates full citation information for each page via a toolbox link
- see http://www.mediawiki.org/wiki/Extension:Cite/Special:Cite.php
- Mediawiki:Cite text created from cite_text file in extension directory (contains citation formats & layout)
Harry Brumer 13:12, 5 November 2009 (UTC)
- "Date retrieved" code doesn't seem to be working right. Tried to implement a solution Wikipedia is running using the ParserFunction extension and the time function, but ParserFunction seems to break the wiki. Also, had to disable MassEmailer due to some weird conflict that generated an error trail when saving Mediawiki:Cite text.
Harry Brumer 15:13, 5 November 2009 (UTC)
New version (r50579) of Extension:ParserFunctions added
- Fixed earlier problem with ParserFunctions breaking the wiki
- Allow use of time function in Mediawiki:Cite text to give the current time in the "Date retrieved" line.
Harry Brumer 09:39, 6 November 2009 (UTC)
Pages in Category test
- Might be something for MainPage, although claimed to be "expensive": http://www.mediawiki.org/wiki/Help:Magic_words
- See also http://www.mediawiki.org/wiki/Manual:$wgExpensiveParserFunctionLimit
- Now containing 189 GH family pages and 33 lexicon pages.
Harry Brumer 10:35, 8 November 2009 (UTC)
Stopped implementing Extension:EditUser
- http://www.mediawiki.org/wiki/Extension:EditUser
- On ice for the moment.
- ChangePassword mainentance script will probably do what I need for now. http://www.mediawiki.org/wiki/Manual:ChangePassword.php
Harry Brumer 13:29, 8 November 2009 (UTC)
Implemented Extension:LookupUser
- http://www.mediawiki.org/wiki/Extension:LookupUser
- Gives SpecialPage Special:LookupUser showing user prefs., including email address.
- Currently accessible only to Bureaucrat group only (LocalSettings)
Harry Brumer 13:48, 8 November 2009 (UTC)
Implemented Template:Smallcaps
- Wraps some markup for simple implementation of small caps, e.g. for use in d/l sugar nomenclature.
- NOTE (from the [http://en.wikipedia.org/wiki/Template:Smallcaps/doc Smallcaps template doc page):
Your source text is not altered in the output, only the way it is displayed on the screen: a copy-paste of the text will give the small caps sections in their original form; similarly, an older or non-CSS browser will only display the original text on screen. This can be seen as a problem, solved with (the sc template).
- Code
{{Smallcaps|Your Text in 4004 bc}}
- Displayed
- Your Text in 4004 bc
- Pasted
- Your Text in 4004 bc
- So, the code needs to look like this:
{{Smallcaps|d}}
, to get d.{{Smallcaps|D}}
gives D.
Harry Brumer 16:27, 6 January 2010 (UTC)
Tested Extension:DynamicPageList (a.k.a. Intersection)
- Allows showing intersections of Categories
- http://en.wikinews.org/wiki/Wikinews:DynamicPageList
- Worked OK but could only give simple linear lists.
- Was difficult to figure out how to sort alphabetically given limited documentation, had to read the code to find the "categorysortkey" option.
- e.g., this sort of worked:
<DynamicPageList> category=Glycoside Hydrolase Families category=Curator approved ordermethod=categorysortkey order=ascending mode=none </DynamicPageList>
- However, not really pretty. Extension disabled.
- Might use DynamicPageList2: http://www.mediawiki.org/wiki/Extension:DynamicPageList_(third-party)
Harry Brumer 12:00, 23 January 2010 (UTC)
Implementing Extension:DynamicPageList2
- Allows showing intersections of Categories, plus many page analysis features.
- Essentially supercedes Extension:DynamicPageList
- http://www.mediawiki.org/wiki/Extension:DynamicPageList_(third-party)
- http://semeb.com/dpldemo/index.php?title=Extension_DPL
Examples
- Pages in categories Glycoside Hydrolase Families and Curator approved, sorted by title, formatted as a normal category page.
{{#dpl: |category=Glycoside Hydrolase Families |category=Curator approved |mode=category |ordermethod=sortkey |allowcachedresults=true }}
Had to deleted live code after testing here, output was messing up table of contents above: Each "G" in the list was getting it's own subheading TOC entry.
- Pages in categories Glycoside Hydrolase Families and Curator approved, sorted by title, formatted "inline."
{{#dpl: |category=Glycoside Hydrolase Families |category=Curator approved |resultsheader=\nThere are %TOTALPAGES% Curator Approved GH pages.\n |mode=inline |ordermethod=sortkey |order=descending |allowcachedresults=yes+warn }}
There are 140 Curator Approved GH pages.
- Pages in categories Glycoside Hydrolase Families and Curator approved, in a sortable table. Note!: Needs the dummy include line, or no output is produced.
{{#dpl: |category=Glycoside Hydrolase Families |category=Curator approved |resultsheader=\nThere are %TOTALPAGES% Curator Approved GH pages.\n |ordermethod=sortkey |include=- |table=class=sortable,GH Families |allowcachedresults=true }}
There are 140 Curator Approved GH pages.
Harry Brumer 19:57, 23 January 2010 (UTC)
- Just display number of pages in two categories without a page list.
{{#dpl: |category=Glycoside Hydrolase Families |category=Curator approved |resultsheader=\nThere are %TOTALPAGES% [[:Category:Curator approved]] GH pages.\n |mode=userformat }}
There are 140 Curator Approved GH pages.
Harry Brumer 14:01, 12 February 2010 (UTC)
Biblio character encoding problem
A couple of PMIDs seem to not work with the current Biblio.php script hack to switch the character encoding into UTF-8:
- pmid=16533067 on the GH84 page (see History, June 30, 2010)
- Markovic-Housley2000 pmid=11080624 on the Syn/anti lateral protonation page (see History, June 30, 2010)
Harry Brumer 12:24, 29 July 2010 (UTC)
Upgraded to MW1.16.0
- Most everything works fine
- Upgraded Extension:ParserFunctions
- Extension:StringFunctions now folded into Extension:ParserFunctions, so required changes made in LocalSettings
Broken
Extension:WhoIsWatchingTabbed
Extension:WhoIsWatchingTabbed does not render the tab with the Vector skin
- ...but can still be called via the URL using "action=watching"
- e.g. http://www.cazypedia.org/index.php?title=Glycoside_Hydrolase_Families&action=watching
Extension:DynamicPageList2
Extension:DynamicPageList2 does not seem to work properly...
- Renders HTML tags in page lists from Categories
- Use of $wgRawHtml = true with the current trunk version, DynamicPageList-trunk-r70760.tar.gz, fixes problem, but breaks Biblio due to $wgRawHtml = true (if not set to true, DPL2 is still broken)
- Counting total pages in a union of two categories seems not to work quite right.
Harry Brumer 11:54, 11 August 2010 (CEST)
Testing Extension:Intersection again...
These both worked, but layout not quite as nice:
- Simple bulleted linear list
<DynamicPageList> category=Glycoside Hydrolase Families category=Curator approved ordermethod=categorysortkey order=ascending mode=unordered </DynamicPageList>
- Forcing 3 columns for 60 pages
<table> <tr><th colspan="3"> recent articles </th></tr> <tr><td> <DynamicPageList> category=Glycoside Hydrolase Families category=Curator approved ordermethod=categorysortkey order=ascending count=20 </DynamicPageList> </td> <td> <DynamicPageList> category=Glycoside Hydrolase Families category=Curator approved ordermethod=categorysortkey order=ascending offset=20 count=20 </DynamicPageList> </td> <td> <DynamicPageList> category=Glycoside Hydrolase Families category=Curator approved ordermethod=categorysortkey order=ascending offset=40 count=20 </DynamicPageList> </td></tr></table>
DPL2 and Intersection can't be run at the same time; DPL2 recognizes <DynamicPageList> tags and tries to work on the code, with syntax errors.
Harry Brumer 12:31, 11 August 2010 (CEST)