Extension talk:Uniwiki Authors

From mediawiki.org
Latest comment: 12 years ago by Vpovilaitis in topic If jou need showing not all Authors

Uniwiki Authors broken in 1.14 and 1.15[edit]

Hi!

Thank you for this nice extension! I'm using it in a wiki for children. Unfortunately the Authors extension is broken since MW 1.14. The CreditLink() function called in this extension was renamed and changed. Could someone have a look at it? Thank you very much!

Fix here : https://bugzilla.wikimedia.org/show_bug.cgi?id=21419

Patch to exclude robots[edit]

I'm afraid I don't know any better way to submit this, so here's a patch which contains both the fix for MW 1.14+ above and also avoids including bots in the credits; use it as you see fit: http://www.moongate.ro/products/Uniwiki_authors_patch.diff.txt --Gutza 22:14, 27 July 2011 (UTC)Reply

Here's a newer version of the patch, which in addition to the above also fixes a problem with empty contributors lists, and implements a new feature: the ability to define a list of pages in the target namespaces which must not contain the author list (e.g. the main page): just define $wgNoAuthorArticles in LocalSettings.php as an indexed array of article names which should be excluded. Here's the patch: http://www.moongate.ro/products/Unwiki_authors_patch2.diff.txt --Gutza 10:27, 28 July 2011 (UTC)Reply

If jou need showing not all Authors[edit]

I'm was needed showing not all Authors, but only this Authors witch are made bigest incomes to the article. For this resons:

  • include two additional configurable options (this options will configure hhat show only autors witch in single update add more text):
    • $wgShowAuthorsPercent = 10; - percent of added text to the article.
    • $wgShowAuthorsAddBytes = 250; - bytes of added text to the article.
  • I'm change code of this extention in the my wiki. New text.

--Vpovilaitis 06:51, 8 February 2012 (UTC)Reply