Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37556096
en ru br
ALT Linux repos
S:0.6-alt1

Group :: Networking/WWW
RPM: mediawiki-extensions-RandomPages

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define oname RandomPages

%define mwversion 1.35
%setup_mediawiki_ext %mwversion %oname

Name: mediawiki-extensions-%oname
Version: 0.6
Release: alt1

Summary: RandomPages adds a new MediaWiki wiki parser for get random pages

License: GPL v3
Group: Networking/WWW
Url: http://www.mediawiki.org/wiki/Extension:%oname

Packager: Vitaly Lipatov <lav at altlinux.ru>

BuildArch: noarch

BuildRequires(pre): rpm-build-mediawiki >= 0.6

Requires: mediawiki-common >= %mwversion

# Source-url: https://github.com/wikimedia/mediawiki-extensions-RandomPages/archive/%MWREL.zip

Source: %name-%version.tar

%description
RandomPages adds a new MediaWiki wiki parser tag: <randompages />
Available options:
* limit int, to control how many links should be
 fetched randomly from the database, defaults to 150
* namespace bool, true to restrict only to the global namspace, defaults to false
* levels int, levels of CSS applyed to each entry, defaluts to 5

%prep
%setup

%install
%mediawiki_ext_install 50 %oname

%files -f %oname.files

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin