Manual:Extension/FlaggedRevs/Server script and Reference:UrlGetParameters: Difference between pages

(Difference between pages)
No edit summary
Tag: 2017 source edit
 
No edit summary
Tag: 2017 source edit
 
Line 1: Line 1:
== Mass approval using a script ==
{{BSExtensionInfobox
The script <code>extensions/BlueSpiceFlaggedRevsConnector/maintenance/BSBatchReview.php</code> can be used to approve all drafts in the wiki. This affects both first drafts, drafts of pages with already approved versions and drafts for embedded resources.
|desc=Usage of GET parameters of the URL on a wiki page.
|status=stable
|developer=S.O.E. Ansems
|type=MediaWiki
|edition=BlueSpice pro, BlueSpice free, BlueSpice Farm, BlueSpice Cloud
|compatible=MediaWiki
|category=Infrastructure
|license=GPL v2+
|docu=https://www.mediawiki.org/wiki/Extension:UrlGetParameters
|features=
The '''UrlGetParameters''' extension enables you to use and/or display the "GET" parameters of the URL, i.e. the query string, on the wiki page.  
==Usage / functions==


===Options===
The value of a GET parameter can be displayed on a wiki page using:
{| class="wikitable" style="width:100%;"
<syntaxhighlight lang="text">{{#urlget:parameter-name}}</syntaxhighlight>
|+
}}
!Option
{{wcagCheck
!Description
|wcagStatus=2-testing complete
|-
|wcagCheckedfor=Web, Authoring tool
|<code>--username</code>
|wcagTestdate=2022-08-05
|Required. The user name of the existing user to use as the "reviewer"
|wcagLevel=AA
|-
|wcagSupport=supports
|<code>--pageids</code>
|wcagComments=source code editing; text-based output.
|Flat file containing page ids seperated by line break
|extensionType=core
|-
|extensionFocus=reader
|<code>--pages</code>
}}
|Flat file containing page names seperated by line break
|-
|<code>--namespace</code>
|Id of namespace to flag entirely
|-
|<code>--flag</code>
|Which flags to apply? Possible values: "quality", "pristine", "checked". Default is "quality".
|}
{{Messagebox|boxtype=note|icon=|Note text=The options <code>--pageids</code>, <code>--pages</code> and <code>--namespace</code> are mutual exclusive required. One - and only one - of them ''must'' be provided.}}
 
=== Examples ===
 
==== Whole namespace ====
<syntaxhighlight lang="bash">
php extensions/BlueSpiceflaggedRevsConnector/maintenance/BSBatchReview.php --username WikiSysop --namespace 3000
</syntaxhighlight>
 
==== List of page ids ====
Such a list can be created from a database query.
 
File <code>/tmp/page-ids-to-review.txt</code>:
23
42
1337
 
Command line:
<syntaxhighlight lang="bash">
php extensions/BlueSpiceflaggedRevsConnector/maintenance/BSBatchReview.php --username WikiSysop --pageids /tmp/page-ids-to-review.txt
</syntaxhighlight>
 
 
==== List of page names ====
Such a list can be created using a [[SMW queries|SMW query]].
File <code>/tmp/page-titles-to-review.txt</code>:
Some/Page
Other_page
Help:Some_help_page
 
Command line:
<syntaxhighlight lang="bash">
php extensions/BlueSpiceflaggedRevsConnector/maintenance/BSBatchReview.php --username WikiSysop --pages /tmp/page-titles-to-review.txt
</syntaxhighlight>

Latest revision as of 16:40, 5 August 2022

Extension: UrlGetParameters

all extensions

Overview
Description: Usage of GET parameters of the URL on a wiki page.
State: stable Dependency: MediaWiki
Developer: S.O.E. Ansems License: GPL v2+
Type: MediaWiki Category: Infrastructure
Edition: BlueSpice pro, BlueSpice free, BlueSpice Farm, BlueSpice Cloud Version: 4.1+
For more info, visit Mediawiki.

Features

The UrlGetParameters extension enables you to use and/or display the "GET" parameters of the URL, i.e. the query string, on the wiki page.

Usage / functions

The value of a GET parameter can be displayed on a wiki page using:

{{#urlget:parameter-name}}

Accessibility

Test status: 2-testing complete
Checked for: Web, Authoring tool
Last test date: 2022-08-05
WCAG level: AA
WCAG support: supports
Comments:

source code editing; text-based output.

Extension type: core
Extension focus: reader




To submit feedback about this documentation, visit our community forum.

Discussions